Fix le tracking
parent
af02db4463
commit
ea782e7b5b
|
@ -467,7 +467,7 @@ if (!import.meta.env.SSR) {
|
|||
}
|
||||
}; ATInternet.Tracker.addPlugin("ClientSideUserId");
|
||||
}).call(window); (function () {
|
||||
var dfltPluginCfg = { "authorityStorageName": "atauthority", "authorities": { "default": { "name": "default", "optin": { "name": "optin", "storageDuration": 397, "trackerSettings": { "disableStorage": false, "disableCookie": false }, "add": { "buffer": { "visitorConsent": { "param": "vc", "value": true }, "visitorMode": { "param": "vm", "value": "optin" } } }, "include": { "storage": "*", "buffer": "*" } }, "optout": { "name": "optout", "storageDuration": 397, "trackerSettings": { "disableStorage": false, "disableCookie": false }, "add": { "buffer": { "visitorConsent": { "param": "vc", "value": false }, "visitorMode": { "param": "vm", "value": "optout" } } }, "include": { "storage": ["atuserid", "atauthority"], "buffer": ["s", "idclient", "ts", "vc", "vm", "click", "type", "olt", "cn", "mh"] } }, "no-consent": { "name": "no-consent", "storageDuration": 0, "trackerSettings": { "disableStorage": true, "disableCookie": true }, "add": { "buffer": { "visitorConsent": { "param": "vc", "value": false }, "visitorMode": { "param": "vm", "value": "no-consent" }, "idclient": { "param": "idclient", "value": "Consent-NO" } } }, "include": { "storage": [], "buffer": ["s", "idclient", "ts", "vc", "vm", "click", "type", "olt", "cn", "mh"] } }, "random": { "name": "random", "storageDuration": 0, "trackerSettings": { "disableStorage": false, "disableCookie": false }, "add": { "buffer": { "visitorConsent": { "param": "vc", "value": false }, "visitorMode": { "param": "vm", "value": "before-consent" } } }, "include": { "storage": [], "buffer": ["s", "idclient", "p", "vtag", "ptag", "ts", "vc", "vm", "ref", "xto", "click", "type", "olt", "cn", "mh"] } } }, "cnil": { "name": "cnil", "exempt": { "name": "exempt", "storageDuration": 397, "trackerSettings": { "disableStorage": false, "disableCookie": false }, "add": { "buffer": { "visitorConsent": { "param": "vc", "value": false }, "visitorMode": { "param": "vm", "value": "exempt" } } }, "include": { "storage": ["atuserid", "atauthority"], "buffer": ["s", "idclient", "p", "vtag", "ptag", "ts", "vc", "vm", "click", "type", "olt", "cn", "mh", "ref", "pclick", "s2click"] } } } }, "parametersToInclude": ["click", "p", "pclick", "s2click", "ref", "page_url", "env_language", "simulateur_embarque", "events_name", "events_data_site_level2", "events_data_click", "events_data_click_chapter1", "events_data_click_chapter2", "events_data_click_chapter3", "goal_type", "evenement_type"] }; var dfltGlobalCfg = {}; ATInternet.Tracker.Plugins.Privacy = function (a) {
|
||||
var dfltPluginCfg = { "authorityStorageName": "atauthority", "authorities": { "default": { "name": "default", "optin": { "name": "optin", "storageDuration": 397, "trackerSettings": { "disableStorage": false, "disableCookie": false }, "add": { "buffer": { "visitorConsent": { "param": "vc", "value": true }, "visitorMode": { "param": "vm", "value": "optin" } } }, "include": { "storage": "*", "buffer": "*" } }, "optout": { "name": "optout", "storageDuration": 397, "trackerSettings": { "disableStorage": false, "disableCookie": false }, "add": { "buffer": { "visitorConsent": { "param": "vc", "value": false }, "visitorMode": { "param": "vm", "value": "optout" } } }, "include": { "storage": ["atuserid", "atauthority"], "buffer": ["s", "idclient", "ts", "vc", "vm", "click", "type", "olt", "cn", "mh"] } }, "no-consent": { "name": "no-consent", "storageDuration": 0, "trackerSettings": { "disableStorage": true, "disableCookie": true }, "add": { "buffer": { "visitorConsent": { "param": "vc", "value": false }, "visitorMode": { "param": "vm", "value": "no-consent" }, "idclient": { "param": "idclient", "value": "Consent-NO" } } }, "include": { "storage": [], "buffer": ["s", "idclient", "ts", "vc", "vm", "click", "type", "olt", "cn", "mh"] } }, "random": { "name": "random", "storageDuration": 0, "trackerSettings": { "disableStorage": false, "disableCookie": false }, "add": { "buffer": { "visitorConsent": { "param": "vc", "value": false }, "visitorMode": { "param": "vm", "value": "before-consent" } } }, "include": { "storage": [], "buffer": ["s", "idclient", "p", "vtag", "ptag", "ts", "vc", "vm", "ref", "xto", "click", "type", "olt", "cn", "mh"] } } }, "cnil": { "name": "cnil", "exempt": { "name": "exempt", "storageDuration": 397, "trackerSettings": { "disableStorage": false, "disableCookie": false }, "add": { "buffer": { "visitorConsent": { "param": "vc", "value": false }, "visitorMode": { "param": "vm", "value": "exempt" } } }, "include": { "storage": ["atuserid", "atauthority"], "buffer": ["s", "idclient", "p", "vtag", "ptag", "ts", "vc", "vm", "click", "type", "olt", "cn", "mh", "ref", "pclick", "s2click"] } } } }, "parametersToInclude": ["click", "events_data_page", "events_data_page_chapter1", "events_data_page_chapter2", "events_data_page_chapter3", "ref", "page_url", "env_language", "simulateur_embarque", "events_name", "events_data_site_level2", "events_data_click", "events_data_click_chapter1", "events_data_click_chapter2", "events_data_click_chapter3", "goal_type", "evenement_type"] }; var dfltGlobalCfg = {}; ATInternet.Tracker.Plugins.Privacy = function (a) {
|
||||
var k = function (c) {
|
||||
function b() { if (p && m) { var b = new Date; b.setTime(b.getTime() + 864E5 * m.storageDuration); a.storage.set(t.authorityStorageName, { authority_name: p.name, visitor_mode: m.name }, { end: b, path: "/" }) } } function d(e) { m && (0 < m.storageDuration ? e ? b() : (e = a.storage.get(t.authorityStorageName, !0), null === e ? b() : "object" === typeof e && (e.authority_name === p.name && e.visitor_mode === m.name || b())) : a.storage.del(t.authorityStorageName)) } function g() {
|
||||
ATInternet.Utils.privacy.processStorageParams(function (b) { a.storage.del(b) },
|
||||
|
|
Loading…
Reference in New Issue