PageSourceSearch

https://developerakademie.com/wp-content/themes/developerakademie-wp/assets/js/utm-params.js

js developerakademie.com collected 2026-09-25 02:56:01 UTC 1,223 bytes, 1 lines download raw bytes

1const UTM_PARAMS=["utm_source","utm_medium","utm_campaign","utm_id","utm_term","utm_content","fbclid","initialSource","gclid","wbraid"];function getTrackedParams(){const a=new URLSearchParams(window.location.search),b=new Map;for(const c of UTM_PARAMS){const d=a.get(c);d&&b.set(c,d)}return b}function appendQueryParametersToLinks(){const a=findApplicationLinks(),b=getTrackedParams();for(const c of a){const a=new URL(c.href);for(const[c,d]of b)a.searchParams.set(c,d);a.searchParams.set("source_url",window.location.origin+window.location.pathname),c.href=a.toString()}}function forwardQueryParametersToInternalLinks(){const a=getTrackedParams();if(0!==a.size)for(const b of findInternalLinks()){const c=new URL(b.href);for(const[b,d]of a)c.searchParams.set(b,d);b.href=c.toString()}}function findApplicationLinks(){const a=document.querySelectorAll(`a[href^="${"https://weiterbildung.developerakademie.com/"}"]`);return Array.from(a)}function findInternalLinks(){const a=document.querySelectorAll("a[href]");return Array.from(a).filter(a=>{if(a.origin!==window.location.origin)return!1;const b=a.getAttribute("href");return!!b&&!b.startsWith("#")})}appendQueryParametersToLinks(),forwardQueryParametersToInternalLinks();

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.