UNPKG

tarteaucitronjs

Version:

tarteaucitron.io - Get a compliant and accessible cookie banner

1,485 lines (1,293 loc) 267 kB
/*global tarteaucitron, ga, Shareaholic, stLight, clicky, top, google, Typekit, FB, ferankReady, IN, stButtons, twttr, PCWidget*/ /*jslint regexp: true, nomen: true*/ /* min ready */ // generic iframe tarteaucitron.services.iframe = { "key": "iframe", "type": "other", "name": "Web content", "uri": "", "needConsent": true, "cookies": [], "js": function () { "use strict"; tarteaucitron.fallback(['tac_iframe'], function (x) { var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : '', width = tarteaucitron.getElemAttr(x,"width"), height = tarteaucitron.getElemAttr(x,"height"), allowfullscreen = tarteaucitron.getElemAttr(x,"allowfullscreen"), url = tarteaucitron.getElemAttr(x,"url"); var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : ""); return '<iframe title="' + frame_title + '" src="' + url + '" style="' + styleAttr + '" allowtransparency' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>'; }); }, "fallback": function () { "use strict"; var id = 'iframe'; tarteaucitron.fallback(['tac_iframe'], function (elem) { elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width')); elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height')); return tarteaucitron.engage(id); }); } }; // kompass tarteaucitron.services.kompass = { "key": "kompass", "type": "analytic", "name": "Kompass", "uri": "https://fr.kompass.com/l/cookie-use-policy", "needConsent": true, "cookies": ["kompass","gq_lead","_first_pageview","eqy_sessionid","eqy_siteid","cluid","eqy_company","gq_utm","_jsuid"], "js": function () { "use strict"; if (tarteaucitron.user.kompassId === undefined) { return; } tarteaucitron.addScript('https://fr.kompass.com/leads/script.js?id=' + tarteaucitron.user.kompassId); } }; // goldenbees tarteaucitron.services.goldenbees = { "key": "goldenbees", "type": "ads", "name": "Golden Bees", "uri": "https://www.goldenbees.fr/politique-confidentialite", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.goldenbeesId === undefined) { return; } tarteaucitron.addScript('https://cdn.goldenbees.fr/proxy?url=http%3A%2F%2Fstatic.goldenbees.fr%2Fcdn%2Fjs%2Fgtag%2Fgoldentag-min.js&attachment=0', '', function() { window.gbTag = GbTagBuilder.build(tarteaucitron.user.goldenbeesId); window.gbTag.fire(); }); } }; // weply tarteaucitron.services.weply = { "key": "weply", "type": "support", "name": "Weply", "uri": "https://weply.chat/", "needConsent": true, "cookies": ['weply.analytics', 'logglytrackingsession'], "js": function () { "use strict"; if (tarteaucitron.user.weplyId === undefined) { return; } tarteaucitron.addScript('https://app.weply.chat/widget/' + tarteaucitron.user.weplyId); } }; // skaze tarteaucitron.services.skaze = { "key": "skaze", "type": "ads", "name": "Skaze", "uri": "https://www.skaze.com/fr/politique/politique-de-confidentialite/", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.skazeIdentifier === undefined) { return; } window.skaze = window.skaze || {}; tarteaucitron.addScript('https://events.sk.ht/' + tarteaucitron.user.skazeIdentifier + '/lib.js', '', function() { skaze.cmd = skaze.cmd || []; skaze.cmd.push(function() { skaze.init({ siteIdentifier : tarteaucitron.user.skazeIdentifier }); if (typeof tarteaucitron.user.skazeMore === 'function') { tarteaucitron.user.skazeMore(); } }); }); } }; // dialoginsight tarteaucitron.services.dialoginsight = { "key": "dialoginsight", "type": "support", "name": "Dialog Insight", "uri": "https://www.dialoginsight.com/politique-de-confidentialite/", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.dialogInsightId === undefined) { return; } tarteaucitron.addScript('https://t.ofsys.com/js/Journey/1/' + tarteaucitron.user.dialogInsightId + '/DI.Journey-min.js'); } }; // markerio tarteaucitron.services.markerio = { "key": "markerio", "type": "support", "name": "Marker.io", "uri": "https://marker.io/cookie-policy", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.markerioProjectId === undefined) { return; } window.markerConfig = { project: tarteaucitron.user.markerioProjectId, source: 'snippet' }; !function(e,r,a){if(!e.__Marker){e.__Marker={};var t=[],n={__cs:t};["show","hide","isVisible","capture","cancelCapture","unload","reload","isExtensionInstalled","setReporter","setCustomData","on","off"].forEach(function(e){n[e]=function(){var r=Array.prototype.slice.call(arguments);r.unshift(e),t.push(r)}}),e.Marker=n;var s=r.createElement("script");s.async=1,s.src="https://edge.marker.io/latest/shim.js";var i=r.getElementsByTagName("script")[0];i.parentNode.insertBefore(s,i)}}(window,document); } }; // tolkaigenii tarteaucitron.services.tolkaigenii = { "key": "tolkaigenii", "type": "support", "name": "Tolk.ai Genii", "uri": "https://www.tolk.ai/", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.tolkaiGeniiProject === undefined) { return; } tarteaucitron.addScript('https://genii-script.tolk.ai/lightchat.js', 'lightchat-bot', '', '', 'project-id', tarteaucitron.user.tolkaiGeniiProject); } }; // seamlessaccess tarteaucitron.services.seamlessaccess = { "key": "seamlessaccess", "type": "api", "name": "Seamlessaccess", "uri": "https://seamlessaccess.org/about/trust/", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.seamlessaccessInitiator === undefined) { return; } var uniqIds = []; tarteaucitron.fallback(['seamlessaccess_button'], function(x) { var uniqId = tarteaucitron.getElemAttr(x, 'id'); if (uniqId === undefined) { uniqId = '_' + Math.random().toString(36).substr(2, 9); x.setAttribute('id', uniqId); } uniqIds.push(uniqId); x.innerHTML = ''; }, true); tarteaucitron.addScript('//service.seamlessaccess.org/thiss.js', 'seamlessaccessjs', function() { for (var i = 0; i < uniqIds.length; i += 1) { thiss.DiscoveryComponent.render({ loginInitiatorURL: tarteaucitron.user.seamlessaccessInitiator, }, '#' + uniqIds[i]); } }); }, "fallback": function () { "use strict"; var id = 'seamlessaccess'; tarteaucitron.fallback(['seamlessaccess_button'], tarteaucitron.engage(id)); } }; // reddit tarteaucitron.services.reddit = { "key": "reddit", "type": "ads", "name": "Reddit", "uri": "https://business.reddithelp.com/helpcenter/s/article/Reddit-Advertising-Policy-Overview", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.redditInit === undefined) { return; } !function(w,d){if(!w.rdt){var p=w.rdt=function(){p.sendEvent?p.sendEvent.apply(p,arguments):p.callQueue.push(arguments)};p.callQueue=[];var t=d.createElement("script");t.src="https://www.redditstatic.com/ads/pixel.js",t.async=!0;var s=d.getElementsByTagName("script")[0];s.parentNode.insertBefore(t,s)}}(window,document);rdt('init',tarteaucitron.user.redditInit, {"aaid":tarteaucitron.user.redditAAID,"externalId":tarteaucitron.user.redditExternalId,"idfa":tarteaucitron.user.redditIDFA});rdt('track', 'PageVisit'); } }; // zoho tarteaucitron.services.zoho = { "key": "zoho", "type": "support", "name": "Zoho SalesIQ", "uri": "https://www.zoho.com/gdpr.html", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.zohoWidgetCode === undefined) { return; } var $zoho=$zoho || {}; $zoho.salesiq = $zoho.salesiq || {widgetcode:tarteaucitron.user.zohoWidgetCode, values:{},ready:function(){}}; tarteaucitron.addScript('https://salesiq.zoho.eu/widget'); } }; // teads tarteaucitron.services.teads = { "key": "teads", "type": "ads", "name": "Teads", "uri": "https://privacy-policy.teads.com", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.teadsBuyerPixelId === undefined) { return; } tarteaucitron.addScript('https://p.teads.tv/teads-fellow.js'); window.teads_e = window.teads_e || []; window.teads_buyer_pixel_id = tarteaucitron.user.teadsBuyerPixelId; } }; // thetradedesk tarteaucitron.services.thetradedesk = { "key": "thetradedesk", "type": "ads", "name": "TheTradeDesk", "uri": "https://www.thetradedesk.com/fr/privacy", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.thetradedeskAdvertiserId === undefined || tarteaucitron.user.thetradedeskUpixelId === undefined) { return; } tarteaucitron.addScript('https://js.adsrvr.org/up_loader.1.1.0.js', '', function() { ttd_dom_ready( function() { if (typeof TTDUniversalPixelApi === 'function') { var universalPixelApi = new TTDUniversalPixelApi(); universalPixelApi.init(tarteaucitron.user.thetradedeskAdvertiserId, [tarteaucitron.user.thetradedeskUpixelId], "https://insight.adsrvr.org/track/up"); } }); }); } }; // gcmanalyticsstorage tarteaucitron.services.gcmanalyticsstorage = { "key": "gcmanalyticsstorage", "type": "google", "name": "Analytics", "uri": "https://policies.google.com/privacy", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.parameters.googleConsentMode === true) { window.tac_gtag('consent', 'update', { analytics_storage: 'granted' }); } }, "fallback": function () { "use strict"; if (tarteaucitron.parameters.googleConsentMode === true) { window.tac_gtag('consent', 'update', { analytics_storage: 'denied' }); } } }; // gcmadstorage tarteaucitron.services.gcmadstorage = { "key": "gcmadstorage", "type": "google", "name": "Advertising", "uri": "https://policies.google.com/privacy", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.parameters.googleConsentMode === true) { window.tac_gtag('consent', 'update', { ad_storage: 'granted' }); } }, "fallback": function () { "use strict"; if (tarteaucitron.parameters.googleConsentMode === true) { window.tac_gtag('consent', 'update', { ad_storage: 'denied' }); } } }; // gcmadsuserdata tarteaucitron.services.gcmadsuserdata = { "key": "gcmadsuserdata", "type": "google", "name": "Personalized Advertising", "uri": "https://policies.google.com/privacy", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.parameters.googleConsentMode === true) { window.tac_gtag('consent', 'update', { ad_user_data: 'granted', ad_personalization: 'granted' }); } }, "fallback": function () { "use strict"; if (tarteaucitron.parameters.googleConsentMode === true) { window.tac_gtag('consent', 'update', { ad_user_data: 'denied', ad_personalization: 'denied' }); } } }; // gcmpersonalization tarteaucitron.services.gcmpersonalization = { "key": "gcmpersonalization", "type": "google", "name": "Personalization", "uri": "https://policies.google.com/privacy", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.parameters.googleConsentMode === true) { window.tac_gtag('consent', 'update', { personalization_storage: 'granted' }); } }, "fallback": function () { "use strict"; if (tarteaucitron.parameters.googleConsentMode === true) { window.tac_gtag('consent', 'update', { personalization_storage: 'denied' }); } } }; // gcmfunctionality tarteaucitron.services.gcmfunctionality = { "key": "gcmfunctionality", "type": "google", "name": "Functionality", "uri": "https://policies.google.com/privacy", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.parameters.googleConsentMode === true) { window.tac_gtag('consent', 'update', { functionality_storage: 'granted' }); } }, "fallback": function () { "use strict"; if (tarteaucitron.parameters.googleConsentMode === true) { window.tac_gtag('consent', 'update', { functionality_storage: 'denied' }); } } }; // gcmsecurity tarteaucitron.services.gcmsecurity = { "key": "gcmsecurity", "type": "google", "name": "Security", "uri": "https://policies.google.com/privacy", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.parameters.googleConsentMode === true) { window.tac_gtag('consent', 'update', { security_storage: 'granted' }); } }, "fallback": function () { "use strict"; if (tarteaucitron.parameters.googleConsentMode === true) { window.tac_gtag('consent', 'update', { security_storage: 'denied' }); } } }; // piximedia tarteaucitron.services.piximedia = { "key": "piximedia", "type": "ads", "name": "Piximedia", "uri": "https://piximedia.com/privacy/", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.piximediaName === undefined || tarteaucitron.user.piximediaTag === undefined || tarteaucitron.user.piximediaType === undefined || tarteaucitron.user.piximediaId === undefined) { return; } tarteaucitron.addScript('https://ad.piximedia.com/tools/activity/?' + tarteaucitron.user.piximediaName + '||'+ tarteaucitron.user.piximediaTag + '|' + tarteaucitron.user.piximediaType + '|' + tarteaucitron.user.piximediaId + '|||||'); } }; // screeb tarteaucitron.services.screeb = { "key": "screeb", "type": "support", "name": "Screeb", "uri": "https://screeb.app/gdpr-privacy", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.screebId === undefined) { return; } window['ScreebObject'] = '$screeb'; window['$screeb'] = window['$screeb'] || function() { var d = arguments; return new Promise(function(a, b) { (window['$screeb'].q = window['$screeb'].q || []).push({ v: 1, args: d, ok: a, ko: b }) }) }; tarteaucitron.addScript('https://t.screeb.app/tag.js', '$screeb'); if (tarteaucitron.user.screebDontInit !== true) { window.$screeb('init', tarteaucitron.user.screebId); } } }; // pipedrive tarteaucitron.services.pipedrive = { "key": "pipedrive", "type": "support", "name": "Pipedrive", "uri": "https://www.pipedrive.com/en/cookie-notice", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.pipedriveCompany === undefined || tarteaucitron.user.pipedrivePlaybook === undefined) { return; } window.pipedriveLeadboosterConfig = {base: 'leadbooster-chat.pipedrive.com', companyId: tarteaucitron.user.pipedriveCompany, playbookUuid: tarteaucitron.user.pipedrivePlaybook, version: 2}; if (!window.LeadBooster) { window.LeadBooster = { q: [], on: function(n, h) { this.q.push({ t: 'o', n: n, h: h }); }, trigger: function(n) { this.q.push({ t: 't', n: n }); }, }; } tarteaucitron.addScript('https://leadbooster-chat.pipedrive.com/assets/loader.js'); }, "fallback": function () { "use strict"; var id = ''; tarteaucitron.fallback(['proactiveChat'], function (elem) { return tarteaucitron.engage(id); }); } }; // dynatrace tarteaucitron.services.dynatrace = { "key": "dynatrace", "type": "api", "name": "Dynatrace", "uri": "https://www.dynatrace.com/company/trust-center/privacy/", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.dynatraceJSPath === undefined || tarteaucitron.user.dynatraceConfig === undefined) { return; } tarteaucitron.addScript(tarteaucitron.user.dynatraceJSPath, '', '', '', 'data-dtconfig', tarteaucitron.user.dynatraceConfig); } }; // mixpanel tarteaucitron.services.mixpanel = { "key": "mixpanel", "type": "analytic", "name": "Mixpanel", "uri": "https://docs.mixpanel.com/docs/privacy/overview", "needConsent": true, "cookies": [], "js": function () { "use strict"; (function (f, b) { if (!b.__SV) { var e, g, i, h; window.mixpanel = b; b._i = []; b.init = function (e, f, c) { function g(a, d) { var b = d.split("."); 2 == b.length && ((a = a[b[0]]), (d = b[1])); a[d] = function () { a.push([d].concat(Array.prototype.slice.call(arguments, 0))); }; } var a = b; "undefined" !== typeof c ? (a = b[c] = []) : (c = "mixpanel"); a.people = a.people || []; a.toString = function (a) { var d = "mixpanel"; "mixpanel" !== c && (d += "." + c); a || (d += " (stub)"); return d; }; a.people.toString = function () { return a.toString(1) + ".people (stub)"; }; i = "disable time_event track track_pageview track_links track_forms track_with_groups add_group set_group remove_group register register_once alias unregister identify name_tag set_config reset opt_in_tracking opt_out_tracking has_opted_in_tracking has_opted_out_tracking clear_opt_in_out_tracking start_batch_senders people.set people.set_once people.unset people.increment people.append people.union people.track_charge people.clear_charges people.delete_user people.remove".split( " "); for (h = 0; h < i.length; h++) g(a, i[h]); var j = "set set_once union unset remove delete".split(" "); a.get_group = function () { function b(c) { d[c] = function () { call2_args = arguments; call2 = [c].concat(Array.prototype.slice.call(call2_args, 0)); a.push([e, call2]); }; } for ( var d = {}, e = ["get_group"].concat( Array.prototype.slice.call(arguments, 0)), c = 0; c < j.length; c++) b(j[c]); return d; }; b._i.push([e, f, c]); }; b.__SV = 1.2; e = f.createElement("script"); e.type = "text/javascript"; e.async = !0; e.src = "undefined" !== typeof MIXPANEL_CUSTOM_LIB_URL ? MIXPANEL_CUSTOM_LIB_URL : "file:" === f.location.protocol && "//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js".match(/^\/\//) ? "https://cdn.mxpnl.com/libs/mixpanel-2-latest.min.js" : "//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js"; g = f.getElementsByTagName("script")[0]; g.parentNode.insertBefore(e, g); } })(document, window.mixpanel || []); } }; // freshsalescrm tarteaucitron.services.freshsalescrm = { "key": "freshsalescrm", "type": "analytic", "name": "FreshSales (CRM)", "uri": "https://www.freshworks.com/gdpr/", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.freshsalescrmId === undefined) { return; } tarteaucitron.addScript('https://eu.fw-cdn.com/' + tarteaucitron.user.freshsalescrmId + '.js'); } }; // equativ tarteaucitron.services.equativ = { "key": "equativ", "type": "ads", "name": "Equativ", "uri": "https://equativ.com/", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.equativId === undefined) { return; } tarteaucitron.addScript('https://ced.sascdn.com/tag/' + tarteaucitron.user.equativId + '/smart.js'); } }; // twitch tarteaucitron.services.twitch = { "key": "twitch", "type": "video", "name": "Twitch", "needConsent": true, "cookies": [], "uri": "https://www.twitch.tv/p/en/legal/privacy-notice", "js": function () { "use strict"; tarteaucitron.fallback(['twitch_player'], function (x) { var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Twitch iframe', id = tarteaucitron.getElemAttr(x, 'videoID'), parent = tarteaucitron.getElemAttr(x, 'parent'), width = tarteaucitron.getElemAttr(x, 'width'), height = tarteaucitron.getElemAttr(x, 'height'); var embedURL = "https://player.twitch.tv/?video=" + id + "&parent=" + parent; var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : ""); return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "\" src=\"" + embedURL + "\"></iframe>"; }); }, "fallback": function () { "use strict"; var id = "twitch"; tarteaucitron.fallback(["twitch_player"], tarteaucitron.engage(id)); } }; // eskimi tarteaucitron.services.eskimi = { "key": "eskimi", "type": "ads", "name": "Eskimi", "uri": "https://fr.eskimi.com/privacy-policy", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.eskimiInit === undefined) { return; } window.___esk = window.esk = function () { window.___esk.callMethod ? window.___esk.callMethod.apply(window.___esk, arguments) : window.___esk.queue.push(arguments); }; window.___esk.push = window.___esk; window.___esk.loaded = true; window.___esk.queue = []; tarteaucitron.addScript("https://dsp-media.eskimi.com/assets/js/e/gtr.min.js", '', function () { esk('init', tarteaucitron.user.eskimiInit); }); } }; // sharethissticky tarteaucitron.services.sharethissticky = { "key": "sharethissticky", "type": "social", "name": "ShareThis Sticky", "uri": "https://sharethis.com/fr/privacy/", "needConsent": true, "cookies": ['_stid','_stidv','pubconsent'], "js": function () { "use strict"; if (tarteaucitron.user.sharethisStickyProperty === undefined) { return; } tarteaucitron.addScript("https://platform-api.sharethis.com/js/sharethis.js#property=" + tarteaucitron.user.sharethisStickyProperty + "&product=sticky-share-buttons"); } }; // pianoanalytics tarteaucitron.services.pianoanalytics = { "key": "pianoanalytics", "type": "analytic", "name": "Piano Analytics", "uri": "https://piano.io/privacy-policy/", "needConsent": true, "cookies": ['_pcid','_pctx','_pctx','pa_user', 'pa_privacy'], "js": function () { "use strict"; if (tarteaucitron.user.pianoCollectDomain === undefined || tarteaucitron.user.pianoSite === undefined) { return; } tarteaucitron.addScript("https://tag.aticdn.net/piano-analytics.js", '', function () { pa.setConfigurations({ site: tarteaucitron.user.pianoSite, collectDomain: tarteaucitron.user.pianoCollectDomain }); if (tarteaucitron.user.pianoSendData !== false) { pa.sendEvent('page.display', { 'page': document.title }); } }); } }; // actistat tarteaucitron.services.actistat = { "key": "actistat", "type": "analytic", "name": "ActiSTAT", "uri": "https://actigraph.com/actistat", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.actistatId === undefined) { return; } tarteaucitron.addScript('https://actistat.fr/umami.js', '', '', '', 'data-website-id', tarteaucitron.user.actistatId); } }; // outbrainamplify tarteaucitron.services.outbrainamplify = { "key": "outbrainamplify", "type": "ads", "name": "Outbrain Amplify", "uri": "https://www.outbrain.com/privacy/", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.outbrainamplifyId === undefined) { return; } var OB_ADV_ID = tarteaucitron.user.outbrainamplifyId; if (window.obApi) { var toArray = function(object) { return Object.prototype.toString.call(object) === '[object Array]' ? object : [object]; }; window.obApi.marketerId = toArray(_window.obApi.marketerId).concat(toArray(OB_ADV_ID)); return; } var api = window.obApi = function() { api.dispatch ? api.dispatch.apply(api, arguments) : api.queue.push(arguments); }; api.version = '1.1'; api.loaded = true; api.marketerId = OB_ADV_ID; api.queue = []; tarteaucitron.addScript('https://amplify.outbrain.com/cp/obtp.js', '', function () { obApi('track', 'PAGE_VIEW'); }); } }; // playplay tarteaucitron.services.playplay = { "key": "playplay", "type": "video", "name": "PlayPlay", "uri": "https://playplay.com/fr/confidentialite", "needConsent": true, "cookies": [], "js": function () { "use strict"; tarteaucitron.fallback(['tac_playplay'], function (x) { var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Playplay iframe', id = tarteaucitron.getElemAttr(x, "data-id"), width = tarteaucitron.getElemAttr(x, "width"), height = tarteaucitron.getElemAttr(x, "height"); var playURL = "https://playplay.com/app/embed-video/" + id; var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : ""); return "<iframe title=\"" + frame_title + "\" style=\"" + styleAttr + "border:0;\" src=\"" + playURL + "\" allowfullscreen></iframe>"; }); }, "fallback": function () { "use strict"; var id = 'playplay'; tarteaucitron.fallback(['tac_playplay'], function (elem) { return tarteaucitron.engage(id); }); } }; // adobeworkspace tarteaucitron.services.adobeworkspace = { "key": "adobeworkspace", "type": "analytic", "name": "Adobe - Analysis Workspace", "uri": "https://www.adobe.com/privacy/policy.html", "needConsent": true, "cookies": ['s_ecid', 's_cc', 's_sq', 's_vi', 's_fid'], "js": function () { "use strict"; if (tarteaucitron.user.adobeworkspaceId1 === undefined || tarteaucitron.user.adobeworkspaceId2 === undefined || tarteaucitron.user.adobeworkspaceId3 === undefined) { return; } tarteaucitron.addScript('https://assets.adobedtm.com/'+tarteaucitron.user.adobeworkspaceId1+'/'+tarteaucitron.user.adobeworkspaceId2+'/launch-'+tarteaucitron.user.adobeworkspaceId3+'.min.js'); } }; // zohopagesense tarteaucitron.services.zohopagesense = { "key": "zohopagesense", "type": "analytic", "name": "Zoho PageSense", "uri": "https://www.zoho.com/pagesense/cookie-policy.html", "needConsent": true, "cookies": ["zab_g_", "zabUserID", "zabVisitID", "zabSplit", "zabBucket", "zabHMBucket", "zpsfa_", "zfa", "zsr", "zabme", "zsd", "ps_payloadSeqId", "zabPZBucket", "zPersonalization", "zia_", "zpc", "zps_permission_status", "zps-tgr-dts", "zpspolls_", "zpsPollsBucket", "zpspb", "zpsPopupBucket", "zpssr", "zab_g_", "zab_", "zPersonalization"], "js": function () { "use strict"; if (tarteaucitron.user.zohoPageSenseProjectId === undefined || tarteaucitron.user.zohoPageSenseScriptHash === undefined) { return; } tarteaucitron.addScript('https://cdn-eu.pagesense.io/js/' + tarteaucitron.user.zohoPageSenseProjectId + '/' + tarteaucitron.user.zohoPageSenseScriptHash + '.js'); } }; // leadinfo tarteaucitron.services.leadinfo = { "key": "leadinfo", "type": "analytic", "name": "Leadinfo", "uri": "https://www.leadinfo.com/en/privacy/", "needConsent": true, "cookies": ['_li_id', '_li_ses'], "js": function () { "use strict"; if (tarteaucitron.user.leadinfoId === undefined) { return; } window.GlobalLeadinfoNamespace = window.GlobalLeadinfoNamespace || []; window.GlobalLeadinfoNamespace.push("leadinfo"); window["leadinfo"] = function() { (window["leadinfo"].q = window["leadinfo"].q || []).push(arguments) }; window["leadinfo"].t = window["leadinfo"].t || tarteaucitron.user.leadinfoId; window["leadinfo"].q = window["leadinfo"].q || []; tarteaucitron.addScript('https://cdn.leadinfo.net/ping.js'); } }; // force24 tarteaucitron.services.force24 = { "key": "force24", "type": "analytic", "name": "Force24", "uri": "https://support.force24.co.uk/support/solutions/articles/79000128057-cookie-policies", "needConsent": true, "cookies": ['F24_autoID', 'F24_personID'], "js": function () { "use strict"; if (tarteaucitron.user.force24trackingId === undefined || tarteaucitron.user.force24clientId === undefined) { return; } window.Force24Object = "f24", window["f24"] = window["f24"] || function() { window["f24"].q = window["f24"].q || [], window["f24"].q.push(arguments) }, window["f24"].l = 1 * new Date; tarteaucitron.addScript('https://static.websites.data-crypt.com/scripts/activity/v3/inject-v3.min.js'); f24('config', 'set_tracking_id', tarteaucitron.user.force24trackingId); f24('config', 'set_client_id', tarteaucitron.user.force24clientId); } }; // tiktokvideo tarteaucitron.services.tiktokvideo = { "key": "tiktokvideo", "type": "video", "name": "Tiktok Video", "uri": "https://www.tiktok.com/legal/page/eea/privacy-policy/en", "needConsent": true, "cookies": [], "js": function () { "use strict"; tarteaucitron.addScript('https://www.tiktok.com/embed.js'); }, "fallback": function () { "use strict"; var id = 'tiktokvideo'; tarteaucitron.fallback(['tiktok-embed'], function (elem) { return tarteaucitron.engage(id); }); } }; // shinystat tarteaucitron.services.shinystat = { "key": "shinystat", "type": "analytic", "name": "Shinystat", "uri": "https://www.shinystat.com/en/opt-out.html", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.shinystatUser === undefined) { return; } tarteaucitron.addScript('https://codice.shinystat.com/cgi-bin/getcod.cgi?USER=' + tarteaucitron.user.shinystatUser); } }; // activecampaignvgo tarteaucitron.services.activecampaignvgo = { "key": "activecampaignvgo", "type": "other", "name": "Active Campaign", "uri": "https://www.activecampaign.com/legal/privacy-policy/", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.activecampaignAccount === undefined) { return; } window.visitorGlobalObjectAlias="vgo"; window[window.visitorGlobalObjectAlias]=window[window.visitorGlobalObjectAlias]||function(){(window[window.visitorGlobalObjectAlias].q=window[window.visitorGlobalObjectAlias].q||[]).push(arguments)}; window[window.visitorGlobalObjectAlias].l=(new Date).getTime(); tarteaucitron.addScript('https://diffuser-cdn.app-us1.com/diffuser/diffuser.js', '', function () { vgo('setAccount', tarteaucitron.user.activecampaignAccount); vgo('setTrackByDefault', true); vgo('process'); }); } }; // Brevo (formerly sendinblue) tarteaucitron.services.sendinblue = { "key": "sendinblue", "type": "other", "name": "Brevo (formerly sendinblue)", "uri": "https://www.brevo.com/fr/legal/cookies/", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.sendinblueKey === undefined) { return; } window.sib = {equeue: [], client_key: tarteaucitron.user.sendinblueKey}; window.sendinblue = {}; for (var j = ['track', 'identify', 'trackLink', 'page'], i = 0; i < j.length; i++) { (function(k) { window.sendinblue[k] = function() { var arg = Array.prototype.slice.call(arguments); (window.sib[k] || function() { var t = {}; t[k] = arg; window.sib.equeue.push(t); })(arg[0], arg[1], arg[2], arg[3]); }; })(j[i]); } tarteaucitron.addScript('https://sibautomation.com/sa.js?key=' + window.sib.client_key, 'sendinblue-js', function () { window.sendinblue.page(); }); } }; // collectchat tarteaucitron.services.collectchat = { "key": "collectchat", "type": "other", "name": "Collect Chat", "uri": "https://collect.chat/privacy/", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.collectchatId === undefined) { return; } window.CollectId = tarteaucitron.user.collectchatId; tarteaucitron.addScript('https://collectcdn.com/launcher.js'); } }; // eulerian tarteaucitron.services.eulerian = { "key": "eulerian", "type": "analytic", "name": "Eulerian", "uri": "https://www.eulerian.com/rgpd", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.eulerianHost === undefined) { return; } (function(e,a){var i=e.length,y=5381,k='script',s=window,v=document,o=v.createElement(k);for(;i;){i-=1;y=(y*33)^e.charCodeAt(i)}y='_EA_'+(y>>>=0);(function(e,a,s,y){s[a]=s[a]||function(){(s[y]=s[y]||[]).push(arguments);s[y].eah=e;};}(e,a,s,y));i=new Date/1E7|0;o.ea=y;y=i%26;o.async=1;o.src='//'+e+'/'+String.fromCharCode(97+y,122-y,65+y)+(i%1E3)+'.js?2';s=v.getElementsByTagName(k)[0];s.parentNode.insertBefore(o,s);}) (tarteaucitron.user.eulerianHost,'EA_push'); EA_push(); } }; // posthog tarteaucitron.services.posthog = { "key": "posthog", "type": "other", "name": "Posthog", "uri": "https://posthog.com/privacy", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.posthogApiKey === undefined || tarteaucitron.user.posthogHost === undefined) { return; } !function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]); posthog.init(tarteaucitron.user.posthogApiKey, {api_host: tarteaucitron.user.posthogHost}); } }; // googlesignin tarteaucitron.services.googlesignin = { "key": "googlesignin", "type": "other", "name": "Google Signin", "uri": "https://policies.google.com/technologies/cookies#types-of-cookies", "needConsent": true, "cookies": [], "js": function () { "use strict"; tarteaucitron.addScript('https://accounts.google.com/gsi/client'); } }; // calendly tarteaucitron.services.calendly = { "key": "calendly", "type": "other", "name": "Calendly", "uri": "https://calendly.com/privacy", "needConsent": true, "cookies": [], "js": function () { "use strict"; tarteaucitron.fallback(['calendly-inline-widget'], ''); tarteaucitron.addScript('https://assets.calendly.com/assets/external/widget.js'); }, "fallback": function () { "use strict"; var id = 'calendly'; tarteaucitron.fallback(['calendly-inline-widget'], function (elem) { return tarteaucitron.engage(id); }); } }; // tolkai tarteaucitron.services.tolkai = { "key": "tolkai", "type": "other", "name": "tolk.ai", "uri": "https://www.tolk.ai/", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.tolkaiBot === undefined) { return; } window.tcfbot = tarteaucitron.user.tolkaiBot; window.TcfWbchtParams = { behaviour: 'default' }; window.display = 'iframe'; tarteaucitron.addScript('https://script.tolk.ai/iframe-latest.js'); } }; // kwanko tarteaucitron.services.kwanko = { "key": "kwanko", "type": "ads", "name": "Kwanko", "uri": "https://www.kwanko.com/fr/rgpd/politique-gestion-donnees/", "needConsent": true, "cookies": [], "js": function () { "use strict"; tarteaucitron.fallback(['tac_kwanko'], function (x) { var mclic = tarteaucitron.getElemAttr(x, "data-mclic"); return '<img src="https://action.metaffiliation.com/trk.php?mclic=' + mclic + '" width="1" height="1" />'; }); }, "fallback": function () { "use strict"; var id = 'kwanko'; tarteaucitron.fallback(['tac_kwanko'], function (elem) { return tarteaucitron.engage(id); }); } }; // leadforensics tarteaucitron.services.leadforensics = { "key": "leadforensics", "type": "ads", "name": "Lead Forensics", "uri": "https://www.leadforensics.com/cookie-policy/", "needConsent": true, "cookies": ['ifuuid'], "js": function () { "use strict"; if (tarteaucitron.user.leadforensicsId === undefined) { return; } tarteaucitron.addScript('https://secure.team8save.com/js/sc/'+ tarteaucitron.user.leadforensicsId +'.js'); } }; // ubib tarteaucitron.services.ubib = { "key": "ubib", "type": "support", "name": "Ubib Chatbot", "uri": "https://ubib.libanswers.com/", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.ubibId === undefined || tarteaucitron.user.ubibHash === undefined) { return; } tarteaucitron.addScript('https://' + tarteaucitron.user.ubibId + '.libanswers.com/load_chat.php?hash=' + tarteaucitron.user.ubibHash); } }; // wysistathightrack tarteaucitron.services.wysistathightrack = { "key": "wysistathightrack", "type": "analytic", "name": "Wysistat (privacy by design)", "uri": "https://www.wysistat.net/webanalytics/exemption-cnil/", "needConsent": false, "cookies": ['wysistat'], "js": function () { "use strict"; if (tarteaucitron.user.wysistatNom === undefined) { return; } window._wsq = window._wsq || []; window._wsq.push(['_setNom', tarteaucitron.user.wysistatNom]); window._wsq.push(['_wysistat']); tarteaucitron.addScript('https://www.wysistat.com/ws.jsa'); } }; // robofabrica tarteaucitron.services.robofabrica = { "key": "robofabrica", "type": "support", "name": "Robo Fabrica Chatbot", "uri": "https://robofabrica.tech/charte-vie-privee/", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.robofabricaUuid === undefined) { return; } tarteaucitron.addScript('https://app.robofabrica.tech/widget/script', 'inceptive-cw-script', function() { document.getElementById('inceptive-cw-script').setAttribute('unique-url', tarteaucitron.user.robofabricaUuid); document.getElementById('inceptive-cw-script').setAttribute('label', 'start'); document.getElementById('inceptive-cw-script').setAttribute('launch-btn-id', 'inceptive-cw-launch'); document.getElementById('inceptive-cw-script').setAttribute('chat-server-url', 'https://app.robofabrica.tech:443'); }); } }; // trustpilot tarteaucitron.services.trustpilot = { "key": "trustpilot", "type": "other", "name": "Trustpilot", "uri": "https://fr.legal.trustpilot.com/for-reviewers/end-user-privacy-terms", "needConsent": true, "cookies": [], "js": function () { "use strict"; tarteaucitron.fallback(['trustpilot-widget'], ''); tarteaucitron.addScript('https://widget.trustpilot.com/bootstrap/v5/tp.widget.sync.bootstrap.min.js'); }, "fallback": function () { "use strict"; var id = 'trustpilot'; tarteaucitron.fallback(['trustpilot-widget'], function (elem) { elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'data-style-width')); elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'data-style-height')); return tarteaucitron.engage(id); }); } }; // snapchat tarteaucitron.services.snapchat = { "key": "snapchat", "type": "analytic", "name": "Snapchat", "uri": "https://snap.com/fr-FR/privacy/privacy-policy", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.snapchatId === undefined) { return; } var a = window.snaptr = function() { a.handleRequest ? a.handleRequest.apply(a, arguments) : a.queue.push(arguments) }; a.queue = []; if (tarteaucitron.user.snapchatEmail === undefined) { window.snaptr('init', tarteaucitron.user.snapchatId); } else { window.snaptr('init', tarteaucitron.user.snapchatId, { 'user_email': tarteaucitron.user.snapchatEmail }); } window.snaptr('track', 'PAGE_VIEW'); tarteaucitron.addScript('https://sc-static.net/scevent.min.js'); if (typeof tarteaucitron.user.snapchatMore === 'function') { tarteaucitron.user.snapchatMore(); } } }; // antvoice tarteaucitron.services.antvoice = { "key": "antvoice", "type": "ads", "name": "antvoice", "uri": "https://www.antvoice.com/fr/privacy-policy/", "needConsent": true, "cookies": ['antvoice'], "js": function () { "use strict"; if (tarteaucitron.user.antvoiceId === undefined) { return; } window.avDataLayer = window.avDataLayer || []; window.avtag = window.avtag || function(_cmd,_p) { window.avDataLayer.push({cmd:_cmd,p:_p}); } window.avtag('setConsent', {consent:true}); window.avtag('init', {id: tarteaucitron.user.antvoiceId}); tarteaucitron.addScript('https://static.avads.net/avtag.min.js'); } }; // plausible tarteaucitron.services.plausible = { "key": "plausible", "type": "analytic", "name": "Plausible", "uri": "https://plausible.io/privacy", "needConsent": false, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.plausibleDomain === undefined) { return; } tarteaucitron.addScript('https://plausible.io/js/script.js', '', '', '', 'data-domain', tarteaucitron.user.plausibleDomain); } }; // videas tarteaucitron.services.videas = { "key": "videas", "type": "video", "name": "Videas", "uri": "https://videas.fr/fr/legal", "needConsent": true, "cookies": [], "js": function () { "use strict"; tarteaucitron.fallback(['tac_videas'], function (x) { var frame_title = tarteaucitron.getElemAttr(x, "title") || 'Videas iframe', width = tarteaucitron.getElemAttr(x, "width"), height = tarteaucitron.getElemAttr(x, "height"), id = tarteaucitron.getElemAttr(x, "data-id"), allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen"); var styleAttr = (width !== "" ? "width:" + tarteaucitron.getStyleSize(width) + ";" : "") + (height !== "" ? "height:" + tarteaucitron.getStyleSize(height) + ";" : ""); return '<iframe title="' + frame_title + '" src="https://app.videas.fr/embed/' + id + '/" style="' + styleAttr + '" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>'; }); }, "fallback": function () { "use strict"; var id = 'videas'; tarteaucitron.fallback(['tac_videas'], function (elem) { elem.style.width = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'width')); elem.style.height = tarteaucitron.getStyleSize(tarteaucitron.getElemAttr(elem, 'height')); return tarteaucitron.engage(id); }); } }; // myfeelback tarteaucitron.services.myfeelback = { "key": "myfeelback", "type": "api", "name": "MyFeelBack (Skeepers)", "uri": "https://help.myfeelback.com/fr/quels-sont-les-cookies-d%C3%A9pos%C3%A9s-par-un-dispositif-de-collecte-myfeelback", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.myfeelbackId === undefined) { return; } window._Mfb_useCookie = true; window._Mfb_ud = { var1: undefined, var2: undefined, varN: undefined, _context: { lang: undefined, privacyMode: false, _page: { url: location.pathname, storageDuration: 30 } } }; tarteaucitron.addScript('https://actorssl-5637.kxcdn.com/actor/'+tarteaucitron.user.myfeelbackId+'/action', 'MFBActor'); } }; // arcio tarteaucitron.services.arcio = { "key": "arcio", "type": "api", "name": "Arc.io", "uri": "https://arc.io/about", "needConsent": true, "cookies": [], "js": function () { "use strict"; if (tarteaucitron.user.arcId === undefined) { return; } tarteaucitron.addScript('https://arc.io/widget.min.js#'+tarteaucitron.user.arcId); } }; // doubleclick tarteaucitron.services.doubleclick = { "key": "doubleclick", "type": "ads", "name": "DoubleClick", "uri": "https://support.google.com/admanager/answer/2839090", "needConsent": true, "cookies": [], "js": function () { "use strict"; tarteaucitron.fallback(['doubleclick_container'], function (x) { var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.getElemAttr(x,"title") : 'Do