Refactor: Supression des ${}

This commit is contained in:
GeekCornerGH 2021-08-18 07:49:57 +02:00
parent 44a05a3035
commit 1a410ebb6d
1 changed files with 385 additions and 385 deletions

View File

@ -39,7 +39,7 @@ tarteaucitron.services.pinterestpixel = {
"name": "Pinterest Pixel",
"uri": "https://help.pinterest.com/fr/business/article/track-conversions-with-pinterest-tag",
"needConsent": true,
"cookies": [ '_pinterest_sess', '_pinterest_ct', '_pinterest_ct_mw', '_pinterest_ct_rt', '_epik', '_derived_epik', '_pin_unauth', '_pinterest_ct_ua'],
"cookies": ['_pinterest_sess', '_pinterest_ct', '_pinterest_ct_mw', '_pinterest_ct_rt', '_epik', '_derived_epik', '_pin_unauth', '_pinterest_ct_ua'],
"js": function () {
"use strict";
@ -47,16 +47,16 @@ tarteaucitron.services.pinterestpixel = {
return;
}
if(!window.pintrk) {
window.pintrk = function() {
if (!window.pintrk) {
window.pintrk = function () {
window.pintrk.queue.push(Array.prototype.slice.call(arguments));
};
var n=window.pintrk;
n.queue=[];
n.version="3.0";
var n = window.pintrk;
n.queue = [];
n.version = "3.0";
tarteaucitron.addScript('https://s.pinimg.com/ct/core.js', '', function() {
tarteaucitron.addScript('https://s.pinimg.com/ct/core.js', '', function () {
window.pintrk('load', tarteaucitron.user.pinterestpixelId);
window.pintrk('page');
});
@ -116,7 +116,7 @@ tarteaucitron.services.smartsupp = {
window._smartsupp = window._smartsupp || {};
window._smartsupp.key = tarteaucitron.user.smartsuppKey;
window.smartsupp = function() {
window.smartsupp = function () {
window.smartsupp._.push(arguments)
};
window.smartsupp._ = [];
@ -216,7 +216,7 @@ tarteaucitron.services.xandr = {
}
if (!window.pixie) {
var n = window.pixie = function(e, i, a) {
var n = window.pixie = function (e, i, a) {
n.actionQueue.push({
action: e,
actionValue: i,
@ -226,7 +226,7 @@ tarteaucitron.services.xandr = {
n.actionQueue = [];
}
tarteaucitron.addScript('https://acdn.adnxs.com/dmp/up/pixie.js', '', function() {
tarteaucitron.addScript('https://acdn.adnxs.com/dmp/up/pixie.js', '', function () {
window.pixie('init', tarteaucitron.user.xandrId);
window.pixie('event', 'PageView');
});
@ -361,7 +361,7 @@ tarteaucitron.services.podcloud = {
width = x.getAttribute("width"),
height = x.getAttribute("height"),
url = x.getAttribute("data-url"),
allowfullscreen= x.getAttribute("allowfullscreen");
allowfullscreen = x.getAttribute("allowfullscreen");
return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
});
@ -422,25 +422,25 @@ tarteaucitron.services.amplitude = {
if (tarteaucitron.user.amplitude === undefined) {
return;
}
tarteaucitron.addScript('https://cdn.amplitude.com/libs/amplitude-5.8.0-min.gz.js', '', function() {
tarteaucitron.addScript('https://cdn.amplitude.com/libs/amplitude-5.8.0-min.gz.js', '', function () {
window.amplitude = {
_q: [],
_iq: {}
};
function s(e,t){e.prototype[t]=function(){this._q.push([t].concat(Array.prototype.slice.call(arguments,0)));return this}}
var o=function(){this._q=[];return this};
var a=["add","append","clearAll","prepend","set","setOnce","unset"];
for(var u=0;u<a.length;u++){s(o,a[u])}
amplitude.Identify=o;
var c=function(){this._q=[];return this};
var l=["setProductId","setQuantity","setPrice","setRevenueType","setEventProperties"];
for(var p=0;p<l.length;p++){s(c,l[p])}
amplitude.Revenue=c;
var d=["init","logEvent","logRevenue","setUserId","setUserProperties","setOptOut","setVersionName","setDomain","setDeviceId","enableTracking","setGlobalUserProperties","identify","clearUserProperties","setGroup","logRevenueV2","regenerateDeviceId","groupIdentify","onInit","logEventWithTimestamp","logEventWithGroups","setSessionId","resetSessionId"];
function v(e){function t(t){e[t]=function(){e._q.push([t].concat(Array.prototype.slice.call(arguments,0)))}}for(var n=0;n<d.length;n++){t(d[n])}}
function s(e, t) { e.prototype[t] = function () { this._q.push([t].concat(Array.prototype.slice.call(arguments, 0))); return this } }
var o = function () { this._q = []; return this };
var a = ["add", "append", "clearAll", "prepend", "set", "setOnce", "unset"];
for (var u = 0; u < a.length; u++) { s(o, a[u]) }
amplitude.Identify = o;
var c = function () { this._q = []; return this };
var l = ["setProductId", "setQuantity", "setPrice", "setRevenueType", "setEventProperties"];
for (var p = 0; p < l.length; p++) { s(c, l[p]) }
amplitude.Revenue = c;
var d = ["init", "logEvent", "logRevenue", "setUserId", "setUserProperties", "setOptOut", "setVersionName", "setDomain", "setDeviceId", "enableTracking", "setGlobalUserProperties", "identify", "clearUserProperties", "setGroup", "logRevenueV2", "regenerateDeviceId", "groupIdentify", "onInit", "logEventWithTimestamp", "logEventWithGroups", "setSessionId", "resetSessionId"];
function v(e) { function t(t) { e[t] = function () { e._q.push([t].concat(Array.prototype.slice.call(arguments, 0))) } } for (var n = 0; n < d.length; n++) { t(d[n]) } }
v(amplitude);
amplitude.getInstance=function(e){e=(!e||e.length===0?"$default_instance":e).toLowerCase();if(!amplitude._iq.hasOwnProperty(e)){amplitude._iq[e]={_q:[]};v(amplitude._iq[e])}return amplitude._iq[e]};
amplitude.getInstance = function (e) { e = (!e || e.length === 0 ? "$default_instance" : e).toLowerCase(); if (!amplitude._iq.hasOwnProperty(e)) { amplitude._iq[e] = { _q: [] }; v(amplitude._iq[e]) } return amplitude._iq[e] };
amplitude.getInstance().init(tarteaucitron.user.amplitude);
});
@ -460,7 +460,7 @@ tarteaucitron.services.abtasty = {
if (tarteaucitron.user.abtastyID === undefined) {
return;
}
tarteaucitron.addScript('//try.abtasty.com/'+tarteaucitron.user.abtastyID+'.js');
tarteaucitron.addScript('//try.abtasty.com/' + tarteaucitron.user.abtastyID + '.js');
}
};
@ -472,24 +472,26 @@ tarteaucitron.services.metrica = {
"name": "Yandex Metrica",
"uri": "https://yandex.com/legal/confidential/",
"needConsent": true,
"cookies": ['_ym_metrika_enabled','_ym_isad', '_ym_uid', '_ym_d','yabs-sid','_ym_debug','_ym_mp2_substs','_ym_hostIndex','_ym_mp2_track','yandexuid','usst'],
"cookies": ['_ym_metrika_enabled', '_ym_isad', '_ym_uid', '_ym_d', 'yabs-sid', '_ym_debug', '_ym_mp2_substs', '_ym_hostIndex', '_ym_mp2_track', 'yandexuid', 'usst'],
"js": function () {
"use strict";
if (tarteaucitron.user.yandexmetrica === undefined) {
return;
}
tarteaucitron.addScript('https://mc.yandex.ru/metrika/tag.js', '', function() {
tarteaucitron.addScript('https://mc.yandex.ru/metrika/tag.js', '', function () {
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
(function (m, e, t, r, i, k, a) {
m[i] = m[i] || function () { (m[i].a = m[i].a || []).push(arguments) };
m[i].l = 1 * new Date(); k = e.createElement(t), a = e.getElementsByTagName(t)[0], k.async = 1, k.src = r, a.parentNode.insertBefore(k, a)
})
(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
ym(tarteaucitron.user.yandexmetrica, "init", {
clickmap:true,
trackLinks:true,
accurateTrackBounce:true,
webvisor:true,
ecommerce:"dataLayer"
clickmap: true,
trackLinks: true,
accurateTrackBounce: true,
webvisor: true,
ecommerce: "dataLayer"
});
});
}
@ -592,7 +594,7 @@ tarteaucitron.services.aduptech_ads = {
tarteaucitron.fallback([IDENTIFIER], "");
tarteaucitron.addScript(API_URL, "", function() {
tarteaucitron.addScript(API_URL, "", function () {
for (var i = 0; i < elements.length; i++) {
var element = elements[i];
@ -702,7 +704,7 @@ tarteaucitron.services.aduptech_retargeting = {
tarteaucitron.fallback([IDENTIFIER], "");
window.AdUpRetargeting = function(api) {
window.AdUpRetargeting = function (api) {
for (var i = 0; i < elements.length; i++) {
var element = elements[i];
@ -918,7 +920,7 @@ tarteaucitron.services.compteur = {
if (tarteaucitron.user.compteurID === undefined) {
return;
}
tarteaucitron.addScript('https://server2.compteur.fr/log7.js', '', function() {wtslog7(tarteaucitron.user.compteurID,1);});
tarteaucitron.addScript('https://server2.compteur.fr/log7.js', '', function () { wtslog7(tarteaucitron.user.compteurID, 1); });
}
};
@ -935,7 +937,7 @@ tarteaucitron.services.contentsquare = {
if (tarteaucitron.user.contentsquareID === undefined) {
return;
}
tarteaucitron.addScript('//t.contentsquare.net/uxa/'+tarteaucitron.user.contentsquareID+'.js');
tarteaucitron.addScript('//t.contentsquare.net/uxa/' + tarteaucitron.user.contentsquareID + '.js');
}
};
@ -969,7 +971,7 @@ tarteaucitron.services.clarity = {
"js": function () {
"use strict";
window["clarity"]= window["clarity"]||function(){(window["clarity"].q= window["clarity"].q||[]).push(arguments)};
window["clarity"] = window["clarity"] || function () { (window["clarity"].q = window["clarity"].q || []).push(arguments) };
tarteaucitron.addScript('https://www.clarity.ms/tag/' + tarteaucitron.user.clarity);
}
@ -1091,7 +1093,7 @@ tarteaucitron.services.dailymotion = {
} else {
frame_height += '"" ';
}
if (embed_type === undefined || !['video', 'playlist'].includes(embed_type) ) {
if (embed_type === undefined || !['video', 'playlist'].includes(embed_type)) {
embed_type = "video";
}
video_frame = '<iframe title="' + frame_title + '" src="//www.dailymotion.com/embed/' + embed_type + '/' + video_id + '?' + params + '" ' + frame_width + frame_height + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
@ -1238,16 +1240,16 @@ tarteaucitron.services.deezer = {
} else {
frame_height += '"" ';
}
if (embed_theme === undefined || !['auto', 'light', 'dark'].includes(embed_theme) ) {
if (embed_theme === undefined || !['auto', 'light', 'dark'].includes(embed_theme)) {
embed_theme = "auto";
}
if (embed_type === undefined || !['album', 'track', 'playlist'].includes(embed_type) ) {
if (embed_type === undefined || !['album', 'track', 'playlist'].includes(embed_type)) {
embed_type = "album";
}
if (radius === undefined || !['true', 'false'].includes(radius) ) {
if (radius === undefined || !['true', 'false'].includes(radius)) {
radius = "true";
}
if (tracklist === undefined || !['true', 'false'].includes(tracklist) ) {
if (tracklist === undefined || !['true', 'false'].includes(tracklist)) {
tracklist = "true";
}
params = 'tracklist=' + tracklist + '&radius=' + radius;
@ -1283,7 +1285,7 @@ tarteaucitron.services.leadforensics = {
window.sf14gv = tarteaucitron.user.leadforensicsSf14gv;
(function() {
(function () {
var sf14g = document.createElement('script'); sf14g.async = true;
sf14g.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 't.sf14g.com/sf14g.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sf14g, s);
@ -1333,7 +1335,7 @@ tarteaucitron.services.ekomi = {
return;
}
window.eKomiIntegrationConfig = [
{certId: tarteaucitron.user.ekomiCertId}
{ certId: tarteaucitron.user.ekomiCertId }
];
tarteaucitron.addScript('//connect.ekomi.de/integration_1410173009/' + tarteaucitron.user.ekomiCertId + '.js');
}
@ -1353,7 +1355,7 @@ tarteaucitron.services.etracker = {
return;
}
tarteaucitron.addScript('//static.etracker.com/code/e.js', '_etLoader', function () {}, true, "data-secure-code", tarteaucitron.user.etracker);
tarteaucitron.addScript('//static.etracker.com/code/e.js', '_etLoader', function () { }, true, "data-secure-code", tarteaucitron.user.etracker);
}
};
@ -1501,7 +1503,7 @@ tarteaucitron.services.stonly = {
}
window.STONLY_WID = tarteaucitron.user.stonlyId;
window.StonlyWidget || ((window.w = window.StonlyWidget = function() {
window.StonlyWidget || ((window.w = window.StonlyWidget = function () {
window.w._api ? window.w._api.apply(window.w, arguments) : window.w.queue.push(arguments)
}).queue = []);
@ -1760,7 +1762,7 @@ tarteaucitron.services.gajs = {
window._gaq.push(['_setAccount', tarteaucitron.user.gajsUa]);
if (tarteaucitron.user.gajsAnonymizeIp) {
window._gaq.push (['_gat._anonymizeIp']);
window._gaq.push(['_gat._anonymizeIp']);
}
if (tarteaucitron.user.gajsPageView) {
@ -1803,7 +1805,7 @@ tarteaucitron.services.analytics = {
};
window.ga.l = new Date();
tarteaucitron.addScript('https://www.google-analytics.com/analytics.js', '', function () {
var uaCreate = {'cookieExpires': 34128000};
var uaCreate = { 'cookieExpires': 34128000 };
tarteaucitron.extend(uaCreate, tarteaucitron.user.analyticsUaCreate || {});
ga('create', tarteaucitron.user.analyticsUa, uaCreate);
@ -1849,7 +1851,7 @@ tarteaucitron.services.gtag = {
"use strict";
window.dataLayer = window.dataLayer || [];
tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + tarteaucitron.user.gtagUa, '', function () {
window.gtag = function gtag(){dataLayer.push(arguments);}
window.gtag = function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
if (tarteaucitron.user.gtagCrossdomain) {
@ -1857,7 +1859,7 @@ tarteaucitron.services.gtag = {
* https://support.google.com/analytics/answer/7476333?hl=en
* https://developers.google.com/analytics/devguides/collection/gtagjs/cross-domain
*/
gtag('config',tarteaucitron.user.gtagUa,{ 'anonymize_ip': true },{linker: {domains: tarteaucitron.user.gtagCrossdomain,}});
gtag('config', tarteaucitron.user.gtagUa, { 'anonymize_ip': true }, { linker: { domains: tarteaucitron.user.gtagCrossdomain, } });
} else {
gtag('config', tarteaucitron.user.gtagUa, { 'anonymize_ip': true });
}
@ -1890,8 +1892,8 @@ tarteaucitron.services.firebase = {
return;
}
tarteaucitron.addScript('https://www.gstatic.com/firebasejs/8.6.2/firebase-app.js', '', function() {
tarteaucitron.addScript('https://www.gstatic.com/firebasejs/8.6.2/firebase-analytics.js', '', function() {
tarteaucitron.addScript('https://www.gstatic.com/firebasejs/8.6.2/firebase-app.js', '', function () {
tarteaucitron.addScript('https://www.gstatic.com/firebasejs/8.6.2/firebase-analytics.js', '', function () {
var firebaseConfig = {
apiKey: tarteaucitron.user.firebaseApiKey,
@ -1925,7 +1927,7 @@ tarteaucitron.services.genially = {
width = x.getAttribute("width"),
height = x.getAttribute("height"),
geniallyid = x.getAttribute("geniallyid"),
allowfullscreen= x.getAttribute("allowfullscreen");
allowfullscreen = x.getAttribute("allowfullscreen");
return '<div style="position: relative; padding-bottom: 109.00%; padding-top: 0; height: 0;"><iframe style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" title="' + frame_title + '" src="https://view.genial.ly/' + geniallyid + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe></div>';
});
@ -1966,7 +1968,7 @@ tarteaucitron.services.googlemaps = {
googleMapsLibraries = '&libraries=' + tarteaucitron.user.googlemapsLibraries;
}
tarteaucitron.addScript('//maps.googleapis.com/maps/api/js?v=3.exp&key=' + tarteaucitron.user.googlemapsKey + '&callback='+tarteaucitron.user.mapscallback + googleMapsLibraries);
tarteaucitron.addScript('//maps.googleapis.com/maps/api/js?v=3.exp&key=' + tarteaucitron.user.googlemapsKey + '&callback=' + tarteaucitron.user.mapscallback + googleMapsLibraries);
window.tac_googlemaps_callback = function () {
tarteaucitron.fallback(['googlemaps-canvas'], function (x) {
@ -1982,7 +1984,7 @@ tarteaucitron.services.googlemaps = {
center: new google.maps.LatLng(parseFloat(document.getElementById(uniqIds[i]).getAttribute('latitude'), 10), parseFloat(document.getElementById(uniqIds[i]).getAttribute('longitude'), 10))
};
map = new google.maps.Map(document.getElementById(uniqIds[i]), mapOptions);
new google.maps.Marker({position:{lat:parseFloat(document.getElementById(uniqIds[i]).getAttribute('latitude'), 10),lng:parseFloat(document.getElementById(uniqIds[i]).getAttribute('longitude'), 10)},map:map});
new google.maps.Marker({ position: { lat: parseFloat(document.getElementById(uniqIds[i]).getAttribute('latitude'), 10), lng: parseFloat(document.getElementById(uniqIds[i]).getAttribute('longitude'), 10) }, map: map });
}
};
},
@ -2011,7 +2013,7 @@ tarteaucitron.services.googlemapssearch = {
query = escape(x.getAttribute("data-search")),
key = x.getAttribute("data-api-key");
return '<iframe title="' + frame_title + '" width="' + width +'" height="' + height + '" style="border:0" src="https://www.google.com/maps/embed/v1/place?q='+query+'&key='+key+'" allowfullscreen></iframe> '
return '<iframe title="' + frame_title + '" width="' + width + '" height="' + height + '" style="border:0" src="https://www.google.com/maps/embed/v1/place?q=' + query + '&key=' + key + '" allowfullscreen></iframe> '
});
},
"fallback": function () {
@ -2241,7 +2243,7 @@ tarteaucitron.services.recaptcha = {
"cookies": ['nid'],
"js": function () {
"use strict";
window.tacRecaptchaOnLoad = tarteaucitron.user.recaptchaOnLoad || function() {};
window.tacRecaptchaOnLoad = tarteaucitron.user.recaptchaOnLoad || function () { };
tarteaucitron.fallback(['g-recaptcha'], '');
if (tarteaucitron.user.recaptchaapi === undefined) {
@ -2303,7 +2305,7 @@ tarteaucitron.services.mautic = {
window.mt.q.push(arguments);
};
tarteaucitron.addScript(tarteaucitron.user.mauticurl, '', function() {
tarteaucitron.addScript(tarteaucitron.user.mauticurl, '', function () {
mt('send', 'pageview');
});
}
@ -2324,8 +2326,8 @@ tarteaucitron.services.microsoftcampaignanalytics = {
}
tarteaucitron.addScript('//flex.atdmt.com/mstag/site/' + tarteaucitron.user.microsoftcampaignanalyticsUUID + '/mstag.js', 'mstag_tops', function () {
window.mstag = {loadTag : function () {}, time : (new Date()).getTime()};
window.mstag.loadTag("analytics", {dedup: "1", domainId: tarteaucitron.user.microsoftcampaignanalyticsdomainId, type: "1", actionid: tarteaucitron.user.microsoftcampaignanalyticsactionId});
window.mstag = { loadTag: function () { }, time: (new Date()).getTime() };
window.mstag.loadTag("analytics", { dedup: "1", domainId: tarteaucitron.user.microsoftcampaignanalyticsdomainId, type: "1", actionid: tarteaucitron.user.microsoftcampaignanalyticsactionId });
});
}
};
@ -2345,7 +2347,7 @@ tarteaucitron.services.onesignal = {
}
window.OneSignal = window.OneSignal || [];
window.OneSignal.push(function() {
window.OneSignal.push(function () {
window.OneSignal.init({
appId: tarteaucitron.user.onesignalAppId,
});
@ -2495,7 +2497,7 @@ tarteaucitron.services.purechat = {
tarteaucitron.addScript('//app.purechat.com/VisitorWidget/WidgetScript', '', function () {
try {
window.w = new PCWidget({ c: tarteaucitron.user.purechatId, f: true });
} catch (e) {}
} catch (e) { }
});
}
};
@ -2533,7 +2535,7 @@ tarteaucitron.services.rumbletalk = {
return tarteaucitron.engage(id);
});
}
};
};
// shareaholic
tarteaucitron.services.shareaholic = {
@ -2553,7 +2555,7 @@ tarteaucitron.services.shareaholic = {
tarteaucitron.addScript('//dsms0mj1bbhn4.cloudfront.net/assets/pub/shareaholic.js', '', function () {
try {
Shareaholic.init(tarteaucitron.user.shareaholicSiteId);
} catch (e) {}
} catch (e) { }
});
},
"fallback": function () {
@ -2621,7 +2623,7 @@ tarteaucitron.services.sharethis = {
tarteaucitron.fallback(['tacSharethis'], '');
tarteaucitron.addScript(uri, '', function () {
stLight.options({publisher: tarteaucitron.user.sharethisPublisher, doNotHash: false, doNotCopy: false, hashAddressBar: false});
stLight.options({ publisher: tarteaucitron.user.sharethisPublisher, doNotHash: false, doNotCopy: false, hashAddressBar: false });
});
if (tarteaucitron.isAjax === true) {
@ -2703,7 +2705,7 @@ tarteaucitron.services.soundcloud = {
// Allow to embed from API results (playable_type + playable_id)
var qs = '?url=https%3A//api.soundcloud.com/' + playable_type + '/' + playable_id;
// Or from raw URL from Soundcloud website
if (playable_url && playable_url.length >0) qs = '?url=' + escape(playable_url);
if (playable_url && playable_url.length > 0) qs = '?url=' + escape(playable_url);
if (hideRelated && hideRelated.length > 0) qs += '&hide_related=' + hideRelated;
if (color && color.length > 0) qs += '&color=' + color.replace('#', '%23');
@ -2877,7 +2879,7 @@ tarteaucitron.services.typekit = {
tarteaucitron.addScript('//use.typekit.net/' + tarteaucitron.user.typekitId + '.js', '', function () {
try {
Typekit.load();
} catch (e) {}
} catch (e) { }
});
}
};
@ -3233,7 +3235,7 @@ tarteaucitron.services.visualrevenue = {
window._vrq = window._vrq || [];
window._vrq.push(['id', tarteaucitron.user.visualrevenueId]);
window._vrq.push(['automate', true]);
window._vrq.push(['track', function () {}]);
window._vrq.push(['track', function () { }]);
tarteaucitron.addScript('http://a.visualrevenue.com/vrs.js');
}
};
@ -3252,7 +3254,7 @@ tarteaucitron.services.verizondottag = {
window.dotq = window.dotq || [];
window.dotq.push({
'projectId': tarteaucitron.user.verizondottagProjectId,
'properties': {'pixelId': tarteaucitron.user.verizondottagPixelId}
'properties': { 'pixelId': tarteaucitron.user.verizondottagPixelId }
});
tarteaucitron.addScript('https://s.yimg.com/wi/ytc.js', '', function () {
@ -3366,7 +3368,7 @@ tarteaucitron.services.atinternet = {
return;
}
tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() {
tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function () {
window.tag = new ATInternet.Tracker.Tag();
@ -3391,7 +3393,7 @@ tarteaucitron.services.atinternet = {
tarteaucitron.user.atinternetAlreadyLoaded = true;
tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() {
tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function () {
window.tag = new ATInternet.Tracker.Tag();
@ -3430,7 +3432,7 @@ tarteaucitron.services.atinternethightrack = {
return;
}
tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() {
tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function () {
var tag = new ATInternet.Tracker.Tag();
@ -3645,13 +3647,13 @@ tarteaucitron.services.facebookpixel = {
"js": function () {
"use strict";
var n;
if(window.fbq)return;
n=window.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)} ;
if(!window._fbq)window._fbq=n;
n.push=n;
n.loaded=!0;
n.version='2.0';
n.queue=[];
if (window.fbq) return;
n = window.fbq = function () { n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments) };
if (!window._fbq) window._fbq = n;
n.push = n;
n.loaded = !0;
n.version = '2.0';
n.queue = [];
tarteaucitron.addScript('https://connect.facebook.net/en_US/fbevents.js');
fbq('init', tarteaucitron.user.facebookpixelId);
fbq('track', 'PageView');
@ -3736,7 +3738,7 @@ tarteaucitron.services.webmecanik = {
window.mt.q.push(arguments);
};
tarteaucitron.addScript(tarteaucitron.user.webmecanikurl, '', function() {
tarteaucitron.addScript(tarteaucitron.user.webmecanikurl, '', function () {
mt('send', 'pageview');
});
}
@ -3754,7 +3756,7 @@ tarteaucitron.services.multiplegtag = {
var cookies = ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz'];
if (tarteaucitron.user.multiplegtagUa !== undefined) {
tarteaucitron.user.multiplegtagUa.forEach(function(ua) {
tarteaucitron.user.multiplegtagUa.forEach(function (ua) {
cookies.push('_gat_gtag_' + ua.replace(/-/g, '_'));
cookies.push('_ga_' + ua.replace(/G-/g, ''));
});
@ -3767,9 +3769,9 @@ tarteaucitron.services.multiplegtag = {
window.dataLayer = window.dataLayer || [];
if (tarteaucitron.user.multiplegtagUa !== undefined) {
tarteaucitron.user.multiplegtagUa.forEach(function(ua) {
tarteaucitron.user.multiplegtagUa.forEach(function (ua) {
tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + ua, '', function () {
window.gtag = function gtag(){dataLayer.push(arguments);}
window.gtag = function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', ua, { 'anonymize_ip': true });
});
@ -3795,13 +3797,13 @@ tarteaucitron.services.koban = {
return;
}
window.KobanObject = 'kb';
window.kb = window.kb || function() {
window.kb = window.kb || function () {
window.kb.q = window.kb.q || [];
window.kb.q.push(arguments);
};
window.kb.l = new Date();
kb('reg', tarteaucitron.user.kobanapi);
tarteaucitron.addScript(tarteaucitron.user.kobanurl, '', function() {
tarteaucitron.addScript(tarteaucitron.user.kobanurl, '', function () {
});
}
};
@ -3841,7 +3843,7 @@ tarteaucitron.services.matomo = {
window._paq.push(["trackPageView"]);
window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
window._paq.push(["enableLinkTracking"]);
window._paq.push([function() {
window._paq.push([function () {
var self = this;
function getOriginalVisitorCookieTimeout() {
var now = new Date(),
@ -3852,13 +3854,13 @@ tarteaucitron.services.matomo = {
var originalTimeout = createTs + cookieTimeout - nowTs;
return originalTimeout;
}
this.setVisitorCookieTimeout( getOriginalVisitorCookieTimeout() );
this.setVisitorCookieTimeout(getOriginalVisitorCookieTimeout());
}]);
tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
// waiting for piwik to be ready to check first party cookies
var interval = setInterval(function() {
var interval = setInterval(function () {
if (typeof Piwik === 'undefined') return
clearInterval(interval)
@ -3868,8 +3870,8 @@ tarteaucitron.services.matomo = {
// looping throught cookies
var theCookies = document.cookie.split(';');
for (var i = 1 ; i <= theCookies.length; i++) {
var cookie = theCookies[i-1].split('=');
for (var i = 1; i <= theCookies.length; i++) {
var cookie = theCookies[i - 1].split('=');
var cookieName = cookie[0].trim();
// if cookie starts like a piwik one, register it
@ -3901,22 +3903,22 @@ tarteaucitron.services.matomohightrack = {
window._paq.push(["trackPageView"]);
window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
window._paq.push(["enableLinkTracking"]);
window._paq.push([function() {
window._paq.push([function () {
var self = this;
}]);
tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
// waiting for piwik to be ready to check first party cookies
var interval = setInterval(function() {
var interval = setInterval(function () {
if (typeof Piwik === 'undefined') return
clearInterval(interval)
Piwik.getTracker();
var theCookies = document.cookie.split(';');
for (var i = 1 ; i <= theCookies.length; i++) {
var cookie = theCookies[i-1].split('=');
for (var i = 1; i <= theCookies.length; i++) {
var cookie = theCookies[i - 1].split('=');
var cookieName = cookie[0].trim();
if (cookieName.indexOf('_pk_') === 0) {
@ -3928,7 +3930,7 @@ tarteaucitron.services.matomohightrack = {
};
// Hotjar
/*
/*
1. Set the following variable before the initialization :
tarteaucitron.user.hotjarId = YOUR_WEBSITE_ID;
tarteaucitron.user.HotjarSv = XXXX; // Can be found in your website tracking code as "hjvs=XXXX"
@ -3949,7 +3951,7 @@ tarteaucitron.services.hotjar = {
if (tarteaucitron.user.hotjarId === undefined || tarteaucitron.user.HotjarSv === undefined) {
return;
}
window.hj = window.hj || function() {
window.hj = window.hj || function () {
(window.hj.q = window.hj.q || []).push(arguments)
};
window._hjSettings = {
@ -3976,7 +3978,7 @@ tarteaucitron.services.bingads = {
window.uetq = window.uetq || [];
tarteaucitron.addScript('https://bat.bing.com/bat.js', '', function () {
var bingadsCreate = {ti: tarteaucitron.user.bingadsID};
var bingadsCreate = { ti: tarteaucitron.user.bingadsID };
if ('bingadsStoreCookies' in tarteaucitron.user) {
bingadsCreate['storeConvTrackCookies'] = tarteaucitron.user.bingadsStoreCookies;
@ -4087,7 +4089,7 @@ tarteaucitron.services.activecampaign = {
window.trackcmp_email = '';
tarteaucitron.addScript('https://trackcmp.net/visit?actid='+tarteaucitron.user.actid+'&e='+encodeURIComponent(trackcmp_email)+'&r='+encodeURIComponent(document.referrer)+'&u='+encodeURIComponent(window.location.href));
tarteaucitron.addScript('https://trackcmp.net/visit?actid=' + tarteaucitron.user.actid + '&e=' + encodeURIComponent(trackcmp_email) + '&r=' + encodeURIComponent(document.referrer) + '&u=' + encodeURIComponent(window.location.href));
}
};
@ -4105,8 +4107,8 @@ tarteaucitron.services.tawkto = {
return;
}
window.Tawk_API=window.Tawk_API||{};
window.Tawk_LoadStart=new Date();
window.Tawk_API = window.Tawk_API || {};
window.Tawk_LoadStart = new Date();
tarteaucitron.addScript('https://embed.tawk.to/' + tarteaucitron.user.tawktoId + '/default');
}
@ -4120,7 +4122,7 @@ tarteaucitron.services.getquanty = {
"name": "GetQuanty",
"uri": "https://www.getquanty.com/mentions-legales/",
"needConsent": true,
"cookies": ['_first_pageview', 'eqy_sessionid', 'eqy_siteid','cluid','eqy_company', 'cluid', 'gq_utm', '_jsuid'],
"cookies": ['_first_pageview', 'eqy_sessionid', 'eqy_siteid', 'cluid', 'eqy_company', 'cluid', 'gq_utm', '_jsuid'],
"js": function () {
"use strict";
if (tarteaucitron.user.getguanty === undefined) {
@ -4159,7 +4161,7 @@ tarteaucitron.services.emolytics = {
return;
}
var scriptEmolytics = document.createElement('script');
scriptEmolytics.text = 'var getsmily_id="'+tarteaucitron.user.emolyticsID+'";';
scriptEmolytics.text = 'var getsmily_id="' + tarteaucitron.user.emolyticsID + '";';
document.getElementsByTagName('body')[0].appendChild(scriptEmolytics);
tarteaucitron.addScript('https://cdn.emolytics.com/script/emolytics-widget.js')
}
@ -4193,8 +4195,8 @@ tarteaucitron.services.faciliti = {
return;
}
(function(w, d, s, f) {
w[f] = w[f] || {conf: function () { (w[f].data = w[f].data || []).push(arguments);}};
(function (w, d, s, f) {
w[f] = w[f] || { conf: function () { (w[f].data = w[f].data || []).push(arguments); } };
var l = d.createElement(s), e = d.getElementsByTagName(s)[0];
l.async = 1; l.src = 'https://ws.facil-iti.com/tag/faciliti-tag.min.js'; e.parentNode.insertBefore(l, e);
}(window, document, 'script', 'FACIL_ITI'));
@ -4249,8 +4251,8 @@ tarteaucitron.services.woopra = {
//var w = tarteaucitron.user.woopraDomain;
//window[w] = window[w] || [];
(function(){
var t,i,e,n=window,o=document,a=arguments,s="script",r=["config","track","identify","visit","push","call","trackForm","trackClick"],c=function(){var t,i=this;for(i._e=[],t=0;r.length>t;t++)(function(t){i[t]=function(){return i._e.push([t].concat(Array.prototype.slice.call(arguments,0))),i}})(r[t])};for(n._w=n._w||{},t=0;a.length>t;t++)n._w[a[t]]=n[a[t]]=n[a[t]]||new c;i=o.createElement(s),i.async=1,i.src="//static.woopra.com/js/w.js",e=o.getElementsByTagName(s)[0],e.parentNode.insertBefore(i,e)
(function () {
var t, i, e, n = window, o = document, a = arguments, s = "script", r = ["config", "track", "identify", "visit", "push", "call", "trackForm", "trackClick"], c = function () { var t, i = this; for (i._e = [], t = 0; r.length > t; t++)(function (t) { i[t] = function () { return i._e.push([t].concat(Array.prototype.slice.call(arguments, 0))), i } })(r[t]) }; for (n._w = n._w || {}, t = 0; a.length > t; t++)n._w[a[t]] = n[a[t]] = n[a[t]] || new c; i = o.createElement(s), i.async = 1, i.src = "//static.woopra.com/js/w.js", e = o.getElementsByTagName(s)[0], e.parentNode.insertBefore(i, e)
})("woopra");
woopra.config({
@ -4308,14 +4310,14 @@ tarteaucitron.services.visiblee = {
name: "Visiblee",
uri: "http://confidentiality.visiblee.io/fr/confidentialite",
needConsent: true,
cookies: ["visitor_v2", tarteaucitron.user.visibleedomain, "check", "campaign_ref_"+tarteaucitron.user.visibleedomain, "reload_"+tarteaucitron.user.visibleedomain],
cookies: ["visitor_v2", tarteaucitron.user.visibleedomain, "check", "campaign_ref_" + tarteaucitron.user.visibleedomain, "reload_" + tarteaucitron.user.visibleedomain],
js: function () {
"use strict";
if (tarteaucitron.user.visibleeclientid === undefined) {
return;
}
tarteaucitron.addScript('//www.link-page.info/tracking_'+tarteaucitron.user.visibleeclientid+'.js', 'visiblee');
tarteaucitron.addScript('//www.link-page.info/tracking_' + tarteaucitron.user.visibleeclientid + '.js', 'visiblee');
}
};
@ -4374,8 +4376,6 @@ tarteaucitron.services.bandcamp = {
}
};
<<<<<<< HEAD
// Discord Widget
tarteaucitron.services.discord = {
"key": "discord",
@ -4391,7 +4391,7 @@ tarteaucitron.services.discord = {
width = x.getAttribute("width"),
height = x.getAttribute("height")
var widgetURL = "https://discord.com/widget?id=" + id;
return "<iframe width=\""+ width + "\" height=\"" + height + "\"src=\"" + widgetURL + "\"></iframe>";
return "<iframe width=\"" + width + "\" height=\"" + height + "\"src=\"https://discord.com/widget?id=" + widgetURL + "\"></iframe>";
});
},
"fallback": function () {
@ -4420,7 +4420,7 @@ tarteaucitron.services.maps_noapi = {
width = x.getAttribute("width"),
height = x.getAttribute("height")
var widgetURL = "https://google.com/maps/embed?pb=" + id;
return "<iframe width=\""+ width + "\" height=\"" + height + "\"src=\"" + widgetURL + "\" style=\"border:0;\" allowfullscreen=\"\" loading=\"lazy\"></iframe>";
return "<iframe width=\"" + width + "\" height=\"" + height + "\"src=\"" + widgetURL + "\" style=\"border:0;\" allowfullscreen=\"\" loading=\"lazy\"></iframe>";
});
},
"fallback": function () {
@ -4442,12 +4442,12 @@ tarteaucitron.services.hcaptcha = {
"needConsent": true,
"cookies": [],
"uri": "https://www.hcaptcha.com/privacy",
"js": function() {
"js": function () {
"use strict";
tarteaucitron.fallback(["h-captcha"], '');
tarteaucitron.addScript("https://hcaptcha.com/1/api.js", "hcaptcha")
},
"fallback": function() {
"fallback": function () {
"use strict";
var id = "hcaptcha";
tarteaucitron.fallback(["h-captcha"], tarteaucitron.engage(id));
@ -4462,16 +4462,16 @@ tarteaucitron.services.fculture = {
"needConsent": true,
"cookies": ["_gid", "didomi_token", "outbrain_cid_fetch", "xtvrn", "xtant", "YSC", "ABTasty", "xtan", "ABTastySession", "xtidc", "_ga", "VISITOR_INFO1_LIVE", "euconsent-v2", "v1st", "dmvk", "ts", "VISITOR_INFO1_LIVE", "YSC"],
"uri": "https://www.radiofrance.com/politique-d-utilisation-des-cookies-sur-les-sites-internet-du-groupe-radio-france",
"js": function() {
"js": function () {
"use strict";
tarteaucitron.fallback(['fculture_embed'], function (x) {
var id = x.getAttribute('id'),
width = x.getAttribute('width'),
height = x.getAttribute('height');
return "<iframe src=\"https://www.franceculture.fr/player/export-reecouter?content="+ id + "\" height=\""+ height+"\" width=\"" + width + "\"></iframe>"
return "<iframe src=\"https://www.franceculture.fr/player/export-reecouter?content=" + id + "\" height=\"" + height + "\" width=\"" + width + "\"></iframe>"
});
},
"fallback": function() {
"fallback": function () {
"use strict";
var id = "fculture";
tarteaucitron.fallback(["fculture_embed"], tarteaucitron.engage(id));
@ -4486,7 +4486,7 @@ tarteaucitron.services.acast = {
"needConsent": true,
"cookies": ["intercom-id-ayi0335i", "intercom-session-ayi0335i"],
"uri": "https://www.acast.com/en/privacy",
"js": function() {
"js": function () {
"use strict";
tarteaucitron.fallback(['acast_embed'], function (x) {
var id = x.getAttribute('id1'),
@ -4494,11 +4494,11 @@ tarteaucitron.services.acast = {
width = x.getAttribute('width'),
height = x.getAttribute('height'),
seek = x.getAttribute('seek');
var widgetURL = `https://embed.acast.com/${id}/${id2}?seek=${seek}`
return `<iframe title="Embed Player" width="${width}" height="${height}" src="${widgetURL}" scrolling="no" frameBorder="0" style="border:none;overflow:hidden;"></iframe>`;
var widgetURL = "https://embed.acast.com/" + id + "/" + id2 + "?seek=" + seek;
return "<iframe title=\"Embed Player\" width=" + width + " height=" + height + " src=" + widgetURL + " scrolling=\"no\" frameBorder=\"0\" style=\"border: none; overflow: hidden;\"></iframe>";
});
},
"fallback": function() {
"fallback": function () {
"use strict";
var id = "acast";
tarteaucitron.fallback(["acast_embed"], tarteaucitron.engage(id));
@ -4513,7 +4513,7 @@ tarteaucitron.services.mixcloud = {
"needConsent": true,
"cookies": ["UID", "_gat", "__stripe_mid", "_gid", "_ga", "c", "csrftoken", "__stripe_sid", "mx_t"],
"uri": "https://www.mixcloud.com/privacy/",
"js": function() {
"js": function () {
"use strict";
tarteaucitron.fallback(['mixcloud_embed'], function (x) {
var id = x.getAttribute('id'),
@ -4522,10 +4522,10 @@ tarteaucitron.services.mixcloud = {
light = x.getAttribute('light'),
width = x.getAttribute('width'),
height = x.getAttribute('height');
return `<iframe width="${width}" height="${height}" src="https://www.mixcloud.com/widget/iframe/?hide_cover=${hidecover}&mini=${mini}&light=${light}&feed=${id}" frameborder="0" ></iframe>`;
return "<iframe width=\"" + width + " height=\"" + height + "\" src=\"https://www.mixcloud.com/widget/iframe/?hide_cover=" + hidecover + "&mini=" + mini + "&light=" + light + "&feed=" + id + "\" frameborder=\"0\" ></iframe>";
});
},
"fallback": function() {
"fallback": function () {
"use strict";
var id = "mixcloud";
tarteaucitron.fallback(["mixcloud_embed"], tarteaucitron.engage(id));
@ -4540,16 +4540,16 @@ tarteaucitron.services.gagenda = {
"needConsent": true,
"cookies": ["CONSENT", "NID"],
"uri": "https://policies.google.com/privacy",
"js": function() {
"js": function () {
"use strict";
tarteaucitron.fallback(['gagenda_embed'], function (x) {
var calendar_data = x.getAttribute('data'),
width = x.getAttribute('width'),
height = x.getAttribute('height');
return `<iframe loarding="lazy" width="${width}" height="${height}" src="https://www.google.com/calendar/embed?${calendar_data}" frameborder="0" scrolling="no" style="border-width:0"></iframe>`;
return "<iframe loarding=\"lazy\" width=\"" + width + "\" height=\"" + height + "\" src=\"https://www.google.com/calendar/embed?" + calendar_data + "\" frameborder=\"0\" scrolling=\"no\" style=\"border-width:0\"></iframe>";
});
},
"fallback": function() {
"fallback": function () {
"use strict";
var id = "gagenda";
tarteaucitron.fallback(["gagenda_embed"], tarteaucitron.engage(id));
@ -4564,16 +4564,16 @@ tarteaucitron.services.gdocs = {
"needConsent": true,
"cookies": ["CONSENT", "NID"],
"uri": "https://policies.google.com/privacy",
"js": function() {
"js": function () {
"use strict";
tarteaucitron.fallback(['gdocs_embed'], function (x) {
var id = x.getAttribute('id'),
width = x.getAttribute('width'),
height = x.getAttribute('height');
return `<iframe width="${width}" height="${height}" src="https://docs.google.com/document/d/e/${id}/pub?embedded=true"></iframe>`;
return "<iframe width=" + width +" height=" + height + " src=\"https://docs.google.com/document/d/e/" + id + "/pub?embedded=true\"></iframe>";
});
},
"fallback": function() {
"fallback": function () {
"use strict";
var id = "gdocs";
tarteaucitron.fallback(["gdocs_embed"], tarteaucitron.engage(id));
@ -4588,17 +4588,17 @@ tarteaucitron.services.gsheets = {
"needConsent": true,
"cookies": ["CONSENT", "NID"],
"uri": "https://policies.google.com/privacy",
"js": function() {
"js": function () {
"use strict";
tarteaucitron.fallback(['gsheets_embed'], function (x) {
var id = x.getAttribute('id'),
width = x.getAttribute('width'),
height = x.getAttribute('height'),
headers = x.getAttribute('headers');
return `<iframe width="${width}" height="${height}" src="https://docs.google.com/spreadsheets/d/e/${id}/pubhtml?widget=true&amp;headers=${headers}"></iframe>`;
return "<iframe width=\"" + width + "\" height=\"" + height + "\" src=\"https://docs.google.com/spreadsheets/d/e/" + id + "/pubhtml?widget=true&amp;headers=\"" + headers + "\"></iframe>";
});
},
"fallback": function() {
"fallback": function () {
"use strict";
var id = "gsheets";
tarteaucitron.fallback(["gsheets_embed"], tarteaucitron.engage(id));
@ -4613,7 +4613,7 @@ tarteaucitron.services.gslides = {
"needConsent": true,
"cookies": ["CONSENT", "NID"],
"uri": "https://policies.google.com/privacy",
"js": function() {
"js": function () {
"use strict";
tarteaucitron.fallback(['gslides_embed'], function (x) {
var id = x.getAttribute('id'),
@ -4622,10 +4622,10 @@ tarteaucitron.services.gslides = {
autostart = x.getAttribute('autostart'),
loop = x.getAttribute('loop'),
delay = x.getAttribute('delay');
return `<iframe width="${width}" height="${height}" src="https://docs.google.com/presentation/d/e/${id}/embed?start=${autostart}&loop=${loop}&delayms=${delay}" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe>`;
return "<iframe width=" + width + " height=" + height + " src=\"https://docs.google.com/presentation/d/e/" + id + "/embed?start=\"" + autostart + "&loop=\"" + loop + "&delayms=\"" + delay + " frameborder=\"0\" allowfullscreen=\"true\" mozallowfullscreen=\"true\" webkitallowfullscreen=\"true\"></iframe>";
});
},
"fallback": function() {
"fallback": function () {
"use strict";
var id = "gslides";
tarteaucitron.fallback(["gslides_embed"], tarteaucitron.engage(id));
@ -4640,20 +4640,21 @@ tarteaucitron.services.gforms = {
"needConsent": true,
"cookies": ["CONSENT", "NID"],
"uri": "https://policies.google.com/privacy",
"js": function() {
"js": function () {
"use strict";
tarteaucitron.fallback(['gforms_embed'], function (x) {
var id = x.getAttribute('id'),
width = x.getAttribute('width'),
height = x.getAttribute('height');
return `<iframe width="${width}" height="${height}" src="https://docs.google.com/forms/d/e/${id}/viewform?embedded=true" frameborder="0" marginheight="0" marginwidth="0"></iframe>`;
return "<iframe width=" + width + " height=" + height + "src=\"https://docs.google.com/forms/d/e/" + id + "/viewform?embedded=true\" frameborder=\"0\" marginheight=\"0\" marginwidth=\"0\"></iframe>";
});
},
"fallback": function() {
"fallback": function () {
"use strict";
var id = "gforms";
tarteaucitron.fallback(['gforms_embed'], tarteaucitron.engage(id));
=======
}
}
// Marketo munchkin
tarteaucitron.services.marketomunchkin = {
"key": "marketomunchkin",
@ -4669,7 +4670,7 @@ tarteaucitron.services.marketomunchkin = {
}
var didInit = false;
function initMunchkin() {
if(didInit === false) {
if (didInit === false) {
didInit = true;
Munchkin.init(tarteaucitron.user.marketomunchkinkey);
}
@ -4678,13 +4679,12 @@ tarteaucitron.services.marketomunchkin = {
s.type = 'text/javascript';
s.async = true;
s.src = '//munchkin.marketo.net/munchkin.js';
s.onreadystatechange = function() {
s.onreadystatechange = function () {
if (this.readyState == 'complete' || this.readyState == 'loaded') {
initMunchkin();
}
};
s.onload = initMunchkin;
document.getElementsByTagName('head')[0].appendChild(s);
>>>>>>> 28cff26d20b74e70f70fef9adf9d711baee845df
}
};
}