PageSourceSearch

https://cdn.searchenginejournal.com/wp-content/themes/sej/js/ga.js?ver=1788293620

js searchenginejournal.com collected 2026-10-01 06:42:11 UTC 7,311 bytes, 1 lines download raw bytes

1window.addEventListener("DOMContentLoaded",function(){if(jQuery(document).ready(function(e){function t(e){return/\.(jpg|jpeg|png|gif|webp|svg|bmp|tiff|heic|avif)$/i.test(e)}var a,n;e(".site-search").click(function(t){__gaTrackers("send","event","Search Button",e(this).attr("data-label"),e(this).attr("data-label"))}),e("#ty-page-prom").click(function(t){let a=e(this).attr("href"),n=new URL(a,window.location.href).pathname;__gaTrackers("send","event","TY Page Button/Promo Click",n)}),"undefined"==typeof post_obj?the_permalink=(a=window.location,(n=a.protocol+"//"+a.host+a.pathname).endsWith("/")&&n!==a.protocol+"//"+a.host+"/"&&(n=n.slice(0,-1)),n):the_permalink=post_obj.plink,e(".s_spons a, .sponsored-logo a, #stckbtn").click(function(){let a="In Text Link";e(this).attr("data-placement")&&(a=e(this).attr("data-placement")),t(e(this).attr("href"))||__gaTrackers("send","event","Cover Format Sponsored Posts Clicks",the_permalink,e(this).attr("href"),a)}),e(".cover-story a").click(function(){__gaTrackers("send","event","Cover Story Clicks",the_permalink,e(this).attr("href"));let a="In Text Link";e(this).attr("data-placement")&&(a=e(this).attr("data-placement")),t(e(this).attr("href"))||__gaTrackers("send","event","Cover Story Clicks Placement",the_permalink,a,e(this).attr("href"))}),e(".adnouncement-post a").click(function(){if(t(e(this).attr("href")))return;__gaTrackers("send","event","Adnouncement Clicks",the_permalink,e(this).attr("href"));let a="In Text Link";e(this).attr("data-placement")&&(a=e(this).attr("data-placement")),__gaTrackers("send","event","Adnouncement Clicks Placement",the_permalink,a,e(this).attr("href"))}),e(".sponsored-news-post a").click(function(){if(t(e(this).attr("href")))return;__gaTrackers("send","event","Sponsored News Clicks",the_permalink,e(this).attr("href"));let a="In Text Link";e(this).attr("data-placement")&&(a=e(this).attr("data-placement")),__gaTrackers("send","event","Sponsored News Clicks Placement",the_permalink,a,e(this).attr("href"))}),e(".spons_art_body #stckbtn_single").click(function(){t(e(this).attr("href"))||(__gaTrackers("send","event","Adnouncement Clicks Placement",the_permalink,"Sticky CTA",e(this).attr("href")),__gaTrackers("send","event","Cover Format Sponsored Posts Clicks",the_permalink,e(this).attr("href"),"Sticky CTA"))});var r=!0;e("[data-ga-sub]").click(function(){if(r&&void 0!==e(this).attr("data-ga-sub")){let t=e(this).closest("form").find('[aria-label="WSOURCE"]');void 0!==t&&""==t||(t=e(this).attr("data-ga-sub")),console.log("ga_label",t),setTimeout(()=>{__gaTrackers("send","event","Newsletter Sign Up",t,window.location.href)},"30"),r=!1}}),e("[data-g-c]").click(function(){if(""!=e(this).attr("data-g-c")){let t=e(this).text();void 0!==e(this).attr("href")&&(t=e(this).attr("href")),void 0!==e(this).attr("data-g-l")&&(t=e(this).attr("data-g-l")),__gaTrackers("send","event","Specific Clicks Tracking",e(this).attr("data-g-c"),t)}}),e(".sej-article-content a").click(function(){void 0===e(this).attr("data-ga-sub")&&__gaTrackers("send","event","outbound-link",e(this).attr("href"),e(this).text())}),e(".nav-bar-cta").click(function(){e(this).attr("data-show")?__gaTrackers("send","event","Nav Bar CTA","Subscribe"):__gaTrackers("send","event","Nav Bar CTA",e(this).attr("href")),e(".sej-t_t-link").length>0&&"true"==e(this).attr("data-tk")&&__gaTrackers("send","event","Background Takeover","Nav Bar Image",e(this).attr("href"))}),e(document).on("click",".sej-under-header-banner__btn",function(){let t=e.trim(e(this).text()).replace(/\s+/g," ");__gaTrackers("send","event","Under Header Banner CTA",e(this).attr("href"),t)}),e("#dwnlink").click(function(t){setTimeout(()=>{__gaTrackers("send","event","Guide Download Link Clicks",e(this).attr("href"))},"500")}),e("#latest nav a").click(function(t){let a=e(this).attr("data-tab");setTimeout(()=>{__gaTrackers("send","event","Home Page Sections","Latests Tabs",a)},"500")});var i="Home Page Sections";function s(){setTimeout(()=>{const t=window.getSelection().toString().trim();var a;t.length>=3&&(a=()=>{var a;a=t,__gaTrackers("send","event","Article Text Selection",window.location.pathname,a),e(".post-template-template-rundown").length>0?__gaTrackers("send","event","Roundown Article Text Selection",window.location.pathname,a):"undefined"!=typeof post_obj&&post_obj.spons&&__gaTrackers("send","event","Sponsored Article Text Selection",window.location.pathname,a)},"requestIdleCallback"in window?requestIdleCallback(a,{timeout:2e3}):setTimeout(a,400))},10)}[["#l-a-section a",i,"Latest Featured"],["#p-a-section a",i,"Popular Featured"],["#h-a-section .h-a-section",i,"Highlight Featured"],["#latest article a",i,"Latest All Articles"],["#cluster-1 a",i,"One Column Cluster"],["#cluster-2 a",i,"Two Column Cluster"],["#cluster-podcast a",i,"Podcast Section"],["#ebook-section a",i,"Featured Ebook"],["#archives-wrapper a","Category Feed Articles Click"],["#home_webinar a",i,"Webinars Section"],["#sej-footer a","Footer Links Clicks","Links Clicks"],[".upcoming-webinars-home a","Upcoming Webinar","Home Page Clicks"],[".upcoming-webinars a","Upcoming Webinar","Category Page Clicks"]].forEac
1h((t,a)=>{e(t[0]).click(function(a){let n=t[1],r=e(this).attr("href"),i=t[0];void 0!==t[2]&&(i=t[2]),void 0!==e(this).closest("article").attr("data-l")&&(r=e(this).closest("article").attr("data-l")),e(this).attr("href").includes("/author/")&&(r="author_profile"),e(this).attr("href").includes("/category/")&&(r="category_link"),__gaTrackers("send","event",n,i,r)})}),e("#latest nav a").click(function(t){let a=e(this).attr("data-tab");setTimeout(()=>{__gaTrackers("send","event","Home Page Sections","Latests Tabs",a)},"500")}),e(document).on("click","form .error_msg a",function(){__gaTrackers("send","event","Newsletter Sign Up Error Links",ga_label,e(this).attr("href"))}),document.addEventListener("mouseup",s),document.addEventListener("touchend",s)}),smobile){let e=document.querySelector(".footer-sign-up-form");e&&e.classList.remove("dnone");let t=document.querySelector(".under-post-sign-up-form");t&&t.classList.remove("dnone");let a=document.querySelector(".sidebar-sign-up-form");a&&a.classList.remove("dnone")}$(document).on("click",".indexlist a",function(e){setTimeout(()=>{__gaTrackers("send","event","TOC clicks",the_permalink,$(this).text(),$(this).attr("href"))},"500")}),$(document).on("click",".sej-tblcont-more",function(e){setTimeout(()=>{__gaTrackers("send","event","TOC Show More Click",the_permalink,"Show More")},"500")}),$(document).on("click",".sej-gps-badge",function(e){__gaTrackers("send","preferred_source_click","Preferred Source Button",$(this).attr("data-placement")||"Preferred Source",$(this).attr("href"))}),$(".sej-wb-top").on("click",function(e){setTimeout(()=>{__gaTrackers("send","event","Go To Top",the_permalink,$(this).text())},"500")}),setTimeout(()=>{var e=null;document.addEventListener("visibilitychange",function(){if(window.__cmpreadyDispatched)if("hidden"!==document.visibilityState){if("visible"===document.visibilityState&&e){var t,a=(Date.now()-e)/6e4;t=a<15?"<15min":a<30?"<30min":a<45?"<45min":a<60?"<1h":a<120?"1-2h":a<180?"2-3h":a<240?"3-4h":a<300?"4-5h":a<360?"5-6h":a<420?"6-7h":">=7h",__gaTrackers("send","event","Idle Tab Becomes Active",the_permalink,t),e=null}}else e=Date.now()})},"10000")});

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.