PageSourceSearch

https://link.crunchydata.com/cd.js

js crunchydata.com collected 2026-09-24 08:48:01 UTC 3,939 bytes, 1 lines download raw bytes

1function setCrunchyAnonId(value){const d=new Date;d.setTime(d.getTime()+3e3*24*60*60*1e3);let expires="expires="+d.toUTCString()+";";var domain;if(window.location.host.match(/crunchydata\.com$/)){domain="domain=crunchydata.com;"}else if(window.location.host.match(/crunchybridge\.com$/)){domain="domain=crunchybridge.com;"}document.cookie="CrunchyAnonId="+value+";"+expires+domain+"path=/; SameSite=None; Secure"}function getOrSetCrunchyAnonId(cb){let ca=document.cookie.split(";");let name="CrunchyAnonId=";for(let i=0;i<ca.length;i++){let c=ca[i];while(c.charAt(0)==" "){c=c.substring(1)}if(c.indexOf(name)==0){var crunchyAnonId=c.substring(name.length,c.length);cb(crunchyAnonId);return}}var passedInQuery=window.location.search.match(/CrunchyAnonId(?:=|%3D)([^\&%]+)/);if(passedInQuery){var crunchyAnonId=passedInQuery[1];setCrunchyAnonId(crunchyAnonId);cb(crunchyAnonId);return}var crunchyAnonId="";for(i=0;i<6;i++){crunchyAnonId+=Math.random().toString(36).replace(/[^a-z]+/g,"")}setCrunchyAnonId(crunchyAnonId);cb(crunchyAnonId)}function trackEvent(eventName,properties){getOrSetCrunchyAnonId(function(crunchyAnonId){var pageTitle;if(obj=document.querySelector("title")){pageTitle=documnt.querySelector("title").innerHTML}var data={anonymous_id:crunchyAnonId,event:eventName,channel:"browser",context:{userAgent:navigator.userAgent,page:{url:window.location.href,path:window.location.pathname,referrer:document.referrer,name:pageTitle,search:window.location.search}},properties:properties};fetch("https://link.crunchydata.com/track",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(data)})})}var runAnalytics=function(){if(navigator.userAgent.match(/\/([^\ ]+)?(bot|spider|crawl)/i)||navigator.userAgent.match(/(bot|spider|crawl(er)?|https?:[\/;])\//i)||navigator.userAgent.match(/lua-resty-http/)||window.location.href.match(/hs_preview/)||window.location.href.match(/hubspotpreview/)){return}getOrSetCrunchyAnonId(function(crunchyAnonId){var pageTitle;if(obj=document.querySelector("title")){pageTitle=document.querySelector("title").innerHTML}var data={anonymous_id:crunchyAnonId,channel:"browser",context:{userAgent:navigator.userAgent},properties:{url:window.location.href,path:window.location.pathname,referrer:document.referrer,name:pageTitle,search:window.location.search}};fetch("https://link.crunchydata.com/page",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(data)});document.querySelectorAll('a[href*="crunchy"]').forEach(function(obj){var appendValue="CrunchyAnonId="+crunchyAnonId;if(!obj.getAttribute("href").match(new RegExp("//"))){return}else if(obj.href.match(/CrunchyAnonId/)){return}else if(window.location.host.match(/[^\.]+\.[^\.]+$/)&&obj.getAttribute("href").match(new RegExp(window.location.host.match(/[^\.]+\.[^\.]+$/)[0]+"/"))){return}else if(obj.getAttribute("href").match(/\?/)){obj.setAttribute("href",obj.getAttribute("href")+"&"+appendValue)}else{obj.setAttribute("href",obj.getAttribute("href")+"?"+appendValue)}if(obj.getAttribute("href").match(/\/(signup|register)/)){obj.setAttribute("href",obj.getAttribute("href")+"&ref="+encodeURIComponent(window.location.host+window.location.pathname))}});document.querySelectorAll(".hbspt-form input").forEach(function(obj){obj.onclick=function(e){var data={anonymous_id:crunchyAnonId,event:"Submit Hubpspot Form",channel:"browser",context:{userAgent:navigator.userAgent,page:{url:window.location.href,path:window.location.pathname,referrer:document.referrer,name:pageTitle,search:window.location.search}}};fetch("https://link.crunchydata.com/track",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(data)})}})})};if(typeof window.__remixContext!=="undefined"){window.runAnalytics=runAnalytics}else{if(document.readyState==="complete"){runAnalytics()}else{window.onload=runAnalytics}}

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.