Merge pull request #748 from GeekCornerGH/master

Ajout de plusieurs services
This commit is contained in:
Amauri CHAMPEAUX 2021-08-30 10:35:34 +02:00 committed by GitHub
commit de76c4f905
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 600 additions and 319 deletions

View File

@ -39,7 +39,7 @@ tarteaucitron.services.pinterestpixel = {
"name": "Pinterest Pixel", "name": "Pinterest Pixel",
"uri": "https://help.pinterest.com/fr/business/article/track-conversions-with-pinterest-tag", "uri": "https://help.pinterest.com/fr/business/article/track-conversions-with-pinterest-tag",
"needConsent": true, "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 () { "js": function () {
"use strict"; "use strict";
@ -47,16 +47,16 @@ tarteaucitron.services.pinterestpixel = {
return; return;
} }
if(!window.pintrk) { if (!window.pintrk) {
window.pintrk = function() { window.pintrk = function () {
window.pintrk.queue.push(Array.prototype.slice.call(arguments)); window.pintrk.queue.push(Array.prototype.slice.call(arguments));
}; };
var n=window.pintrk; var n = window.pintrk;
n.queue=[]; n.queue = [];
n.version="3.0"; 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('load', tarteaucitron.user.pinterestpixelId);
window.pintrk('page'); window.pintrk('page');
}); });
@ -116,7 +116,7 @@ tarteaucitron.services.smartsupp = {
window._smartsupp = window._smartsupp || {}; window._smartsupp = window._smartsupp || {};
window._smartsupp.key = tarteaucitron.user.smartsuppKey; window._smartsupp.key = tarteaucitron.user.smartsuppKey;
window.smartsupp = function() { window.smartsupp = function () {
window.smartsupp._.push(arguments) window.smartsupp._.push(arguments)
}; };
window.smartsupp._ = []; window.smartsupp._ = [];
@ -216,7 +216,7 @@ tarteaucitron.services.xandr = {
} }
if (!window.pixie) { if (!window.pixie) {
var n = window.pixie = function(e, i, a) { var n = window.pixie = function (e, i, a) {
n.actionQueue.push({ n.actionQueue.push({
action: e, action: e,
actionValue: i, actionValue: i,
@ -226,7 +226,7 @@ tarteaucitron.services.xandr = {
n.actionQueue = []; 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('init', tarteaucitron.user.xandrId);
window.pixie('event', 'PageView'); window.pixie('event', 'PageView');
}); });
@ -361,7 +361,7 @@ tarteaucitron.services.podcloud = {
width = x.getAttribute("width"), width = x.getAttribute("width"),
height = x.getAttribute("height"), height = x.getAttribute("height"),
url = x.getAttribute("data-url"), 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>'; 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) { if (tarteaucitron.user.amplitude === undefined) {
return; 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 = { window.amplitude = {
_q: [], _q: [],
_iq: {} _iq: {}
}; };
function s(e,t){e.prototype[t]=function(){this._q.push([t].concat(Array.prototype.slice.call(arguments,0)));return this}} 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 o = function () { this._q = []; return this };
var a=["add","append","clearAll","prepend","set","setOnce","unset"]; var a = ["add", "append", "clearAll", "prepend", "set", "setOnce", "unset"];
for(var u=0;u<a.length;u++){s(o,a[u])} for (var u = 0; u < a.length; u++) { s(o, a[u]) }
amplitude.Identify=o; amplitude.Identify = o;
var c=function(){this._q=[];return this}; var c = function () { this._q = []; return this };
var l=["setProductId","setQuantity","setPrice","setRevenueType","setEventProperties"]; var l = ["setProductId", "setQuantity", "setPrice", "setRevenueType", "setEventProperties"];
for(var p=0;p<l.length;p++){s(c,l[p])} for (var p = 0; p < l.length; p++) { s(c, l[p]) }
amplitude.Revenue=c; 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"]; 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 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); 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); amplitude.getInstance().init(tarteaucitron.user.amplitude);
}); });
@ -460,7 +460,7 @@ tarteaucitron.services.abtasty = {
if (tarteaucitron.user.abtastyID === undefined) { if (tarteaucitron.user.abtastyID === undefined) {
return; 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", "name": "Yandex Metrica",
"uri": "https://yandex.com/legal/confidential/", "uri": "https://yandex.com/legal/confidential/",
"needConsent": true, "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 () { "js": function () {
"use strict"; "use strict";
if (tarteaucitron.user.yandexmetrica === undefined) { if (tarteaucitron.user.yandexmetrica === undefined) {
return; 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)}; (function (m, e, t, r, i, k, a) {
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)}) 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"); (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
ym(tarteaucitron.user.yandexmetrica, "init", { ym(tarteaucitron.user.yandexmetrica, "init", {
clickmap:true, clickmap: true,
trackLinks:true, trackLinks: true,
accurateTrackBounce:true, accurateTrackBounce: true,
webvisor:true, webvisor: true,
ecommerce:"dataLayer" ecommerce: "dataLayer"
}); });
}); });
} }
@ -592,7 +594,7 @@ tarteaucitron.services.aduptech_ads = {
tarteaucitron.fallback([IDENTIFIER], ""); tarteaucitron.fallback([IDENTIFIER], "");
tarteaucitron.addScript(API_URL, "", function() { tarteaucitron.addScript(API_URL, "", function () {
for (var i = 0; i < elements.length; i++) { for (var i = 0; i < elements.length; i++) {
var element = elements[i]; var element = elements[i];
@ -702,7 +704,7 @@ tarteaucitron.services.aduptech_retargeting = {
tarteaucitron.fallback([IDENTIFIER], ""); tarteaucitron.fallback([IDENTIFIER], "");
window.AdUpRetargeting = function(api) { window.AdUpRetargeting = function (api) {
for (var i = 0; i < elements.length; i++) { for (var i = 0; i < elements.length; i++) {
var element = elements[i]; var element = elements[i];
@ -918,7 +920,7 @@ tarteaucitron.services.compteur = {
if (tarteaucitron.user.compteurID === undefined) { if (tarteaucitron.user.compteurID === undefined) {
return; 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) { if (tarteaucitron.user.contentsquareID === undefined) {
return; 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 () { "js": function () {
"use strict"; "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); tarteaucitron.addScript('https://www.clarity.ms/tag/' + tarteaucitron.user.clarity);
} }
@ -1091,7 +1093,7 @@ tarteaucitron.services.dailymotion = {
} else { } else {
frame_height += '"" '; frame_height += '"" ';
} }
if (embed_type === undefined || !['video', 'playlist'].includes(embed_type) ) { if (embed_type === undefined || !['video', 'playlist'].includes(embed_type)) {
embed_type = "video"; 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>'; 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 { } else {
frame_height += '"" '; 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"; 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"; embed_type = "album";
} }
if (radius === undefined || !['true', 'false'].includes(radius) ) { if (radius === undefined || !['true', 'false'].includes(radius)) {
radius = "true"; radius = "true";
} }
if (tracklist === undefined || !['true', 'false'].includes(tracklist) ) { if (tracklist === undefined || !['true', 'false'].includes(tracklist)) {
tracklist = "true"; tracklist = "true";
} }
params = 'tracklist=' + tracklist + '&radius=' + radius; params = 'tracklist=' + tracklist + '&radius=' + radius;
@ -1283,7 +1285,7 @@ tarteaucitron.services.leadforensics = {
window.sf14gv = tarteaucitron.user.leadforensicsSf14gv; window.sf14gv = tarteaucitron.user.leadforensicsSf14gv;
(function() { (function () {
var sf14g = document.createElement('script'); sf14g.async = true; var sf14g = document.createElement('script'); sf14g.async = true;
sf14g.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 't.sf14g.com/sf14g.js'; sf14g.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 't.sf14g.com/sf14g.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sf14g, s); var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sf14g, s);
@ -1333,7 +1335,7 @@ tarteaucitron.services.ekomi = {
return; return;
} }
window.eKomiIntegrationConfig = [ window.eKomiIntegrationConfig = [
{certId: tarteaucitron.user.ekomiCertId} { certId: tarteaucitron.user.ekomiCertId }
]; ];
tarteaucitron.addScript('//connect.ekomi.de/integration_1410173009/' + tarteaucitron.user.ekomiCertId + '.js'); tarteaucitron.addScript('//connect.ekomi.de/integration_1410173009/' + tarteaucitron.user.ekomiCertId + '.js');
} }
@ -1353,7 +1355,7 @@ tarteaucitron.services.etracker = {
return; 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.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) window.w._api ? window.w._api.apply(window.w, arguments) : window.w.queue.push(arguments)
}).queue = []); }).queue = []);
@ -1760,7 +1762,7 @@ tarteaucitron.services.gajs = {
window._gaq.push(['_setAccount', tarteaucitron.user.gajsUa]); window._gaq.push(['_setAccount', tarteaucitron.user.gajsUa]);
if (tarteaucitron.user.gajsAnonymizeIp) { if (tarteaucitron.user.gajsAnonymizeIp) {
window._gaq.push (['_gat._anonymizeIp']); window._gaq.push(['_gat._anonymizeIp']);
} }
if (tarteaucitron.user.gajsPageView) { if (tarteaucitron.user.gajsPageView) {
@ -1803,7 +1805,7 @@ tarteaucitron.services.analytics = {
}; };
window.ga.l = new Date(); window.ga.l = new Date();
tarteaucitron.addScript('https://www.google-analytics.com/analytics.js', '', function () { tarteaucitron.addScript('https://www.google-analytics.com/analytics.js', '', function () {
var uaCreate = {'cookieExpires': 34128000}; var uaCreate = { 'cookieExpires': 34128000 };
tarteaucitron.extend(uaCreate, tarteaucitron.user.analyticsUaCreate || {}); tarteaucitron.extend(uaCreate, tarteaucitron.user.analyticsUaCreate || {});
ga('create', tarteaucitron.user.analyticsUa, uaCreate); ga('create', tarteaucitron.user.analyticsUa, uaCreate);
@ -1849,7 +1851,7 @@ tarteaucitron.services.gtag = {
"use strict"; "use strict";
window.dataLayer = window.dataLayer || []; window.dataLayer = window.dataLayer || [];
tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + tarteaucitron.user.gtagUa, '', function () { 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()); gtag('js', new Date());
if (tarteaucitron.user.gtagCrossdomain) { if (tarteaucitron.user.gtagCrossdomain) {
@ -1857,7 +1859,7 @@ tarteaucitron.services.gtag = {
* https://support.google.com/analytics/answer/7476333?hl=en * https://support.google.com/analytics/answer/7476333?hl=en
* https://developers.google.com/analytics/devguides/collection/gtagjs/cross-domain * 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 { } else {
gtag('config', tarteaucitron.user.gtagUa, { 'anonymize_ip': true }); gtag('config', tarteaucitron.user.gtagUa, { 'anonymize_ip': true });
} }
@ -1890,8 +1892,8 @@ tarteaucitron.services.firebase = {
return; 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-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-analytics.js', '', function () {
var firebaseConfig = { var firebaseConfig = {
apiKey: tarteaucitron.user.firebaseApiKey, apiKey: tarteaucitron.user.firebaseApiKey,
@ -1925,7 +1927,7 @@ tarteaucitron.services.genially = {
width = x.getAttribute("width"), width = x.getAttribute("width"),
height = x.getAttribute("height"), height = x.getAttribute("height"),
geniallyid = x.getAttribute("geniallyid"), 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>'; 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; 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 () { window.tac_googlemaps_callback = function () {
tarteaucitron.fallback(['googlemaps-canvas'], function (x) { 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)) 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); 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")), query = escape(x.getAttribute("data-search")),
key = x.getAttribute("data-api-key"); 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 () { "fallback": function () {
@ -2241,7 +2243,7 @@ tarteaucitron.services.recaptcha = {
"cookies": ['nid'], "cookies": ['nid'],
"js": function () { "js": function () {
"use strict"; "use strict";
window.tacRecaptchaOnLoad = tarteaucitron.user.recaptchaOnLoad || function() {}; window.tacRecaptchaOnLoad = tarteaucitron.user.recaptchaOnLoad || function () { };
tarteaucitron.fallback(['g-recaptcha'], ''); tarteaucitron.fallback(['g-recaptcha'], '');
if (tarteaucitron.user.recaptchaapi === undefined) { if (tarteaucitron.user.recaptchaapi === undefined) {
@ -2303,7 +2305,7 @@ tarteaucitron.services.mautic = {
window.mt.q.push(arguments); window.mt.q.push(arguments);
}; };
tarteaucitron.addScript(tarteaucitron.user.mauticurl, '', function() { tarteaucitron.addScript(tarteaucitron.user.mauticurl, '', function () {
mt('send', 'pageview'); 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 () { 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: function () { }, time: (new Date()).getTime() };
window.mstag.loadTag("analytics", {dedup: "1", domainId: tarteaucitron.user.microsoftcampaignanalyticsdomainId, type: "1", actionid: tarteaucitron.user.microsoftcampaignanalyticsactionId}); 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 = window.OneSignal || [];
window.OneSignal.push(function() { window.OneSignal.push(function () {
window.OneSignal.init({ window.OneSignal.init({
appId: tarteaucitron.user.onesignalAppId, appId: tarteaucitron.user.onesignalAppId,
}); });
@ -2495,7 +2497,7 @@ tarteaucitron.services.purechat = {
tarteaucitron.addScript('//app.purechat.com/VisitorWidget/WidgetScript', '', function () { tarteaucitron.addScript('//app.purechat.com/VisitorWidget/WidgetScript', '', function () {
try { try {
window.w = new PCWidget({ c: tarteaucitron.user.purechatId, f: true }); 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); return tarteaucitron.engage(id);
}); });
} }
}; };
// shareaholic // shareaholic
tarteaucitron.services.shareaholic = { tarteaucitron.services.shareaholic = {
@ -2553,7 +2555,7 @@ tarteaucitron.services.shareaholic = {
tarteaucitron.addScript('//dsms0mj1bbhn4.cloudfront.net/assets/pub/shareaholic.js', '', function () { tarteaucitron.addScript('//dsms0mj1bbhn4.cloudfront.net/assets/pub/shareaholic.js', '', function () {
try { try {
Shareaholic.init(tarteaucitron.user.shareaholicSiteId); Shareaholic.init(tarteaucitron.user.shareaholicSiteId);
} catch (e) {} } catch (e) { }
}); });
}, },
"fallback": function () { "fallback": function () {
@ -2621,7 +2623,7 @@ tarteaucitron.services.sharethis = {
tarteaucitron.fallback(['tacSharethis'], ''); tarteaucitron.fallback(['tacSharethis'], '');
tarteaucitron.addScript(uri, '', function () { 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) { if (tarteaucitron.isAjax === true) {
@ -2703,7 +2705,7 @@ tarteaucitron.services.soundcloud = {
// Allow to embed from API results (playable_type + playable_id) // Allow to embed from API results (playable_type + playable_id)
var qs = '?url=https%3A//api.soundcloud.com/' + playable_type + '/' + playable_id; var qs = '?url=https%3A//api.soundcloud.com/' + playable_type + '/' + playable_id;
// Or from raw URL from Soundcloud website // 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 (hideRelated && hideRelated.length > 0) qs += '&hide_related=' + hideRelated;
if (color && color.length > 0) qs += '&color=' + color.replace('#', '%23'); 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 () { tarteaucitron.addScript('//use.typekit.net/' + tarteaucitron.user.typekitId + '.js', '', function () {
try { try {
Typekit.load(); Typekit.load();
} catch (e) {} } catch (e) { }
}); });
} }
}; };
@ -3233,7 +3235,7 @@ tarteaucitron.services.visualrevenue = {
window._vrq = window._vrq || []; window._vrq = window._vrq || [];
window._vrq.push(['id', tarteaucitron.user.visualrevenueId]); window._vrq.push(['id', tarteaucitron.user.visualrevenueId]);
window._vrq.push(['automate', true]); window._vrq.push(['automate', true]);
window._vrq.push(['track', function () {}]); window._vrq.push(['track', function () { }]);
tarteaucitron.addScript('http://a.visualrevenue.com/vrs.js'); tarteaucitron.addScript('http://a.visualrevenue.com/vrs.js');
} }
}; };
@ -3252,7 +3254,7 @@ tarteaucitron.services.verizondottag = {
window.dotq = window.dotq || []; window.dotq = window.dotq || [];
window.dotq.push({ window.dotq.push({
'projectId': tarteaucitron.user.verizondottagProjectId, 'projectId': tarteaucitron.user.verizondottagProjectId,
'properties': {'pixelId': tarteaucitron.user.verizondottagPixelId} 'properties': { 'pixelId': tarteaucitron.user.verizondottagPixelId }
}); });
tarteaucitron.addScript('https://s.yimg.com/wi/ytc.js', '', function () { tarteaucitron.addScript('https://s.yimg.com/wi/ytc.js', '', function () {
@ -3366,7 +3368,7 @@ tarteaucitron.services.atinternet = {
return; return;
} }
tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() { tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function () {
window.tag = new ATInternet.Tracker.Tag(); window.tag = new ATInternet.Tracker.Tag();
@ -3391,7 +3393,7 @@ tarteaucitron.services.atinternet = {
tarteaucitron.user.atinternetAlreadyLoaded = true; tarteaucitron.user.atinternetAlreadyLoaded = true;
tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() { tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function () {
window.tag = new ATInternet.Tracker.Tag(); window.tag = new ATInternet.Tracker.Tag();
@ -3430,7 +3432,7 @@ tarteaucitron.services.atinternethightrack = {
return; return;
} }
tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() { tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function () {
var tag = new ATInternet.Tracker.Tag(); var tag = new ATInternet.Tracker.Tag();
@ -3645,13 +3647,13 @@ tarteaucitron.services.facebookpixel = {
"js": function () { "js": function () {
"use strict"; "use strict";
var n; var n;
if(window.fbq)return; if (window.fbq) return;
n=window.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)} ; n = window.fbq = function () { n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments) };
if(!window._fbq)window._fbq=n; if (!window._fbq) window._fbq = n;
n.push=n; n.push = n;
n.loaded=!0; n.loaded = !0;
n.version='2.0'; n.version = '2.0';
n.queue=[]; n.queue = [];
tarteaucitron.addScript('https://connect.facebook.net/en_US/fbevents.js'); tarteaucitron.addScript('https://connect.facebook.net/en_US/fbevents.js');
fbq('init', tarteaucitron.user.facebookpixelId); fbq('init', tarteaucitron.user.facebookpixelId);
fbq('track', 'PageView'); fbq('track', 'PageView');
@ -3736,7 +3738,7 @@ tarteaucitron.services.webmecanik = {
window.mt.q.push(arguments); window.mt.q.push(arguments);
}; };
tarteaucitron.addScript(tarteaucitron.user.webmecanikurl, '', function() { tarteaucitron.addScript(tarteaucitron.user.webmecanikurl, '', function () {
mt('send', 'pageview'); mt('send', 'pageview');
}); });
} }
@ -3754,7 +3756,7 @@ tarteaucitron.services.multiplegtag = {
var cookies = ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz']; var cookies = ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz'];
if (tarteaucitron.user.multiplegtagUa !== undefined) { 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('_gat_gtag_' + ua.replace(/-/g, '_'));
cookies.push('_ga_' + ua.replace(/G-/g, '')); cookies.push('_ga_' + ua.replace(/G-/g, ''));
}); });
@ -3767,9 +3769,9 @@ tarteaucitron.services.multiplegtag = {
window.dataLayer = window.dataLayer || []; window.dataLayer = window.dataLayer || [];
if (tarteaucitron.user.multiplegtagUa !== undefined) { 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 () { 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('js', new Date());
gtag('config', ua, { 'anonymize_ip': true }); gtag('config', ua, { 'anonymize_ip': true });
}); });
@ -3795,13 +3797,13 @@ tarteaucitron.services.koban = {
return; return;
} }
window.KobanObject = 'kb'; window.KobanObject = 'kb';
window.kb = window.kb || function() { window.kb = window.kb || function () {
window.kb.q = window.kb.q || []; window.kb.q = window.kb.q || [];
window.kb.q.push(arguments); window.kb.q.push(arguments);
}; };
window.kb.l = new Date(); window.kb.l = new Date();
kb('reg', tarteaucitron.user.kobanapi); 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(["trackPageView"]);
window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]); window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
window._paq.push(["enableLinkTracking"]); window._paq.push(["enableLinkTracking"]);
window._paq.push([function() { window._paq.push([function () {
var self = this; var self = this;
function getOriginalVisitorCookieTimeout() { function getOriginalVisitorCookieTimeout() {
var now = new Date(), var now = new Date(),
@ -3852,13 +3854,13 @@ tarteaucitron.services.matomo = {
var originalTimeout = createTs + cookieTimeout - nowTs; var originalTimeout = createTs + cookieTimeout - nowTs;
return originalTimeout; return originalTimeout;
} }
this.setVisitorCookieTimeout( getOriginalVisitorCookieTimeout() ); this.setVisitorCookieTimeout(getOriginalVisitorCookieTimeout());
}]); }]);
tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true); tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
// waiting for piwik to be ready to check first party cookies // waiting for piwik to be ready to check first party cookies
var interval = setInterval(function() { var interval = setInterval(function () {
if (typeof Piwik === 'undefined') return if (typeof Piwik === 'undefined') return
clearInterval(interval) clearInterval(interval)
@ -3868,8 +3870,8 @@ tarteaucitron.services.matomo = {
// looping throught cookies // looping throught cookies
var theCookies = document.cookie.split(';'); var theCookies = document.cookie.split(';');
for (var i = 1 ; i <= theCookies.length; i++) { for (var i = 1; i <= theCookies.length; i++) {
var cookie = theCookies[i-1].split('='); var cookie = theCookies[i - 1].split('=');
var cookieName = cookie[0].trim(); var cookieName = cookie[0].trim();
// if cookie starts like a piwik one, register it // if cookie starts like a piwik one, register it
@ -3901,22 +3903,22 @@ tarteaucitron.services.matomohightrack = {
window._paq.push(["trackPageView"]); window._paq.push(["trackPageView"]);
window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]); window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
window._paq.push(["enableLinkTracking"]); window._paq.push(["enableLinkTracking"]);
window._paq.push([function() { window._paq.push([function () {
var self = this; var self = this;
}]); }]);
tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true); tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
// waiting for piwik to be ready to check first party cookies // waiting for piwik to be ready to check first party cookies
var interval = setInterval(function() { var interval = setInterval(function () {
if (typeof Piwik === 'undefined') return if (typeof Piwik === 'undefined') return
clearInterval(interval) clearInterval(interval)
Piwik.getTracker(); Piwik.getTracker();
var theCookies = document.cookie.split(';'); var theCookies = document.cookie.split(';');
for (var i = 1 ; i <= theCookies.length; i++) { for (var i = 1; i <= theCookies.length; i++) {
var cookie = theCookies[i-1].split('='); var cookie = theCookies[i - 1].split('=');
var cookieName = cookie[0].trim(); var cookieName = cookie[0].trim();
if (cookieName.indexOf('_pk_') === 0) { if (cookieName.indexOf('_pk_') === 0) {
@ -3928,7 +3930,7 @@ tarteaucitron.services.matomohightrack = {
}; };
// Hotjar // Hotjar
/* /*
1. Set the following variable before the initialization : 1. Set the following variable before the initialization :
tarteaucitron.user.hotjarId = YOUR_WEBSITE_ID; tarteaucitron.user.hotjarId = YOUR_WEBSITE_ID;
tarteaucitron.user.HotjarSv = XXXX; // Can be found in your website tracking code as "hjvs=XXXX" 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) { if (tarteaucitron.user.hotjarId === undefined || tarteaucitron.user.HotjarSv === undefined) {
return; return;
} }
window.hj = window.hj || function() { window.hj = window.hj || function () {
(window.hj.q = window.hj.q || []).push(arguments) (window.hj.q = window.hj.q || []).push(arguments)
}; };
window._hjSettings = { window._hjSettings = {
@ -3976,7 +3978,7 @@ tarteaucitron.services.bingads = {
window.uetq = window.uetq || []; window.uetq = window.uetq || [];
tarteaucitron.addScript('https://bat.bing.com/bat.js', '', function () { 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) { if ('bingadsStoreCookies' in tarteaucitron.user) {
bingadsCreate['storeConvTrackCookies'] = tarteaucitron.user.bingadsStoreCookies; bingadsCreate['storeConvTrackCookies'] = tarteaucitron.user.bingadsStoreCookies;
@ -4087,7 +4089,7 @@ tarteaucitron.services.activecampaign = {
window.trackcmp_email = ''; 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; return;
} }
window.Tawk_API=window.Tawk_API||{}; window.Tawk_API = window.Tawk_API || {};
window.Tawk_LoadStart=new Date(); window.Tawk_LoadStart = new Date();
tarteaucitron.addScript('https://embed.tawk.to/' + tarteaucitron.user.tawktoId + '/default'); tarteaucitron.addScript('https://embed.tawk.to/' + tarteaucitron.user.tawktoId + '/default');
} }
@ -4120,7 +4122,7 @@ tarteaucitron.services.getquanty = {
"name": "GetQuanty", "name": "GetQuanty",
"uri": "https://www.getquanty.com/mentions-legales/", "uri": "https://www.getquanty.com/mentions-legales/",
"needConsent": true, "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 () { "js": function () {
"use strict"; "use strict";
if (tarteaucitron.user.getguanty === undefined) { if (tarteaucitron.user.getguanty === undefined) {
@ -4159,7 +4161,7 @@ tarteaucitron.services.emolytics = {
return; return;
} }
var scriptEmolytics = document.createElement('script'); 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); document.getElementsByTagName('body')[0].appendChild(scriptEmolytics);
tarteaucitron.addScript('https://cdn.emolytics.com/script/emolytics-widget.js') tarteaucitron.addScript('https://cdn.emolytics.com/script/emolytics-widget.js')
} }
@ -4193,8 +4195,8 @@ tarteaucitron.services.faciliti = {
return; return;
} }
(function(w, d, s, f) { (function (w, d, s, f) {
w[f] = w[f] || {conf: function () { (w[f].data = w[f].data || []).push(arguments);}}; w[f] = w[f] || { conf: function () { (w[f].data = w[f].data || []).push(arguments); } };
var l = d.createElement(s), e = d.getElementsByTagName(s)[0]; 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); 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')); }(window, document, 'script', 'FACIL_ITI'));
@ -4249,8 +4251,8 @@ tarteaucitron.services.woopra = {
//var w = tarteaucitron.user.woopraDomain; //var w = tarteaucitron.user.woopraDomain;
//window[w] = window[w] || []; //window[w] = window[w] || [];
(function(){ (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) 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");
woopra.config({ woopra.config({
@ -4308,14 +4310,14 @@ tarteaucitron.services.visiblee = {
name: "Visiblee", name: "Visiblee",
uri: "http://confidentiality.visiblee.io/fr/confidentialite", uri: "http://confidentiality.visiblee.io/fr/confidentialite",
needConsent: true, 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 () { js: function () {
"use strict"; "use strict";
if (tarteaucitron.user.visibleeclientid === undefined) { if (tarteaucitron.user.visibleeclientid === undefined) {
return; 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,6 +4376,285 @@ tarteaucitron.services.bandcamp = {
} }
}; };
// Discord Widget
tarteaucitron.services.discord = {
"key": "discord",
"type": "social",
"name": "Discord (Server Widget)",
"needConsent": true,
"cookies": ["__cfruid", "__dcfduid", "_ga", "_gcl_au", "OptanonConsent", "locale", "_gid"],
"uri": "https://discord.com/privacy",
"js": function () {
"use strict";
tarteaucitron.fallback(['discord_widget'], function (x) {
var id = x.getAttribute("guildID"),
width = x.getAttribute("width"),
height = x.getAttribute("height")
var widgetURL = "https://discord.com/widget?id=" + id;
return "<iframe width=\"" + width + "\" height=\"" + height + "\"src=\"https://discord.com/widget?id=" + widgetURL + "\"></iframe>";
});
},
"fallback": function () {
"use strict";
var id = 'discord';
tarteaucitron.fallback(['discord_widget'], function (elem) {
elem.style.width = elem.getAttribute('width') + 'px';
elem.style.height = elem.getAttribute('height') + 'px';
return tarteaucitron.engage(id);
});
}
};
// Google Maps
tarteaucitron.services.maps_noapi = {
"key": "maps_noapi",
"type": "other",
"name": "Google Maps",
"needConsent": true,
"cookies": ["NID", "OGPC", "1P_JAR", "CONSENT"],
"uri": "https://policies.google.com/privacy",
"js": function () {
"use strict";
tarteaucitron.fallback(['googlemaps_embed'], function (x) {
var id = x.getAttribute("id"),
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>";
});
},
"fallback": function () {
"use strict";
var id = 'maps_noapi';
tarteaucitron.fallback(['googlemaps_embed'], function (elem) {
elem.style.width = elem.getAttribute('width') + 'px';
elem.style.height = elem.getAttribute('height') + 'px';
return tarteaucitron.engage(id);
});
}
};
// hCaptcha
tarteaucitron.services.hcaptcha = {
"key": "hcaptcha",
"type": "other",
"name": "hCaptcha",
"needConsent": true,
"cookies": [],
"uri": "https://www.hcaptcha.com/privacy",
"js": function () {
"use strict";
tarteaucitron.fallback(["h-captcha"], '');
tarteaucitron.addScript("https://hcaptcha.com/1/api.js", "hcaptcha")
},
"fallback": function () {
"use strict";
var id = "hcaptcha";
tarteaucitron.fallback(["h-captcha"], tarteaucitron.engage(id));
}
};
// France Culture
tarteaucitron.services.fculture = {
"key": "fculture",
"type": "video",
"name": "France Culture",
"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 () {
"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>"
});
},
"fallback": function () {
"use strict";
var id = "fculture";
tarteaucitron.fallback(["fculture_embed"], tarteaucitron.engage(id));
}
};
// Acast
tarteaucitron.services.acast = {
"key": "acast",
"type": "video",
"name": "Acast",
"needConsent": true,
"cookies": ["intercom-id-ayi0335i", "intercom-session-ayi0335i"],
"uri": "https://www.acast.com/en/privacy",
"js": function () {
"use strict";
tarteaucitron.fallback(['acast_embed'], function (x) {
var id = x.getAttribute('id1'),
id2 = x.getAttribute('id2'),
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>";
});
},
"fallback": function () {
"use strict";
var id = "acast";
tarteaucitron.fallback(["acast_embed"], tarteaucitron.engage(id));
}
};
// Mixcloud
tarteaucitron.services.mixcloud = {
"key": "mixcloud",
"type": "video",
"name": "Mixcloud",
"needConsent": true,
"cookies": ["UID", "_gat", "__stripe_mid", "_gid", "_ga", "c", "csrftoken", "__stripe_sid", "mx_t"],
"uri": "https://www.mixcloud.com/privacy/",
"js": function () {
"use strict";
tarteaucitron.fallback(['mixcloud_embed'], function (x) {
var id = x.getAttribute('id'),
hidecover = x.getAttribute('hidecover'),
mini = x.getAttribute('mini'),
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>";
});
},
"fallback": function () {
"use strict";
var id = "mixcloud";
tarteaucitron.fallback(["mixcloud_embed"], tarteaucitron.engage(id));
}
};
// Google Agenda
tarteaucitron.services.gagenda = {
"key": "gagenda",
"type": "other",
"name": "Google Agenda",
"needConsent": true,
"cookies": ["CONSENT", "NID"],
"uri": "https://policies.google.com/privacy",
"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>";
});
},
"fallback": function () {
"use strict";
var id = "gagenda";
tarteaucitron.fallback(["gagenda_embed"], tarteaucitron.engage(id));
}
};
// Google Docs
tarteaucitron.services.gdocs = {
"key": "gdocs",
"type": "other",
"name": "Google Docs",
"needConsent": true,
"cookies": ["CONSENT", "NID"],
"uri": "https://policies.google.com/privacy",
"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>";
});
},
"fallback": function () {
"use strict";
var id = "gdocs";
tarteaucitron.fallback(["gdocs_embed"], tarteaucitron.engage(id));
}
};
// Google Sheets
tarteaucitron.services.gsheets = {
"key": "gsheets",
"type": "other",
"name": "Google Sheets",
"needConsent": true,
"cookies": ["CONSENT", "NID"],
"uri": "https://policies.google.com/privacy",
"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>";
});
},
"fallback": function () {
"use strict";
var id = "gsheets";
tarteaucitron.fallback(["gsheets_embed"], tarteaucitron.engage(id));
}
};
// Google Slides
tarteaucitron.services.gslides = {
"key": "gslides",
"type": "other",
"name": "Google Slides",
"needConsent": true,
"cookies": ["CONSENT", "NID"],
"uri": "https://policies.google.com/privacy",
"js": function () {
"use strict";
tarteaucitron.fallback(['gslides_embed'], function (x) {
var id = x.getAttribute('id'),
width = x.getAttribute('width'),
height = x.getAttribute('height'),
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>";
});
},
"fallback": function () {
"use strict";
var id = "gslides";
tarteaucitron.fallback(["gslides_embed"], tarteaucitron.engage(id));
}
};
// Google Forms
tarteaucitron.services.gforms = {
"key": "gforms",
"type": "other",
"name": "Google Forms",
"needConsent": true,
"cookies": ["CONSENT", "NID"],
"uri": "https://policies.google.com/privacy",
"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>";
});
},
"fallback": function () {
"use strict";
var id = "gforms";
tarteaucitron.fallback(['gforms_embed'], tarteaucitron.engage(id));
}
}
// Marketo munchkin // Marketo munchkin
tarteaucitron.services.marketomunchkin = { tarteaucitron.services.marketomunchkin = {
"key": "marketomunchkin", "key": "marketomunchkin",
@ -4389,7 +4670,7 @@ tarteaucitron.services.marketomunchkin = {
} }
var didInit = false; var didInit = false;
function initMunchkin() { function initMunchkin() {
if(didInit === false) { if (didInit === false) {
didInit = true; didInit = true;
Munchkin.init(tarteaucitron.user.marketomunchkinkey); Munchkin.init(tarteaucitron.user.marketomunchkinkey);
} }
@ -4398,7 +4679,7 @@ tarteaucitron.services.marketomunchkin = {
s.type = 'text/javascript'; s.type = 'text/javascript';
s.async = true; s.async = true;
s.src = '//munchkin.marketo.net/munchkin.js'; s.src = '//munchkin.marketo.net/munchkin.js';
s.onreadystatechange = function() { s.onreadystatechange = function () {
if (this.readyState == 'complete' || this.readyState == 'loaded') { if (this.readyState == 'complete' || this.readyState == 'loaded') {
initMunchkin(); initMunchkin();
} }
@ -4406,4 +4687,4 @@ tarteaucitron.services.marketomunchkin = {
s.onload = initMunchkin; s.onload = initMunchkin;
document.getElementsByTagName('head')[0].appendChild(s); document.getElementsByTagName('head')[0].appendChild(s);
} }
}; }