/*global tarteaucitron, ga, Shareaholic, stLight, clicky, top, google, Typekit, FB, ferankReady, IN, stButtons, twttr, PCWidget*/
/*jslint regexp: true, nomen: true*/
// generic iframe
tarteaucitron.services.iframe = {
"key": "iframe",
"type": "other",
"name": "Web content",
"uri": "",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
tarteaucitron.fallback(['tac_iframe'], function (x) {
var width = x.getAttribute("width"),
height = x.getAttribute("height"),
url = x.getAttribute("data-url");
return '';
});
},
"fallback": function () {
"use strict";
var id = 'iframe';
tarteaucitron.fallback(['tac_iframe'], function (elem) {
elem.style.width = elem.getAttribute('width') + 'px';
elem.style.height = elem.getAttribute('height') + 'px';
return tarteaucitron.engage(id);
});
}
};
// xandr
tarteaucitron.services.xandr = {
"key": "xandr",
"type": "ads",
"name": "Xandr",
"uri": "https://www.xandr.com/privacy/cookie-policy/",
"needConsent": true,
"cookies": ['uuid2', 'uids', 'sess', 'icu', 'anj', 'usersync'],
"js": function () {
"use strict";
if (tarteaucitron.user.xandrId === undefined) {
return;
}
if (!window.pixie) {
var n = window.pixie = function(e, i, a) {
n.actionQueue.push({
action: e,
actionValue: i,
params: a
})
};
n.actionQueue = [];
}
tarteaucitron.addScript('https://acdn.adnxs.com/dmp/up/pixie.js', '', function() {
window.pixie('init', tarteaucitron.user.xandrId);
window.pixie('event', 'PageView');
});
}
};
// helloasso
tarteaucitron.services.helloasso = {
"key": "helloasso",
"type": "api",
"name": "HelloAsso",
"uri": "https://www.helloasso.com/confidentialite",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
tarteaucitron.fallback(['tac_helloasso'], function (x) {
var width = x.getAttribute("width"),
height = x.getAttribute("height"),
url = x.getAttribute("data-url");
return '';
});
},
"fallback": function () {
"use strict";
var id = 'helloasso';
tarteaucitron.fallback(['tac_helloasso'], function (elem) {
elem.style.width = elem.getAttribute('width') + 'px';
elem.style.height = elem.getAttribute('height') + 'px';
return tarteaucitron.engage(id);
});
}
};
// podcloud
tarteaucitron.services.podcloud = {
"key": "podcloud",
"type": "video",
"name": "podCloud",
"uri": "https://podcloud.fr/privacy",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
tarteaucitron.fallback(['tac_podcloud'], function (x) {
var width = x.getAttribute("width"),
height = x.getAttribute("height"),
url = x.getAttribute("data-url");
return '';
});
},
"fallback": function () {
"use strict";
var id = 'podcloud';
tarteaucitron.fallback(['tac_podcloud'], function (elem) {
elem.style.width = elem.getAttribute('width') + 'px';
elem.style.height = elem.getAttribute('height') + 'px';
return tarteaucitron.engage(id);
});
}
};
// facebookpost
tarteaucitron.services.facebookpost = {
"key": "facebookpost",
"type": "social",
"name": "Facebook (post)",
"uri": "https://www.facebook.com/policy.php",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
tarteaucitron.fallback(['tac_facebookpost'], function (x) {
var width = x.getAttribute("width"),
height = x.getAttribute("height"),
url = x.getAttribute("data-url"),
appId = x.getAttribute("data-appid");
return '';
});
},
"fallback": function () {
"use strict";
var id = 'facebookpost';
tarteaucitron.fallback(['tac_facebookpost'], function (elem) {
elem.style.width = elem.getAttribute('width') + 'px';
elem.style.height = elem.getAttribute('height') + 'px';
return tarteaucitron.engage(id);
});
}
};
// amplitude
tarteaucitron.services.amplitude = {
"key": "amplitude",
"type": "analytic",
"name": "Amplitude",
"uri": "https://amplitude.com/privacy",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
if (tarteaucitron.user.amplitude === undefined) {
return;
}
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';
}
},
"fallback": function () {
"use strict";
var id = 'shareasale';
tarteaucitron.fallback(['shareasale-canvas'], tarteaucitron.engage(id));
}
};
// sharethis
tarteaucitron.services.sharethis = {
"key": "sharethis",
"type": "social",
"name": "ShareThis",
"uri": "http://www.sharethis.com/legal/privacy/",
"needConsent": true,
"cookies": ['__unam'],
"js": function () {
"use strict";
if (tarteaucitron.user.sharethisPublisher === undefined) {
return;
}
var switchTo5x = true,
uri = ('https:' === document.location.protocol ? 'https://ws' : 'http://w') + '.sharethis.com/button/buttons.js';
tarteaucitron.fallback(['tacSharethis'], '');
tarteaucitron.addScript(uri, '', function () {
stLight.options({publisher: tarteaucitron.user.sharethisPublisher, doNotHash: false, doNotCopy: false, hashAddressBar: false});
});
if (tarteaucitron.isAjax === true) {
if (typeof stButtons !== "undefined") {
stButtons.locateElements();
}
}
},
"fallback": function () {
"use strict";
var id = 'sharethis';
tarteaucitron.fallback(['tacSharethis'], tarteaucitron.engage(id));
}
};
// slideshare
tarteaucitron.services.slideshare = {
"key": "slideshare",
"type": "video",
"name": "SlideShare",
"uri": "https://www.linkedin.com/legal/privacy-policy",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
tarteaucitron.fallback(['slideshare-canvas'], function (x) {
var id = x.getAttribute("data-id"),
width = x.getAttribute("width"),
height = x.getAttribute("height"),
url = '//www.slideshare.net/slideshow/embed_code/' + id;
return '';
});
},
"fallback": function () {
"use strict";
var id = 'slideshare';
tarteaucitron.fallback(['slideshare-canvas'], function (elem) {
elem.style.width = elem.getAttribute('width') + 'px';
elem.style.height = elem.getAttribute('height') + 'px';
return tarteaucitron.engage(id);
});
}
};
// soundcloud
tarteaucitron.services.soundcloud = {
key: 'soundcloud',
type: 'video',
name: 'SoundCloud',
needConsent: true,
cookies: ['sc_anonymous_id'],
js: function () {
"use strict";
tarteaucitron.fallback(['soundcloud_player'], function (x) {
var player_height = x.getAttribute('data-height'),
frame_height = 'height="' + player_height + '" ',
playable_id = x.getAttribute('data-playable-id'),
playable_type = x.getAttribute('data-playable-type'),
color = x.getAttribute('data-color'),
autoplay = x.getAttribute('data-auto-play'),
hideRelated = x.getAttribute('data-hide-related'),
showComments = x.getAttribute('data-show-comments'),
showUser = x.getAttribute('data-show-user'),
showReposts = x.getAttribute('data-show-reposts'),
showTeaser = x.getAttribute('data-show-teaser'),
visual = x.getAttribute('data-visual'),
artwork = x.getAttribute('data-artwork');
var allowAutoplay = autoplay === 'true' ? 'allow="autoplay"' : '';
if (playable_id === undefined) {
return "";
}
var qs = '?url=https%3A//api.soundcloud.com/' + playable_type + '/' + playable_id;
if (hideRelated && hideRelated.length > 0) qs += '&hide_related=' + hideRelated;
if (color && color.length > 0) qs += '&color=' + color.replace('#', '%23');
if (autoplay && autoplay.length > 0) qs += '&auto_play=' + autoplay;
if (showComments && showComments.length > 0) qs += '&show_comments=' + showComments;
if (hideRelated && hideRelated.length > 0) qs += '&hide_related=' + hideRelated;
if (showUser && showUser.length > 0) qs += '&show_user=' + showUser;
if (showReposts && showReposts.length > 0) qs += '&show_reposts=' + showReposts;
if (showTeaser && showTeaser.length > 0) qs += '&show_teaser=' + showTeaser;
if (visual && visual.length > 0) qs += '&visual=' + visual;
if (artwork && artwork.length > 0) qs += '&show_artwork=' + artwork;
return '';
});
},
fallback: function () {
"use strict";
tarteaucitron.fallback(['soundcloud_player'], function (elem) {
elem.style.height = elem.getAttribute('data-height') + 'px';
return tarteaucitron.engage('soundcloud');
});
}
};
// spotify
tarteaucitron.services.spotify = {
"key": "spotify",
"type": "video",
"name": "Spotify",
"uri": "https://www.spotify.com/us/legal/privacy-policy/",
"needConsent": true,
"cookies": ['sp_landing', '_ga', 'sp_ab', 'sp_landingref', 'sp_t', 'sp_usid', 'OptanonConsent', 'sp_m', 'spot'],
"js": function () {
"use strict";
tarteaucitron.fallback(['spotify_player'], function (x) {
var spotify_id = x.getAttribute("spotifyID"),
spotify_width = x.getAttribute("width"),
frame_width = 'width=',
spotify_height = x.getAttribute("height"),
frame_height = 'height=',
spotify_frame;
if (spotify_id === undefined) {
return "";
}
if (spotify_width !== undefined) {
frame_width += '"' + spotify_width + '" ';
} else {
frame_width += '"" ';
}
if (spotify_height !== undefined) {
frame_height += '"' + spotify_height + '" ';
} else {
frame_height += '"" ';
}
spotify_frame = '';
return spotify_frame;
});
},
"fallback": function () {
"use strict";
var id = 'spotify';
tarteaucitron.fallback(['spotify_player'], function (elem) {
elem.style.width = elem.getAttribute('width') + 'px';
elem.style.height = elem.getAttribute('height') + 'px';
return tarteaucitron.engage(id);
});
}
};
// statcounter
tarteaucitron.services.statcounter = {
"key": "statcounter",
"type": "analytic",
"name": "StatCounter",
"uri": "https://fr.statcounter.com/about/legal/#privacy",
"needConsent": true,
"cookies": ['sc_is_visitor_unique'],
"js": function () {
"use strict";
var uniqIds = [],
i,
uri = '//statcounter.com/counter/counter.js';
tarteaucitron.fallback(['statcounter-canvas'], function (x) {
var uniqId = '_' + Math.random().toString(36).substr(2, 9);
uniqIds.push(uniqId);
return '';
});
for (i = 0; i < uniqIds.length; i += 1) {
tarteaucitron.makeAsync.init(uri, uniqIds[i]);
}
},
"fallback": function () {
"use strict";
var id = 'statcounter';
tarteaucitron.fallback(['statcounter-canvas'], tarteaucitron.engage(id));
}
};
// timelinejs
tarteaucitron.services.timelinejs = {
"key": "timelinejs",
"type": "api",
"name": "Timeline JS",
"uri": "http://timeline.knightlab.com/#help",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
tarteaucitron.fallback(['timelinejs-canvas'], function (x) {
var spreadsheet_id = x.getAttribute("spreadsheet_id"),
width = x.getAttribute("width"),
height = x.getAttribute("height"),
lang = x.getAttribute("lang_2_letter"),
font = x.getAttribute("font"),
map = x.getAttribute("map"),
start_at_end = x.getAttribute("start_at_end"),
hash_bookmark = x.getAttribute("hash_bookmark"),
start_at_slide = x.getAttribute("start_at_slide"),
start_zoom = x.getAttribute("start_zoom"),
url = '//cdn.knightlab.com/libs/timeline/latest/embed/index.html?source=' + spreadsheet_id + '&font=' + font + '&maptype=' + map + '&lang=' + lang + '&start_at_end=' + start_at_end + '&hash_bookmark=' + hash_bookmark + '&start_at_slide=' + start_at_slide + '&start_zoom_adjust=' + start_zoom + '&height=' + height;
return '';
});
},
"fallback": function () {
"use strict";
var id = 'timelinejs';
tarteaucitron.fallback(['timelinejs-canvas'], function (elem) {
elem.style.width = elem.getAttribute('width') + 'px';
elem.style.height = elem.getAttribute('height') + 'px';
return tarteaucitron.engage(id);
});
}
};
// tagcommander
tarteaucitron.services.tagcommander = {
"key": "tagcommander",
"type": "api",
"name": "TagCommander",
"uri": "https://www.commandersact.com/en/privacy/",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
if (tarteaucitron.user.tagcommanderid === undefined) {
return;
}
tarteaucitron.addScript('https://cdn.tagcommander.com/' + tarteaucitron.user.tagcommanderid + '.js');
}
};
// typekit
tarteaucitron.services.typekit = {
"key": "typekit",
"type": "api",
"name": "Typekit (adobe)",
"uri": "https://www.adobe.com/privacy.html",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
if (tarteaucitron.user.typekitId === undefined) {
return;
}
tarteaucitron.addScript('//use.typekit.net/' + tarteaucitron.user.typekitId + '.js', '', function () {
try {
Typekit.load();
} catch (e) {}
});
}
};
// twenga
tarteaucitron.services.twenga = {
"key": "twenga",
"type": "ads",
"name": "Twenga",
"uri": "http://www.twenga.com/privacy.php",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
if (tarteaucitron.user.twengaId === undefined || tarteaucitron.user.twengaLocale === undefined) {
return;
}
tarteaucitron.addScript('//tracker.twenga.' + tarteaucitron.user.twengaLocale + '/st/tracker_' + tarteaucitron.user.twengaId + '.js');
}
};
// twitter
tarteaucitron.services.twitter = {
"key": "twitter",
"type": "social",
"name": "Twitter",
"uri": "https://support.twitter.com/articles/20170514",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
tarteaucitron.fallback(['tacTwitter'], '');
tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
},
"fallback": function () {
"use strict";
var id = 'twitter';
tarteaucitron.fallback(['tacTwitter'], tarteaucitron.engage(id));
}
};
// twitter embed
tarteaucitron.services.twitterembed = {
"key": "twitterembed",
"type": "social",
"name": "Twitter (cards)",
"uri": "https://support.twitter.com/articles/20170514",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
var uniqIds = [],
i,
e,
html;
tarteaucitron.fallback(['twitterembed-canvas'], function (x) {
var uniqId = '_' + Math.random().toString(36).substr(2, 9);
uniqIds.push(uniqId);
html = '';
return html;
});
tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs', function () {
for (i = 0; i < uniqIds.length; i += 1) {
e = document.getElementById(uniqIds[i]);
twttr.widgets.createTweet(
e.getAttribute('tweetid'),
e,
{
theme: e.getAttribute('theme'),
cards: e.getAttribute('cards'),
conversation: e.getAttribute('conversation'),
lang: tarteaucitron.getLanguage(),
dnt: true,
width: e.getAttribute('data-width'),
align: e.getAttribute('data-align')
}
);
}
});
},
"fallback": function () {
"use strict";
var id = 'twitterembed';
tarteaucitron.fallback(['twitterembed-canvas'], function (elem) {
elem.style.width = elem.getAttribute('data-width') + 'px';
return tarteaucitron.engage(id);
});
}
};
// twitter timeline
tarteaucitron.services.twittertimeline = {
"key": "twittertimeline",
"type": "social",
"name": "Twitter (timelines)",
"uri": "https://support.twitter.com/articles/20170514",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
tarteaucitron.fallback(['tacTwitterTimelines'], '');
tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
},
"fallback": function () {
"use strict";
var id = 'twittertimeline';
tarteaucitron.fallback(['tacTwitterTimelines'], tarteaucitron.engage(id));
}
};
// twitter universal website tag
tarteaucitron.services.twitteruwt = {
"key": "twitteruwt",
"type": "analytic",
"name": "Twitter Universal Website Tag",
"uri": "https://business.twitter.com/en/help/campaign-measurement-and-analytics/conversion-tracking-for-websites.html",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
window.twq = function () {
window.twq.exe ? window.twq.exe.apply(window.twq, arguments) : window.twq.queue.push(arguments);
}
window.twq.version = '1.1';
window.twq.queue = [];
tarteaucitron.addScript('https://static.ads-twitter.com/uwt.js', '', function () {
window.twq('init', tarteaucitron.user.twitteruwtId);
window.twq('track', 'PageView');
});
}
};
// user voice
tarteaucitron.services.uservoice = {
"key": "uservoice",
"type": "support",
"name": "UserVoice",
"uri": "https://www.uservoice.com/privacy/",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
if (tarteaucitron.user.userVoiceApi === undefined) {
return;
}
tarteaucitron.addScript('//widget.uservoice.com/' + tarteaucitron.user.userVoiceApi + '.js');
}
};
// vimeo
tarteaucitron.services.vimeo = {
"key": "vimeo",
"type": "video",
"name": "Vimeo",
"uri": "https://vimeo.com/privacy",
"needConsent": true,
"cookies": ['__utmt_player', '__utma', '__utmb', '__utmc', '__utmv', 'vuid', '__utmz', 'player'],
"js": function () {
"use strict";
tarteaucitron.fallback(['vimeo_player'], function (x) {
var video_width = x.getAttribute("data-width") || x.getAttribute("width"),
frame_width = 'width=',
video_height = x.getAttribute("data-height") || x.getAttribute("height"),
frame_height = 'height=',
video_id = x.getAttribute("data-videoID") || x.getAttribute("videoID"),
video_autopause = x.getAttribute("data-autopause") || '',
video_autoplay = x.getAttribute("data-autoplay") || x.getAttribute("autoplay") || '',
video_background = x.getAttribute("data-background") || '',
video_byline = x.getAttribute("data-byline") || x.getAttribute("byline") || '',
video_color = x.getAttribute("data-color") || '',
video_controls = x.getAttribute("data-controls") || '',
video_loop = x.getAttribute("data-loop") || x.getAttribute("loop") || '',
video_maxheight = x.getAttribute("data-maxheight") || '',
video_maxwidth = x.getAttribute("data-maxwidth") || '',
video_muted = x.getAttribute("data-muted") || '',
video_playsinline = x.getAttribute("data-playsinline") || '',
video_portrait = x.getAttribute("data-portrait") || x.getAttribute("portrait") || '',
video_speed = x.getAttribute("data-speed") || '',
video_title = x.getAttribute("data-title") || x.getAttribute("title") || '',
video_transparent = x.getAttribute("data-transparent") || '',
video_frame;
if (video_id === undefined) {
return "";
}
if (video_width !== undefined) {
frame_width += '"' + video_width + '" ';
} else {
frame_width += '"" ';
}
if (video_height !== undefined) {
frame_height += '"' + video_height + '" ';
} else {
frame_height += '"" ';
}
var video_qs = "?";
if (video_title.length > 0) {
video_qs += "title=" + video_title;
}
if (video_byline.length > 0) {
if (video_qs.length > 0) {
video_qs += "&";
}
video_qs += "byline=" + video_byline;
}
if (video_portrait.length > 0) {
if (video_qs.length > 0) {
video_qs += "&";
}
video_qs += "portrait=" + video_portrait;
}
if (video_loop.length > 0) {
if (video_qs.length > 0) {
video_qs += "&";
}
video_qs += "loop=" + video_loop;
}
if (video_autoplay.length > 0) {
if (video_qs.length > 0) {
video_qs += "&";
}
video_qs += "autoplay=" + video_autoplay;
}
if (video_autopause.length > 0) {
if (video_qs.length > 0) {
video_qs += "&";
}
video_qs += "autopause=" + video_autopause;
}
if (video_background.length > 0) {
if (video_qs.length > 0) {
video_qs += "&";
}
video_qs += "background=" + video_background;
}
if (video_color.length > 0) {
if (video_qs.length > 0) {
video_qs += "&";
}
video_qs += "color=" + video_color;
}
if (video_controls.length > 0) {
if (video_qs.length > 0) {
video_qs += "&";
}
video_qs += "controls=" + video_controls;
}
if (video_maxheight.length > 0) {
if (video_qs.length > 0) {
video_qs += "&";
}
video_qs += "maxheight=" + video_maxheight;
}
if (video_maxwidth.length > 0) {
if (video_qs.length > 0) {
video_qs += "&";
}
video_qs += "maxwidth=" + video_maxwidth;
}
if (video_muted.length > 0) {
if (video_qs.length > 0) {
video_qs += "&";
}
video_qs += "muted=" + video_muted;
}
if (video_playsinline.length > 0) {
if (video_qs.length > 0) {
video_qs += "&";
}
video_qs += "playsinline=" + video_playsinline;
}
if (video_speed.length > 0) {
if (video_qs.length > 0) {
video_qs += "&";
}
video_qs += "speed=" + video_speed;
}
if (video_transparent.length > 0) {
if (video_qs.length > 0) {
video_qs += "&";
}
video_qs += "transparent=" + video_transparent;
}
if (video_qs === "?") {
video_qs = "";
}
video_frame = '';
return video_frame;
});
},
"fallback": function () {
"use strict";
var id = 'vimeo';
tarteaucitron.fallback(['vimeo_player'], function (elem) {
elem.style.width = elem.getAttribute('width') + 'px';
elem.style.height = elem.getAttribute('height') + 'px';
return tarteaucitron.engage(id);
});
}
};
// visualrevenue
tarteaucitron.services.visualrevenue = {
"key": "visualrevenue",
"type": "analytic",
"name": "VisualRevenue",
"uri": "http://www.outbrain.com/legal/privacy-713/",
"needConsent": true,
"cookies": ['__vrf', '__vrm', '__vrl', '__vry', '__vru', '__vrid', '__vrz'],
"js": function () {
"use strict";
if (tarteaucitron.user.visualrevenueId === undefined) {
return;
}
window._vrq = window._vrq || [];
window._vrq.push(['id', tarteaucitron.user.visualrevenueId]);
window._vrq.push(['automate', true]);
window._vrq.push(['track', function () {}]);
tarteaucitron.addScript('http://a.visualrevenue.com/vrs.js');
}
};
// verizon dot tag
tarteaucitron.services.verizondottag = {
"key": "verizondottag",
"type": "analytic",
"name": "Verizon Dot Tag",
"uri": "https://developer.verizonmedia.com/native/guide/audience-management/dottags/",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
window.dotq = window.dotq || [];
window.dotq.push({
'projectId': tarteaucitron.user.verizondottagProjectId,
'properties': {'pixelId': tarteaucitron.user.verizondottagPixelId}
});
tarteaucitron.addScript('https://s.yimg.com/wi/ytc.js', '', function () {
const items = window.dotq;
window.dotq = [];
window.dotq.push = function (item) {
YAHOO.ywa.I13N.fireBeacon([item])
};
YAHOO.ywa.I13N.fireBeacon(items)
});
}
};
// vshop
tarteaucitron.services.vshop = {
"key": "vshop",
"type": "ads",
"name": "vShop",
"uri": "http://vshop.fr/privacy-policy",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
tarteaucitron.fallback(['vcashW'], '');
tarteaucitron.addScript('//vshop.fr/js/w.js');
},
"fallback": function () {
"use strict";
var id = 'vshop';
tarteaucitron.fallback(['vcashW'], tarteaucitron.engage(id));
}
};
// wysistat
tarteaucitron.services.wysistat = {
"key": "wysistat",
"type": "analytic",
"name": "Wysistat",
"uri": "http://wysistat.net/contact/",
"needConsent": true,
"cookies": ['Wysistat'],
"js": function () {
"use strict";
if (tarteaucitron.user.wysistat === undefined) {
return;
}
tarteaucitron.addScript('//www.wysistat.com/statistique.js', '', function () {
window.stat(tarteaucitron.user.wysistat.cli, tarteaucitron.user.wysistat.frm, tarteaucitron.user.wysistat.prm, tarteaucitron.user.wysistat.ce, tarteaucitron.user.wysistat.page, tarteaucitron.user.wysistat.roi, tarteaucitron.user.wysistat.prof, tarteaucitron.user.wysistat.cpt);
});
}
};
// xiti
tarteaucitron.services.xiti = {
"key": "xiti",
"type": "analytic",
"name": "Xiti",
"uri": "https://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
if (tarteaucitron.user.xitiId === undefined) {
return;
}
var Xt_param = 's=' + tarteaucitron.user.xitiId + '&p=',
Xt_r,
Xt_h,
Xt_i,
Xt_s,
div = document.createElement('div');
try {
Xt_r = top.document.referrer;
} catch (e) {
Xt_r = document.referrer;
}
Xt_h = new Date();
Xt_i = '= 4) {
Xt_s = screen;
Xt_i += '&r=' + Xt_s.width + 'x' + Xt_s.height + 'x' + Xt_s.pixelDepth + 'x' + Xt_s.colorDepth;
}
div.innerHTML = Xt_i + '&ref=' + Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$') + '" title="Internet Audience">';
document.getElementsByTagName('body')[0].appendChild(div.firstChild);
if (typeof tarteaucitron.user.xitiMore === 'function') {
tarteaucitron.user.xitiMore();
}
}
};
// AT Internet
tarteaucitron.services.atinternet = {
"key": "atinternet",
"type": "analytic",
"name": "AT Internet (privacy by design)",
"uri": "https://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
"needConsent": false,
"safeanalytic": true,
"cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession', 'atuserid'],
"js": function () {
"use strict";
if (tarteaucitron.user.atLibUrl === undefined) {
return;
}
tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() {
window.tag = new ATInternet.Tracker.Tag();
if (typeof tarteaucitron.user.atMore === 'function') {
tarteaucitron.user.atMore();
}
if (typeof window.tag.privacy !== 'undefined') {
document.getElementById('atinternetLine').style.display = 'none';
if (tarteaucitron.cookie.read().indexOf('atinternetoptin=true') === -1 && tarteaucitron.cookie.read().indexOf('atinternetoptout=true') === -1) {
window.tag.privacy.setVisitorMode('cnil', 'exempt');
}
tarteaucitron.addClickEventToElement(document.getElementById('atinternetDenied'), function () {
tarteaucitron.launch['atinternetoptout'] = false;
tarteaucitron.launch['atinternetoptin'] = false;
tarteaucitron.userInterface.respond(document.getElementById('atinternetoptinDenied'), false);
tarteaucitron.userInterface.respond(document.getElementById('atinternetoptoutDenied'), false);
});
tarteaucitron.addClickEventToElement(document.getElementById('atinternetoptoutDenied'), function () {
if (tarteaucitron.cookie.read().indexOf('atinternetoptin=true') === -1 && tarteaucitron.cookie.read().indexOf('atinternetoptout=true') === -1) {
window.tag.privacy.setVisitorMode('cnil', 'exempt');
}
});
tarteaucitron.addClickEventToElement(document.getElementById('atinternetoptinDenied'), function () {
if (tarteaucitron.cookie.read().indexOf('atinternetoptin=true') === -1 && tarteaucitron.cookie.read().indexOf('atinternetoptout=true') === -1) {
window.tag.privacy.setVisitorMode('cnil', 'exempt');
}
});
}
setTimeout(function() {
tag.page.send();
}, 70);
});
}
};
// AT Internet (optin)
tarteaucitron.services.atinternetoptin = {
"key": "atinternetoptin",
"type": "analytic",
"name": "AT Internet",
"uri": "https://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
"needConsent": true,
"cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession', 'atuserid'],
"js": function () {
"use strict";
tarteaucitron.launch['atinternetoptout'] = false;
setTimeout(function() {
tarteaucitron.userInterface.respond(document.getElementById('atinternetAllowed'), true);
tarteaucitron.userInterface.respond(document.getElementById('atinternetoptoutDenied'), false);
}, 50);
setTimeout(function() {
if (typeof window.tag.privacy !== 'undefined') {
window.tag.privacy.setVisitorOptin();
}
}, 60);
window.tarteaucitronHackNoSwitch = true;
setTimeout(function() {window.tarteaucitronHackNoSwitch = false;}, 200);
}
};
// AT Internet (optout)
tarteaucitron.services.atinternetoptout = {
"key": "atinternetoptout",
"type": "analytic",
"name": "AT Internet [minimal]",
"uri": "https://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
"needConsent": true,
"cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession', 'atuserid'],
"js": function () {
"use strict";
// hack accept all
if (window.tarteaucitronHackNoSwitch) {
setTimeout(function() {
tarteaucitron.userInterface.respond(document.getElementById('atinternetoptoutDenied'), false);
}, 60);
return;
}
tarteaucitron.launch['atinternetoptin'] = false;
setTimeout(function() {
tarteaucitron.userInterface.respond(document.getElementById('atinternetAllowed'), true);
tarteaucitron.userInterface.respond(document.getElementById('atinternetoptinDenied'), false);
}, 50);
setTimeout(function() {
if (typeof window.tag.privacy !== 'undefined') {
window.tag.privacy.setVisitorOptout();
}
}, 60);
}
};
// AT Internet
tarteaucitron.services.atinternethightrack = {
"key": "atinternethightrack",
"type": "analytic",
"name": "AT Internet",
"uri": "https://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
"needConsent": true,
"cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession', 'atuserid'],
"js": function () {
"use strict";
if (tarteaucitron.user.atLibUrl === undefined) {
return;
}
tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() {
var tag = new ATInternet.Tracker.Tag();
if (typeof tarteaucitron.user.atMore === 'function') {
tarteaucitron.user.atMore();
}
})
}
};
// youtube
tarteaucitron.services.youtube = {
"key": "youtube",
"type": "video",
"name": "YouTube",
"uri": "https://policies.google.com/privacy",
"needConsent": true,
"cookies": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF', 'GEUP'],
"js": function () {
"use strict";
tarteaucitron.fallback(['youtube_player'], function (x) {
var video_id = x.getAttribute("videoID"),
video_width = x.getAttribute("width"),
frame_width = 'width=',
video_height = x.getAttribute("height"),
frame_height = 'height=',
video_frame,
params = 'theme=' + x.getAttribute("theme") + '&rel=' + x.getAttribute("rel") + '&controls=' + x.getAttribute("controls") + '&showinfo=' + x.getAttribute("showinfo") + '&autoplay=' + x.getAttribute("autoplay") + '&mute=' + x.getAttribute("mute");
if (video_id === undefined) {
return "";
}
if (video_width !== undefined) {
frame_width += '"' + video_width + '" ';
} else {
frame_width += '"" ';
}
if (video_height !== undefined) {
frame_height += '"' + video_height + '" ';
} else {
frame_height += '"" ';
}
video_frame = '';
return video_frame;
});
},
"fallback": function () {
"use strict";
var id = 'youtube';
tarteaucitron.fallback(['youtube_player'], function (elem) {
elem.style.width = elem.getAttribute('width') + 'px';
elem.style.height = elem.getAttribute('height') + 'px';
return tarteaucitron.engage(id);
});
}
};
// youtube playlist
tarteaucitron.services.youtubeplaylist = {
"key": "youtubeplaylist",
"type": "video",
"name": "YouTube (playlist)",
"uri": "https://policies.google.com/privacy",
"needConsent": true,
"cookies": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF', 'GEUP'],
"js": function () {
"use strict";
tarteaucitron.fallback(['youtube_playlist_player'], function (x) {
var playlist_id = x.getAttribute("playlistID"),
video_width = x.getAttribute("width"),
frame_width = 'width=',
video_height = x.getAttribute("height"),
frame_height = 'height=',
video_frame,
params = 'theme=' + x.getAttribute("theme") + '&rel=' + x.getAttribute("rel") + '&controls=' + x.getAttribute("controls") + '&showinfo=' + x.getAttribute("showinfo") + '&autoplay=' + x.getAttribute("autoplay") + '&mute=' + x.getAttribute("mute");
if (playlist_id === undefined) {
return "";
}
if (video_width !== undefined) {
frame_width += '"' + video_width + '" ';
} else {
frame_width += '"" ';
}
if (video_height !== undefined) {
frame_height += '"' + video_height + '" ';
} else {
frame_height += '"" ';
}
video_frame = '';
return video_frame;
});
},
"fallback": function () {
"use strict";
var id = 'youtubeplaylist';
tarteaucitron.fallback(['youtube_playlist_player'], function (elem) {
elem.style.width = elem.getAttribute('width') + 'px';
elem.style.height = elem.getAttribute('height') + 'px';
return tarteaucitron.engage(id);
});
}
};
// zopim
tarteaucitron.services.zopim = {
"key": "zopim",
"type": "support",
"name": "Zopim",
"uri": "https://www.zopim.com/privacy",
"needConsent": true,
"cookies": ['__zlcid', '__zprivacy'],
"js": function () {
"use strict";
if (tarteaucitron.user.zopimID === undefined) {
return;
}
tarteaucitron.addScript('//v2.zopim.com/?' + tarteaucitron.user.zopimID);
}
};
// kameleoon
tarteaucitron.services.kameleoon = {
"key": "kameleoon",
"type": "analytic",
"name": "Kameleoon",
"uri": "https://www.kameleoon.com/fr/compliance/rgpd",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
if (tarteaucitron.user.kameleoon !== undefined) {
tarteaucitron.addScript("https://" + tarteaucitron.user.kameleoon + ".kameleoon.eu/kameleoon.js");
}
}
};
// linkedin insight
tarteaucitron.services.linkedininsighttag = {
"key": "linkedininsighttag",
"type": "ads",
"name": "Linkedin Insight",
"uri": "https://www.linkedin.com/legal/cookie_policy",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
if (tarteaucitron.user.linkedininsighttag !== undefined) {
window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
window._linkedin_data_partner_ids.push(tarteaucitron.user.linkedininsighttag);
}
tarteaucitron.addScript('https://snap.licdn.com/li.lms-analytics/insight.min.js');
}
};
// xiti smartTag
tarteaucitron.services.xiti_smarttag = {
"key": "xiti_smarttag",
"type": "analytic",
"name": "Xiti (SmartTag)",
"uri": "https://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
"needConsent": true,
"cookies": ["atidvisitor", "atreman", "atredir", "atsession", "atuserid", "attvtreman", "attvtsession"],
"js": function () {
"use strict";
if (tarteaucitron.user.xiti_smarttagLocalPath !== undefined) {
tarteaucitron.addScript(tarteaucitron.user.xiti_smarttagLocalPath, 'smarttag', null, null, "onload", "addTracker();");
} else {
var xitiSmarttagId = tarteaucitron.user.xiti_smarttagSiteId;
if (xitiSmarttagId === undefined) {
return;
}
tarteaucitron.addScript('//tag.aticdn.net/' + xitiSmarttagId + '/smarttag.js', 'smarttag', null, null, "onload", "addTracker();");
}
}
};
// facebook pixel
tarteaucitron.services.facebookpixel = {
"key": "facebookpixel",
"type": "ads",
"name": "Facebook Pixel",
"uri": "https://www.facebook.com/policy.php",
"needConsent": true,
"cookies": ['datr', 'fr', 'reg_ext_ref', 'reg_fb_gate', 'reg_fb_ref', 'sb', 'wd', 'x-src'],
"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=[];
tarteaucitron.addScript('https://connect.facebook.net/en_US/fbevents.js');
fbq('init', tarteaucitron.user.facebookpixelId);
fbq('track', 'PageView');
if (typeof tarteaucitron.user.facebookpixelMore === 'function') {
tarteaucitron.user.facebookpixelMore();
}
}
};
//Issuu
tarteaucitron.services.issuu = {
"key": "issuu",
"type": "other",
"name": "Issuu",
"uri": "https://issuu.com/legal/privacy",
"needConsent": true,
"cookies": ['__qca', 'iutk', 'mc'],
"js": function () {
"use strict";
tarteaucitron.fallback(['issuu_player'], function (x) {
var issuu_id = x.getAttribute("issuuID"),
issuu_width = x.getAttribute("width"),
frame_width = 'width=',
issuu_height = x.getAttribute("height"),
frame_height = 'height=',
issuu_frame,
issuu_embed;
if (issuu_id === undefined) {
return "";
}
if (issuu_width !== undefined) {
frame_width += '"' + issuu_width + '" ';
} else {
frame_width += '"" ';
}
if (issuu_height !== undefined) {
frame_height += '"' + issuu_height + '" ';
} else {
frame_height += '"" ';
}
if (issuu_id.match(/\d+\/\d+/)) { issuu_embed = '#' + issuu_id; } else if (issuu_id.match(/d=(.*)&u=(.*)/)) { issuu_embed = '?' + issuu_id; }
issuu_frame = '';
return issuu_frame;
});
},
"fallback": function () {
"use strict";
var id = 'issuu';
tarteaucitron.fallback(['issuu_player'], function (elem) {
elem.style.width = elem.getAttribute('width') + 'px';
elem.style.height = elem.getAttribute('height') + 'px';
return tarteaucitron.engage(id);
});
}
};
// webmecanik
tarteaucitron.services.webmecanik = {
"key": "webmecanik",
"type": "analytic",
"name": "Webmecanik",
"uri": "https://webmecanik.com/tos",
"needConsent": true,
"cookies": ['mtc_id', 'mtc_sid'],
"js": function () {
"use strict";
if (tarteaucitron.user.webmecanikurl === undefined) {
return;
}
window.MauticTrackingObject = 'mt';
window.mt = window.mt || function () {
window.mt.q = window.mt.q || [];
window.mt.q.push(arguments);
};
tarteaucitron.addScript(tarteaucitron.user.webmecanikurl, '', function() {
mt('send', 'pageview');
});
}
};
// google analytics multiple
tarteaucitron.services.multiplegtag = {
"key": "multiplegtag",
"type": "analytic",
"name": "Google Analytics (gtag.js)",
"uri": "https://support.google.com/analytics/answer/6004245",
"needConsent": true,
"cookies": (function () {
var cookies = ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz'];
if (tarteaucitron.user.multiplegtagUa !== undefined) {
tarteaucitron.user.multiplegtagUa.forEach(function(ua) {
cookies.push('_gat_gtag_' + ua.replace(/-/g, '_'));
cookies.push('_ga_' + ua.replace(/G-/g, ''));
});
}
return cookies;
})(),
"js": function () {
"use strict";
window.dataLayer = window.dataLayer || [];
if (tarteaucitron.user.multiplegtagUa !== undefined) {
tarteaucitron.user.multiplegtagUa.forEach(function(ua) {
tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + ua, '', function () {
window.gtag = function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', ua);
});
});
}
}
};
// Koban
tarteaucitron.services.koban = {
"key": "koban",
"type": "analytic",
"name": "Koban",
"uri": "https://koban.cloud/tos",
"needConsent": true,
"cookies": ['kbntrk'],
"js": function () {
"use strict";
if (tarteaucitron.user.kobanurl === undefined) {
return;
}
if (tarteaucitron.user.kobanapi === undefined) {
return;
}
window.KobanObject = 'kb';
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() {
});
}
};
// matomo
/*
1. Set the following variable before the initialization :
tarteaucitron.user.matomoId = YOUR_SITE_ID_FROM_MATOMO;
tarteaucitron.user.matomoHost = "YOUR_MATOMO_URL"; //eg: https://stat.mydomain.com/
2. Push the service :
(tarteaucitron.job = tarteaucitron.job || []).push('matomo');
3. HTML
You don't need to add any html code, if the service is autorized, the javascript is added. otherwise no.
*/
tarteaucitron.services.matomo = {
"key": "matomo",
"type": "analytic",
"name": "Matomo (privacy by design)",
"uri": "https://matomo.org/faq/general/faq_146/",
"needConsent": false,
"cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
"js": function () {
"use strict";
if (tarteaucitron.user.matomoId === undefined) {
return;
}
window._paq = window._paq || [];
window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
window._paq.push(["setDoNotTrack", 1]);
window._paq.push(["trackPageView"]);
window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
window._paq.push(["enableLinkTracking"]);
window._paq.push([function() {
var self = this;
function getOriginalVisitorCookieTimeout() {
var now = new Date(),
nowTs = Math.round(now.getTime() / 1000),
visitorInfo = self.getVisitorInfo();
var createTs = parseInt(visitorInfo[2]);
var cookieTimeout = 33696000; // 13 mois en secondes
var originalTimeout = createTs + cookieTimeout - nowTs;
return originalTimeout;
}
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() {
if (typeof Piwik === 'undefined') return
clearInterval(interval)
// make piwik/matomo cookie accessible by getting tracker
Piwik.getTracker();
// looping throught cookies
var theCookies = document.cookie.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
if (cookieName.indexOf('_pk_') === 0) {
tarteaucitron.services.matomo.cookies.push(cookieName);
}
}
}, 100)
}
};
tarteaucitron.services.matomohightrack = {
"key": "matomohightrack",
"type": "analytic",
"name": "Matomo",
"uri": "https://matomo.org/faq/general/faq_146/",
"needConsent": true,
"cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
"js": function () {
"use strict";
if (tarteaucitron.user.matomoId === undefined) {
return;
}
window._paq = window._paq || [];
window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
window._paq.push(["trackPageView"]);
window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
window._paq.push(["enableLinkTracking"]);
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() {
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('=');
var cookieName = cookie[0].trim();
if (cookieName.indexOf('_pk_') === 0) {
tarteaucitron.services.matomo.cookies.push(cookieName);
}
}
}, 100)
}
};
// 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"
2. Push the service :
(tarteaucitron.job = tarteaucitron.job || []).push('hotjar');
3. HTML
You don't need to add any html code, if the service is autorized, the javascript is added. otherwise no.
*/
tarteaucitron.services.hotjar = {
"key": "hotjar",
"type": "analytic",
"name": "Hotjar",
"uri": "https://help.hotjar.com/hc/en-us/categories/115001323967-About-Hotjar",
"needConsent": true,
"cookies": ["hjClosedSurveyInvites", "_hjDonePolls", "_hjMinimizedPolls", "_hjDoneTestersWidgets", "_hjMinimizedTestersWidgets", "_hjDoneSurveys", "_hjIncludedInSample", "_hjShownFeedbackMessage", "_hjAbsoluteSessionInProgress", "_hjIncludeInPageviewSample", "_hjid"],
"js": function () {
"use strict";
if (tarteaucitron.user.hotjarId === undefined || tarteaucitron.user.HotjarSv === undefined) {
return;
}
window.hj = window.hj || function() {
(window.hj.q = window.hj.q || []).push(arguments)
};
window._hjSettings = {
hjid: tarteaucitron.user.hotjarId,
hjsv: tarteaucitron.user.HotjarSv
};
var uri = 'https://static.hotjar.com/c/hotjar-';
var extension = '.js?sv=';
tarteaucitron.addScript(uri + window._hjSettings.hjid + extension + window._hjSettings.hjsv);
}
};
// bing ads universal event tracking
tarteaucitron.services.bingads = {
'key': 'bingads',
'type': 'ads',
'name': 'Bing Ads Universal Event Tracking',
'uri': 'https://advertise.bingads.microsoft.com/en-us/resources/policies/personalized-ads',
'needConsent': true,
'cookies': ['_uetmsclkid', '_uetvid', '_uetsid'],
'js': function () {
'use strict';
//var u = tarteaucitron.user.bingadsTag || 'uetq';
window.uetq = window.uetq || [];
tarteaucitron.addScript('https://bat.bing.com/bat.js', '', function () {
var bingadsCreate = {ti: tarteaucitron.user.bingadsID};
if ('bingadsStoreCookies' in tarteaucitron.user) {
bingadsCreate['storeConvTrackCookies'] = tarteaucitron.user.bingadsStoreCookies;
}
bingadsCreate.q = window.uetq;
window.uetq = new UET(bingadsCreate);
window.uetq.push('pageLoad');
});
}
};
//Matterport
tarteaucitron.services.matterport = {
"key": "matterport",
"type": "other",
"name": "Matterport",
"uri": "https://matterport.com/es/legal/privacy-policy/",
"needConsent": true,
"cookies": ['__cfduid', 'ajs_anonymous_id', 'ajs_group_id', 'ajs_user_id'],
"js": function () {
"use strict";
tarteaucitron.fallback(['matterport'], function (x) {
var matterport_id = x.getAttribute("matterportID"),
matterport_width = x.getAttribute("width"),
frame_width = 'width=',
matterport_height = x.getAttribute("height"),
frame_height = 'height=',
matterport_parameters = x.getAttribute("parameters"),
matterport_frame;
if (matterport_id === undefined) {
return "";
}
if (matterport_width !== undefined) {
frame_width += '"' + matterport_width + '" ';
} else {
frame_width += '"" ';
}
if (matterport_height !== undefined) {
frame_height += '"' + matterport_height + '" ';
} else {
frame_height += '"" ';
}
if (matterport_parameters === undefined) {
return "";
}
matterport_frame = '';
return matterport_frame;
});
},
"fallback": function () {
"use strict";
var id = 'matterport';
tarteaucitron.fallback(['matterport'], function (elem) {
elem.style.width = elem.getAttribute('width') + 'px';
elem.style.height = elem.getAttribute('height') + 'px';
return tarteaucitron.engage(id);
});
}
};
// Adform
tarteaucitron.services.adform = {
"key": "adform",
"type": "ads",
"name": "Adform",
"uri": "https://site.adform.com/privacy-center/overview/",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
if (tarteaucitron.user.adformpm === undefined || tarteaucitron.user.adformpagename === undefined) {
return;
}
window._adftrack = {
pm: tarteaucitron.user.adformpm,
divider: encodeURIComponent('|'),
pagename: encodeURIComponent(tarteaucitron.user.adformpagename)
};
tarteaucitron.addScript("https://track.adform.net/serving/scripts/trackpoint/async/");
}
};
// Active Campaign
tarteaucitron.services.activecampaign = {
"key": "activecampaign",
"type": "ads",
"name": "Active Campaign",
"uri": "https://www.activecampaign.com/privacy-policy/",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
if (tarteaucitron.user.actid === undefined) {
return;
}
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));
}
};
// tawk.to
tarteaucitron.services.tawkto = {
"key": "tawkto",
"type": "support",
"name": "Tawk.to chat",
"uri": "https://www.tawk.to/data-protection/",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
if (tarteaucitron.user.tawktoId === undefined) {
return;
}
window.Tawk_API=window.Tawk_API||{};
window.Tawk_LoadStart=new Date();
tarteaucitron.addScript('https://embed.tawk.to/' + tarteaucitron.user.tawktoId + '/default');
}
};
// getquanty
tarteaucitron.services.getquanty = {
"key": "getquanty",
"type": "analytic",
"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'],
"js": function () {
"use strict";
if (tarteaucitron.user.getguanty === undefined) {
return;
}
window.webleads_site_ids = window.webleads_site_ids || [];
window.webleads_site_ids.push(tarteaucitron.user.getguanty);
tarteaucitron.addScript('https://stats.webleads-tracker.com/js');
tarteaucitron.addScript('https://get.smart-data-systems.com/track?site_id=' + tarteaucitron.user.getguanty);
}
};
// emolytics
tarteaucitron.services.emolytics = {
"key": "emolytics",
"type": "analytic",
"name": "Emolytics",
"uri": "https://www.emolytics.com/main/privacy-policy.php",
"needConsent": true,
"cookies": ['__hssc', '__hssrc', '__hstc', '_ga', '_gid', 'hubspotutk', 'lang', 'incap_ses_', 'nlbi_', 'visid_incap_'],
"js": function () {
"use strict";
if (tarteaucitron.user.emolyticsID === undefined) {
return;
}
var scriptEmolytics = document.createElement('script');
scriptEmolytics.text = 'var getsmily_id="'+tarteaucitron.user.emolyticsID+'";';
document.getElementsByTagName('body')[0].appendChild(scriptEmolytics);
tarteaucitron.addScript('https://cdn.emolytics.com/script/emolytics-widget.js')
}
};
// youtubeapi
tarteaucitron.services.youtubeapi = {
"key": "youtubeapi",
"type": "video",
"name": "Youtube (Js API)",
"uri": "https://policies.google.com/privacy/",
"needConsent": true,
"cookies": [],
"js": function () {
"use strict";
tarteaucitron.addScript('https://www.youtube.com/player_api');
}
};
// Facil'ITI
tarteaucitron.services.faciliti = {
"key": "faciliti",
"type": "other",
"name": "Facil'ITI",
"uri": "https://ws.facil-iti.com/mentions-legales.html",
"needConsent": true,
"cookies": ['FACIL_ITI_LS'],
"js": function () {
"use strict";
if (tarteaucitron.user.facilitiID === undefined) {
return;
}
(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'));
FACIL_ITI.conf('userId', tarteaucitron.user.facilitiID);
}
};
// userlike
tarteaucitron.services.userlike = {
"key": "userlike",
"type": "support",
"name": "Userlike",
"uri": "https://www.userlike.com/en/terms#privacy-policy",
"needConsent": true,
"cookies": ['uslk_s', 'uslk_e'],
"js": function () {
"use strict";
if (tarteaucitron.user.userlikeKey === undefined) {
return;
}
tarteaucitron.addScript('//userlike-cdn-widgets.s3-eu-west-1.amazonaws.com/' + tarteaucitron.user.userlikeKey);
}
};
// adobeanalytics
tarteaucitron.services.adobeanalytics = {
"key": "adobeanalytics",
"type": "analytic",
"name": "Adobe Analytics",
"uri": "https://www.adobe.com/privacy/policy.html",
"needConsent": true,
"cookies": ['s_ecid', 's_cc', 's_sq', 's_vi', 's_fid'],
"js": function () {
"use strict";
if (tarteaucitron.user.adobeanalyticskey === undefined) {
return;
}
tarteaucitron.addScript('//assets.adobedtm.com/launch-' + tarteaucitron.user.adobeanalyticskey + '.min.js');
}
};
// woopra customer journey analytics
tarteaucitron.services.woopra = {
'key': 'woopra',
'type': 'analytic',
'name': 'Woopra Customer Journey Analytics',
'uri': 'https://www.woopra.com/privacy',
'needConsent': true,
'cookies': ['wooTracker', 'intercom-session-erbfalba', 'intercom-id-erbfalba'],
'js': function () {
'use strict';
//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)
})("woopra");
woopra.config({
domain: tarteaucitron.user.woopraDomain
});
woopra.track();
}
};