PageSourceSearch

https://www.drivine.fr/assets/tracking-CGU0pRgf.js

js drivine.fr collected 2026-10-10 01:23:05 UTC 1,983 bytes, 1 lines download raw bytes

1var e=[`gclid`,`utm_source`,`utm_medium`,`utm_campaign`];function t(t){let n={};for(let r of e){let e=t[r];typeof e==`string`&&e.trim()&&(n[r]=e.trim().slice(0,160))}return n}var n=`drivine_tracking_consent`,r=`drivine_campaign_params`,i=`drivine:open-consent`;function a(e,t={}){typeof window>`u`||(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:e,...Object.fromEntries(Object.entries(t).filter(([,e])=>e!==void 0))}))}function o(e){typeof window>`u`||(window.dataLayer=window.dataLayer||[],window.gtag=window.gtag??((...e)=>{window.dataLayer?.push(e)}),window.gtag(`consent`,`update`,{ad_storage:e.ads?`granted`:`denied`,ad_user_data:e.ads?`granted`:`denied`,ad_personalization:e.ads?`granted`:`denied`,analytics_storage:e.analytics?`granted`:`denied`}))}function s(){if(typeof window>`u`)return null;let e=window.localStorage.getItem(n);if(!e)return null;if(e===`accepted`)return l(`accepted`,!0,!0);if(e===`declined`)return l(`declined`,!1,!1);try{let t=JSON.parse(e);if(typeof t.analytics==`boolean`&&typeof t.ads==`boolean`)return{analytics:t.analytics,ads:t.ads,choice:t.choice??`custom`,updatedAt:t.updatedAt??new Date().toISOString()}}catch{return null}return null}function c(e){typeof window>`u`||(window.localStorage.setItem(n,JSON.stringify(e)),o(e),a(`drivine_consent_updated`,{analytics_storage:e.analytics,ad_storage:e.ads,consent_choice:e.choice}))}function l(e,t,n){return{analytics:t,ads:n,choice:e,updatedAt:new Date().toISOString()}}function u(){if(typeof window>`u`)return{};let e=f(window.location.search);return Object.keys(e).length>0?(window.localStorage.setItem(r,JSON.stringify({...e,capturedAt:new Date().toISOString()})),e):d()}function d(){if(typeof window>`u`)return{};let e=window.localStorage.getItem(r);if(!e)return{};try{return t(JSON.parse(e))}catch{return{}}}function f(t){let n=new URLSearchParams(t),r={};for(let t of e){let e=n.get(t);e&&(r[t]=e.slice(0,160))}return r}export{d as a,c,l as i,o as n,a as o,u as r,s,i as t};

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.