PageSourceSearch

https://devolutions.net/assets/ga4-tracking.js

js devolutions.net collected 2026-09-24 08:26:19 UTC 2,700 bytes, 1 lines download raw bytes

1(function(){"use strict";const a={measurementId:"G-P11646PR82",gaTagId:"P11646PR82",_cookieAccessible:null,_getCookieString:function(){if(this._cookieAccessible===!1)return null;try{const e=document.cookie;return this._cookieAccessible=!0,e}catch(e){if(e.name==="SecurityError")return this._cookieAccessible=!1,null;throw e}},getClientId:function(){const e=this._getCookieString();if(e===null)return null;const n=e.split(";");for(let t=0;t<n.length;t++){const i=n[t].trim();if(i.indexOf("_ga=")===0)return i.substring(4).substring(6)}return null},getSessionId:function(){const e=this._getCookieString();if(e===null)return null;const n=e.split(";"),t="_ga_"+this.gaTagId+"=";for(let i=0;i<n.length;i++){const o=n[i].trim();if(o.indexOf(t)===0)return o.substring(t.length).substring(6).split(".")[0]}return null},getSessionTimestamp:function(){return new Date().getTime()*1e3},getUserId:function(){return null},getTrackingData:function(){return{clientId:this.getClientId(),sessionId:this.getSessionId(),sessionTimestamp:this.getSessionTimestamp(),measurementId:this.measurementId,userId:this.getUserId()}},populateFormFields:function(e,n){const t=this.getTrackingData(),i={GA_Client_Id:t.clientId,GA4_Session_Id:t.sessionId,GA4_Timestamp:t.sessionTimestamp,GA4_Measurement_Id:t.measurementId,GA4_User_Id:t.userId};
1Object.keys(i).forEach(o=>{const s=o+"-"+n,r=document.getElementById(s);r&&i[o]&&(r.value=i[o])})},waitForCookies:function(e,n){if(this._cookieAccessible===!1){e(!1,{clientId:null,sessionId:null});return}n=n||5e3;const t=Date.now(),o=setInterval(()=>{const s=this.getClientId(),r=this.getSessionId(),c=Date.now()-t;this._cookieAccessible===!1?(clearInterval(o),e(!1,{clientId:null,sessionId:null})):s&&r?(clearInterval(o),e(!0,{clientId:s,sessionId:r})):c>=n&&(clearInterval(o),e(!1,{clientId:s,sessionId:r}))},100)},fireEvent:function(e,n){window.dataLayer=window.dataLayer||[];const t=Object.assign({event:e},n);window.dataLayer.push(t)},trackFormStart:function(e,n,t,i){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"web_form_start",form_name:n||"native_pardot_form",form_id:e,form_product:t,form_lang:i||"en"})},trackFormSubmit:function(e,n,t,i){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"web_form_submit",form_name:n||"native_pardot_form",form_id:e,form_product:t,form_lang:i||"en"})}};window.GA4Tracking=a,document.addEventListener("DOMContentLoaded",function(){const e=document.querySelectorAll(".native-form");e.length!==0&&a.waitForCookies(function(n,t){n||console.warn("GA4: Cookies not fully available after timeout. Proceeding anyway.",t),e.forEach(function(i){const o=i.dataset.formId;o&&a.populateFormFields(i,o)})},5e3)})})();

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.