PageSourceSearch

https://www.mairie-crest.fr/packages/rgpd/js/tarteaucitron/tarteaucitron.services.js?v=20201013

js mairie-crest.fr collected 2026-09-24 23:19:37 UTC 114,972 bytes, 3,185 lines download raw bytes

vendor: 4,258 bytes, lines 1-104
1/*global tarteaucitron, ga, Shareaholic, stLight, clicky, top, google, Typekit, FB, ferankReady, IN, stButtons, twttr, PCWidget*/
2/*jslint regexp: true, nomen: true*/
3
4// generic iframe
5tarteaucitron.services.iframe = {
6    "key": "iframe",
7    "type": "other",
8    "name": "Web content",
9    "uri": "",
10    "needConsent": true,
11    "cookies": [],
12    "js": function () {
13        "use strict";
14        tarteaucitron.fallback(['tac_iframe'], function (x) {
15            var width = x.getAttribute("width"),
16                height = x.getAttribute("height"),
17                url = x.getAttribute("data-url");
18
19            return '<iframe src="' + url + '" width="' + width + '" height="' + height + '" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>';
20        });
21    },
22    "fallback": function () {
23        "use strict";
24        var id = 'iframe';
25        tarteaucitron.fallback(['tac_iframe'], function (elem) {
26            elem.style.width = elem.getAttribute('width') + 'px';
27            elem.style.height = elem.getAttribute('height') + 'px';
28            return tarteaucitron.engage(id);
29        });
30    }
31};
32
33// amplitude
34tarteaucitron.services.amplitude = {
35    "key": "amplitude",
36    "type": "analytic",
37    "name": "Amplitude",
38    "uri": "https://amplitude.com/privacy",
39    "needConsent": true,
40    "cookies": [],
41    "js": function () {
42        "use strict";
43        if (tarteaucitron.user.amplitude === undefined) {
44            return;
45        }
46        tarteaucitron.addScript('https://cdn.amplitude.com/libs/amplitude-5.8.0-min.gz.js', '', function() {
47
48          window.amplitude = {
49             _q: [],
50             _iq: {}
51          };
52          function s(e,t){e.prototype[t]=function(){this._q.push([t].concat(Array.prototype.slice.call(arguments,0)));return this}}
53          var o=function(){this._q=[];return this};
54          var a=["add","append","clearAll","prepend","set","setOnce","unset"];
55          for(var u=0;u<a.length;u++){s(o,a[u])}
56          amplitude.Identify=o;
57          var c=function(){this._q=[];return this};
58          var l=["setProductId","setQuantity","setPrice","setRevenueType","setEventProperties"];
59          for(var p=0;p<l.length;p++){s(c,l[p])}
60          amplitude.Revenue=c;
61          var d=["init","logEvent","logRevenue","setUserId","setUserProperties","setOptOut","setVersionName","setDomain","setDeviceId","enableTracking","setGlobalUserProperties","identify","clearUserProperties","setGroup","logRevenueV2","regenerateDeviceId","groupIdentify","onInit","logEventWithTimestamp","logEventWithGroups","setSessionId","resetSessionId"];
62          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])}}
63          v(amplitude);
64          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]};
65
66          amplitude.getInstance().init(tarteaucitron.user.amplitude);
67        });
68    }
69};
70
71// abtasty
72tarteaucitron.services.abtasty = {
73    "key": "abtasty",
74    "type": "api",
75    "name": "ABTasty",
76    "uri": "https://www.abtasty.com/terms-of-use/",
77    "needConsent": true,
78    "cookies": ['ABTasty', 'ABTastySession'],
79    "js": function () {
80        "use strict";
81        if (tarteaucitron.user.abtastyID === undefined) {
82            return;
83        }
84        tarteaucitron.addScript('//try.abtasty.com/'+tarteaucitron.user.abtastyID+'.js');
85    }
86};
87
88
89// yandex metrica
90tarteaucitron.services.metrica = {
91    "key": "metrica",
92    "type": "analytic",
93    "name": "Yandex Metrica",
94    "uri": "https://yandex.com/legal/confidential/",
95    "needConsent": true,
96    "cookies": ['_ym_metrika_enabled','_ym_isad', '_ym_uid', '_ym_d','yabs-sid','_ym_debug','_ym_mp2_substs','_ym_hostIndex','_ym_mp2_track','yandexuid','usst'],
97    "js": function () {
98        "use strict";
99        if (tarteaucitron.user.yandexmetrica === undefined) {
100            return;
101        }
102        tarteaucitron.addScript('https://mc.yandex.ru/metrika/tag.js', '', function() {
103
104           (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
105            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)})
106           (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
107
108           ym(tarteaucitron.user.yandexmetrica, "init", {
109                clickmap:true,
110                trackLinks:true,
111                accurateTrackBounce:true,
112                webvisor:true,
113                ecommerce:"dataLayer"
114            });
115        });
116    }
117};
118
119// addthis
120tarteaucitron.services.addthis = {
121    "key": "addthis",
122    "type": "social",
123    "name": "AddThis",
124    "uri": "https://www.addthis.com/privacy/privacy-policy#publisher-visitors",
125    "needConsent": true,
126    "cookies": ['__atuvc', '__atuvs'],
127    "js": function () {
128        "use strict";
129        if (tarteaucitron.user.addthisPubId === undefined) {
130            return;
131        }
132        if (tarteaucitron.isAjax === true) {
133            window.addthis = null;
134            window._adr = null;
135            window._atc = null;
136            window._atd = null;
137            window._ate = null;
138            window._atr = null;
139            window._atw = null;
140        }
141        tarteaucitron.fallback(['addthis_sharing_toolbox'], '');
142        tarteaucitron.addScript('//s7.addthis.com/js/300/addthis_widget.js#pubid=' + tarteaucitron.user.addthisPubId);
143    },
144    "fallback": function () {
145        "use strict";
146        var id = 'addthis';
147        tarteaucitron.fallback(['addthis_sharing_toolbox'], tarteaucitron.engage(id));
148    }
149};
150
151// addtoanyfeed
152tarteaucitron.services.addtoanyfeed = {
153    "key": "addtoanyfeed",
154    "type": "social",
155    "name": "AddToAny (feed)",
156    "uri": "https://www.addtoany.com/privacy",
157    "needConsent": true,
158    "cookies": [],
159    "js": function () {
160        "use strict";
161        if (tarteaucitron.user.addtoanyfeedUri === undefined) {
162            return;
163        }
164        tarteaucitron.user.addtoanyfeedSubscribeLink = 'https://www.addtoany.com/subscribe?linkurl=' + tarteaucitron.user.addtoanyfeedUri;
165        window.a2a_config = window.a2a_config || {};
166        window.a2a_config.linkurl = tarteaucitron.user.addtoanyfeedUri;
167        tarteaucitron.addScript('//static.addtoany.com/menu/feed.js');
168    },
169    "fallback": function () {
170        "use strict";
171        tarteaucitron.user.addtoanyfeedSubscribeLink = 'https://www.addtoany.com/subscribe?linkurl=' + tarteaucitron.user.addtoanyfeedUri;
172    }
173};
174
175// addtoanyshare
176tarteaucitron.services.addtoanyshare = {
177    "key": "addtoanyshare",
178    "type": "social",
179    "name": "AddToAny (share)",
180    "uri": "https://www.addtoany.com/privacy",
181    "needConsent": true,
182    "cookies": [],
183    "js": function () {
184        "use strict";
185        tarteaucitron.fallback(['tac_addtoanyshare'], '');
186        tarteaucitron.addScript('//static.addtoany.com/menu/page.js');
187    },
188    "fallback": function () {
189        "use strict";
190        var id = 'addtoanyshare';
191        tarteaucitron.fallback(['tac_addtoanyshare'], tarteaucitron.engage(id));
192    }
193};
194
195// aduptech ads
196tarteaucitron.services.aduptech_ads = {
197    "key": "aduptech_ads",
198    "type": "ads",
199    "name": "Ad Up Technology (ads)",
200    "uri": "https://www.adup-tech.com/datenschutz",
201    "needConsent": true,
202    "cookies": [],
203    "js": function () {
204        "use strict";
205
206        var IDENTIFIER = "aduptech_ads",
207            API_URL = "https://s.d.adup-tech.com/jsapi";
208
209        var elements = document.getElementsByClassName(IDENTIFIER);
210        if (!elements || elements.length === 0) {
211            return;
212        }
213
214        tarteaucitron.fallback([IDENTIFIER], "");
215
216        tarteaucitron.addScript(API_URL, "", function() {
217            for (var i = 0; i < elements.length; i++) {
218                var element = elements[i];
219
220                if (!element.getAttribute("id")) {
221                    element.setAttribute("id", IDENTIFIER + Math.random().toString(36).substr(2, 9));
222                }
223
224                window.uAd.embed(element.getAttribute("id"), {
225                    placementKey: element.getAttribute("placementKey"),
226                    responsive: Boolean(element.getAttribute("responsive")),
227                    lazy: Boolean(element.getAttribute("lazy")),
228                    adtest: Boolean(element.getAttribute("test")),
229                    query: element.getAttribute("query") || "",
230                    minCpc: element.getAttribute("minCpc") || "",
231                    pageUrl: element.getAttribute("pageUrl") || "",
232                    skip: element.getAttribute("skip") || ""
233                });
234            }
235        });
236
237    },
238    "fallback": function () {
239        "use strict";
240        tarteaucitron.fallback(["aduptech_ads"], tarteaucitron.engage("aduptech_ads"));
241    }
242};
243
244// aduptech conversion
245tarteaucitron.services.aduptech_conversion = {
246    "key": "aduptech_conversion",
247    "type": "ads",
248    "name": "Ad Up Technology (conversion)",
249    "uri": "https://www.adup-tech.com/datenschutz",
250    "needConsent": true,
251    "cookies": [],
252    "js": function () {
253        "use strict";
254
255        var IDENTIFIER = "aduptech_conversion",
256            CONVERSION_PIXEL_BASE_URL = "https://d.adup-tech.com/campaign/conversion";
257
258        var elements = document.getElementsByClassName(IDENTIFIER);
259        if (!elements || elements.length === 0) {
260            return;
261        }
262
263        tarteaucitron.fallback([IDENTIFIER], "");
264
265        for (var i = 0; i < elements.length; i++) {
266            var element = elements[i];
267
268            if (!element.getAttribute("advertiserId") || !element.getAttribute("conversionCode")) {
269                continue;
270            }
271
272            var url = CONVERSION_PIXEL_BASE_URL +
273                "/" + encodeURIComponent(element.getAttribute("advertiserId")) +
274                "?t=" + encodeURIComponent(element.getAttribute("conversionCode"));
275
276            if (element.getAttribute("price")) {
277                url += "&price=" + encodeURIComponent(element.getAttribute("price"));
278            }
279
280            if (element.getAttribute("quantity")) {
281                url += "&quantity=" + encodeURIComponent(element.getAttribute("quantity"));
282            }
283
284            if (element.getAttribute("total")) {
285                url += "&total=" + encodeURIComponent(element.getAttribute("total"));
286            }
287
288            if (element.getAttribute("orderId")) {
289                url += "&order_id=" + encodeURIComponent(element.getAttribute("orderId"));
290            }
291
292            if (element.getAttribute("itemNumber")) {
293                url += "&item_number=" + encodeURIComponent(element.getAttribute("itemNumber"));
294            }
295
296            if (element.getAttribute("description")) {
297                url += "&description=" + encodeURIComponent(element.getAttribute("description"));
298            }
299
300            (new Image()).src = url;
301        }
302    }
303};
304
305// aduptech retargeting
306tarteaucitron.services.aduptech_retargeting = {
307    "key": "aduptech_retargeting",
308    "type": "ads",
309    "name": "Ad Up Technology (retargeting)",
310    "uri": "https://www.adup-tech.com/datenschutz",
311    "needConsent": true,
312    "cookies": [],
313    "js": function () {
314        "use strict";
315
316        var IDENTIFIER = "aduptech_retargeting",
317            API_URL = "https://s.d.adup-tech.com/services/retargeting.js";
318
319        var elements = document.getElementsByClassName(IDENTIFIER);
320        if (!elements || elements.length === 0) {
321            return;
322        }
323
324        tarteaucitron.fallback([IDENTIFIER], "");
325
326        window.AdUpRetargeting = function(api) {
327            for (var i = 0; i < elements.length; i++) {
328                var element = elements[i];
329
330                api.init();
331
332                api.setAccount(element.getAttribute("account"));
333
334                if (element.getAttribute("email")) {
335                    api.setEmail(element.getAttribute("email"));
336                } else if (element.getAttribute("hashedEmail")) {
337                    api.setHashedEmail(element.getAttribute("hashedEmail"));
338                }
339
340                if (element.getAttribute("product")) {
341                    try {
342                        api.setProduct(JSON.parse(element.getAttribute("product")));
343                    } catch (e) {
344                        api.setProduct(element.getAttribute("product"));
345                    }
346                }
347
348                if (element.getAttribute("transaction")) {
349                    try {
350                        api.setTransaction(JSON.parse(element.getAttribute("transaction")));
351                    } catch (e) {
352                        api.setTransaction(element.getAttribute("transaction"));
353                    }
354                }
355
356                if (element.getAttribute("demarkUser")) {
357                    api.setDemarkUser();
358                } else if (element.getAttribute("demarkProducts")) {
359                    api.setDemarkProducts();
360                }
361
362                if (element.getAttribute("conversionCode")) {
363                    api.setConversionCode(element.getAttribute("conversionCode"));
364                }
365
366                if (element.getAttribute("device")) {
367                    var setter = "set" + element.getAttribute("device").charAt(0).toUpperCase() + element.getAttribute("device").slice(1);
368                    if (typeof api[setter] === 'function') {
369                        api[setter]();
370                    }
371                }
372
373                if (element.getAttribute("track")) {
374                    var tracker = "track" + element.getAttribute("track").charAt(0).toUpperCase() + element.getAttribute("track").slice(1);
375                    if (typeof api[tracker] === "function") {
376                        api[tracker]();
377                    } else {
378                        api.trackHomepage();
379                    }
380                }
381            };
382        };
383
384        tarteaucitron.addScript(API_URL);
385    }
386};
387
388// alexa
389tarteaucitron.services.alexa = {
390    "key": "alexa",
391    "type": "analytic",
392    "name": "Alexa",
393    "uri": "https://www.alexa.com/help/privacy",
394    "needConsent": true,
395    "cookies": ['__asc', '__auc'],
396    "js": function () {
397        "use strict";
398        if (tarteaucitron.user.alexaAccountID === undefined) {
399            return;
400        }
401        window._atrk_opts = {
402            atrk_acct: tarteaucitron.user.alexaAccountID,
403            domain: window.location.hostname.match(/[^\.]*\.[^.]*$/)[0],
404            dynamic: true
405        };
406        tarteaucitron.addScript('https://d31qbv1cthcecs.cloudfront.net/atrk.js');
407    }
408};
409
410// amazon
411tarteaucitron.services.amazon = {
412    "key": "amazon",
413    "type": "ads",
414    "name": "Amazon",
415    "uri": "https://www.amazon.com/gp/help/customer/display.html/ref=help_search_1-1?ie=UTF8&nodeId=201909010&qid=1544617177&sr=1-1",
416    "needConsent": true,
417    "cookies": [],
418    "js": function () {
419        "use strict";
420        tarteaucitron.fallback(['amazon_product'], function (x) {
421            var amazonId = x.getAttribute("amazonid"),
422                productId = x.getAttribute("productid"),
423                url = '//ws-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=' + tarteaucitron.getLanguage().toUpperCase() + '&source=ss&ref=ss_til&ad_type=product_link&tracking_id=' + amazonId + '&marketplace=amazon&region=' + tarteaucitron.getLanguage().toUpperCase() + '&placement=' + productId + '&asins=' + productId + '&show_border=true&link_opens_in_new_window=true',
424                iframe = '<iframe style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="' + url + '"></iframe>';
425
426            return iframe;
427        });
428    },
429    "fallback": function () {
430        "use strict";
431        var id = 'amazon';
432        tarteaucitron.fallback(['amazon_product'], tarteaucitron.engage(id));
433    }
434};
435
436// calameo
437tarteaucitron.services.calameo = {
438    "key": "calameo",
439    "type": "video",
440    "name": "Calameo",
441    "uri": "https://fr.calameo.com/privacy",
442    "needConsent": true,
443    "cookies": [],
444    "js": function () {
445        "use strict";
446        tarteaucitron.fallback(['calameo-canvas'], function (x) {
447            var id = x.getAttribute("data-id"),
448                width = x.getAttribute("width"),
449                height = x.getAttribute("height"),
450                url = '//v.calameo.com/?bkcode=' + id;
451
452            return '<iframe src="' + url + '" width="' + width + '" height="' + height + '" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>';
453        });
454    },
455    "fallback": function () {
456        "use strict";
457        var id = 'calameo';
458        tarteaucitron.fallback(['calameo-canvas'], function (elem) {
459            elem.style.width = elem.getAttribute('width') + 'px';
460            elem.style.height = elem.getAttribute('height') + 'px';
461            return tarteaucitron.engage(id);
462        });
463    }
464};
465
466// clicky
467tarteaucitron.services.clicky = {
468    "key": "clicky",
469    "type": "analytic",
470    "name": "Clicky",
471    "uri": "https://clicky.com/terms",
472    "needConsent": true,
473    "cookies": ['_jsuid', '_eventqueue', '_referrer_og', '_utm_og', '_first_pageview', 'clicky_olark', 'no_trackyy_' + tarteaucitron.user.clickyId, 'unpoco_' + tarteaucitron.user.clickyId, 'heatmaps_g2g_' + tarteaucitron.user.clickyId],
474    "js": function () {
475        "use strict";
476        if (tarteaucitron.user.clickyId === undefined) {
477            return;
478        }
479        tarteaucitron.addScript('//static.getclicky.com/js', '', function () {
480            if (typeof clicky.init === 'function') {
481                clicky.init(tarteaucitron.user.clickyId);
482            }
483            if (typeof tarteaucitron.user.clickyMore === 'function') {
484                tarteaucitron.user.clickyMore();
485            }
486        });
487    }
488};
489
490// clicmanager
491tarteaucitron.services.clicmanager = {
492    "key": "clicmanager",
493    "type": "ads",
494    "name": "Clicmanager",
495    "uri": "http://www.clicmanager.fr/infos_legales.php",
496    "needConsent": true,
497    "cookies": [],
498    "js": function () {
499        "use strict";
500        var uniqIds = [],
501            i,
502            uri;
503
504        tarteaucitron.fallback(['clicmanager-canvas'], function (x) {
505            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
506            uniqIds.push(uniqId);
507            return '<div id="' + uniqId + '" c="' + x.getAttribute('c') + '" s="' + x.getAttribute('s') + '" t="' + x.getAttribute('t') + '"></div>';
508        });
509
510        for (i = 0; i < uniqIds.length; i += 1) {
511            uri = '//ads.clicmanager.fr/exe.php?';
512            uri += 'c=' + document.getElementById(uniqIds[i]).getAttribute('c') + '&';
513            uri += 's=' + document.getElementById(uniqIds[i]).getAttribute('s') + '&';
514            uri += 't=' + document.getElementById(uniqIds[i]).getAttribute('t');
515
516            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
517        }
518    },
519    "fallback": function () {
520        "use strict";
521        var id = 'clicmanager';
522        tarteaucitron.fallback(['clicmanager-canvas'], tarteaucitron.engage(id));
523    }
524};
525
526// contentsquare
527tarteaucitron.services.contentsquare = {
528    "key": "contentsquare",
529    "type": "api",
530    "name": "ContentSquare",
531    "uri": "https://docs.contentsquare.com/uxa-en/#collected-data",
532    "needConsent": true,
533    "cookies": ['_cs_id', '_cs_s', '_cs_vars', '_cs_ex', '_cs_c', '_cs_optout'],
534    "js": function () {
535        "use strict";
536        if (tarteaucitron.user.contentsquareID === undefined) {
537            return;
538        }
539        tarteaucitron.addScript('//t.contentsquare.net/uxa/'+tarteaucitron.user.contentsquareID+'.js');
540    }
541};
542
543// crazyegg
544tarteaucitron.services.crazyegg = {
545    "key": "crazyegg",
546    "type": "analytic",
547    "name": "Crazy Egg",
548    "uri": "https://www.crazyegg.com/privacy",
549    "needConsent": true,
550    "cookies": [],
551    "js": function () {
552        "use strict";
553
554        if (tarteaucitron.user.crazyeggId === undefined) {
555            return;
556        }
557
558        tarteaucitron.addScript('//script.crazyegg.com/pages/scripts/' + tarteaucitron.user.crazyeggId.substr(0, 4) + '/' + tarteaucitron.user.crazyeggId.substr(4, 4) + '.js');
559    }
560};
561
562// criteo
563tarteaucitron.services.criteo = {
564    "key": "criteo",
565    "type": "ads",
566    "name": "Criteo",
567    "uri": "http://www.criteo.com/privacy/",
568    "needConsent": true,
569    "cookies": [],
570    "js": function () {
571        "use strict";
572        document.MAX_ct0 = '';
573        var uniqIds = [],
574            i,
575            uri;
576
577        tarteaucitron.fallback(['criteo-canvas'], function (x) {
578            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
579            uniqIds.push(uniqId);
580            return '<div id="' + uniqId + '" zoneid="' + x.getAttribute('zoneid') + '"></div>';
581        });
582
583        for (i = 0; i < uniqIds.length; i += 1) {
584            uri = '//cas.criteo.com/delivery/ajs.php?';
585            uri += 'zoneid=' + document.getElementById(uniqIds[i]).getAttribute('zoneid');
586            uri += '&nodis=1&cb=' + Math.floor(Math.random() * 99999999999);
587            uri += '&loc=' + encodeURI(window.location);
588            uri += (document.MAX_used !== ',') ? '&exclude=' + document.MAX_used : '';
589            uri += (document.charset !== undefined ? '&charset=' + document.charset : '');
590            uri += (document.characterSet !== undefined ? '&charset=' + document.characterSet : '');
591            uri += (document.referrer !== undefined) ? '&referer=' + encodeURI(document.referrer) : '';
592            uri += (document.context !== undefined) ? '&context=' + encodeURI(document.context) : '';
593            uri += ((document.MAX_ct0 !== undefined) && (document.MAX_ct0.substring(0, 4) === 'http')) ? '&ct0=' + encodeURI(document.MAX_ct0) : '';
594            uri += (document.mmm_fo !== undefined) ? '&mmm_fo=1' : '';
595
596            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
597        }
598    },
599    "fallback": function () {
600        "use strict";
601        var id = 'criteo';
602        tarteaucitron.fallback(['criteo-canvas'], tarteaucitron.engage(id));
603    }
604};
605
606// dailymotion
607tarteaucitron.services.dailymotion = {
608    "key": "dailymotion",
609    "type": "video",
610    "name": "Dailymotion",
611    "uri": "https://www.dailymotion.com/legal/privacy",
612    "needConsent": true,
613    "cookies": ['ts', 'dmvk', 'hist', 'v1st', 's_vi'],
614    "js": function () {
615        "use strict";
616        tarteaucitron.fallback(['dailymotion_player'], function (x) {
617            var video_id = x.getAttribute("videoID"),
618                video_width = x.getAttribute("width"),
619                frame_width = 'width=',
620                video_height = x.getAttribute("height"),
621                frame_height = 'height=',
622                video_frame,
623                params = 'info=' + x.getAttribute("showinfo") + '&autoPlay=' + x.getAttribute("autoplay");
624
625            if (video_id === undefined) {
626                return "";
627            }
628            if (video_width !== undefined) {
629                frame_width += '"' + video_width + '" ';
630            } else {
631                frame_width += '"" ';
632            }
633            if (video_height !== undefined) {
634                frame_height +=  '"' + video_height + '" ';
635            } else {
636                frame_height += '"" ';
637            }
638            video_frame = '<iframe src="//www.dailymotion.com/embed/video/' + video_id + '?' + params + '" ' + frame_width + frame_height + ' frameborder="0" allowfullscreen></iframe>';
639            return video_frame;
640        });
641    },
642    "fallback": function () {
643        "use strict";
644        var id = 'dailymotion';
645        tarteaucitron.fallback(['dailymotion_player'], function (elem) {
646            elem.style.width = elem.getAttribute('width') + 'px';
647            elem.style.height = elem.getAttribute('height') + 'px';
648            return tarteaucitron.engage(id);
649        });
650    }
651};
652
653// dating affiliation
654tarteaucitron.services.datingaffiliation = {
655    "key": "datingaffiliation",
656    "type": "ads",
657    "name": "Dating Affiliation",
658    "uri": "http://www.dating-affiliation.com/conditions-generales.php",
659    "needConsent": true,
660    "cookies": [],
661    "js": function () {
662        "use strict";
663        tarteaucitron.fallback(['datingaffiliation-canvas'], function (x) {
664            var comfrom = x.getAttribute("data-comfrom"),
665                r = x.getAttribute("data-r"),
666                p = x.getAttribute("data-p"),
667                cf0 = x.getAttribute("data-cf0"),
668                langue = x.getAttribute("data-langue"),
669                forward_affiliate = x.getAttribute("data-forwardAffiliate"),
670                cf2 = x.getAttribute("data-cf2"),
671                cfsa2 = x.getAttribute("data-cfsa2"),
672                width = x.getAttribute("width"),
673                height = x.getAttribute("height"),
674                url = 'http://www.tools-affil2.com/rotaban/ban.php?' + comfrom;
675
676            return '<iframe src="' + url + '&r=' + r + '&p=' + p + '&cf0=' + cf0 + '&langue=' + langue + '&forward_affiliate=' + forward_affiliate + '&cf2=' + cf2 + '&cfsa2=' + cfsa2 + '" width="' + width + '" height="' + height + '" frameborder="0" marginheight="0" marginwidth="0" scrolling="no"></iframe>';
677        });
678    },
679    "fallback": function () {
680        "use strict";
681        var id = 'datingaffiliation';
682        tarteaucitron.fallback(['datingaffiliation-canvas'], function (elem) {
683            elem.style.width = elem.getAttribute('width') + 'px';
684            elem.style.height = elem.getAttribute('height') + 'px';
685            return tarteaucitron.engage(id);
686        });
687    }
688};
689
690// dating affiliation popup
691tarteaucitron.services.datingaffiliationpopup = {
692    "key": "datingaffiliationpopup",
693    "type": "ads",
694    "name": "Dating Affiliation (Pop Up)",
695    "uri": "http://www.dating-affiliation.com/conditions-generales.php",
696    "needConsent": true,
697    "cookies": ['__utma', '__utmb', '__utmc', '__utmt_Tools', '__utmv', '__utmz', '_ga', '_gat', '_gat_UA-65072040-17', '__da-pu-xflirt-ID-pc-o169'],
698    "js": function () {
699        "use strict";
700        var uniqIds = [],
701            i,
702            uri;
703
704        tarteaucitron.fallback(['datingaffiliationpopup-canvas'], function (x) {
705            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
706            uniqIds.push(uniqId);
707            return '<div id="' + uniqId + '" uri="' + x.getAttribute('uri') + '" comfrom="' + x.getAttribute('comfrom') + '" promo="' + x.getAttribute('promo') + '" productid="' + x.getAttribute('productid') + '" submitconfig="' + x.getAttribute('submitconfig') + '" ur="' + x.getAttribute('ur') + '" brand="' + x.getAttribute('brand') + '" lang="' + x.getAttribute('lang') + '" cf0="' + x.getAttribute('cf0') + '" cf2="' + x.getAttribute('cf2') + '" subid1="' + x.getAttribute('subid1') + '" cfsa2="' + x.getAttribute('cfsa2') + '" subid2="' + x.getAttribute('subid2') + '" nicheid="' + x.getAttribute('nicheid') + '" degreid="' + x.getAttribute('degreid') + '" bt="' + x.getAttribute('bt') + '" vis="' + x.getAttribute('vis') + '" hid="' + x.getAttribute('hid') + '" snd="' + x.getAttribute('snd') + '" aabd="' + x.getAttribute('aabd') + '" aabs="' + x.getAttribute('aabs') + '"></div>';
708        });
709
710        for (i = 0; i < uniqIds.length; i += 1) {
711            uri = 'http://www.promotools.biz/da/popunder/script.php?';
712            uri += 'comfrom=' + document.getElementById(uniqIds[i]).getAttribute('comfrom') + '&';
713            uri += 'promo=' + document.getElementById(uniqIds[i]).getAttribute('promo') + '&';
714            uri += 'product_id=' + document.getElementById(uniqIds[i]).getAttribute('productid') + '&';
715            uri += 'submitconfig=' + document.getElementById(uniqIds[i]).getAttribute('submitconfig') + '&';
716            uri += 'ur=' + document.getElementById(uniqIds[i]).getAttribute('ur') + '&';
717            uri += 'brand=' + document.getElementById(uniqIds[i]).getAttribute('brand') + '&';
718            uri += 'lang=' + document.getElementById(uniqIds[i]).getAttribute('lang') + '&';
719            uri += 'cf0=' + document.getElementById(uniqIds[i]).getAttribute('cf0') + '&';
720            uri += 'cf2=' + document.getElementById(uniqIds[i]).getAttribute('cf2') + '&';
721            uri += 'subid1=' + document.getElementById(uniqIds[i]).getAttribute('subid1') + '&';
722            uri += 'cfsa2=' + document.getElementById(uniqIds[i]).getAttribute('cfsa2') + '&';
723            uri += 'subid2=' + document.getElementById(uniqIds[i]).getAttribute('subid2') + '&';
724            uri += 'nicheId=' + document.getElementById(uniqIds[i]).getAttribute('nicheid') + '&';
725            uri += 'degreId=' + document.getElementById(uniqIds[i]).getAttribute('degreid') + '&';
726            uri += 'bt=' + document.getElementById(uniqIds[i]).getAttribute('bt') + '&';
727            uri += 'vis=' + document.getElementById(uniqIds[i]).getAttribute('vis') + '&';
728            uri += 'hid=' + document.getElementById(uniqIds[i]).getAttribute('hid') + '&';
729            uri += 'snd=' + document.getElementById(uniqIds[i]).getAttribute('snd') + '&';
730            uri += 'aabd=' + document.getElementById(uniqIds[i]).getAttribute('aabd') + '&';
731            uri += 'aabs=' + document.getElementById(uniqIds[i]).getAttribute('aabs');
732
733            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
734        }
735    },
736    "fallback": function () {
737        "use strict";
738        var id = 'datingaffiliationpopup';
739        tarteaucitron.fallback(['datingaffiliationpopup-canvas'], tarteaucitron.engage(id));
740    }
741};
742
743// leadforensics
744tarteaucitron.services.leadforensics = {
vendor: 13,267 bytes, lines 745-1151
745    "key": "leadforensics",
746    "type": "analytic",
747    "name": "LeadForensics",
748    "uri": "https://www.leadforensics.com/privacy-policy/",
749    "needConsent": true,
750    "cookies": ['trackalyzer'],
751    "js": function () {
752        "use strict";
753        if (tarteaucitron.user.leadforensicsSf14gv === undefined ||
754            tarteaucitron.user.leadforensicsIidentifier === undefined) {
755            return;
756        }
757
758        window.sf14gv = tarteaucitron.user.leadforensicsSf14gv;
759
760        (function() {
761            var sf14g = document.createElement('script'); sf14g.type = 'text/javascript'; sf14g.async = true;
762            sf14g.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 't.sf14g.com/sf14g.js';
763            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sf14g, s);
764        })();
765
766        tarteaucitron.addScript('//secure.leadforensics.com/js/' + tarteaucitron.user.leadforensicsIidentifier + '.js');
767    }
768};
769
770// disqus
771tarteaucitron.services.disqus = {
772    "key": "disqus",
773    "type": "comment",
774    "name": "Disqus",
775    "uri": "https://help.disqus.com/customer/portal/articles/466259-privacy-policy",
776    "needConsent": true,
777    "cookies": [],
778    "js": function () {
779        "use strict";
780        if (tarteaucitron.user.disqusShortname === undefined) {
781            return;
782        }
783        tarteaucitron.addScript('//' + tarteaucitron.user.disqusShortname + '.disqus.com/embed.js');
784        tarteaucitron.addScript('//' + tarteaucitron.user.disqusShortname + '.disqus.com/count.js');
785    },
786    "fallback": function () {
787        "use strict";
788        var id = 'disqus';
789
790        if (document.getElementById('disqus_thread')) {
791            document.getElementById('disqus_thread').innerHTML = tarteaucitron.engage(id);
792        }
793    }
794};
795
796// ekomi
797tarteaucitron.services.ekomi = {
798    "key": "ekomi",
799    "type": "social",
800    "name": "eKomi",
801    "uri": "http://www.ekomi-us.com/us/privacy/",
802    "needConsent": true,
803    "cookies": [],
804    "js": function () {
805        "use strict";
806        if (tarteaucitron.user.ekomiCertId === undefined) {
807            return;
808        }
809        window.eKomiIntegrationConfig = [
810            {certId: tarteaucitron.user.ekomiCertId}
811        ];
812        tarteaucitron.addScript('//connect.ekomi.de/integration_1410173009/' + tarteaucitron.user.ekomiCertId + '.js');
813    }
814};
815
816// etracker
817tarteaucitron.services.etracker = {
818    "key": "etracker",
819    "type": "analytic",
820    "name": "eTracker",
821    "uri": "https://www.etracker.com/en/data-protection.html",
822    "needConsent": true,
823    "cookies": [],
824    "js": function () {
825        "use strict";
826        if (tarteaucitron.user.etracker === undefined) {
827            return;
828        }
829
830        tarteaucitron.addScript('//static.etracker.com/code/e.js', '_etLoader', function () {}, true, "data-secure-code", tarteaucitron.user.etracker);
831    }
832};
833
834// facebook
835tarteaucitron.services.facebook = {
836    "key": "facebook",
837    "type": "social",
838    "name": "Facebook",
839    "uri": "https://www.facebook.com/policies/cookies/",
840    "needConsent": true,
841    "cookies": [],
842    "js": function () {
843        "use strict";
844        tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], '');
845        tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.0', 'facebook-jssdk');
846        if (tarteaucitron.isAjax === true) {
847            if (typeof FB !== "undefined") {
848                FB.XFBML.parse();
849            }
850        }
851    },
852    "fallback": function () {
853        "use strict";
854        var id = 'facebook';
855        tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], tarteaucitron.engage(id));
856    }
857};
858
859// facebooklikebox
860tarteaucitron.services.facebooklikebox = {
861    "key": "facebooklikebox",
862    "type": "social",
863    "name": "Facebook (like box)",
864    "uri": "https://www.facebook.com/policies/cookies/",
865    "needConsent": true,
866    "cookies": [],
867    "js": function () {
868        "use strict";
869        tarteaucitron.fallback(['fb-like-box', 'fb-page'], '');
870        tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.3', 'facebook-jssdk');
871        if (tarteaucitron.isAjax === true) {
872            if (typeof FB !== "undefined") {
873                FB.XFBML.parse();
874            }
875        }
876    },
877    "fallback": function () {
878        "use strict";
879        var id = 'facebooklikebox';
880        tarteaucitron.fallback(['fb-like-box', 'fb-page'], tarteaucitron.engage(id));
881    }
882};
883
884// facebookcomment
885tarteaucitron.services.facebookcomment = {
886    "key": "facebookcomment",
887    "type": "comment",
888    "name": "Facebook (commentaire)",
889    "uri": "https://www.facebook.com/policies/cookies/",
890    "needConsent": true,
891    "cookies": [],
892    "js": function () {
893        "use strict";
894        tarteaucitron.fallback(['fb-comments'], '');
895        tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.0', 'facebook-jssdk');
896        if (tarteaucitron.isAjax === true) {
897            if (typeof FB !== "undefined") {
898                FB.XFBML.parse();
899            }
900        }
901    },
902    "fallback": function () {
903        "use strict";
904        var id = 'facebookcomment';
905        tarteaucitron.fallback(['fb-comments'], tarteaucitron.engage(id));
906    }
907};
908
909// ferank
910tarteaucitron.services.ferank = {
911    "key": "ferank",
912    "type": "analytic",
913    "name": "FERank",
914    "uri": "https://www.ferank.fr/respect-vie-privee/#mesureaudience",
915    "needConsent": false,
916    "cookies": [],
917    "js": function () {
918        "use strict";
919        tarteaucitron.addScript('//static.ferank.fr/pixel.js', '', function () {
920            if (typeof tarteaucitron.user.ferankMore === 'function') {
921                tarteaucitron.user.ferankMore();
922            }
923        });
924    }
925};
926
927// ferank pub
928tarteaucitron.services.ferankpub = {
929    "key": "ferankpub",
930    "type": "ads",
931    "name": "FERank (pub)",
932    "uri": "https://www.ferank.fr/respect-vie-privee/#regiepublicitaire",
933    "needConsent": false,
934    "cookies": [],
935    "js": function () {
936        "use strict";
937        tarteaucitron.addScript('//static.ferank.fr/publicite.async.js');
938        if (tarteaucitron.isAjax === true) {
939            if (typeof ferankReady === 'function') {
940                ferankReady();
941            }
942        }
943    },
944    "fallback": function () {
945        "use strict";
946        var id = 'ferankpub';
947        tarteaucitron.fallback(['ferank-publicite'], tarteaucitron.engage(id));
948    }
949};
950
951// get+
952tarteaucitron.services.getplus = {
953    "key": "getplus",
954    "type": "analytic",
955    "name": "Get+",
956    "uri": "http://www.getplus.fr/Conditions-generales-de-vente_a226.html",
957    "needConsent": true,
958    "cookies": ['_first_pageview', '_jsuid', 'no_trackyy_' + tarteaucitron.user.getplusId, '_eventqueue'],
959    "js": function () {
960        "use strict";
961        if (tarteaucitron.user.getplusId === undefined) {
962            return;
963        }
964
965        window.webleads_site_ids = window.webleads_site_ids || [];
966        window.webleads_site_ids.push(tarteaucitron.user.getplusId);
967        tarteaucitron.addScript('//stats.webleads-tracker.com/js');
968    }
969};
970
971// google+
972tarteaucitron.services.gplus = {
973    "key": "gplus",
974    "type": "social",
975    "name": "Google+",
976    "uri": "https://policies.google.com/privacy",
977    "needConsent": true,
978    "cookies": [],
979    "js": function () {
980        "use strict";
981        tarteaucitron.addScript('https://apis.google.com/js/platform.js');
982    },
983    "fallback": function () {
984        "use strict";
985        var id = 'gplus';
986        tarteaucitron.fallback(['g-plus', 'g-plusone'], tarteaucitron.engage(id));
987    }
988};
989
990// google+ badge
991tarteaucitron.services.gplusbadge = {
992    "key": "gplusbadge",
993    "type": "social",
994    "name": "Google+ (badge)",
995    "uri": "https://policies.google.com/privacy",
996    "needConsent": true,
997    "cookies": [],
998    "js": function () {
999        "use strict";
1000        tarteaucitron.addScript('https://apis.google.com/js/platform.js');
1001    },
1002    "fallback": function () {
1003        "use strict";
1004        var id = 'gplusbadge';
1005        tarteaucitron.fallback(['g-page', 'g-person'], tarteaucitron.engage(id));
1006    }
1007};
1008
1009// google adsense
1010tarteaucitron.services.adsense = {
1011    "key": "adsense",
1012    "type": "ads",
1013    "name": "Google Adsense",
1014    "uri": "https://adssettings.google.com/",
1015    "needConsent": true,
1016    "cookies": [],
1017    "js": function () {
1018        "use strict";
1019        tarteaucitron.addScript('https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js');
1020    },
1021    "fallback": function () {
1022        "use strict";
1023        var id = 'adsense';
1024        tarteaucitron.fallback(['adsbygoogle'], tarteaucitron.engage(id));
1025    }
1026};
1027
1028// google partners badge
1029tarteaucitron.services.googlepartners = {
1030    "key": "googlepartners",
1031    "type": "ads",
1032    "name": "Google Partners Badge",
1033    "uri": "https://adssettings.google.com/",
1034    "needConsent": true,
1035    "cookies": [],
1036    "js": function () {
1037        "use strict";
1038        tarteaucitron.addScript('https://apis.google.com/js/platform.js');
1039    },
1040    "fallback": function () {
1041        "use strict";
1042        var id = 'googlepartners';
1043        tarteaucitron.fallback(['g-partnersbadge'], tarteaucitron.engage(id));
1044    }
1045};
1046
1047// google adsense search (form)
1048tarteaucitron.services.adsensesearchform = {
1049    "key": "adsensesearchform",
1050    "type": "ads",
1051    "name": "Google Adsense Search (form)",
1052    "uri": "https://adssettings.google.com/",
1053    "needConsent": true,
1054    "cookies": [],
1055    "js": function () {
1056        "use strict";
1057        tarteaucitron.addScript('//www.google.com/coop/cse/brand?form=cse-search-box&lang=' + tarteaucitron.getLanguage());
1058    }
1059};
1060
1061// google adsense search (result)
1062tarteaucitron.services.adsensesearchresult = {
1063    "key": "adsensesearchresult",
1064    "type": "ads",
1065    "name": "Google Adsense Search (result)",
1066    "uri": "https://adssettings.google.com/",
1067    "needConsent": true,
1068    "cookies": [],
1069    "js": function () {
1070        "use strict";
1071        if (tarteaucitron.user.adsensesearchresultCx === undefined) {
1072            return;
1073        }
1074        tarteaucitron.addScript('//www.google.com/cse/cse.js?cx=' + tarteaucitron.user.adsensesearchresultCx);
1075    },
1076    "fallback": function () {
1077        "use strict";
1078        var id = 'adsensesearchresult';
1079
1080        if (document.getElementById('gcse_searchresults')) {
1081            document.getElementById('gcse_searchresults').innerHTML = tarteaucitron.engage(id);
1082        }
1083    }
1084};
1085
1086// googleadwordsconversion
1087tarteaucitron.services.googleadwordsconversion = {
1088    "key": "googleadwordsconversion",
1089    "type": "ads",
1090    "name": "Google Adwords (conversion)",
1091    "uri": "https://www.google.com/settings/ads",
1092    "needConsent": true,
1093    "cookies": [],
1094    "js": function () {
1095        "use strict";
1096        if (tarteaucitron.user.adwordsconversionId === undefined) {
1097            return;
1098        }
1099
1100        tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () {
1101            window.google_trackConversion({
1102                google_conversion_id: tarteaucitron.user.adwordsconversionId,
1103                google_conversion_label: tarteaucitron.user.adwordsconversionLabel,
1104                google_conversion_language: tarteaucitron.user.adwordsconversionLanguage,
1105                google_conversion_format: tarteaucitron.user.adwordsconversionFormat,
1106                google_conversion_color: tarteaucitron.user.adwordsconversionColor,
1107                google_conversion_value: tarteaucitron.user.adwordsconversionValue,
1108                google_conversion_currency: tarteaucitron.user.adwordsconversionCurrency,
1109                google_custom_params: {
1110                    parameter1: tarteaucitron.user.adwordsconversionCustom1,
1111                    parameter2: tarteaucitron.user.adwordsconversionCustom2
1112                }
1113            });
1114        });
1115    }
1116};
1117
1118// googleadwordsremarketing
1119tarteaucitron.services.googleadwordsremarketing = {
1120    "key": "googleadwordsremarketing",
1121    "type": "ads",
1122    "name": "Google Adwords (remarketing)",
1123    "uri": "https://www.google.com/settings/ads",
1124    "needConsent": true,
1125    "cookies": [],
1126    "js": function () {
1127        "use strict";
1128        if (tarteaucitron.user.adwordsremarketingId === undefined) {
1129            return;
1130        }
1131
1132        tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () {
1133            window.google_trackConversion({
1134                google_conversion_id: tarteaucitron.user.adwordsremarketingId,
1135                google_remarketing_only: true
1136            });
1137        });
1138    }
1139};
1140
1141// google analytics (old)
1142tarteaucitron.services.gajs = {
1143    "key": "gajs",
1144    "type": "analytic",
1145    "name": "Google Analytics (ga.js)",
1146    "uri": "https://support.google.com/analytics/answer/6004245",
1147    "needConsent": true,
1148    "cookies": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz'],
1149    "js": function () {
1150        "use strict";
1151        window._gaq = window._gaq || [];
1152        window._gaq.push(['_setAccount', tarteaucitron.user.gajsUa]);
1153
1154        if (tarteaucitron.user.gajsAnonymizeIp) {
1155            window._gaq.push (['_gat._anonymizeIp']);
1156        }
1157
1158        if (tarteaucitron.user.gajsPageView) {
1159            window._gaq.push(['_trackPageview, ' + tarteaucitron.user.gajsPageView]);
1160        } else {
1161            window._gaq.push(['_trackPageview']);
1162        }
1163
1164        tarteaucitron.addScript('//www.google-analytics.com/ga.js', '', function () {
1165            if (typeof tarteaucitron.user.gajsMore === 'function') {
1166                tarteaucitron.user.gajsMore();
1167            }
1168        });
1169    }
1170};
1171
1172// google analytics
1173tarteaucitron.services.analytics = {
1174    "key": "analytics",
1175    "type": "analytic",
1176    "name": "Google Analytics (universal)",
1177    "uri": "https://support.google.com/analytics/answer/6004245",
1178    "needConsent": true,
1179    "cookies": ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz'],
1180    "js": function () {
1181        "use strict";
1182        window.GoogleAnalyticsObject = 'ga';
1183        window.ga = window.ga || function () {
1184            window.ga.q = window.ga.q || [];
1185            window.ga.q.push(arguments);
1186        };
1187        window.ga.l = new Date();
1188        tarteaucitron.addScript('https://www.google-analytics.com/analytics.js', '', function () {
1189            var uaCreate = {'cookieExpires': 34128000};
1190            tarteaucitron.extend(uaCreate, tarteaucitron.user.analyticsUaCreate || {});
1191            ga('create', tarteaucitron.user.analyticsUa, uaCreate);
1192
1193            if (tarteaucitron.user.analyticsAnonymizeIp) {
1194                ga('set', 'anonymizeIp', true);
1195            }
1196
1197            if (typeof tarteaucitron.user.analyticsPrepare === 'function') {
1198                tarteaucitron.user.analyticsPrepare();
1199            }
1200
1201            if (tarteaucitron.user.analyticsPageView) {
1202                ga('send', 'pageview', tarteaucitron.user.analyticsPageView);
1203            } else {
1204                ga('send', 'pageview');
1205            }
1206
1207            if (typeof tarteaucitron.user.analyticsMore === 'function') {
1208                tarteaucitron.user.analyticsMore();
1209            }
1210        });
1211    }
1212};
1213
1214// google analytics
1215tarteaucitron.services.gtag = {
1216    "key": "gtag",
1217    "type": "analytic",
1218    "name": "Google Analytics (gtag.js)",
1219    "uri": "https://support.google.com/analytics/answer/6004245",
1220    "needConsent": true,
1221    "cookies": (function () {
1222        // Add _gat_gtag_UA_XXXXXXX_XX cookie to cookies array
1223        var gatGtagUaCookie = '_gat_gtag_' + tarteaucitron.user.gtagUa;
1224        gatGtagUaCookie = gatGtagUaCookie.replace(/-/g, '_');
1225        return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', gatGtagUaCookie];
1226    })(),
1227    "js": function () {
1228        "use strict";
1229        window.dataLayer = window.dataLayer || [];
1230        tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + tarteaucitron.user.gtagUa, '', function () {
1231            window.gtag = function gtag(){dataLayer.push(arguments);}
1232            gtag('js', new Date());
1233            gtag('config', tarteaucitron.user.gtagUa);
1234
1235            if (typeof tarteaucitron.user.gtagMore === 'function') {
1236                tarteaucitron.user.gtagMore();
1237            }
1238        });
1239    }
1240};
1241
1242// google maps
1243tarteaucitron.services.googlemaps = {
1244    "key": "googlemaps",
1245    "type": "api",
1246    "name": "Google Maps",
1247    "uri": "https://adssettings.google.com/",
1248    "needConsent": true,
1249    "cookies": [],
1250    "js": function () {
1251        "use strict";
1252        var mapOptions,
1253            map,
1254            uniqIds = [],
1255            i;
1256
1257        if (tarteaucitron.user.mapscallback === undefined) {
1258            tarteaucitron.user.mapscallback = 'tac_googlemaps_callback';
1259        }
1260
1261        // Add Google Maps libraries if any (https://developers.google.com/maps/documentation/javascript/libraries)
1262        var googleMapsLibraries = '';
1263        if (tarteaucitron.user.googlemapsLibraries) {
1264            googleMapsLibraries = '&libraries=' + tarteaucitron.user.googlemapsLibraries;
1265        }
1266
1267        tarteaucitron.addScript('//maps.googleapis.com/maps/api/js?v=3.exp&key=' + tarteaucitron.user.googlemapsKey + '&callback='+tarteaucitron.user.mapscallback + googleMapsLibraries);
1268
1269        window.tac_googlemaps_callback = function () {
1270            tarteaucitron.fallback(['googlemaps-canvas'], function (x) {
1271                var uniqId = '_' + Math.random().toString(36).substr(2, 9);
1272                uniqIds.push(uniqId);
1273                return '<div id="' + uniqId + '" zoom="' + x.getAttribute('zoom') + '" latitude="' + x.getAttribute('latitude') + '" longitude="' + x.getAttribute('longitude') + '" style="width:' + x.offsetWidth + 'px;height:' + x.offsetHeight + 'px"></div>';
1274            });
1275
1276            for (i = 0; i < uniqIds.length; i += 1) {
1277                mapOptions = {
1278                    zoom: parseInt(document.getElementById(uniqIds[i]).getAttribute('zoom'), 10),
1279                    center: new google.maps.LatLng(parseFloat(document.getElementById(uniqIds[i]).getAttribute('latitude'), 10), parseFloat(document.getElementById(uniqIds[i]).getAttribute('longitude'), 10))
1280                };
1281                map = new google.maps.Map(document.getElementById(uniqIds[i]), mapOptions);
1282            }
1283        };
1284    },
1285    "fallback": function () {
1286        "use strict";
1287        var id = 'googlemaps';
1288        tarteaucitron.fallback(['googlemaps-canvas'], tarteaucitron.engage(id));
1289    }
1290};
1291
1292// googlemaps search
1293tarteaucitron.services.googlemapssearch = {
1294    "key": "googlemapssearch",
1295    "type": "api",
1296    "name": "Google Maps Search API",
1297    "uri": "https://adssettings.google.com/",
1298    "needConsent": true,
1299    "cookies": ['nid'],
1300    "js": function () {
1301        "use strict";
1302        tarteaucitron.fallback(['googlemapssearch'], function (x) {
1303            var width = x.getAttribute("width"),
1304                height = x.getAttribute("height"),
1305                // url = x.getAttribute("data-url");
1306                query = escape(x.getAttribute("data-search")),
1307                key = x.getAttribute("data-api-key");
1308
1309            // return '<iframe src="' + url + '" width="' + width + '" height="' + height + '" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>';
1310            return '<iframe width="' + width +'" height="' + height + '" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place?q='+query+'&key='+key+'" allowfullscreen></iframe> '
1311        });
1312    },
1313    "fallback": function () {
1314        "use strict";
1315        var id = 'googlemapssearch';
1316        tarteaucitron.fallback(['googlemapssearch'], function (elem) {
1317            elem.style.width = elem.getAttribute('width') + 'px';
1318            elem.style.height = elem.getAttribute('height') + 'px';
1319            return tarteaucitron.engage(id);
1320        });
1321    }
1322};
1323
1324// googlemaps embed iframe
1325tarteaucitron.services.googlemapsembed = {
1326    "key": "googlemapsembed",
1327    "type": "api",
1328    "name": "Google Maps Embed",
1329    "uri": "https://adssettings.google.com/",
1330    "needConsent": true,
1331    "cookies": ['apisid', 'hsid', 'nid', 'sapisid', 'sid', 'sidcc', 'ssid', '1p_jar'],
1332    "js": function () {
1333        "use strict";
1334        tarteaucitron.fallback(['googlemapsembed'], function (x) {
1335            var width = tarteaucitron.getElemWidth(x),
1336                height = tarteaucitron.getElemHeight(x),
1337                url = x.getAttribute("data-url");
1338
1339            return '<iframe src="' + url + '" width="' + width + '" height="' + height + '" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>';
1340        });
1341    },
1342    "fallback": function () {
1343        "use strict";
1344        var id = 'googlemapsembed';
1345        tarteaucitron.fallback(['googlemapsembed'], function (elem) {
1346            elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';
1347            elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';
1348            return tarteaucitron.engage(id);
1349        });
1350    }
1351};
1352
1353// google tag manager
1354tarteaucitron.services.googletagmanager = {
1355    "key": "googletagmanager",
1356    "type": "api",
1357    "name": "Google Tag Manager",
1358    "uri": "https://adssettings.google.com/",
1359    "needConsent": true,
1360    "cookies": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '__gads', '_drt_', 'FLC', 'exchange_uid', 'id', 'fc', 'rrs', 'rds', 'rv', 'uid', 'UIDR', 'UID', 'clid', 'ipinfo', 'acs'],
1361    "js": function () {
1362        "use strict";
1363        if (tarteaucitron.user.googletagmanagerId === undefined) {
1364            return;
1365        }
1366        window.dataLayer = window.dataLayer || [];
1367        window.dataLayer.push({
1368            'gtm.start': new Date().getTime(),
1369            event: 'gtm.js'
1370        });
1371        tarteaucitron.addScript('https://www.googletagmanager.com/gtm.js?id=' + tarteaucitron.user.googletagmanagerId);
1372    }
1373};
1374
1375// google tag manager multiple
1376tarteaucitron.services.multiplegoogletagmanager = {
1377  "key": "multiplegoogletagmanager",
1378  "type": "api",
1379  "name": "Google Tag Manager",
1380  "uri": "https://adssettings.google.com/",
1381  "needConsent": true,
1382  "cookies": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '__gads', '_drt_', 'FLC', 'exchange_uid', 'id', 'fc', 'rrs', 'rds', 'rv', 'uid', 'UIDR', 'UID', 'clid', 'ipinfo', 'acs'],
1383  "js": function () {
1384    "use strict";
1385    if (tarteaucitron.user.multiplegoogletagmanagerId === undefined) {
1386      return;
1387    }
1388    window.dataLayer = window.dataLayer || [];
1389    window.dataLayer.push({
1390      'gtm.start': new Date().getTime(),
1391      event: 'gtm.js'
1392    });
1393
vendor: 4,296 bytes, lines 1394-1545
1394    tarteaucitron.user.multiplegoogletagmanagerId.forEach(function (id) {
1395      tarteaucitron.addScript('https://www.googletagmanager.com/gtm.js?id=' + id);
1396    });
1397
1398  }
1399};
1400
1401// google webfonts
1402tarteaucitron.services.googlefonts = {
1403  "key": "googlefonts",
1404  "type": "api",
1405  "name": "Google Webfonts",
1406  "uri": "https://www.google.com/intl/de/policies/privacy/",
1407  "needConsent": true,
1408  "cookies": [],
1409  "js": function () {
1410    "use strict";
1411    if (tarteaucitron.user.googleFonts === undefined) {
1412      return;
1413    }
1414    tarteaucitron.addScript('//ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js', '', function () {
1415      WebFont.load({
1416        google: {
1417          families: tarteaucitron.user.googleFonts
1418        }
1419      });
1420    });
1421  }
1422};
1423
1424// hubspot
1425tarteaucitron.services.hubspot = {
1426    "key": "hubspot",
1427    "type": "analytic",
1428    "name": "Hubspot",
1429    "uri": "https://legal.hubspot.com/privacy-policy",
1430    "needConsent": true,
1431    "cookies": ['hubspotutk', 'fr', '__hstc', '__hssrc', '__hssc', '__cfduid'],
1432    "js": function () {
1433        "use strict";
1434        tarteaucitron.addScript('//js.hs-scripts.com/' + tarteaucitron.user.hubspotId + '.js', 'hs-script-loader');
1435    }
1436};
1437
1438// jsapi
1439tarteaucitron.services.jsapi = {
1440    "key": "jsapi",
1441    "type": "api",
1442    "name": "Google jsapi",
1443    "uri": "https://policies.google.com/privacy",
1444    "needConsent": true,
1445    "cookies": [],
1446    "js": function () {
1447        "use strict";
1448        tarteaucitron.addScript('//www.google.com/jsapi');
1449    }
1450};
1451
1452// twitterwidgetsapi
1453tarteaucitron.services.twitterwidgetsapi = {
1454    "key": "twitterwidgetsapi",
1455    "type": "api",
1456    "name": "Twitter Widgets API",
1457    "uri": "https://support.twitter.com/articles/20170514",
1458    "needConsent": true,
1459    "cookies": [],
1460    "js": function () {
1461        "use strict";
1462        tarteaucitron.fallback(['tacTwitterAPI'], '');
1463        tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
1464    },
1465    "fallback": function () {
1466        "use strict";
1467        var id = 'twitterwidgetsapi';
1468        tarteaucitron.fallback(['tacTwitterAPI'], tarteaucitron.engage(id));
1469    }
1470};
1471
1472// recaptcha
1473tarteaucitron.services.recaptcha = {
1474    "key": "recaptcha",
1475    "type": "api",
1476    "name": "reCAPTCHA",
1477    "uri": "https://policies.google.com/privacy",
1478    "needConsent": true,
1479    "cookies": ['nid'],
1480    "js": function () {
1481        "use strict";
1482        window.tacRecaptchaOnLoad = tarteaucitron.user.recaptchaOnLoad || function() {};
1483        tarteaucitron.fallback(['g-recaptcha'], '');
1484        tarteaucitron.addScript('https://www.google.com/recaptcha/api.js?onload=tacRecaptchaOnLoad');
1485    },
1486    "fallback": function () {
1487        "use strict";
1488        var id = 'recaptcha';
1489        tarteaucitron.fallback(['g-recaptcha'], tarteaucitron.engage(id));
1490    }
1491};
1492
1493// linkedin
1494tarteaucitron.services.linkedin = {
1495    "key": "linkedin",
1496    "type": "social",
1497    "name": "Linkedin",
1498    "uri": "https://www.linkedin.com/legal/cookie_policy",
1499    "needConsent": true,
1500    "cookies": [],
1501    "js": function () {
1502        "use strict";
1503        tarteaucitron.fallback(['tacLinkedin'], '');
1504        tarteaucitron.addScript('//platform.linkedin.com/in.js');
1505        if (tarteaucitron.isAjax === true) {
1506            if (typeof IN !== "undefined") {
1507                IN.parse();
1508            }
1509        }
1510    },
1511    "fallback": function () {
1512        "use strict";
1513        var id = 'linkedin';
1514        tarteaucitron.fallback(['tacLinkedin'], tarteaucitron.engage(id));
1515    }
1516};
1517
1518// mautic
1519tarteaucitron.services.mautic = {
1520    "key": "mautic",
1521    "type": "analytic",
1522    "name": "Mautic",
1523    "uri": "https://www.mautic.org/privacy-policy/",
1524    "needConsent": true,
1525    "cookies": ['mtc_id', 'mtc_sid'],
1526    "js": function () {
1527        "use strict";
1528        if (tarteaucitron.user.mauticurl === undefined) {
1529            return;
1530        }
1531
1532        window.MauticTrackingObject = 'mt';
1533        window.mt = window.mt || function () {
1534            window.mt.q = window.mt.q || [];
1535            window.mt.q.push(arguments);
1536        };
1537
1538        tarteaucitron.addScript(tarteaucitron.user.mauticurl, '', function() {
1539            mt('send', 'pageview');
1540        });
1541    }
1542};
1543
1544// microsoftcampaignanalytics
1545tarteaucitron.services.microsoftcampaignanalytics = {
1546    "key": "microsoftcampaignanalytics",
1547    "type": "analytic",
1548    "name": "Microsoft Campaign Analytics",
1549    "uri": "https://privacy.microsoft.com/privacystatement/",
1550    "needConsent": true,
1551    "cookies": [],
1552    "js": function () {
1553        "use strict";
1554        if (tarteaucitron.user.microsoftcampaignanalyticsUUID === undefined) {
1555            return;
1556        }
1557
1558        tarteaucitron.addScript('//flex.atdmt.com/mstag/site/' + tarteaucitron.user.microsoftcampaignanalyticsUUID + '/mstag.js', 'mstag_tops', function () {
1559            window.mstag = {loadTag : function () {}, time : (new Date()).getTime()};
1560            window.mstag.loadTag("analytics", {dedup: "1", domainId: tarteaucitron.user.microsoftcampaignanalyticsdomainId, type: "1", actionid: tarteaucitron.user.microsoftcampaignanalyticsactionId});
1561        });
1562    }
1563};
1564
1565// pinterest
1566tarteaucitron.services.pinterest = {
1567    "key": "pinterest",
1568    "type": "social",
1569    "name": "Pinterest",
1570    "uri": "https://about.pinterest.com/privacy-policy",
1571    "needConsent": true,
1572    "cookies": [],
1573    "js": function () {
1574        "use strict";
1575        tarteaucitron.fallback(['tacPinterest'], '');
1576        tarteaucitron.addScript('//assets.pinterest.com/js/pinit.js');
1577    },
1578    "fallback": function () {
1579        "use strict";
1580        var id = 'pinterest';
1581        tarteaucitron.fallback(['tacPinterest'], tarteaucitron.engage(id));
1582    }
1583};
1584
1585// prelinker
1586tarteaucitron.services.prelinker = {
1587    "key": "prelinker",
1588    "type": "ads",
1589    "name": "Prelinker",
1590    "uri": "http://www.prelinker.com/index/index/cgu/",
1591    "needConsent": true,
1592    "cookies": ['_sp_id.32f5', '_sp_ses.32f5'],
1593    "js": function () {
1594        "use strict";
1595        var uniqIds = [],
1596            i,
1597            uri;
1598
1599        tarteaucitron.fallback(['prelinker-canvas'], function (x) {
1600            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
1601            uniqIds.push(uniqId);
1602            return '<div id="' + uniqId + '" siteId="' + x.getAttribute('siteId') + '" bannerId="' + x.getAttribute('bannerId') + '" defaultLanguage="' + x.getAttribute('defaultLanguage') + '" tracker="' + x.getAttribute('tracker') + '"></div>';
1603        });
1604
1605        for (i = 0; i < uniqIds.length; i += 1) {
1606            uri = 'http://promo.easy-dating.org/banner/index?';
1607            uri += 'site_id=' + document.getElementById(uniqIds[i]).getAttribute('siteId') + '&';
1608            uri += 'banner_id=' + document.getElementById(uniqIds[i]).getAttribute('bannerId') + '&';
1609            uri += 'default_language=' + document.getElementById(uniqIds[i]).getAttribute('defaultLanguage') + '&';
1610            uri += 'tr4ck=' + document.getElementById(uniqIds[i]).getAttribute('trackrt');
1611
1612            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
1613        }
1614    },
1615    "fallback": function () {
1616        "use strict";
1617        var id = 'prelinker';
1618        tarteaucitron.fallback(['prelinker-canvas'], tarteaucitron.engage(id));
1619    }
1620};
1621
1622// prezi
1623tarteaucitron.services.prezi = {
1624    "key": "prezi",
1625    "type": "video",
1626    "name": "Prezi",
1627    "uri": "https://prezi.com/privacy-policy/",
1628    "needConsent": true,
1629    "cookies": [],
1630    "js": function () {
1631        "use strict";
1632        tarteaucitron.fallback(['prezi-canvas'], function (x) {
1633            var id = x.getAttribute("data-id"),
1634                width = x.getAttribute("width"),
1635                height = x.getAttribute("height"),
1636                url = 'https://prezi.com/embed/' + id + '/?bgcolor=ffffff&amp;lock_to_path=0&amp;autoplay=0&amp;autohide_ctrls=0';
1637
1638            return '<iframe src="' + url + '" width="' + width + '" height="' + height + '" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>';
1639        });
1640    },
1641    "fallback": function () {
1642        "use strict";
1643        var id = 'prezi';
1644        tarteaucitron.fallback(['prezi-canvas'], function (elem) {
1645            elem.style.width = elem.getAttribute('width') + 'px';
1646            elem.style.height = elem.getAttribute('height') + 'px';
1647            return tarteaucitron.engage(id);
1648        });
1649    }
1650};
1651
1652// pubdirecte
1653tarteaucitron.services.pubdirecte = {
1654    "key": "pubdirecte",
1655    "type": "ads",
1656    "name": "Pubdirecte",
1657    "uri": "http://pubdirecte.com/contact.php",
1658    "needConsent": true,
1659    "cookies": [],
1660    "js": function () {
1661        "use strict";
1662        var uniqIds = [],
1663            i,
1664            uri;
1665
1666        tarteaucitron.fallback(['pubdirecte-canvas'], function (x) {
1667            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
1668            uniqIds.push(uniqId);
1669            return '<div id="' + uniqId + '" pid="' + x.getAttribute('pid') + '" ref="' + x.getAttribute('ref') + '"></div>';
1670        });
1671
1672        for (i = 0; i < uniqIds.length; i += 1) {
1673            uri = '//www.pubdirecte.com/script/banniere.php?';
1674            uri += 'id=' + document.getElementById(uniqIds[i]).getAttribute('pid') + '&';
1675            uri += 'ref=' + document.getElementById(uniqIds[i]).getAttribute('ref');
1676
1677            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
1678        }
1679    },
1680    "fallback": function () {
1681        "use strict";
1682        var id = 'pubdirecte';
1683        tarteaucitron.fallback(['pubdirecte-canvas'], tarteaucitron.engage(id));
1684    }
1685};
1686
1687// purechat
1688tarteaucitron.services.purechat = {
1689    "key": "purechat",
1690    "type": "support",
1691    "name": "PureChat",
1692    "uri": "https://www.purechat.com/privacy",
1693    "needConsent": true,
1694    "cookies": [],
1695    "js": function () {
1696        "use strict";
1697        if (tarteaucitron.user.purechatId === undefined) {
1698            return;
1699        }
1700
1701        tarteaucitron.addScript('//app.purechat.com/VisitorWidget/WidgetScript', '', function () {
1702            try {
1703                window.w = new PCWidget({ c: tarteaucitron.user.purechatId, f: true });
1704            } catch (e) {}
1705        });
1706    }
1707};
1708
1709// rumbletalk
1710tarteaucitron.services.rumbletalk = {
1711    "key": "rumbletalk",
1712    "type": "social",
1713    "name": "RumbleTalk",
1714    "needConsent": true,
1715    "cookies": ['AWSALB'],
1716    "js": function () {
1717        "use strict";
1718        if (tarteaucitron.user.rumbletalkid === undefined) {
1719            return;
1720        }
1721
1722        tarteaucitron.addScript('https://rumbletalk.com/client/?' + tarteaucitron.user.rumbletalkid);
1723
1724        tarteaucitron.fallback(['rumbletalk'], function (x) {
1725            var width = tarteaucitron.getElemWidth(x),
1726                height = tarteaucitron.getElemHeight(x),
1727                id = x.getAttribute("data-id");
1728
1729                return '<div style="height: ' + height + 'px; width: ' + width + 'px;"><div id="' + id + '"></div></div>';
1730      });
1731    },
1732    "fallback": function () {
1733      "use strict";
1734        var id = 'rumbletalk';
1735            tarteaucitron.fallback(['rumbletalk'], function (elem) {
1736                elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';
1737                elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';
1738
1739                return tarteaucitron.engage(id);
1740            });
1741    }
1742  };
1743
1744// shareaholic
1745tarteaucitron.services.shareaholic = {
1746    "key": "shareaholic",
1747    "type": "social",
1748    "name": "Shareaholic",
1749    "uri": "https://shareaholic.com/privacy/choices",
1750    "needConsent": true,
1751    "cookies": ['__utma', '__utmb', '__utmc', '__utmz', '__utmt_Shareaholic%20Pageviews'],
1752    "js": function () {
1753        "use strict";
1754        if (tarteaucitron.user.shareaholicSiteId === undefined) {
1755            return;
1756        }
1757
1758        tarteaucitron.fallback(['shareaholic-canvas'], '');
1759        tarteaucitron.addScript('//dsms0mj1bbhn4.cloudfront.net/assets/pub/shareaholic.js', '', function () {
1760            try {
1761                Shareaholic.init(tarteaucitron.user.shareaholicSiteId);
1762            } catch (e) {}
1763        });
1764    },
1765    "fallback": function () {
1766        "use strict";
1767        var id = 'shareaholic';
1768        tarteaucitron.fallback(['shareaholic-canvas'], tarteaucitron.engage(id));
1769    }
1770};
1771
1772// shareasale
1773tarteaucitron.services.shareasale = {
1774    "key": "shareasale",
1775    "type": "ads",
1776    "name": "ShareASale",
1777    "uri": "https://www.shareasale.com/PrivacyPolicy.pdf",
1778    "needConsent": true,
1779    "cookies": [],
1780    "js": function () {
1781        "use strict";
1782        var uniqIds = [],
1783            i,
1784            uri;
1785
1786        tarteaucitron.fallback(['shareasale-canvas'], function (x) {
1787            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
1788            uniqIds.push(uniqId);
1789            return '<div id="' + uniqId + '" amount="' + x.getAttribute('amount') + '" tracking="' + x.getAttribute('tracking') + '" transtype="' + x.getAttribute('transtype') + '" persale="' + x.getAttribute('persale') + '" perlead="' + x.getAttribute('perlead') + '" perhit="' + x.getAttribute('perhit') + '" merchantID="' + x.getAttribute('merchantID') + '"></div>';
1790        });
1791
1792        for (i = 0; i < uniqIds.length; i += 1) {
1793            uri = 'https://shareasale.com/sale.cfm?';
1794            uri += 'amount=' + document.getElementById(uniqIds[i]).getAttribute('amount') + '&';
1795            uri += 'tracking=' + document.getElementById(uniqIds[i]).getAttribute('tracking') + '&';
1796            uri += 'transtype=' + document.getElementById(uniqIds[i]).getAttribute('transtype') + '&';
1797            uri += 'persale=' + document.getElementById(uniqIds[i]).getAttribute('persale') + '&';
1798            uri += 'perlead=' + document.getElementById(uniqIds[i]).getAttribute('perlead') + '&';
1799            uri += 'perhit=' + document.getElementById(uniqIds[i]).getAttribute('perhit') + '&';
1800            uri += 'merchantID=' + document.getElementById(uniqIds[i]).getAttribute('merchantID');
1801
1802            document.getElementById(uniqIds[i]).innerHTML = '<img src=\'' + uri + '\' width=\'1\' height=\'1\' />';
1803        }
1804    },
1805    "fallback": function () {
1806        "use strict";
1807        var id = 'shareasale';
1808        tarteaucitron.fallback(['shareasale-canvas'], tarteaucitron.engage(id));
1809    }
1810};
1811
1812// sharethis
1813tarteaucitron.services.sharethis = {
1814    "key": "sharethis",
1815    "type": "social",
1816    "name": "ShareThis",
1817    "uri": "http://www.sharethis.com/legal/privacy/",
1818    "needConsent": true,
1819    "cookies": ['__unam'],
1820    "js": function () {
1821        "use strict";
1822        if (tarteaucitron.user.sharethisPublisher === undefined) {
1823            return;
1824        }
1825        var switchTo5x = true,
1826            uri = ('https:' === document.location.protocol ? 'https://ws' : 'http://w') + '.sharethis.com/button/buttons.js';
1827
1828        tarteaucitron.fallback(['tacSharethis'], '');
1829        tarteaucitron.addScript(uri, '', function () {
1830            stLight.options({publisher: tarteaucitron.user.sharethisPublisher, doNotHash: false, doNotCopy: false, hashAddressBar: false});
1831        });
1832
1833        if (tarteaucitron.isAjax === true) {
1834            if (typeof stButtons !== "undefined") {
1835                stButtons.locateElements();
1836            }
1837        }
1838    },
1839    "fallback": function () {
1840        "use strict";
1841        var id = 'sharethis';
1842        tarteaucitron.fallback(['tacSharethis'], tarteaucitron.engage(id));
1843    }
1844};
1845
1846// slideshare
1847tarteaucitron.services.slideshare = {
1848    "key": "slideshare",
1849    "type": "video",
1850    "name": "SlideShare",
1851    "uri": "https://www.linkedin.com/legal/privacy-policy",
1852    "needConsent": true,
1853    "cookies": [],
1854    "js": function () {
1855        "use strict";
1856        tarteaucitron.fallback(['slideshare-canvas'], function (x) {
1857            var id = x.getAttribute("data-id"),
1858                width = x.getAttribute("width"),
1859                height = x.getAttribute("height"),
1860                url = '//www.slideshare.net/slideshow/embed_code/' + id;
1861
1862            return '<iframe src="' + url + '" width="' + width + '" height="' + height + '" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>';
1863        });
1864    },
1865    "fallback": function () {
1866        "use strict";
1867        var id = 'slideshare';
1868        tarteaucitron.fallback(['slideshare-canvas'], function (elem) {
1869            elem.style.width = elem.getAttribute('width') + 'px';
1870            elem.style.height = elem.getAttribute('height') + 'px';
1871            return tarteaucitron.engage(id);
1872        });
1873    }
1874};
1875
1876// statcounter
1877tarteaucitron.services.statcounter = {
1878    "key": "statcounter",
1879    "type": "analytic",
1880    "name": "StatCounter",
1881    "uri": "https://fr.statcounter.com/about/legal/#privacy",
1882    "needConsent": true,
1883    "cookies": ['sc_is_visitor_unique'],
1884    "js": function () {
1885        "use strict";
1886        var uniqIds = [],
1887            i,
1888            uri = '//statcounter.com/counter/counter.js';
1889
1890        tarteaucitron.fallback(['statcounter-canvas'], function (x) {
1891            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
1892            uniqIds.push(uniqId);
1893            return '<div id="' + uniqId + '"></div>';
1894        });
1895
1896        for (i = 0; i < uniqIds.length; i += 1) {
1897            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
1898        }
1899    },
1900    "fallback": function () {
1901        "use strict";
1902        var id = 'statcounter';
1903        tarteaucitron.fallback(['statcounter-canvas'], tarteaucitron.engage(id));
1904    }
1905};
1906
1907// timelinejs
1908tarteaucitron.services.timelinejs = {
1909    "key": "timelinejs",
1910    "type": "api",
1911    "name": "Timeline JS",
1912    "uri": "http://timeline.knightlab.com/#help",
1913    "needConsent": true,
1914    "cookies": [],
1915    "js": function () {
1916        "use strict";
1917        tarteaucitron.fallback(['timelinejs-canvas'], function (x) {
1918            var spreadsheet_id = x.getAttribute("spreadsheet_id"),
1919                width = x.getAttribute("width"),
1920                height = x.getAttribute("height"),
1921                lang = x.getAttribute("lang_2_letter"),
1922                font = x.getAttribute("font"),
1923                map = x.getAttribute("map"),
1924                start_at_end = x.getAttribute("start_at_end"),
1925                hash_bookmark = x.getAttribute("hash_bookmark"),
1926                start_at_slide = x.getAttribute("start_at_slide"),
1927                start_zoom = x.getAttribute("start_zoom"),
1928                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;
1929
1930            return '<iframe src="' + url + '" width="' + width + '" height="' + height + '" frameborder="0" allowtransparency allowfullscreen></iframe>';
1931        });
1932    },
1933    "fallback": function () {
1934        "use strict";
1935        var id = 'timelinejs';
1936        tarteaucitron.fallback(['timelinejs-canvas'], function (elem) {
1937            elem.style.width = elem.getAttribute('width') + 'px';
1938            elem.style.height = elem.getAttribute('height') + 'px';
1939            return tarteaucitron.engage(id);
1940        });
1941    }
1942};
1943
1944// tagcommander
1945tarteaucitron.services.tagcommander = {
1946    "key": "tagcommander",
1947    "type": "api",
1948    "name": "TagCommander",
1949    "uri": "https://www.commandersact.com/en/privacy/",
1950    "needConsent": true,
1951    "cookies": [],
1952    "js": function () {
1953        "use strict";
1954        if (tarteaucitron.user.tagcommanderid === undefined) {
1955            return;
1956        }
1957        tarteaucitron.addScript('https://cdn.tagcommander.com/' + tarteaucitron.user.tagcommanderid + '.js');
1958    }
1959};
1960
1961// typekit
1962tarteaucitron.services.typekit = {
1963    "key": "typekit",
1964    "type": "api",
1965    "name": "Typekit (adobe)",
1966    "uri": "https://www.adobe.com/privacy.html",
1967    "needConsent": true,
1968    "cookies": [],
1969    "js": function () {
1970        "use strict";
1971        if (tarteaucitron.user.typekitId === undefined) {
1972            return;
1973        }
1974        tarteaucitron.addScript('//use.typekit.net/' + tarteaucitron.user.typekitId + '.js', '', function () {
1975            try {
1976                Typekit.load();
1977            } catch (e) {}
1978        });
1979    }
1980};
1981
1982// twenga
1983tarteaucitron.services.twenga = {
1984    "key": "twenga",
1985    "type": "ads",
1986    "name": "Twenga",
1987    "uri": "http://www.twenga.com/privacy.php",
1988    "needConsent": true,
1989    "cookies": [],
1990    "js": function () {
1991        "use strict";
1992
1993        if (tarteaucitron.user.twengaId === undefined || tarteaucitron.user.twengaLocale === undefined) {
1994            return;
1995        }
1996
1997        tarteaucitron.addScript('//tracker.twenga.' + tarteaucitron.user.twengaLocale + '/st/tracker_' + tarteaucitron.user.twengaId + '.js');
1998    }
1999};
2000
2001// twitter
2002tarteaucitron.services.twitter = {
2003    "key": "twitter",
2004    "type": "social",
2005    "name": "Twitter",
2006    "uri": "https://support.twitter.com/articles/20170514",
2007    "needConsent": true,
2008    "cookies": [],
2009    "js": function () {
2010        "use strict";
2011        tarteaucitron.fallback(['tacTwitter'], '');
2012        tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
2013    },
2014    "fallback": function () {
2015        "use strict";
2016        var id = 'twitter';
2017        tarteaucitron.fallback(['tacTwitter'], tarteaucitron.engage(id));
2018    }
2019};
2020
2021// twitter embed
2022tarteaucitron.services.twitterembed = {
2023    "key": "twitterembed",
2024    "type": "social",
2025    "name": "Twitter (cards)",
2026    "uri": "https://support.twitter.com/articles/20170514",
2027    "needConsent": true,
2028    "cookies": [],
2029    "js": function () {
2030        "use strict";
2031        var uniqIds = [],
2032            i,
2033            e,
2034            html;
2035
2036        tarteaucitron.fallback(['twitterembed-canvas'], function (x) {
2037            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
2038            uniqIds.push(uniqId);
2039            html = '<div id="' + uniqId + '" ';
2040            html += 'tweetid="' + x.getAttribute('tweetid') + '" ';
2041            html += 'theme="' + x.getAttribute('theme') + '" ';
2042            html += 'cards="' + x.getAttribute('cards') + '" ';
2043            html += 'conversation="' + x.getAttribute('conversation') + '" ';
2044            html += 'data-width="' + x.getAttribute('data-width') + '" ';
2045            html += 'data-align="' + x.getAttribute('data-align') + '" ';
2046            html += '></div>';
2047            return html;
2048        });
2049
2050        tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs', function () {
2051            for (i = 0; i < uniqIds.length; i += 1) {
2052                e = document.getElementById(uniqIds[i]);
2053                twttr.widgets.createTweet(
2054                    e.getAttribute('tweetid'),
2055                    e,
2056                    {
2057                        theme: e.getAttribute('theme'),
2058                        cards: e.getAttribute('cards'),
2059                        conversation: e.getAttribute('conversation'),
2060                        lang: tarteaucitron.getLanguage(),
2061                        dnt: true,
2062                        width: e.getAttribute('data-width'),
2063                        align: e.getAttribute('data-align')
2064                    }
2065                );
2066            }
2067        });
2068    },
2069    "fallback": function () {
2070        "use strict";
2071        var id = 'twitterembed';
2072        tarteaucitron.fallback(['twitterembed-canvas'], function (elem) {
2073            elem.style.width = elem.getAttribute('data-width') + 'px';
2074            return tarteaucitron.engage(id);
2075        });
2076    }
2077};
2078
2079// twitter timeline
2080tarteaucitron.services.twittertimeline = {
2081    "key": "twittertimeline",
2082    "type": "social",
2083    "name": "Twitter (timelines)",
2084    "uri": "https://support.twitter.com/articles/20170514",
2085    "needConsent": true,
2086    "cookies": [],
2087    "js": function () {
2088        "use strict";
2089        tarteaucitron.fallback(['tacTwitterTimelines'], '');
2090        tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
2091    },
2092    "fallback": function () {
2093        "use strict";
2094        var id = 'twittertimeline';
2095        tarteaucitron.fallback(['tacTwitterTimelines'], tarteaucitron.engage(id));
2096    }
2097};
2098
2099// user voice
2100tarteaucitron.services.uservoice = {
2101    "key": "uservoice",
2102    "type": "support",
2103    "name": "UserVoice",
2104    "uri": "https://www.uservoice.com/privacy/",
2105    "needConsent": true,
2106    "cookies": [],
2107    "js": function () {
2108        "use strict";
2109        if (tarteaucitron.user.userVoiceApi === undefined) {
2110            return;
2111        }
2112        tarteaucitron.addScript('//widget.uservoice.com/' + tarteaucitron.user.userVoiceApi + '.js');
2113    }
2114};
2115
2116// vimeo
2117tarteaucitron.services.vimeo = {
2118    "key": "vimeo",
2119    "type": "video",
2120    "name": "Vimeo",
2121    "uri": "https://vimeo.com/privacy",
2122    "needConsent": true,
2123    "cookies": ['__utmt_player', '__utma', '__utmb', '__utmc', '__utmv', 'vuid', '__utmz', 'player'],
2124    "js": function () {
2125        "use strict";
2126        tarteaucitron.fallback(['vimeo_player'], function (x) {
2127            var video_width = x.getAttribute("data-width") || x.getAttribute("width"),
2128                frame_width = 'width=',
2129                video_height = x.getAttribute("data-height") || x.getAttribute("height"),
2130                frame_height = 'height=',
2131
2132                video_id = x.getAttribute("data-videoID") || x.getAttribute("videoID"),
2133                video_autopause = x.getAttribute("data-autopause") || '',
2134                video_autoplay = x.getAttribute("data-autoplay") || x.getAttribute("autoplay") || '',
2135                video_background = x.getAttribute("data-background") || '',
2136                video_byline = x.getAttribute("data-byline") || x.getAttribute("byline") || '',
2137                video_color = x.getAttribute("data-color") || '',
2138                video_controls = x.getAttribute("data-controls") || '',
2139                video_loop = x.getAttribute("data-loop") || x.getAttribute("loop") || '',
2140                video_maxheight = x.getAttribute("data-maxheight") || '',
2141                video_maxwidth = x.getAttribute("data-maxwidth") || '',
2142                video_muted = x.getAttribute("data-muted") || '',
2143                video_playsinline = x.getAttribute("data-playsinline") || '',
2144                video_portrait = x.getAttribute("data-portrait") || x.getAttribute("portrait") || '',
2145                video_speed = x.getAttribute("data-speed") || '',
2146                video_title = x.getAttribute("data-title") || x.getAttribute("title") || '',
2147                video_transparent = x.getAttribute("data-transparent") || '',
2148
2149                video_frame;
2150
2151
2152            if (video_id === undefined) {
2153                return "";
2154            }
2155            if (video_width !== undefined) {
2156                frame_width += '"' + video_width + '" ';
2157            } else {
2158                frame_width += '"" ';
2159            }
2160            if (video_height !== undefined) {
2161                frame_height += '"' + video_height + '" ';
2162            } else {
2163                frame_height += '"" ';
2164            }
2165
2166            var video_qs = "?";
2167
2168            if (video_title.length > 0) {
2169                video_qs += "title=" + video_title;
2170            }
2171
2172            if (video_byline.length > 0) {
2173                if (video_qs.length > 0) {
2174                    video_qs += "&";
2175                }
2176                video_qs += "byline=" + video_byline;
2177            }
2178
2179            if (video_portrait.length > 0) {
2180                if (video_qs.length > 0) {
2181                    video_qs += "&";
2182                }
2183                video_qs += "portrait=" + video_portrait;
2184            }
2185
2186            if (video_loop.length > 0) {
2187                if (video_qs.length > 0) {
2188                    video_qs += "&";
2189                }
2190                video_qs += "loop=" + video_loop;
2191            }
2192
2193            if (video_autoplay.length > 0) {
2194                if (video_qs.length > 0) {
2195                    video_qs += "&";
2196                }
2197                video_qs += "autoplay=" + video_autoplay;
2198            }
2199
2200            if (video_autopause.length > 0) {
2201                if (video_qs.length > 0) {
2202                    video_qs += "&";
2203                }
2204                video_qs += "autopause=" + video_autopause;
2205            }
2206
2207            if (video_background.length > 0) {
2208                if (video_qs.length > 0) {
2209                    video_qs += "&";
2210                }
2211                video_qs += "background=" + video_background;
2212            }
2213
2214            if (video_color.length > 0) {
2215                if (video_qs.length > 0) {
2216                    video_qs += "&";
2217                }
2218                video_qs += "color=" + video_color;
2219            }
2220
2221            if (video_controls.length > 0) {
2222                if (video_qs.length > 0) {
2223                    video_qs += "&";
2224                }
2225                video_qs += "controls=" + video_controls;
2226            }
2227
2228            if (video_maxheight.length > 0) {
2229                if (video_qs.length > 0) {
2230                    video_qs += "&";
2231                }
2232                video_qs += "maxheight=" + video_maxheight;
2233            }
2234
2235            if (video_maxwidth.length > 0) {
2236                if (video_qs.length > 0) {
2237                    video_qs += "&";
2238                }
2239                video_qs += "maxwidth=" + video_maxwidth;
2240            }
2241
2242            if (video_muted.length > 0) {
2243                if (video_qs.length > 0) {
2244                    video_qs += "&";
2245                }
2246                video_qs += "muted=" + video_muted;
2247            }
2248
2249            if (video_playsinline.length > 0) {
2250                if (video_qs.length > 0) {
2251                    video_qs += "&";
2252                }
2253                video_qs += "playsinline=" + video_playsinline;
2254            }
2255
2256            if (video_speed.length > 0) {
2257                if (video_qs.length > 0) {
2258                    video_qs += "&";
2259                }
2260                video_qs += "speed=" + video_speed;
2261            }
2262
2263            if (video_transparent.length > 0) {
2264                if (video_qs.length > 0) {
2265                    video_qs += "&";
2266                }
2267                video_qs += "transparent=" + video_transparent;
2268            }
2269
2270            if (video_qs === "?") {
2271                video_qs = "";
2272            }
2273
2274            video_frame = '<iframe src="//player.vimeo.com/video/' + video_id + video_qs + '" ' + frame_width + frame_height + ' frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>';
2275
2276            return video_frame;
2277        });
2278    },
2279    "fallback": function () {
2280        "use strict";
2281        var id = 'vimeo';
2282        tarteaucitron.fallback(['vimeo_player'], function (elem) {
2283            elem.style.width = elem.getAttribute('width') + 'px';
2284            elem.style.height = elem.getAttribute('height') + 'px';
2285            return tarteaucitron.engage(id);
2286        });
2287    }
2288};
2289
2290// visualrevenue
2291tarteaucitron.services.visualrevenue = {
2292    "key": "visualrevenue",
2293    "type": "analytic",
2294    "name": "VisualRevenue",
2295    "uri": "http://www.outbrain.com/legal/privacy-713/",
2296    "needConsent": true,
2297    "cookies": ['__vrf', '__vrm', '__vrl', '__vry', '__vru', '__vrid', '__vrz'],
2298    "js": function () {
2299        "use strict";
2300        if (tarteaucitron.user.visualrevenueId === undefined) {
2301            return;
2302        }
2303        window._vrq = window._vrq || [];
2304        window._vrq.push(['id', tarteaucitron.user.visualrevenueId]);
2305        window._vrq.push(['automate', true]);
2306        window._vrq.push(['track', function () {}]);
2307        tarteaucitron.addScript('http://a.visualrevenue.com/vrs.js');
2308    }
2309};
2310
2311// vshop
2312tarteaucitron.services.vshop = {
2313    "key": "vshop",
2314    "type": "ads",
2315    "name": "vShop",
2316    "uri": "http://vshop.fr/privacy-policy",
2317    "needConsent": true,
2318    "cookies": [],
2319    "js": function () {
2320        "use strict";
2321        tarteaucitron.fallback(['vcashW'], '');
2322        tarteaucitron.addScript('//vshop.fr/js/w.js');
2323    },
2324    "fallback": function () {
2325        "use strict";
2326        var id = 'vshop';
2327        tarteaucitron.fallback(['vcashW'], tarteaucitron.engage(id));
2328    }
2329};
2330
2331// wysistat
2332tarteaucitron.services.wysistat = {
2333    "key": "wysistat",
2334    "type": "analytic",
2335    "name": "Wysistat",
2336    "uri": "http://wysistat.net/contact/",
2337    "needConsent": true,
2338    "cookies": ['Wysistat'],
2339    "js": function () {
2340        "use strict";
2341        if (tarteaucitron.user.wysistat === undefined) {
2342            return;
2343        }
2344        tarteaucitron.addScript('//www.wysistat.com/statistique.js', '', function () {
2345            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);
2346        });
2347    }
2348};
2349
2350// xiti
2351tarteaucitron.services.xiti = {
2352    "key": "xiti",
2353    "type": "analytic",
2354    "name": "Xiti",
2355    "uri": "https://www.atinternet.com/societe/rgpd-et-vie-privee/",
2356    "needConsent": true,
2357    "cookies": [],
2358    "js": function () {
2359        "use strict";
2360        if (tarteaucitron.user.xitiId === undefined) {
2361            return;
2362        }
2363        var Xt_param = 's=' + tarteaucitron.user.xitiId + '&p=',
2364            Xt_r,
2365            Xt_h,
2366            Xt_i,
2367            Xt_s,
2368            div = document.createElement('div');
2369        try {
2370            Xt_r = top.document.referrer;
2371        } catch (e) {
2372            Xt_r = document.referrer;
2373        }
2374        Xt_h = new Date();
2375        Xt_i = '<img style="display:none" border="0" alt="" ';
2376        Xt_i += 'src="http://logv3.xiti.com/hit.xiti?' + Xt_param;
2377        Xt_i += '&hl=' + Xt_h.getHours() + 'x' + Xt_h.getMinutes() + 'x' + Xt_h.getSeconds();
2378        if (parseFloat(navigator.appVersion) >= 4) {
2379            Xt_s = screen;
2380            Xt_i += '&r=' + Xt_s.width + 'x' + Xt_s.height + 'x' + Xt_s.pixelDepth + 'x' + Xt_s.colorDepth;
2381        }
2382
2383        div.innerHTML = Xt_i + '&ref=' + Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$') + '" title="Internet Audience">';
2384        document.getElementsByTagName('body')[0].appendChild(div.firstChild);
2385
2386        if (typeof tarteaucitron.user.xitiMore === 'function') {
2387            tarteaucitron.user.xitiMore();
2388        }
2389    }
2390};
2391
2392// AT Internet
2393tarteaucitron.services.atinternet = {
2394    "key": "atinternet",
2395    "type": "analytic",
2396    "name": "AT Internet (privacy by design)",
2397    "uri": "https://www.atinternet.com/societe/rgpd-et-vie-privee/",
2398    "needConsent": false,
2399    "cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession', 'atuserid'],
2400    "js": function () {
2401        "use strict";
2402        if (tarteaucitron.user.atLibUrl === undefined) {
2403            return;
2404        }
2405
2406        tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() {
2407
2408            var tag = new ATInternet.Tracker.Tag();
2409
2410            if (typeof tarteaucitron.user.atMore === 'function') {
2411                tarteaucitron.user.atMore();
2412            }
2413        })
2414    }
2415};
2416
2417// AT Internet
2418tarteaucitron.services.atinternethightrack = {
2419    "key": "atinternethightrack",
2420    "type": "analytic",
2421    "name": "AT Internet",
2422    "uri": "https://www.atinternet.com/societe/rgpd-et-vie-privee/",
2423    "needConsent": true,
2424    "cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession', 'atuserid'],
2425    "js": function () {
2426        "use strict";
2427        if (tarteaucitron.user.atLibUrl === undefined) {
2428            return;
2429        }
2430
2431        tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() {
2432
2433            var tag = new ATInternet.Tracker.Tag();
2434
2435            if (typeof tarteaucitron.user.atMore === 'function') {
2436                tarteaucitron.user.atMore();
2437            }
2438        })
2439    }
2440};
2441
2442// youtube
2443tarteaucitron.services.youtube = {
2444    "key": "youtube",
2445    "type": "video",
2446    "name": "YouTube",
2447    "uri": "https://policies.google.com/privacy",
2448    "needConsent": true,
2449    "cookies": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF', 'GEUP'],
2450    "js": function () {
2451        "use strict";
2452        tarteaucitron.fallback(['youtube_player'], function (x) {
2453            var video_id = x.getAttribute("videoID"),
2454                video_width = x.getAttribute("width"),
2455                frame_width = 'width=',
2456                video_height = x.getAttribute("height"),
2457                frame_height = 'height=',
2458                video_frame,
2459                params = 'theme=' + x.getAttribute("theme") + '&rel=' + x.getAttribute("rel") + '&controls=' + x.getAttribute("controls") + '&showinfo=' + x.getAttribute("showinfo") + '&autoplay=' + x.getAttribute("autoplay");
2460
2461            if (video_id === undefined) {
2462                return "";
2463            }
2464            if (video_width !== undefined) {
2465                frame_width += '"' + video_width + '" ';
2466            } else {
2467                frame_width += '"" ';
2468            }
2469            if (video_height !== undefined) {
2470                frame_height +=  '"' + video_height + '" ';
2471            } else {
2472                frame_height += '"" ';
2473            }
2474            video_frame = '<iframe type="text/html" ' + frame_width + frame_height + ' src="//www.youtube-nocookie.com/embed/' + video_id + '?' + params + '" frameborder="0" allowfullscreen></iframe>';
2475            return video_frame;
2476        });
2477    },
2478    "fallback": function () {
2479        "use strict";
2480        var id = 'youtube';
2481        tarteaucitron.fallback(['youtube_player'], function (elem) {
2482            elem.style.width = elem.getAttribute('width') + 'px';
2483            elem.style.height = elem.getAttribute('height') + 'px';
2484            return tarteaucitron.engage(id);
2485        });
2486    }
2487};
2488
2489// youtube playlist
2490tarteaucitron.services.youtubeplaylist = {
2491    "key": "youtubeplaylist",
2492    "type": "video",
2493    "name": "YouTube (playlist)",
2494    "uri": "https://policies.google.com/privacy",
2495    "needConsent": true,
2496    "cookies": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF', 'GEUP'],
2497    "js": function () {
2498        "use strict";
2499        tarteaucitron.fallback(['youtube_playlist_player'], function (x) {
2500            var playlist_id = x.getAttribute("playlistID"),
2501                video_width = x.getAttribute("width"),
2502                frame_width = 'width=',
2503                video_height = x.getAttribute("height"),
2504                frame_height = 'height=',
2505                video_frame,
2506                params = 'theme=' + x.getAttribute("theme") + '&rel=' + x.getAttribute("rel") + '&controls=' + x.getAttribute("controls") + '&showinfo=' + x.getAttribute("showinfo") + '&autoplay=' + x.getAttribute("autoplay");
2507
2508            if (playlist_id === undefined) {
2509                return "";
2510            }
2511            if (video_width !== undefined) {
2512                frame_width += '"' + video_width + '" ';
2513            } else {
2514                frame_width += '"" ';
2515            }
2516            if (video_height !== undefined) {
2517                frame_height +=  '"' + video_height + '" ';
2518            } else {
2519                frame_height += '"" ';
2520            }
2521            video_frame = '<iframe type="text/html" ' + frame_width + frame_height + ' src="//www.youtube-nocookie.com/embed/videoseries?list=' + playlist_id + '&' + params + '" frameborder="0" allowfullscreen></iframe>';
2522            return video_frame;
2523        });
2524    },
2525    "fallback": function () {
2526        "use strict";
2527        var id = 'youtubeplaylist';
2528        tarteaucitron.fallback(['youtube_playlist_player'], function (elem) {
2529            elem.style.width = elem.getAttribute('width') + 'px';
2530            elem.style.height = elem.getAttribute('height') + 'px';
2531            return tarteaucitron.engage(id);
2532        });
2533    }
2534};
2535
2536// zopim
2537tarteaucitron.services.zopim = {
2538    "key": "zopim",
2539    "type": "support",
2540    "name": "Zopim",
2541    "uri": "https://www.zopim.com/privacy",
2542    "needConsent": true,
2543    "cookies": ['__zlcid', '__zprivacy'],
2544    "js": function () {
2545        "use strict";
2546        if (tarteaucitron.user.zopimID === undefined) {
2547            return;
2548        }
2549        tarteaucitron.addScript('//v2.zopim.com/?' + tarteaucitron.user.zopimID);
2550    }
2551};
2552
2553// xiti smartTag
2554tarteaucitron.services.xiti_smarttag = {
2555    "key": "xiti_smarttag",
2556    "type": "analytic",
2557    "name": "Xiti (SmartTag)",
2558    "uri": "https://www.atinternet.com/societe/protection-des-donnees/",
2559    "needConsent": true,
2560    "cookies": ["atidvisitor", "atreman", "atredir", "atsession", "atuserid", "attvtreman", "attvtsession"],
2561    "js": function () {
2562        "use strict";
2563        if (tarteaucitron.user.xiti_smarttagLocalPath !== undefined) {
2564            tarteaucitron.addScript(tarteaucitron.user.xiti_smarttagLocalPath, 'smarttag', null, null, "onload", "addTracker();");
2565        } else {
2566            var xitiSmarttagId = tarteaucitron.user.xiti_smarttagSiteId;
2567            if (xitiSmarttagId === undefined) {
2568                return;
2569            }
2570
2571            tarteaucitron.addScript('//tag.aticdn.net/' + xitiSmarttagId + '/smarttag.js', 'smarttag', null, null, "onload", "addTracker();");
2572        }
2573    }
2574};
2575
2576// facebook pixel
2577tarteaucitron.services.facebookpixel = {
2578    "key": "facebookpixel",
2579    "type": "ads",
2580    "name": "Facebook Pixel",
2581    "uri": "https://fr-fr.facebook.com/business/help/www/651294705016616",
2582    "needConsent": true,
2583    "cookies": ['datr', 'fr', 'reg_ext_ref', 'reg_fb_gate', 'reg_fb_ref', 'sb', 'wd', 'x-src'],
2584    "js": function () {
2585        "use strict";
2586        var n;
2587        if(window.fbq)return;
2588        n=window.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)} ;
2589        if(!window._fbq)window._fbq=n;
2590        n.push=n;
2591        n.loaded=!0;
2592        n.version='2.0';
2593        n.queue=[];
2594        tarteaucitron.addScript('https://connect.facebook.net/en_US/fbevents.js');
2595        fbq('init', tarteaucitron.user.facebookpixelId);
2596        fbq('track', 'PageView');
2597
2598        if (typeof tarteaucitron.user.facebookpixelMore === 'function') {
2599            tarteaucitron.user.facebookpixelMore();
2600        }
2601    }
2602};
2603
2604//Issuu
2605tarteaucitron.services.issuu = {
2606    "key": "issuu",
2607    "type": "other",
2608    "name": "Issuu",
2609    "uri": "https://issuu.com/legal/privacy",
2610    "needConsent": true,
2611    "cookies": ['__qca', 'iutk', 'mc'],
2612    "js": function () {
2613        "use strict";
2614        tarteaucitron.fallback(['issuu_player'], function (x) {
2615            var issuu_id = x.getAttribute("issuuID"),
2616                issuu_width = x.getAttribute("width"),
2617                frame_width = 'width=',
2618                issuu_height = x.getAttribute("height"),
2619                frame_height = 'height=',
2620                issuu_frame;
2621
2622            if (issuu_id === undefined) {
2623                return "";
2624            }
2625            if (issuu_width !== undefined) {
2626                frame_width += '"' + issuu_width + '" ';
2627            } else {
2628                frame_width += '"" ';
2629            }
2630            if (issuu_height !== undefined) {
2631                frame_height +=  '"' + issuu_height + '" ';
2632            } else {
2633                frame_height += '"" ';
2634            }
2635            issuu_frame = '<iframe type="text/html" ' + frame_width + frame_height + ' src="//e.issuu.com/embed.html#' + issuu_id + '" frameborder="0"></iframe>';
2636            return issuu_frame;
2637        });
2638    },
2639    "fallback": function () {
2640        "use strict";
2641        var id = 'issuu';
2642        tarteaucitron.fallback(['issuu_player'], function (elem) {
2643            elem.style.width = elem.getAttribute('width') + 'px';
2644            elem.style.height = elem.getAttribute('height') + 'px';
2645            return tarteaucitron.engage(id);
2646        });
2647    }
2648};
2649
2650// webmecanik
2651tarteaucitron.services.webmecanik = {
2652    "key": "webmecanik",
2653    "type": "analytic",
2654    "name": "Webmecanik",
2655    "uri": "https://webmecanik.com/tos",
2656    "needConsent": true,
2657    "cookies": ['mtc_id', 'mtc_sid'],
2658    "js": function () {
2659        "use strict";
2660        if (tarteaucitron.user.webmecanikurl === undefined) {
2661            return;
2662        }
2663
2664        window.MauticTrackingObject = 'mt';
2665        window.mt = window.mt || function () {
2666            window.mt.q = window.mt.q || [];
2667            window.mt.q.push(arguments);
2668        };
2669
2670        tarteaucitron.addScript(tarteaucitron.user.webmecanikurl, '', function() {
2671            mt('send', 'pageview');
2672        });
2673    }
2674};
2675
2676// google analytics multiple
2677tarteaucitron.services.multiplegtag = {
2678    "key": "multiplegtag",
2679    "type": "analytic",
2680    "name": "Google Analytics (gtag.js)",
2681    "uri": "https://support.google.com/analytics/answer/6004245",
2682    "needConsent": true,
2683    "cookies": (function () {
2684
2685        var cookies = ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz'];
2686
2687        if (tarteaucitron.user.multiplegtagUa !== undefined) {
2688            tarteaucitron.user.multiplegtagUa.forEach(function(ua) {
2689                cookies.push('_gat_gtag_' + ua.replace(/-/g, '_'));
2690            });
2691        }
2692
2693        return cookies;
2694    })(),
2695    "js": function () {
2696        "use strict";
2697        window.dataLayer = window.dataLayer || [];
2698
2699        tarteaucitron.user.multiplegtagUa.forEach(function(ua) {
2700
2701            tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + ua, '', function () {
2702                window.gtag = function gtag(){dataLayer.push(arguments);}
2703                gtag('js', new Date());
2704                gtag('config', ua);
2705            });
2706        });
2707    }
2708};
2709
2710// Koban
2711tarteaucitron.services.koban = {
2712    "key": "koban",
2713    "type": "analytic",
2714    "name": "Koban",
2715    "uri": "https://koban.cloud/tos",
2716    "needConsent": true,
2717    "cookies": ['kbntrk'],
2718    "js": function () {
2719        "use strict";
2720        if (tarteaucitron.user.kobanurl === undefined) {
2721            return;
2722        }
2723        if (tarteaucitron.user.kobanapi === undefined) {
2724            return;
2725        }
2726        window.KobanObject = 'kb';
2727        window.kb = window.kb || function() {
2728            window.kb.q = window.kb.q || [];
2729            window.kb.q.push(arguments);
2730        };
2731        window.kb.l = new Date();
2732        kb('reg', tarteaucitron.user.kobanapi);
2733        tarteaucitron.addScript(tarteaucitron.user.kobanurl, '', function() {
2734        });
2735    }
2736};
2737
2738// matomo
2739
2740/*
2741    1. Set the following variable before the initialization :
2742
2743    tarteaucitron.user.matomoId = YOUR_SITE_ID_FROM_MATOMO;
2744    tarteaucitron.user.matomoHost = "YOUR_MATOMO_URL"; //eg: https://stat.mydomain.com/
2745
2746    2. Push the service :
2747
2748    (tarteaucitron.job = tarteaucitron.job || []).push('matomo');
2749
2750    3. HTML
2751    You don't need to add any html code, if the service is autorized, the javascript is added. otherwise no.
2752 */
2753tarteaucitron.services.matomo = {
vendor: 4,568 bytes, lines 2754-2869
2754    "key": "matomo",
2755    "type": "analytic",
2756    "name": "Matomo (privacy by design)",
2757    "uri": "https://matomo.org/faq/general/faq_146/",
2758    "needConsent": false,
2759    "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
2760    "js": function () {
2761        "use strict";
2762        if (tarteaucitron.user.matomoId === undefined) {
2763            return;
2764        }
2765
2766        window._paq = window._paq || [];
2767        window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
2768        window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
2769        window._paq.push(["setDoNotTrack", 1]);
2770        window._paq.push(["trackPageView"]);
2771        window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
2772        window._paq.push(["enableLinkTracking"]);
2773        window._paq.push([function() {
2774            var self = this;
2775            function getOriginalVisitorCookieTimeout() {
2776                var now = new Date(),
2777                nowTs = Math.round(now.getTime() / 1000),
2778                visitorInfo = self.getVisitorInfo();
2779                var createTs = parseInt(visitorInfo[2]);
2780                var cookieTimeout = 33696000; // 13 mois en secondes
2781                var originalTimeout = createTs + cookieTimeout - nowTs;
2782                return originalTimeout;
2783            }
2784            this.setVisitorCookieTimeout( getOriginalVisitorCookieTimeout() );
2785        }]);
2786
2787        tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
2788
2789        // waiting for piwik to be ready to check first party cookies
2790        var interval = setInterval(function() {
2791            if (typeof Piwik === 'undefined') return
2792
2793            clearInterval(interval)
2794
2795            // make piwik/matomo cookie accessible by getting tracker
2796            Piwik.getTracker();
2797
2798            // looping throught cookies
2799            var theCookies = document.cookie.split(';');
2800            for (var i = 1 ; i <= theCookies.length; i++) {
2801                var cookie = theCookies[i-1].split('=');
2802                var cookieName = cookie[0].trim();
2803
2804                // if cookie starts like a piwik one, register it
2805                if (cookieName.indexOf('_pk_') === 0) {
2806                    tarteaucitron.services.matomo.cookies.push(cookieName);
2807                }
2808            }
2809        }, 100)
2810    }
2811};
2812                          
2813                          
2814tarteaucitron.services.matomohightrack = {
2815    "key": "matomohightrack",
2816    "type": "analytic",
2817    "name": "Matomo",
2818    "uri": "https://matomo.org/faq/general/faq_146/",
2819    "needConsent": true,
2820    "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
2821    "js": function () {
2822        "use strict";
2823        if (tarteaucitron.user.matomoId === undefined) {
2824            return;
2825        }
2826
2827        window._paq = window._paq || [];
2828        window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
2829        window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
2830        window._paq.push(["trackPageView"]);
2831        window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
2832        window._paq.push(["enableLinkTracking"]);
2833        window._paq.push([function() {
2834            var self = this;
2835        }]);
2836
2837        tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
2838
2839        // waiting for piwik to be ready to check first party cookies
2840        var interval = setInterval(function() {
2841            if (typeof Piwik === 'undefined') return
2842
2843            clearInterval(interval)
2844            Piwik.getTracker();
2845
2846            var theCookies = document.cookie.split(';');
2847            for (var i = 1 ; i <= theCookies.length; i++) {
2848                var cookie = theCookies[i-1].split('=');
2849                var cookieName = cookie[0].trim();
2850
2851                if (cookieName.indexOf('_pk_') === 0) {
2852                    tarteaucitron.services.matomo.cookies.push(cookieName);
2853                }
2854            }
2855        }, 100)
2856    }
2857};
2858
2859// Hotjar
2860 /*
2861    1. Set the following variable before the initialization :
2862     tarteaucitron.user.hotjarId = YOUR_WEBSITE_ID;
2863    tarteaucitron.user.HotjarSv = XXXX; // Can be found in your website tracking code as "hjvs=XXXX"
2864     2. Push the service :
2865     (tarteaucitron.job = tarteaucitron.job || []).push('hotjar');
2866     3. HTML
2867    You don't need to add any html code, if the service is autorized, the javascript is added. otherwise no.
2868  */
2869tarteaucitron.services.hotjar = {
2870    "key": "hotjar",
2871    "type": "analytic",
2872    "name": "Hotjar",
2873    "uri": "https://help.hotjar.com/hc/en-us/categories/115001323967-About-Hotjar",
2874    "needConsent": true,
2875    "cookies": ["hjClosedSurveyInvites", "_hjDonePolls", "_hjMinimizedPolls", "_hjDoneTestersWidgets", "_hjMinimizedTestersWidgets", "_hjDoneSurveys", "_hjIncludedInSample", "_hjShownFeedbackMessage"],
2876    "js": function () {
2877        "use strict";
2878        if (tarteaucitron.user.hotjarId === undefined || tarteaucitron.user.HotjarSv === undefined) {
2879            return;
2880        }
2881         window.hj = window.hj || function() {
2882            (window.hj.q = window.hj.q || []).push(arguments)
2883        };
2884        window._hjSettings = {
2885            hjid: tarteaucitron.user.hotjarId,
2886            hjsv: tarteaucitron.user.HotjarSv
2887        };
2888         var uri = 'https://static.hotjar.com/c/hotjar-';
2889        var extension = '.js?sv=';
2890        tarteaucitron.addScript(uri + window._hjSettings.hjid + extension + window._hjSettings.hjsv);
2891    }
2892};
2893
2894// bing ads universal event tracking
2895tarteaucitron.services.bingads = {
2896    'key': 'bingads',
2897    'type': 'ads',
2898    'name': 'Bing Ads Universal Event Tracking',
2899    'uri': 'https://advertise.bingads.microsoft.com/en-us/resources/policies/personalized-ads',
2900    'needConsent': true,
2901    'cookies': ['_uetmsclkid', '_uetvid', '_uetsid'],
2902    'js': function () {
2903        'use strict';
2904        //var u = tarteaucitron.user.bingadsTag || 'uetq';
2905        window.uetq = window.uetq || [];
2906
2907        tarteaucitron.addScript('https://bat.bing.com/bat.js', '', function () {
2908            var bingadsCreate = {ti: tarteaucitron.user.bingadsID};
2909
2910            if ('bingadsStoreCookies' in tarteaucitron.user) {
2911                bingadsCreate['storeConvTrackCookies'] = tarteaucitron.user.bingadsStoreCookies;
2912            }
2913
2914            bingadsCreate.q = window.uetq;
2915            window.uetq = new UET(bingadsCreate);
2916            window.uetq.push('pageLoad');
2917        });
2918    }
2919};
2920
2921//Matterport
2922/*
2923SERVICE INIT
2924    (tarteaucitron.job = tarteaucitron.job || []).push('matterport');
2925
2926HTML TAG
2927    <div class="matterport" matterportid="N2Q67sZUNUd" width="100%" height="550" parameters="&play=1"></div>
2928
2929DELETE IFRAME
2930    <iframe type="text/html" width="100%" height="550" src="https://my.matterport.com/show/?m=N2Q67sZUNUd&utm_source=hit-content&play=1" frameborder="0" allowfullscreen="allowfullscreen"></iframe>'
2931 */
2932tarteaucitron.services.matterport = {
2933  "key": "matterport",
2934  "type": "other",
2935  "name": "Matterport",
2936  "uri": "https://matterport.com/es/legal/privacy-policy/",
2937  "needConsent": true,
2938  "cookies": ['__cfduid', 'ajs_anonymous_id', 'ajs_group_id', 'ajs_user_id'],
2939  "js": function () {
2940    "use strict";
2941    tarteaucitron.fallback(['matterport'], function (x) {
2942      var matterport_id = x.getAttribute("matterportID"),
2943        matterport_width = x.getAttribute("width"),
2944        frame_width = 'width=',
2945        matterport_height = x.getAttribute("height"),
2946        frame_height = 'height=',
2947        matterport_parameters = x.getAttribute("parameters"),
2948        matterport_frame;
2949
2950      if (matterport_id === undefined) {
2951        return "";
2952      }
2953      if (matterport_width !== undefined) {
2954        frame_width += '"' + matterport_width + '" ';
2955      } else {
2956        frame_width += '"" ';
2957      }
2958      if (matterport_height !== undefined) {
2959        frame_height += '"' + matterport_height + '" ';
2960      } else {
2961        frame_height += '"" ';
2962      }
2963      if (matterport_parameters === undefined) {
2964        return "";
2965      }
2966
2967      matterport_frame = '<iframe type="text/html" ' + frame_width + frame_height + ' src="https://my.matterport.com/show/?m=' + matterport_id + '&utm_source=hit-content' + matterport_parameters + '" frameborder="0" allowfullscreen="allowfullscreen"></iframe>';
2968      return matterport_frame;
2969    });
2970  },
2971  "fallback": function () {
2972    "use strict";
2973    var id = 'matterport';
2974    tarteaucitron.fallback(['matterport'], function (elem) {
2975      elem.style.width = elem.getAttribute('width') + 'px';
2976      elem.style.height = elem.getAttribute('height') + 'px';
2977      return tarteaucitron.engage(id);
2978    });
2979  }
2980};
2981
2982// Adform
2983tarteaucitron.services.adform = {
2984    "key": "adform",
2985    "type": "ads",
2986    "name": "Adform",
2987    "uri": "https://site.adform.com/privacy-center/overview/",
2988    "needConsent": true,
2989    "cookies": [],
2990    "js": function () {
2991        "use strict";
2992
2993        if (tarteaucitron.user.adformpm === undefined || tarteaucitron.user.adformpagename === undefined) {
2994            return;
2995        }
2996
2997        window._adftrack = {
2998            pm: tarteaucitron.user.adformpm,
2999            divider: encodeURIComponent('|'),
3000            pagename: encodeURIComponent(tarteaucitron.user.adformpagename)
3001        };
3002
3003        tarteaucitron.addScript("https://track.adform.net/serving/scripts/trackpoint/async/");
3004    }
3005};
3006
3007// Active Campaign
3008tarteaucitron.services.activecampaign = {
3009    "key": "activecampaign",
3010    "type": "ads",
3011    "name": "Active Campaign",
3012    "uri": "https://www.activecampaign.com/privacy-policy/",
3013    "needConsent": true,
3014    "cookies": [],
3015    "js": function () {
3016        "use strict";
3017        if (tarteaucitron.user.actid === undefined) {
3018            return;
3019        }
3020
3021        window.trackcmp_email = '';
3022
3023        tarteaucitron.addScript('https://trackcmp.net/visit?actid='+tarteaucitron.user.actid+'&e='+encodeURIComponent(trackcmp_email)+'&r='+encodeURIComponent(document.referrer)+'&u='+encodeURIComponent(window.location.href));
3024    }
3025};
3026
3027// tawk.to
3028tarteaucitron.services.tawkto = {
3029    "key": "tawkto",
3030    "type": "support",
3031    "name": "Tawk.to chat",
3032    "uri": "https://www.tawk.to/data-protection/",
3033    "needConsent": true,
3034    "cookies": [],
3035    "js": function () {
3036        "use strict";
3037        if (tarteaucitron.user.tawktoId === undefined) {
3038            return;
3039        }
3040
3041        window.Tawk_API=window.Tawk_API||{};
3042        window.Tawk_LoadStart=new Date();
3043
3044        tarteaucitron.addScript('https://embed.tawk.to/' + tarteaucitron.user.tawktoId + '/default');
3045    }
3046
3047};
3048
3049// getquanty
3050tarteaucitron.services.getquanty = {
3051    "key": "getquanty",
3052    "type": "analytic",
3053    "name": "GetQuanty",
3054    "uri": "https://www.getquanty.com/mentions-legales/",
3055    "needConsent": true,
3056    "cookies": ['_first_pageview', 'eqy_sessionid', 'eqy_siteid','cluid','eqy_company', 'cluid', 'gq_utm', '_jsuid'],
3057    "js": function () {
3058        "use strict";
3059        if (tarteaucitron.user.getguanty === undefined) {
3060            return;
3061        }
3062
3063        window.webleads_site_ids = window.webleads_site_ids || [];
3064        window.webleads_site_ids.push(tarteaucitron.user.getguanty);
3065
3066        tarteaucitron.addScript('https://stats.webleads-tracker.com/js');
3067        tarteaucitron.addScript('https://get.smart-data-systems.com/track?site_id=' + tarteaucitron.user.getguanty);
3068    }
3069};
3070
3071// emolytics
3072tarteaucitron.services.emolytics = {
3073    "key": "emolytics",
3074    "type": "analytic",
3075    "name": "Emolytics",
3076    "uri": "https://www.emolytics.com/main/privacy-policy.php",
3077    "needConsent": true,
3078    "cookies": ['__hssc', '__hssrc', '__hstc', '_ga', '_gid', 'hubspotutk', 'lang', 'incap_ses_', 'nlbi_', 'visid_incap_'],
3079    "js": function () {
3080        "use strict";
3081        if (tarteaucitron.user.emolyticsID === undefined) {
3082            return;
3083        }
3084        var scriptEmolytics = document.createElement('script');
3085        scriptEmolytics.text = 'var getsmily_id="'+tarteaucitron.user.emolyticsID+'";';
3086        document.getElementsByTagName('body')[0].appendChild(scriptEmolytics);
3087        tarteaucitron.addScript('https://cdn.emolytics.com/script/emolytics-widget.js')
3088    }
3089};
3090
3091// youtubeapi
3092tarteaucitron.services.youtubeapi = {
3093    "key": "youtubeapi",
3094    "type": "video",
3095    "name": "Youtube (Js API)",
3096    "uri": "https://policies.google.com/privacy/",
3097    "needConsent": true,
3098    "cookies": [],
3099    "js": function () {
3100        "use strict";
3101        tarteaucitron.addScript('https://www.youtube.com/player_api');
3102    }
3103};
3104
3105// Facil'ITI
3106tarteaucitron.services.faciliti = {
3107    "key": "faciliti",
3108    "type": "other",
3109    "name": "Facil'ITI",
3110    "uri": "https://ws.facil-iti.com/mentions-legales.html",
3111    "needConsent": true,
3112    "cookies": ['FACIL_ITI_LS'],
3113    "js": function () {
3114        "use strict";
3115        if (tarteaucitron.user.facilitiID === undefined) {
3116            return;
3117        }
3118
3119        (function(w, d, s, f) {
3120            w[f] = w[f] || {conf: function () { (w[f].data = w[f].data || []).push(arguments);}};
3121            var l = d.createElement(s), e = d.getElementsByTagName(s)[0];
3122            l.async = 1; l.src = 'https://ws.facil-iti.com/tag/faciliti-tag.min.js'; e.parentNode.insertBefore(l, e);
3123        }(window, document, 'script', 'FACIL_ITI'));
3124        FACIL_ITI.conf('userId', tarteaucitron.user.facilitiID);
3125    }
3126};
3127
3128// userlike
3129tarteaucitron.services.userlike = {
vendor: 2,137 bytes, lines 3130-3185
3130    "key": "userlike",
3131    "type": "support",
3132    "name": "Userlike",
3133    "uri": "https://www.userlike.com/en/terms#privacy-policy",
3134    "needConsent": true,
3135    "cookies": ['uslk_s', 'uslk_e'],
3136    "js": function () {
3137        "use strict";
3138        if (tarteaucitron.user.userlikeKey === undefined) {
3139            return;
3140        }
3141        tarteaucitron.addScript('//userlike-cdn-widgets.s3-eu-west-1.amazonaws.com/' + tarteaucitron.user.userlikeKey);
3142    }
3143};
3144                          
3145// adobeanalytics
3146tarteaucitron.services.adobeanalytics = {
3147    "key": "adobeanalytics",
3148    "type": "analytic",
3149    "name": "Adobe Analytics",
3150    "uri": "https://www.adobe.com/privacy/policy.html",
3151    "needConsent": true,
3152    "cookies": ['s_ecid', 's_cc', 's_sq', 's_vi', 's_fid'],
3153    "js": function () {
3154        "use strict";
3155        if (tarteaucitron.user.adobeanalyticskey === undefined) {
3156            return;
3157        }
3158        tarteaucitron.addScript('//assets.adobedtm.com/launch-' + tarteaucitron.user.adobeanalyticskey + '.min.js');
3159    }
3160};
3161
3162// woopra customer journey analytics
3163tarteaucitron.services.woopra = {
3164    'key': 'woopra',
3165    'type': 'analytic',
3166    'name': 'Woopra Customer Journey Analytics',
3167    'uri': 'https://www.woopra.com/privacy',
3168    'needConsent': true,
3169    'cookies': ['wooTracker', 'intercom-session-erbfalba', 'intercom-id-erbfalba'],
3170    'js': function () {
3171        'use strict';
3172        //var w = tarteaucitron.user.woopraDomain;
3173        //window[w] = window[w] || [];
3174
3175        (function(){
3176		  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)
3177		})("woopra");
3178
3179		woopra.config({
3180		    domain: tarteaucitron.user.woopraDomain
3181		});
3182		woopra.track();
3183    }
3184};
3185

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.