1!function (n, e, o, r, i) { if (!e) { e = e || {}, window.permutive = e, e.q = [], e.config = i || {}, e.config.projectId = o, e.config.apiKey = r, e.config.environment = e.config.environment || "production"; for (var t = ["addon", "identify", "track", "trigger", "query", "segment", "segments", "ready", "on", "once", "user", "consent"], c = 0; c < t.length; c++) { var f = t[c]; e[f] = function (n) { return function () { var o = Array.prototype.slice.call(arguments, 0); e.q.push({ functionName: n, arguments: o }) } }(f) } } }(document, window.permutive, `${crbTracker.permutive.workspaceID}`, `${crbTracker.permutive.publicAPIKey}`, {}); 2window.googletag = window.googletag || {}, window.googletag.cmd = window.googletag.cmd || [], window.googletag.cmd.push(function () { if (0 === window.googletag.pubads().getTargeting("permutive").length) { var g = window.localStorage.getItem("_pdfps"); window.googletag.pubads().setTargeting("permutive", g ? JSON.parse(g) : []) } }); 3{ 4 let data = { 5 page: { 6 article: { 7 id: `${crbTracker.permutive.postID}`, 8 title: `${crbTracker.permutive.postTitle}` 9 } 10 } 11 } 12 if ('undefined' != typeof crbTracker.permutive.pageViewEvent && crbTracker.permutive.pageViewEvent) { 13 data.page = { ...data.page, ...crbTracker.permutive.pageViewEvent }; 14 } 15 if ('undefined' != typeof localStorage['clusterData']) { 16 let clusterData = JSON.parse(localStorage['clusterData']); 17 for (el of ['PID', 'cluster', 'cluster_predicted']) { 18 delete clusterData[el]; 19 } 20 data.page = { ...data.page, ...clusterData }; 21 } 22 if (typeof localStorage['cluster'] != 'undefined') { 23 data.page['cluster'] = { 24 cluster: Number(localStorage['cluster']), 25 domain: localStorage['domain'] 26 } 27 } 28 29 permutive.addon('web', data); 30} 31 32window.addEventListener("OneTrustGroupsUpdated", function () { 33 // Example category check 34 // Replace C0002 with your actual Performance/Analytics category 35 if (OnetrustActiveGroups.includes("C0002")) { 36 permutive.consent({ 37 opt_in: true, 38 token: "CONSENT_CAPTURED" 39 }); 40 } 41});
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.