1var Track = function ( panel, model, view ) { 2 const widgetsToTrack = [ 3 'neve_flipcard', 4 'neve_typed_headline', 5 'neve_team_member', 6 'neve_share_buttons', 7 'neve_review_box', 8 'neve_progress_circle', 9 'neve_instagram_feed', 10 'neve_custom_field', 11 'neve_content_switcher', 12 'neve_banner', 13 ]; 14 15 const currentWidget = model.attributes.widgetType; 16 if ( widgetsToTrack.indexOf( currentWidget ) === -1 ) { 17 return; 18 } 19 20 window.tiTrk?.with( 'neve' ).set( 'elementor-widgets-' + currentWidget, { 21 feature: 'elementor-widgets', 22 featureComponent: currentWidget, 23 featureValue: 'enabled', 24 } ); 25}; 26 27jQuery( window ).on( 'elementor/frontend/init', function () { 28 if ( 29 typeof elementor === 'undefined' || 30 typeof elementor.hooks === 'undefined' 31 ) { 32 return; 33 } 34 elementor.hooks.addAction( 'panel/open_editor/widget', Track ); 35} );
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.