PageSourceSearch

https://plainecommune.fr/_assets/e0c6a75b4312172dfffe0ab5547c1bc8/…/tarteaucitron.services.js?1777458924

js plainecommune.fr collected 2026-09-24 09:35:03 UTC 115,255 bytes, 3,186 lines download raw bytes

vendor: 9,085 bytes, lines 1-245
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: 17,360 bytes, lines 745-1266
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		new google.maps.Marker({position:{lat:parseFloat(document.getElementById(uniqIds[i]).getAttribute('latitude'), 10),lng:parseFloat(document.getElementById(uniqIds[i]).getAttribute('longitude'), 10)},map:map});
1283            }
1284        };
1285    },
1286    "fallback": function () {
1287        "use strict";
1288        var id = 'googlemaps';
1289        tarteaucitron.fallback(['googlemaps-canvas'], tarteaucitron.engage(id));
1290    }
1291};
1292
1293// googlemaps search
1294tarteaucitron.services.googlemapssearch = {
1295    "key": "googlemapssearch",
1296    "type": "api",
1297    "name": "Google Maps Search API",
1298    "uri": "https://adssettings.google.com/",
1299    "needConsent": true,
1300    "cookies": ['nid'],
1301    "js": function () {
1302        "use strict";
1303        tarteaucitron.fallback(['googlemapssearch'], function (x) {
1304            var width = x.getAttribute("width"),
1305                height = x.getAttribute("height"),
1306                // url = x.getAttribute("data-url");
1307                query = escape(x.getAttribute("data-search")),
1308                key = x.getAttribute("data-api-key");
1309
1310            // return '<iframe src="' + url + '" width="' + width + '" height="' + height + '" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>';
1311            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> '
1312        });
1313    },
1314    "fallback": function () {
1315        "use strict";
1316        var id = 'googlemapssearch';
1317        tarteaucitron.fallback(['googlemapssearch'], function (elem) {
1318            elem.style.width = elem.getAttribute('width') + 'px';
1319            elem.style.height = elem.getAttribute('height') + 'px';
1320            return tarteaucitron.engage(id);
1321        });
1322    }
1323};
1324
1325// googlemaps embed iframe
1326tarteaucitron.services.googlemapsembed = {
1327    "key": "googlemapsembed",
1328    "type": "api",
1329    "name": "Google Maps Embed",
1330    "uri": "https://adssettings.google.com/",
1331    "needConsent": true,
1332    "cookies": ['apisid', 'hsid', 'nid', 'sapisid', 'sid', 'sidcc', 'ssid', '1p_jar'],
1333    "js": function () {
1334        "use strict";
1335        tarteaucitron.fallback(['googlemapsembed'], function (x) {
1336            var width = tarteaucitron.getElemWidth(x),
1337                height = tarteaucitron.getElemHeight(x),
1338                url = x.getAttribute("data-url");
1339
1340            return '<iframe src="' + url + '" width="' + width + '" height="' + height + '" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>';
1341        });
1342    },
1343    "fallback": function () {
1344        "use strict";
1345        var id = 'googlemapsembed';
1346        tarteaucitron.fallback(['googlemapsembed'], function (elem) {
1347            elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';
1348            elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';
1349            return tarteaucitron.engage(id);
1350        });
1351    }
1352};
1353
1354// google tag manager
1355tarteaucitron.services.googletagmanager = {
vendor: 8,816 bytes, lines 1356-1624
1356    "key": "googletagmanager",
1357    "type": "api",
1358    "name": "Google Tag Manager",
1359    "uri": "https://adssettings.google.com/",
1360    "needConsent": true,
1361    "cookies": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '__gads', '_drt_', 'FLC', 'exchange_uid', 'id', 'fc', 'rrs', 'rds', 'rv', 'uid', 'UIDR', 'UID', 'clid', 'ipinfo', 'acs'],
1362    "js": function () {
1363        "use strict";
1364        if (tarteaucitron.user.googletagmanagerId === undefined) {
1365            return;
1366        }
1367        window.dataLayer = window.dataLayer || [];
1368        window.dataLayer.push({
1369            'gtm.start': new Date().getTime(),
1370            event: 'gtm.js'
1371        });
1372        tarteaucitron.addScript('https://www.googletagmanager.com/gtm.js?id=' + tarteaucitron.user.googletagmanagerId);
1373    }
1374};
1375
1376// google tag manager multiple
1377tarteaucitron.services.multiplegoogletagmanager = {
1378  "key": "multiplegoogletagmanager",
1379  "type": "api",
1380  "name": "Google Tag Manager",
1381  "uri": "https://adssettings.google.com/",
1382  "needConsent": true,
1383  "cookies": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '__gads', '_drt_', 'FLC', 'exchange_uid', 'id', 'fc', 'rrs', 'rds', 'rv', 'uid', 'UIDR', 'UID', 'clid', 'ipinfo', 'acs'],
1384  "js": function () {
1385    "use strict";
1386    if (tarteaucitron.user.multiplegoogletagmanagerId === undefined) {
1387      return;
1388    }
1389    window.dataLayer = window.dataLayer || [];
1390    window.dataLayer.push({
1391      'gtm.start': new Date().getTime(),
1392      event: 'gtm.js'
1393    });
1394
1395    tarteaucitron.user.multiplegoogletagmanagerId.forEach(function (id) {
1396      tarteaucitron.addScript('https://www.googletagmanager.com/gtm.js?id=' + id);
1397    });
1398
1399  }
1400};
1401
1402// google webfonts
1403tarteaucitron.services.googlefonts = {
1404  "key": "googlefonts",
1405  "type": "api",
1406  "name": "Google Webfonts",
1407  "uri": "https://www.google.com/intl/de/policies/privacy/",
1408  "needConsent": true,
1409  "cookies": [],
1410  "js": function () {
1411    "use strict";
1412    if (tarteaucitron.user.googleFonts === undefined) {
1413      return;
1414    }
1415    tarteaucitron.addScript('//ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js', '', function () {
1416      WebFont.load({
1417        google: {
1418          families: tarteaucitron.user.googleFonts
1419        }
1420      });
1421    });
1422  }
1423};
1424
1425// hubspot
1426tarteaucitron.services.hubspot = {
1427    "key": "hubspot",
1428    "type": "analytic",
1429    "name": "Hubspot",
1430    "uri": "https://legal.hubspot.com/privacy-policy",
1431    "needConsent": true,
1432    "cookies": ['hubspotutk', 'fr', '__hstc', '__hssrc', '__hssc', '__cfduid'],
1433    "js": function () {
1434        "use strict";
1435        tarteaucitron.addScript('//js.hs-scripts.com/' + tarteaucitron.user.hubspotId + '.js', 'hs-script-loader');
1436    }
1437};
1438
1439// jsapi
1440tarteaucitron.services.jsapi = {
1441    "key": "jsapi",
1442    "type": "api",
1443    "name": "Google jsapi",
1444    "uri": "https://policies.google.com/privacy",
1445    "needConsent": true,
1446    "cookies": [],
1447    "js": function () {
1448        "use strict";
1449        tarteaucitron.addScript('//www.google.com/jsapi');
1450    }
1451};
1452
1453// twitterwidgetsapi
1454tarteaucitron.services.twitterwidgetsapi = {
1455    "key": "twitterwidgetsapi",
1456    "type": "api",
1457    "name": "Twitter Widgets API",
1458    "uri": "https://support.twitter.com/articles/20170514",
1459    "needConsent": true,
1460    "cookies": [],
1461    "js": function () {
1462        "use strict";
1463        tarteaucitron.fallback(['tacTwitterAPI'], '');
1464        tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
1465    },
1466    "fallback": function () {
1467        "use strict";
1468        var id = 'twitterwidgetsapi';
1469        tarteaucitron.fallback(['tacTwitterAPI'], tarteaucitron.engage(id));
1470    }
1471};
1472
1473// recaptcha
1474tarteaucitron.services.recaptcha = {
1475    "key": "recaptcha",
1476    "type": "api",
1477    "name": "reCAPTCHA",
1478    "uri": "https://policies.google.com/privacy",
1479    "needConsent": true,
1480    "cookies": ['nid'],
1481    "js": function () {
1482        "use strict";
1483        window.tacRecaptchaOnLoad = tarteaucitron.user.recaptchaOnLoad || function() {};
1484        tarteaucitron.fallback(['g-recaptcha'], '');
1485        tarteaucitron.addScript('https://www.google.com/recaptcha/api.js?onload=tacRecaptchaOnLoad');
1486    },
1487    "fallback": function () {
1488        "use strict";
1489        var id = 'recaptcha';
1490        tarteaucitron.fallback(['g-recaptcha'], tarteaucitron.engage(id));
1491    }
1492};
1493
1494// linkedin
1495tarteaucitron.services.linkedin = {
1496    "key": "linkedin",
1497    "type": "social",
1498    "name": "Linkedin",
1499    "uri": "https://www.linkedin.com/legal/cookie_policy",
1500    "needConsent": true,
1501    "cookies": [],
1502    "js": function () {
1503        "use strict";
1504        tarteaucitron.fallback(['tacLinkedin'], '');
1505        tarteaucitron.addScript('//platform.linkedin.com/in.js');
1506        if (tarteaucitron.isAjax === true) {
1507            if (typeof IN !== "undefined") {
1508                IN.parse();
1509            }
1510        }
1511    },
1512    "fallback": function () {
1513        "use strict";
1514        var id = 'linkedin';
1515        tarteaucitron.fallback(['tacLinkedin'], tarteaucitron.engage(id));
1516    }
1517};
1518
1519// mautic
1520tarteaucitron.services.mautic = {
1521    "key": "mautic",
1522    "type": "analytic",
1523    "name": "Mautic",
1524    "uri": "https://www.mautic.org/privacy-policy/",
1525    "needConsent": true,
1526    "cookies": ['mtc_id', 'mtc_sid'],
1527    "js": function () {
1528        "use strict";
1529        if (tarteaucitron.user.mauticurl === undefined) {
1530            return;
1531        }
1532
1533        window.MauticTrackingObject = 'mt';
1534        window.mt = window.mt || function () {
1535            window.mt.q = window.mt.q || [];
1536            window.mt.q.push(arguments);
1537        };
1538
1539        tarteaucitron.addScript(tarteaucitron.user.mauticurl, '', function() {
1540            mt('send', 'pageview');
1541        });
1542    }
1543};
1544
1545// microsoftcampaignanalytics
1546tarteaucitron.services.microsoftcampaignanalytics = {
1547    "key": "microsoftcampaignanalytics",
1548    "type": "analytic",
1549    "name": "Microsoft Campaign Analytics",
1550    "uri": "https://privacy.microsoft.com/privacystatement/",
1551    "needConsent": true,
1552    "cookies": [],
1553    "js": function () {
1554        "use strict";
1555        if (tarteaucitron.user.microsoftcampaignanalyticsUUID === undefined) {
1556            return;
1557        }
1558
1559        tarteaucitron.addScript('//flex.atdmt.com/mstag/site/' + tarteaucitron.user.microsoftcampaignanalyticsUUID + '/mstag.js', 'mstag_tops', function () {
1560            window.mstag = {loadTag : function () {}, time : (new Date()).getTime()};
1561            window.mstag.loadTag("analytics", {dedup: "1", domainId: tarteaucitron.user.microsoftcampaignanalyticsdomainId, type: "1", actionid: tarteaucitron.user.microsoftcampaignanalyticsactionId});
1562        });
1563    }
1564};
1565
1566// pinterest
1567tarteaucitron.services.pinterest = {
1568    "key": "pinterest",
1569    "type": "social",
1570    "name": "Pinterest",
1571    "uri": "https://about.pinterest.com/privacy-policy",
1572    "needConsent": true,
1573    "cookies": [],
1574    "js": function () {
1575        "use strict";
1576        tarteaucitron.fallback(['tacPinterest'], '');
1577        tarteaucitron.addScript('//assets.pinterest.com/js/pinit.js');
1578    },
1579    "fallback": function () {
1580        "use strict";
1581        var id = 'pinterest';
1582        tarteaucitron.fallback(['tacPinterest'], tarteaucitron.engage(id));
1583    }
1584};
1585
1586// prelinker
1587tarteaucitron.services.prelinker = {
1588    "key": "prelinker",
1589    "type": "ads",
1590    "name": "Prelinker",
1591    "uri": "http://www.prelinker.com/index/index/cgu/",
1592    "needConsent": true,
1593    "cookies": ['_sp_id.32f5', '_sp_ses.32f5'],
1594    "js": function () {
1595        "use strict";
1596        var uniqIds = [],
1597            i,
1598            uri;
1599
1600        tarteaucitron.fallback(['prelinker-canvas'], function (x) {
1601            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
1602            uniqIds.push(uniqId);
1603            return '<div id="' + uniqId + '" siteId="' + x.getAttribute('siteId') + '" bannerId="' + x.getAttribute('bannerId') + '" defaultLanguage="' + x.getAttribute('defaultLanguage') + '" tracker="' + x.getAttribute('tracker') + '"></div>';
1604        });
1605
1606        for (i = 0; i < uniqIds.length; i += 1) {
1607            uri = 'http://promo.easy-dating.org/banner/index?';
1608            uri += 'site_id=' + document.getElementById(uniqIds[i]).getAttribute('siteId') + '&';
1609            uri += 'banner_id=' + document.getElementById(uniqIds[i]).getAttribute('bannerId') + '&';
1610            uri += 'default_language=' + document.getElementById(uniqIds[i]).getAttribute('defaultLanguage') + '&';
1611            uri += 'tr4ck=' + document.getElementById(uniqIds[i]).getAttribute('trackrt');
1612
1613            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
1614        }
1615    },
1616    "fallback": function () {
1617        "use strict";
1618        var id = 'prelinker';
1619        tarteaucitron.fallback(['prelinker-canvas'], tarteaucitron.engage(id));
1620    }
1621};
1622
1623// prezi
1624tarteaucitron.services.prezi = {
1625    "key": "prezi",
1626    "type": "video",
1627    "name": "Prezi",
1628    "uri": "https://prezi.com/privacy-policy/",
1629    "needConsent": true,
1630    "cookies": [],
1631    "js": function () {
1632        "use strict";
1633        tarteaucitron.fallback(['prezi-canvas'], function (x) {
1634            var id = x.getAttribute("data-id"),
1635                width = x.getAttribute("width"),
1636                height = x.getAttribute("height"),
1637                url = 'https://prezi.com/embed/' + id + '/?bgcolor=ffffff&amp;lock_to_path=0&amp;autoplay=0&amp;autohide_ctrls=0';
1638
1639            return '<iframe src="' + url + '" width="' + width + '" height="' + height + '" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>';
1640        });
1641    },
1642    "fallback": function () {
1643        "use strict";
1644        var id = 'prezi';
1645        tarteaucitron.fallback(['prezi-canvas'], function (elem) {
1646            elem.style.width = elem.getAttribute('width') + 'px';
1647            elem.style.height = elem.getAttribute('height') + 'px';
1648            return tarteaucitron.engage(id);
1649        });
1650    }
1651};
1652
1653// pubdirecte
1654tarteaucitron.services.pubdirecte = {
1655    "key": "pubdirecte",
1656    "type": "ads",
1657    "name": "Pubdirecte",
1658    "uri": "http://pubdirecte.com/contact.php",
1659    "needConsent": true,
1660    "cookies": [],
1661    "js": function () {
1662        "use strict";
1663        var uniqIds = [],
1664            i,
1665            uri;
1666
1667        tarteaucitron.fallback(['pubdirecte-canvas'], function (x) {
1668            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
1669            uniqIds.push(uniqId);
1670            return '<div id="' + uniqId + '" pid="' + x.getAttribute('pid') + '" ref="' + x.getAttribute('ref') + '"></div>';
1671        });
1672
1673        for (i = 0; i < uniqIds.length; i += 1) {
1674            uri = '//www.pubdirecte.com/script/banniere.php?';
1675            uri += 'id=' + document.getElementById(uniqIds[i]).getAttribute('pid') + '&';
1676            uri += 'ref=' + document.getElementById(uniqIds[i]).getAttribute('ref');
1677
1678            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
1679        }
1680    },
1681    "fallback": function () {
1682        "use strict";
1683        var id = 'pubdirecte';
1684        tarteaucitron.fallback(['pubdirecte-canvas'], tarteaucitron.engage(id));
1685    }
1686};
1687
1688// purechat
1689tarteaucitron.services.purechat = {
1690    "key": "purechat",
1691    "type": "support",
1692    "name": "PureChat",
1693    "uri": "https://www.purechat.com/privacy",
1694    "needConsent": true,
1695    "cookies": [],
1696    "js": function () {
1697        "use strict";
1698        if (tarteaucitron.user.purechatId === undefined) {
1699            return;
1700        }
1701
1702        tarteaucitron.addScript('//app.purechat.com/VisitorWidget/WidgetScript', '', function () {
1703            try {
1704                window.w = new PCWidget({ c: tarteaucitron.user.purechatId, f: true });
1705            } catch (e) {}
1706        });
1707    }
1708};
1709
1710// rumbletalk
1711tarteaucitron.services.rumbletalk = {
1712    "key": "rumbletalk",
1713    "type": "social",
1714    "name": "RumbleTalk",
1715    "needConsent": true,
1716    "cookies": ['AWSALB'],
1717    "js": function () {
1718        "use strict";
1719        if (tarteaucitron.user.rumbletalkid === undefined) {
1720            return;
1721        }
1722
1723        tarteaucitron.addScript('https://rumbletalk.com/client/?' + tarteaucitron.user.rumbletalkid);
1724
1725        tarteaucitron.fallback(['rumbletalk'], function (x) {
1726            var width = tarteaucitron.getElemWidth(x),
1727                height = tarteaucitron.getElemHeight(x),
1728                id = x.getAttribute("data-id");
1729
1730                return '<div style="height: ' + height + 'px; width: ' + width + 'px;"><div id="' + id + '"></div></div>';
1731      });
1732    },
1733    "fallback": function () {
1734      "use strict";
1735        var id = 'rumbletalk';
1736            tarteaucitron.fallback(['rumbletalk'], function (elem) {
1737                elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';
1738                elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';
1739
1740                return tarteaucitron.engage(id);
1741            });
1742    }
1743  };
1744
1745// shareaholic
1746tarteaucitron.services.shareaholic = {
1747    "key": "shareaholic",
1748    "type": "social",
1749    "name": "Shareaholic",
1750    "uri": "https://shareaholic.com/privacy/choices",
1751    "needConsent": true,
1752    "cookies": ['__utma', '__utmb', '__utmc', '__utmz', '__utmt_Shareaholic%20Pageviews'],
1753    "js": function () {
1754        "use strict";
1755        if (tarteaucitron.user.shareaholicSiteId === undefined) {
1756            return;
1757        }
1758
1759        tarteaucitron.fallback(['shareaholic-canvas'], '');
1760        tarteaucitron.addScript('//dsms0mj1bbhn4.cloudfront.net/assets/pub/shareaholic.js', '', function () {
1761            try {
1762                Shareaholic.init(tarteaucitron.user.shareaholicSiteId);
1763            } catch (e) {}
1764        });
1765    },
1766    "fallback": function () {
1767        "use strict";
1768        var id = 'shareaholic';
1769        tarteaucitron.fallback(['shareaholic-canvas'], tarteaucitron.engage(id));
1770    }
1771};
1772
1773// shareasale
1774tarteaucitron.services.shareasale = {
1775    "key": "shareasale",
1776    "type": "ads",
1777    "name": "ShareASale",
1778    "uri": "https://www.shareasale.com/PrivacyPolicy.pdf",
1779    "needConsent": true,
1780    "cookies": [],
1781    "js": function () {
1782        "use strict";
1783        var uniqIds = [],
1784            i,
1785            uri;
1786
1787        tarteaucitron.fallback(['shareasale-canvas'], function (x) {
1788            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
1789            uniqIds.push(uniqId);
1790            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>';
1791        });
1792
1793        for (i = 0; i < uniqIds.length; i += 1) {
1794            uri = 'https://shareasale.com/sale.cfm?';
1795            uri += 'amount=' + document.getElementById(uniqIds[i]).getAttribute('amount') + '&';
1796            uri += 'tracking=' + document.getElementById(uniqIds[i]).getAttribute('tracking') + '&';
1797            uri += 'transtype=' + document.getElementById(uniqIds[i]).getAttribute('transtype') + '&';
1798            uri += 'persale=' + document.getElementById(uniqIds[i]).getAttribute('persale') + '&';
1799            uri += 'perlead=' + document.getElementById(uniqIds[i]).getAttribute('perlead') + '&';
1800            uri += 'perhit=' + document.getElementById(uniqIds[i]).getAttribute('perhit') + '&';
1801            uri += 'merchantID=' + document.getElementById(uniqIds[i]).getAttribute('merchantID');
1802
1803            document.getElementById(uniqIds[i]).innerHTML = '<img src=\'' + uri + '\' width=\'1\' height=\'1\' />';
1804        }
1805    },
1806    "fallback": function () {
1807        "use strict";
1808        var id = 'shareasale';
1809        tarteaucitron.fallback(['shareasale-canvas'], tarteaucitron.engage(id));
1810    }
1811};
1812
1813// sharethis
1814tarteaucitron.services.sharethis = {
1815    "key": "sharethis",
1816    "type": "social",
1817    "name": "ShareThis",
1818    "uri": "http://www.sharethis.com/legal/privacy/",
1819    "needConsent": true,
1820    "cookies": ['__unam'],
1821    "js": function () {
1822        "use strict";
1823        if (tarteaucitron.user.sharethisPublisher === undefined) {
1824            return;
1825        }
1826        var switchTo5x = true,
1827            uri = ('https:' === document.location.protocol ? 'https://ws' : 'http://w') + '.sharethis.com/button/buttons.js';
1828
1829        tarteaucitron.fallback(['tacSharethis'], '');
1830        tarteaucitron.addScript(uri, '', function () {
1831            stLight.options({publisher: tarteaucitron.user.sharethisPublisher, doNotHash: false, doNotCopy: false, hashAddressBar: false});
1832        });
1833
1834        if (tarteaucitron.isAjax === true) {
1835            if (typeof stButtons !== "undefined") {
1836                stButtons.locateElements();
1837            }
1838        }
1839    },
1840    "fallback": function () {
1841        "use strict";
1842        var id = 'sharethis';
1843        tarteaucitron.fallback(['tacSharethis'], tarteaucitron.engage(id));
1844    }
1845};
1846
1847// slideshare
1848tarteaucitron.services.slideshare = {
1849    "key": "slideshare",
1850    "type": "video",
1851    "name": "SlideShare",
1852    "uri": "https://www.linkedin.com/legal/privacy-policy",
1853    "needConsent": true,
1854    "cookies": [],
1855    "js": function () {
1856        "use strict";
1857        tarteaucitron.fallback(['slideshare-canvas'], function (x) {
1858            var id = x.getAttribute("data-id"),
1859                width = x.getAttribute("width"),
1860                height = x.getAttribute("height"),
1861                url = '//www.slideshare.net/slideshow/embed_code/' + id;
1862
1863            return '<iframe src="' + url + '" width="' + width + '" height="' + height + '" frameborder="0" scrolling="no" allowtransparency allowfullscreen></iframe>';
1864        });
1865    },
1866    "fallback": function () {
1867        "use strict";
1868        var id = 'slideshare';
1869        tarteaucitron.fallback(['slideshare-canvas'], function (elem) {
1870            elem.style.width = elem.getAttribute('width') + 'px';
1871            elem.style.height = elem.getAttribute('height') + 'px';
1872            return tarteaucitron.engage(id);
1873        });
1874    }
1875};
1876
1877// statcounter
1878tarteaucitron.services.statcounter = {
vendor: 4,283 bytes, lines 1879-2003
1879    "key": "statcounter",
1880    "type": "analytic",
1881    "name": "StatCounter",
1882    "uri": "https://fr.statcounter.com/about/legal/#privacy",
1883    "needConsent": true,
1884    "cookies": ['sc_is_visitor_unique'],
1885    "js": function () {
1886        "use strict";
1887        var uniqIds = [],
1888            i,
1889            uri = '//statcounter.com/counter/counter.js';
1890
1891        tarteaucitron.fallback(['statcounter-canvas'], function (x) {
1892            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
1893            uniqIds.push(uniqId);
1894            return '<div id="' + uniqId + '"></div>';
1895        });
1896
1897        for (i = 0; i < uniqIds.length; i += 1) {
1898            tarteaucitron.makeAsync.init(uri, uniqIds[i]);
1899        }
1900    },
1901    "fallback": function () {
1902        "use strict";
1903        var id = 'statcounter';
1904        tarteaucitron.fallback(['statcounter-canvas'], tarteaucitron.engage(id));
1905    }
1906};
1907
1908// timelinejs
1909tarteaucitron.services.timelinejs = {
1910    "key": "timelinejs",
1911    "type": "api",
1912    "name": "Timeline JS",
1913    "uri": "http://timeline.knightlab.com/#help",
1914    "needConsent": true,
1915    "cookies": [],
1916    "js": function () {
1917        "use strict";
1918        tarteaucitron.fallback(['timelinejs-canvas'], function (x) {
1919            var spreadsheet_id = x.getAttribute("spreadsheet_id"),
1920                width = x.getAttribute("width"),
1921                height = x.getAttribute("height"),
1922                lang = x.getAttribute("lang_2_letter"),
1923                font = x.getAttribute("font"),
1924                map = x.getAttribute("map"),
1925                start_at_end = x.getAttribute("start_at_end"),
1926                hash_bookmark = x.getAttribute("hash_bookmark"),
1927                start_at_slide = x.getAttribute("start_at_slide"),
1928                start_zoom = x.getAttribute("start_zoom"),
1929                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;
1930
1931            return '<iframe src="' + url + '" width="' + width + '" height="' + height + '" frameborder="0" allowtransparency allowfullscreen></iframe>';
1932        });
1933    },
1934    "fallback": function () {
1935        "use strict";
1936        var id = 'timelinejs';
1937        tarteaucitron.fallback(['timelinejs-canvas'], function (elem) {
1938            elem.style.width = elem.getAttribute('width') + 'px';
1939            elem.style.height = elem.getAttribute('height') + 'px';
1940            return tarteaucitron.engage(id);
1941        });
1942    }
1943};
1944
1945// tagcommander
1946tarteaucitron.services.tagcommander = {
1947    "key": "tagcommander",
1948    "type": "api",
1949    "name": "TagCommander",
1950    "uri": "https://www.commandersact.com/en/privacy/",
1951    "needConsent": true,
1952    "cookies": [],
1953    "js": function () {
1954        "use strict";
1955        if (tarteaucitron.user.tagcommanderid === undefined) {
1956            return;
1957        }
1958        tarteaucitron.addScript('https://cdn.tagcommander.com/' + tarteaucitron.user.tagcommanderid + '.js');
1959    }
1960};
1961
1962// typekit
1963tarteaucitron.services.typekit = {
1964    "key": "typekit",
1965    "type": "api",
1966    "name": "Typekit (adobe)",
1967    "uri": "https://www.adobe.com/privacy.html",
1968    "needConsent": true,
1969    "cookies": [],
1970    "js": function () {
1971        "use strict";
1972        if (tarteaucitron.user.typekitId === undefined) {
1973            return;
1974        }
1975        tarteaucitron.addScript('//use.typekit.net/' + tarteaucitron.user.typekitId + '.js', '', function () {
1976            try {
1977                Typekit.load();
1978            } catch (e) {}
1979        });
1980    }
1981};
1982
1983// twenga
1984tarteaucitron.services.twenga = {
1985    "key": "twenga",
1986    "type": "ads",
1987    "name": "Twenga",
1988    "uri": "http://www.twenga.com/privacy.php",
1989    "needConsent": true,
1990    "cookies": [],
1991    "js": function () {
1992        "use strict";
1993
1994        if (tarteaucitron.user.twengaId === undefined || tarteaucitron.user.twengaLocale === undefined) {
1995            return;
1996        }
1997
1998        tarteaucitron.addScript('//tracker.twenga.' + tarteaucitron.user.twengaLocale + '/st/tracker_' + tarteaucitron.user.twengaId + '.js');
1999    }
2000};
2001
2002// twitter
2003tarteaucitron.services.twitter = {
2004    "key": "twitter",
2005    "type": "social",
2006    "name": "Twitter",
2007    "uri": "https://support.twitter.com/articles/20170514",
2008    "needConsent": true,
2009    "cookies": [],
2010    "js": function () {
2011        "use strict";
2012        tarteaucitron.fallback(['tacTwitter'], '');
2013        tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
2014    },
2015    "fallback": function () {
2016        "use strict";
2017        var id = 'twitter';
2018        tarteaucitron.fallback(['tacTwitter'], tarteaucitron.engage(id));
2019    }
2020};
2021
2022// twitter embed
2023tarteaucitron.services.twitterembed = {
2024    "key": "twitterembed",
2025    "type": "social",
2026    "name": "Twitter (cards)",
2027    "uri": "https://support.twitter.com/articles/20170514",
2028    "needConsent": true,
2029    "cookies": [],
2030    "js": function () {
2031        "use strict";
2032        var uniqIds = [],
2033            i,
2034            e,
2035            html;
2036
2037        tarteaucitron.fallback(['twitterembed-canvas'], function (x) {
2038            var uniqId = '_' + Math.random().toString(36).substr(2, 9);
2039            uniqIds.push(uniqId);
2040            html = '<div id="' + uniqId + '" ';
2041            html += 'tweetid="' + x.getAttribute('tweetid') + '" ';
2042            html += 'theme="' + x.getAttribute('theme') + '" ';
2043            html += 'cards="' + x.getAttribute('cards') + '" ';
2044            html += 'conversation="' + x.getAttribute('conversation') + '" ';
2045            html += 'data-width="' + x.getAttribute('data-width') + '" ';
2046            html += 'data-align="' + x.getAttribute('data-align') + '" ';
2047            html += '></div>';
2048            return html;
2049        });
2050
2051        tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs', function () {
2052            for (i = 0; i < uniqIds.length; i += 1) {
2053                e = document.getElementById(uniqIds[i]);
2054                twttr.widgets.createTweet(
2055                    e.getAttribute('tweetid'),
2056                    e,
2057                    {
2058                        theme: e.getAttribute('theme'),
2059                        cards: e.getAttribute('cards'),
2060                        conversation: e.getAttribute('conversation'),
2061                        lang: tarteaucitron.getLanguage(),
2062                        dnt: true,
2063                        width: e.getAttribute('data-width'),
2064                        align: e.getAttribute('data-align')
2065                    }
2066                );
2067            }
2068        });
2069    },
2070    "fallback": function () {
2071        "use strict";
2072        var id = 'twitterembed';
2073        tarteaucitron.fallback(['twitterembed-canvas'], function (elem) {
2074            elem.style.width = elem.getAttribute('data-width') + 'px';
2075            return tarteaucitron.engage(id);
2076        });
2077    }
2078};
2079
2080// twitter timeline
2081tarteaucitron.services.twittertimeline = {
2082    "key": "twittertimeline",
2083    "type": "social",
2084    "name": "Twitter (timelines)",
2085    "uri": "https://support.twitter.com/articles/20170514",
2086    "needConsent": true,
2087    "cookies": [],
2088    "js": function () {
2089        "use strict";
2090        tarteaucitron.fallback(['tacTwitterTimelines'], '');
2091        tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
2092    },
2093    "fallback": function () {
2094        "use strict";
2095        var id = 'twittertimeline';
2096        tarteaucitron.fallback(['tacTwitterTimelines'], tarteaucitron.engage(id));
2097    }
2098};
2099
2100// user voice
2101tarteaucitron.services.uservoice = {
2102    "key": "uservoice",
2103    "type": "support",
2104    "name": "UserVoice",
2105    "uri": "https://www.uservoice.com/privacy/",
2106    "needConsent": true,
2107    "cookies": [],
2108    "js": function () {
2109        "use strict";
2110        if (tarteaucitron.user.userVoiceApi === undefined) {
2111            return;
2112        }
2113        tarteaucitron.addScript('//widget.uservoice.com/' + tarteaucitron.user.userVoiceApi + '.js');
2114    }
2115};
2116
2117// vimeo
2118tarteaucitron.services.vimeo = {
2119    "key": "vimeo",
2120    "type": "video",
2121    "name": "Vimeo",
2122    "uri": "https://vimeo.com/privacy",
2123    "needConsent": true,
2124    "cookies": ['__utmt_player', '__utma', '__utmb', '__utmc', '__utmv', 'vuid', '__utmz', 'player'],
2125    "js": function () {
2126        "use strict";
2127        tarteaucitron.fallback(['vimeo_player'], function (x) {
2128            var video_width = x.getAttribute("data-width") || x.getAttribute("width"),
2129                frame_width = 'width=',
2130                video_height = x.getAttribute("data-height") || x.getAttribute("height"),
2131                frame_height = 'height=',
2132
2133                video_id = x.getAttribute("data-videoID") || x.getAttribute("videoID"),
2134                video_autopause = x.getAttribute("data-autopause") || '',
2135                video_autoplay = x.getAttribute("data-autoplay") || x.getAttribute("autoplay") || '',
2136                video_background = x.getAttribute("data-background") || '',
2137                video_byline = x.getAttribute("data-byline") || x.getAttribute("byline") || '',
2138                video_color = x.getAttribute("data-color") || '',
2139                video_controls = x.getAttribute("data-controls") || '',
2140                video_loop = x.getAttribute("data-loop") || x.getAttribute("loop") || '',
2141                video_maxheight = x.getAttribute("data-maxheight") || '',
2142                video_maxwidth = x.getAttribute("data-maxwidth") || '',
2143                video_muted = x.getAttribute("data-muted") || '',
2144                video_playsinline = x.getAttribute("data-playsinline") || '',
2145                video_portrait = x.getAttribute("data-portrait") || x.getAttribute("portrait") || '',
2146                video_speed = x.getAttribute("data-speed") || '',
2147                video_title = x.getAttribute("data-title") || x.getAttribute("title") || '',
2148                video_transparent = x.getAttribute("data-transparent") || '',
2149
2150                video_frame;
2151
2152
2153            if (video_id === undefined) {
2154                return "";
2155            }
2156            if (video_width !== undefined) {
2157                frame_width += '"' + video_width + '" ';
2158            } else {
2159                frame_width += '"" ';
2160            }
2161            if (video_height !== undefined) {
2162                frame_height += '"' + video_height + '" ';
2163            } else {
2164                frame_height += '"" ';
2165            }
2166
2167            var video_qs = "?";
2168
2169            if (video_title.length > 0) {
2170                video_qs += "title=" + video_title;
2171            }
2172
2173            if (video_byline.length > 0) {
2174                if (video_qs.length > 0) {
2175                    video_qs += "&";
2176                }
2177                video_qs += "byline=" + video_byline;
2178            }
2179
2180            if (video_portrait.length > 0) {
2181                if (video_qs.length > 0) {
2182                    video_qs += "&";
2183                }
2184                video_qs += "portrait=" + video_portrait;
2185            }
2186
2187            if (video_loop.length > 0) {
2188                if (video_qs.length > 0) {
2189                    video_qs += "&";
2190                }
2191                video_qs += "loop=" + video_loop;
2192            }
2193
2194            if (video_autoplay.length > 0) {
2195                if (video_qs.length > 0) {
2196                    video_qs += "&";
2197                }
2198                video_qs += "autoplay=" + video_autoplay;
2199            }
2200
2201            if (video_autopause.length > 0) {
2202                if (video_qs.length > 0) {
2203                    video_qs += "&";
2204                }
2205                video_qs += "autopause=" + video_autopause;
2206            }
2207
2208            if (video_background.length > 0) {
2209                if (video_qs.length > 0) {
2210                    video_qs += "&";
2211                }
2212                video_qs += "background=" + video_background;
2213            }
2214
2215            if (video_color.length > 0) {
2216                if (video_qs.length > 0) {
2217                    video_qs += "&";
2218                }
2219                video_qs += "color=" + video_color;
2220            }
2221
2222            if (video_controls.length > 0) {
2223                if (video_qs.length > 0) {
2224                    video_qs += "&";
2225                }
2226                video_qs += "controls=" + video_controls;
2227            }
2228
2229            if (video_maxheight.length > 0) {
2230                if (video_qs.length > 0) {
2231                    video_qs += "&";
2232                }
2233                video_qs += "maxheight=" + video_maxheight;
2234            }
2235
2236            if (video_maxwidth.length > 0) {
2237                if (video_qs.length > 0) {
2238                    video_qs += "&";
2239                }
2240                video_qs += "maxwidth=" + video_maxwidth;
2241            }
2242
2243            if (video_muted.length > 0) {
2244                if (video_qs.length > 0) {
2245                    video_qs += "&";
2246                }
2247                video_qs += "muted=" + video_muted;
2248            }
2249
2250            if (video_playsinline.length > 0) {
2251                if (video_qs.length > 0) {
2252                    video_qs += "&";
2253                }
2254                video_qs += "playsinline=" + video_playsinline;
2255            }
2256
2257            if (video_speed.length > 0) {
2258                if (video_qs.length > 0) {
2259                    video_qs += "&";
2260                }
2261                video_qs += "speed=" + video_speed;
2262            }
2263
2264            if (video_transparent.length > 0) {
2265                if (video_qs.length > 0) {
2266                    video_qs += "&";
2267                }
2268                video_qs += "transparent=" + video_transparent;
2269            }
2270
2271            if (video_qs === "?") {
2272                video_qs = "";
2273            }
2274
2275            video_frame = '<iframe src="//player.vimeo.com/video/' + video_id + video_qs + '" ' + frame_width + frame_height + ' frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>';
2276
2277            return video_frame;
2278        });
2279    },
2280    "fallback": function () {
2281        "use strict";
2282        var id = 'vimeo';
2283        tarteaucitron.fallback(['vimeo_player'], function (elem) {
2284            elem.style.width = elem.getAttribute('width') + 'px';
2285            elem.style.height = elem.getAttribute('height') + 'px';
2286            return tarteaucitron.engage(id);
2287        });
2288    }
2289};
2290
2291// visualrevenue
2292tarteaucitron.services.visualrevenue = {
2293    "key": "visualrevenue",
2294    "type": "analytic",
2295    "name": "VisualRevenue",
2296    "uri": "http://www.outbrain.com/legal/privacy-713/",
2297    "needConsent": true,
2298    "cookies": ['__vrf', '__vrm', '__vrl', '__vry', '__vru', '__vrid', '__vrz'],
2299    "js": function () {
2300        "use strict";
2301        if (tarteaucitron.user.visualrevenueId === undefined) {
2302            return;
2303        }
2304        window._vrq = window._vrq || [];
2305        window._vrq.push(['id', tarteaucitron.user.visualrevenueId]);
2306        window._vrq.push(['automate', true]);
2307        window._vrq.push(['track', function () {}]);
2308        tarteaucitron.addScript('http://a.visualrevenue.com/vrs.js');
2309    }
2310};
2311
2312// vshop
2313tarteaucitron.services.vshop = {
2314    "key": "vshop",
2315    "type": "ads",
2316    "name": "vShop",
2317    "uri": "http://vshop.fr/privacy-policy",
2318    "needConsent": true,
2319    "cookies": [],
2320    "js": function () {
2321        "use strict";
2322        tarteaucitron.fallback(['vcashW'], '');
2323        tarteaucitron.addScript('//vshop.fr/js/w.js');
2324    },
2325    "fallback": function () {
2326        "use strict";
2327        var id = 'vshop';
2328        tarteaucitron.fallback(['vcashW'], tarteaucitron.engage(id));
2329    }
2330};
2331
2332// wysistat
2333tarteaucitron.services.wysistat = {
2334    "key": "wysistat",
2335    "type": "analytic",
2336    "name": "Wysistat",
2337    "uri": "http://wysistat.net/contact/",
2338    "needConsent": true,
2339    "cookies": ['Wysistat'],
2340    "js": function () {
2341        "use strict";
2342        if (tarteaucitron.user.wysistat === undefined) {
2343            return;
2344        }
2345        tarteaucitron.addScript('//www.wysistat.com/statistique.js', '', function () {
2346            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);
2347        });
2348    }
2349};
2350
2351// xiti
2352tarteaucitron.services.xiti = {
2353    "key": "xiti",
2354    "type": "analytic",
2355    "name": "Xiti",
2356    "uri": "https://www.atinternet.com/societe/rgpd-et-vie-privee/",
2357    "needConsent": true,
2358    "cookies": [],
2359    "js": function () {
2360        "use strict";
2361        if (tarteaucitron.user.xitiId === undefined) {
2362            return;
2363        }
2364        var Xt_param = 's=' + tarteaucitron.user.xitiId + '&p=',
2365            Xt_r,
2366            Xt_h,
2367            Xt_i,
2368            Xt_s,
2369            div = document.createElement('div');
2370        try {
2371            Xt_r = top.document.referrer;
2372        } catch (e) {
2373            Xt_r = document.referrer;
2374        }
2375        Xt_h = new Date();
2376        Xt_i = '<img style="display:none" border="0" alt="" ';
2377        Xt_i += 'src="http://logv3.xiti.com/hit.xiti?' + Xt_param;
2378        Xt_i += '&hl=' + Xt_h.getHours() + 'x' + Xt_h.getMinutes() + 'x' + Xt_h.getSeconds();
2379        if (parseFloat(navigator.appVersion) >= 4) {
2380            Xt_s = screen;
2381            Xt_i += '&r=' + Xt_s.width + 'x' + Xt_s.height + 'x' + Xt_s.pixelDepth + 'x' + Xt_s.colorDepth;
2382        }
2383
2384        div.innerHTML = Xt_i + '&ref=' + Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$') + '" title="Internet Audience">';
2385        document.getElementsByTagName('body')[0].appendChild(div.firstChild);
2386
2387        if (typeof tarteaucitron.user.xitiMore === 'function') {
2388            tarteaucitron.user.xitiMore();
2389        }
2390    }
2391};
2392
2393// AT Internet
2394tarteaucitron.services.atinternet = {
2395    "key": "atinternet",
2396    "type": "analytic",
2397    "name": "AT Internet (privacy by design)",
2398    "uri": "https://www.atinternet.com/societe/rgpd-et-vie-privee/",
2399    "needConsent": false,
2400    "cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession', 'atuserid'],
2401    "js": function () {
2402        "use strict";
2403        if (tarteaucitron.user.atLibUrl === undefined) {
2404            return;
2405        }
2406
2407        tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() {
2408
2409            var tag = new ATInternet.Tracker.Tag();
2410
2411            if (typeof tarteaucitron.user.atMore === 'function') {
2412                tarteaucitron.user.atMore();
2413            }
2414        })
2415    }
2416};
2417
2418// AT Internet
2419tarteaucitron.services.atinternethightrack = {
2420    "key": "atinternethightrack",
2421    "type": "analytic",
2422    "name": "AT Internet",
2423    "uri": "https://www.atinternet.com/societe/rgpd-et-vie-privee/",
2424    "needConsent": true,
2425    "cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession', 'atuserid'],
2426    "js": function () {
2427        "use strict";
2428        if (tarteaucitron.user.atLibUrl === undefined) {
2429            return;
2430        }
2431
2432        tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() {
2433
2434            var tag = new ATInternet.Tracker.Tag();
2435
2436            if (typeof tarteaucitron.user.atMore === 'function') {
2437                tarteaucitron.user.atMore();
2438            }
2439        })
2440    }
2441};
2442
2443// youtube
2444tarteaucitron.services.youtube = {
2445    "key": "youtube",
2446    "type": "video",
2447    "name": "YouTube",
2448    "uri": "https://policies.google.com/privacy",
2449    "needConsent": true,
2450    "cookies": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF', 'GEUP'],
2451    "js": function () {
2452        "use strict";
2453        tarteaucitron.fallback(['youtube_player'], function (x) {
2454            var video_id = x.getAttribute("videoID"),
2455                video_width = x.getAttribute("width"),
2456                frame_width = 'width=',
2457                video_height = x.getAttribute("height"),
2458                frame_height = 'height=',
2459                video_frame,
2460                params = 'theme=' + x.getAttribute("theme") + '&rel=' + x.getAttribute("rel") + '&controls=' + x.getAttribute("controls") + '&showinfo=' + x.getAttribute("showinfo") + '&autoplay=' + x.getAttribute("autoplay") + '&mute=' + x.getAttribute("mute");
2461
2462            if (video_id === undefined) {
2463                return "";
2464            }
2465            if (video_width !== undefined) {
2466                frame_width += '"' + video_width + '" ';
2467            } else {
2468                frame_width += '"" ';
2469            }
2470            if (video_height !== undefined) {
2471                frame_height +=  '"' + video_height + '" ';
2472            } else {
2473                frame_height += '"" ';
2474            }
2475            video_frame = '<iframe type="text/html" ' + frame_width + frame_height + ' src="//www.youtube-nocookie.com/embed/' + video_id + '?' + params + '" frameborder="0" allowfullscreen></iframe>';
2476            return video_frame;
2477        });
2478    },
2479    "fallback": function () {
2480        "use strict";
2481        var id = 'youtube';
2482        tarteaucitron.fallback(['youtube_player'], function (elem) {
2483            elem.style.width = elem.getAttribute('width') + 'px';
2484            elem.style.height = elem.getAttribute('height') + 'px';
2485            return tarteaucitron.engage(id);
2486        });
2487    }
2488};
2489
2490// youtube playlist
2491tarteaucitron.services.youtubeplaylist = {
2492    "key": "youtubeplaylist",
2493    "type": "video",
2494    "name": "YouTube (playlist)",
2495    "uri": "https://policies.google.com/privacy",
2496    "needConsent": true,
2497    "cookies": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF', 'GEUP'],
2498    "js": function () {
2499        "use strict";
2500        tarteaucitron.fallback(['youtube_playlist_player'], function (x) {
2501            var playlist_id = x.getAttribute("playlistID"),
2502                video_width = x.getAttribute("width"),
2503                frame_width = 'width=',
2504                video_height = x.getAttribute("height"),
2505                frame_height = 'height=',
2506                video_frame,
2507                params = 'theme=' + x.getAttribute("theme") + '&rel=' + x.getAttribute("rel") + '&controls=' + x.getAttribute("controls") + '&showinfo=' + x.getAttribute("showinfo") + '&autoplay=' + x.getAttribute("autoplay") + '&mute=' + x.getAttribute("mute");
2508
2509            if (playlist_id === undefined) {
2510                return "";
2511            }
2512            if (video_width !== undefined) {
2513                frame_width += '"' + video_width + '" ';
2514            } else {
2515                frame_width += '"" ';
2516            }
2517            if (video_height !== undefined) {
2518                frame_height +=  '"' + video_height + '" ';
2519            } else {
2520                frame_height += '"" ';
2521            }
2522            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>';
2523            return video_frame;
2524        });
2525    },
2526    "fallback": function () {
2527        "use strict";
2528        var id = 'youtubeplaylist';
2529        tarteaucitron.fallback(['youtube_playlist_player'], function (elem) {
2530            elem.style.width = elem.getAttribute('width') + 'px';
2531            elem.style.height = elem.getAttribute('height') + 'px';
2532            return tarteaucitron.engage(id);
2533        });
2534    }
2535};
2536
2537// zopim
2538tarteaucitron.services.zopim = {
2539    "key": "zopim",
2540    "type": "support",
2541    "name": "Zopim",
2542    "uri": "https://www.zopim.com/privacy",
2543    "needConsent": true,
2544    "cookies": ['__zlcid', '__zprivacy'],
2545    "js": function () {
2546        "use strict";
2547        if (tarteaucitron.user.zopimID === undefined) {
2548            return;
2549        }
2550        tarteaucitron.addScript('//v2.zopim.com/?' + tarteaucitron.user.zopimID);
2551    }
2552};
2553
2554// xiti smartTag
2555tarteaucitron.services.xiti_smarttag = {
2556    "key": "xiti_smarttag",
2557    "type": "analytic",
2558    "name": "Xiti (SmartTag)",
2559    "uri": "https://www.atinternet.com/societe/protection-des-donnees/",
2560    "needConsent": true,
2561    "cookies": ["atidvisitor", "atreman", "atredir", "atsession", "atuserid", "attvtreman", "attvtsession"],
2562    "js": function () {
2563        "use strict";
2564        if (tarteaucitron.user.xiti_smarttagLocalPath !== undefined) {
2565            tarteaucitron.addScript(tarteaucitron.user.xiti_smarttagLocalPath, 'smarttag', null, null, "onload", "addTracker();");
2566        } else {
2567            var xitiSmarttagId = tarteaucitron.user.xiti_smarttagSiteId;
2568            if (xitiSmarttagId === undefined) {
2569                return;
2570            }
2571
2572            tarteaucitron.addScript('//tag.aticdn.net/' + xitiSmarttagId + '/smarttag.js', 'smarttag', null, null, "onload", "addTracker();");
2573        }
2574    }
2575};
2576
2577// facebook pixel
2578tarteaucitron.services.facebookpixel = {
2579    "key": "facebookpixel",
2580    "type": "ads",
2581    "name": "Facebook Pixel",
2582    "uri": "https://fr-fr.facebook.com/business/help/www/651294705016616",
2583    "needConsent": true,
2584    "cookies": ['datr', 'fr', 'reg_ext_ref', 'reg_fb_gate', 'reg_fb_ref', 'sb', 'wd', 'x-src'],
2585    "js": function () {
2586        "use strict";
2587        var n;
2588        if(window.fbq)return;
2589        n=window.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)} ;
2590        if(!window._fbq)window._fbq=n;
2591        n.push=n;
2592        n.loaded=!0;
2593        n.version='2.0';
2594        n.queue=[];
2595        tarteaucitron.addScript('https://connect.facebook.net/en_US/fbevents.js');
2596        fbq('init', tarteaucitron.user.facebookpixelId);
2597        fbq('track', 'PageView');
2598
2599        if (typeof tarteaucitron.user.facebookpixelMore === 'function') {
2600            tarteaucitron.user.facebookpixelMore();
2601        }
2602    }
2603};
2604
2605//Issuu
2606tarteaucitron.services.issuu = {
2607    "key": "issuu",
2608    "type": "other",
2609    "name": "Issuu",
2610    "uri": "https://issuu.com/legal/privacy",
2611    "needConsent": true,
2612    "cookies": ['__qca', 'iutk', 'mc'],
2613    "js": function () {
2614        "use strict";
2615        tarteaucitron.fallback(['issuu_player'], function (x) {
2616            var issuu_id = x.getAttribute("issuuID"),
2617                issuu_width = x.getAttribute("width"),
2618                frame_width = 'width=',
2619                issuu_height = x.getAttribute("height"),
2620                frame_height = 'height=',
2621                issuu_frame;
2622
2623            if (issuu_id === undefined) {
2624                return "";
2625            }
2626            if (issuu_width !== undefined) {
2627                frame_width += '"' + issuu_width + '" ';
2628            } else {
2629                frame_width += '"" ';
2630            }
2631            if (issuu_height !== undefined) {
2632                frame_height +=  '"' + issuu_height + '" ';
2633            } else {
2634                frame_height += '"" ';
2635            }
2636            issuu_frame = '<iframe type="text/html" ' + frame_width + frame_height + ' src="//e.issuu.com/embed.html#' + issuu_id + '" frameborder="0"></iframe>';
2637            return issuu_frame;
2638        });
2639    },
2640    "fallback": function () {
2641        "use strict";
2642        var id = 'issuu';
2643        tarteaucitron.fallback(['issuu_player'], function (elem) {
2644            elem.style.width = elem.getAttribute('width') + 'px';
2645            elem.style.height = elem.getAttribute('height') + 'px';
2646            return tarteaucitron.engage(id);
2647        });
2648    }
2649};
2650
2651// webmecanik
2652tarteaucitron.services.webmecanik = {
2653    "key": "webmecanik",
2654    "type": "analytic",
2655    "name": "Webmecanik",
2656    "uri": "https://webmecanik.com/tos",
2657    "needConsent": true,
2658    "cookies": ['mtc_id', 'mtc_sid'],
2659    "js": function () {
2660        "use strict";
2661        if (tarteaucitron.user.webmecanikurl === undefined) {
2662            return;
2663        }
2664
2665        window.MauticTrackingObject = 'mt';
2666        window.mt = window.mt || function () {
2667            window.mt.q = window.mt.q || [];
2668            window.mt.q.push(arguments);
2669        };
2670
2671        tarteaucitron.addScript(tarteaucitron.user.webmecanikurl, '', function() {
2672            mt('send', 'pageview');
2673        });
2674    }
2675};
2676
2677// google analytics multiple
2678tarteaucitron.services.multiplegtag = {
2679    "key": "multiplegtag",
2680    "type": "analytic",
2681    "name": "Google Analytics (gtag.js)",
2682    "uri": "https://support.google.com/analytics/answer/6004245",
2683    "needConsent": true,
2684    "cookies": (function () {
2685
2686        var cookies = ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz'];
2687
2688        if (tarteaucitron.user.multiplegtagUa !== undefined) {
2689            tarteaucitron.user.multiplegtagUa.forEach(function(ua) {
2690                cookies.push('_gat_gtag_' + ua.replace(/-/g, '_'));
2691            });
2692        }
2693
2694        return cookies;
2695    })(),
2696    "js": function () {
2697        "use strict";
2698        window.dataLayer = window.dataLayer || [];
2699
2700        tarteaucitron.user.multiplegtagUa.forEach(function(ua) {
2701
2702            tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + ua, '', function () {
2703                window.gtag = function gtag(){dataLayer.push(arguments);}
2704                gtag('js', new Date());
2705                gtag('config', ua);
2706            });
2707        });
2708    }
2709};
2710
2711// Koban
2712tarteaucitron.services.koban = {
2713    "key": "koban",
2714    "type": "analytic",
2715    "name": "Koban",
2716    "uri": "https://koban.cloud/tos",
2717    "needConsent": true,
2718    "cookies": ['kbntrk'],
2719    "js": function () {
2720        "use strict";
2721        if (tarteaucitron.user.kobanurl === undefined) {
2722            return;
2723        }
2724        if (tarteaucitron.user.kobanapi === undefined) {
2725            return;
2726        }
2727        window.KobanObject = 'kb';
2728        window.kb = window.kb || function() {
2729            window.kb.q = window.kb.q || [];
2730            window.kb.q.push(arguments);
2731        };
2732        window.kb.l = new Date();
2733        kb('reg', tarteaucitron.user.kobanapi);
2734        tarteaucitron.addScript(tarteaucitron.user.kobanurl, '', function() {
2735        });
2736    }
2737};
2738
2739// matomo
2740
2741/*
2742    1. Set the following variable before the initialization :
2743
2744    tarteaucitron.user.matomoId = YOUR_SITE_ID_FROM_MATOMO;
2745    tarteaucitron.user.matomoHost = "YOUR_MATOMO_URL"; //eg: https://stat.mydomain.com/
2746
2747    2. Push the service :
2748
2749    (tarteaucitron.job = tarteaucitron.job || []).push('matomo');
2750
2751    3. HTML
2752    You don't need to add any html code, if the service is autorized, the javascript is added. otherwise no.
2753 */
2754tarteaucitron.services.matomo = {
vendor: 4,568 bytes, lines 2755-2870
2755    "key": "matomo",
2756    "type": "analytic",
2757    "name": "Matomo (privacy by design)",
2758    "uri": "https://matomo.org/faq/general/faq_146/",
2759    "needConsent": false,
2760    "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
2761    "js": function () {
2762        "use strict";
2763        if (tarteaucitron.user.matomoId === undefined) {
2764            return;
2765        }
2766
2767        window._paq = window._paq || [];
2768        window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
2769        window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
2770        window._paq.push(["setDoNotTrack", 1]);
2771        window._paq.push(["trackPageView"]);
2772        window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
2773        window._paq.push(["enableLinkTracking"]);
2774        window._paq.push([function() {
2775            var self = this;
2776            function getOriginalVisitorCookieTimeout() {
2777                var now = new Date(),
2778                nowTs = Math.round(now.getTime() / 1000),
2779                visitorInfo = self.getVisitorInfo();
2780                var createTs = parseInt(visitorInfo[2]);
2781                var cookieTimeout = 33696000; // 13 mois en secondes
2782                var originalTimeout = createTs + cookieTimeout - nowTs;
2783                return originalTimeout;
2784            }
2785            this.setVisitorCookieTimeout( getOriginalVisitorCookieTimeout() );
2786        }]);
2787
2788        tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
2789
2790        // waiting for piwik to be ready to check first party cookies
2791        var interval = setInterval(function() {
2792            if (typeof Piwik === 'undefined') return
2793
2794            clearInterval(interval)
2795
2796            // make piwik/matomo cookie accessible by getting tracker
2797            Piwik.getTracker();
2798
2799            // looping throught cookies
2800            var theCookies = document.cookie.split(';');
2801            for (var i = 1 ; i <= theCookies.length; i++) {
2802                var cookie = theCookies[i-1].split('=');
2803                var cookieName = cookie[0].trim();
2804
2805                // if cookie starts like a piwik one, register it
2806                if (cookieName.indexOf('_pk_') === 0) {
2807                    tarteaucitron.services.matomo.cookies.push(cookieName);
2808                }
2809            }
2810        }, 100)
2811    }
2812};
2813                          
2814                          
2815tarteaucitron.services.matomohightrack = {
2816    "key": "matomohightrack",
2817    "type": "analytic",
2818    "name": "Matomo",
2819    "uri": "https://matomo.org/faq/general/faq_146/",
2820    "needConsent": true,
2821    "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
2822    "js": function () {
2823        "use strict";
2824        if (tarteaucitron.user.matomoId === undefined) {
2825            return;
2826        }
2827
2828        window._paq = window._paq || [];
2829        window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
2830        window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
2831        window._paq.push(["trackPageView"]);
2832        window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
2833        window._paq.push(["enableLinkTracking"]);
2834        window._paq.push([function() {
2835            var self = this;
2836        }]);
2837
2838        tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
2839
2840        // waiting for piwik to be ready to check first party cookies
2841        var interval = setInterval(function() {
2842            if (typeof Piwik === 'undefined') return
2843
2844            clearInterval(interval)
2845            Piwik.getTracker();
2846
2847            var theCookies = document.cookie.split(';');
2848            for (var i = 1 ; i <= theCookies.length; i++) {
2849                var cookie = theCookies[i-1].split('=');
2850                var cookieName = cookie[0].trim();
2851
2852                if (cookieName.indexOf('_pk_') === 0) {
2853                    tarteaucitron.services.matomo.cookies.push(cookieName);
2854                }
2855            }
2856        }, 100)
2857    }
2858};
2859
2860// Hotjar
2861 /*
2862    1. Set the following variable before the initialization :
2863     tarteaucitron.user.hotjarId = YOUR_WEBSITE_ID;
2864    tarteaucitron.user.HotjarSv = XXXX; // Can be found in your website tracking code as "hjvs=XXXX"
2865     2. Push the service :
2866     (tarteaucitron.job = tarteaucitron.job || []).push('hotjar');
2867     3. HTML
2868    You don't need to add any html code, if the service is autorized, the javascript is added. otherwise no.
2869  */
2870tarteaucitron.services.hotjar = {
2871    "key": "hotjar",
2872    "type": "analytic",
2873    "name": "Hotjar",
2874    "uri": "https://help.hotjar.com/hc/en-us/categories/115001323967-About-Hotjar",
2875    "needConsent": true,
2876    "cookies": ["hjClosedSurveyInvites", "_hjDonePolls", "_hjMinimizedPolls", "_hjDoneTestersWidgets", "_hjMinimizedTestersWidgets", "_hjDoneSurveys", "_hjIncludedInSample", "_hjShownFeedbackMessage"],
2877    "js": function () {
2878        "use strict";
2879        if (tarteaucitron.user.hotjarId === undefined || tarteaucitron.user.HotjarSv === undefined) {
2880            return;
2881        }
2882         window.hj = window.hj || function() {
2883            (window.hj.q = window.hj.q || []).push(arguments)
2884        };
2885        window._hjSettings = {
2886            hjid: tarteaucitron.user.hotjarId,
2887            hjsv: tarteaucitron.user.HotjarSv
2888        };
2889         var uri = 'https://static.hotjar.com/c/hotjar-';
2890        var extension = '.js?sv=';
2891        tarteaucitron.addScript(uri + window._hjSettings.hjid + extension + window._hjSettings.hjsv);
2892    }
2893};
2894
2895// bing ads universal event tracking
2896tarteaucitron.services.bingads = {
2897    'key': 'bingads',
2898    'type': 'ads',
2899    'name': 'Bing Ads Universal Event Tracking',
2900    'uri': 'https://advertise.bingads.microsoft.com/en-us/resources/policies/personalized-ads',
2901    'needConsent': true,
2902    'cookies': ['_uetmsclkid', '_uetvid', '_uetsid'],
2903    'js': function () {
2904        'use strict';
2905        //var u = tarteaucitron.user.bingadsTag || 'uetq';
2906        window.uetq = window.uetq || [];
2907
2908        tarteaucitron.addScript('https://bat.bing.com/bat.js', '', function () {
2909            var bingadsCreate = {ti: tarteaucitron.user.bingadsID};
2910
2911            if ('bingadsStoreCookies' in tarteaucitron.user) {
2912                bingadsCreate['storeConvTrackCookies'] = tarteaucitron.user.bingadsStoreCookies;
2913            }
2914
2915            bingadsCreate.q = window.uetq;
2916            window.uetq = new UET(bingadsCreate);
2917            window.uetq.push('pageLoad');
2918        });
2919    }
2920};
2921
2922//Matterport
2923/*
2924SERVICE INIT
2925    (tarteaucitron.job = tarteaucitron.job || []).push('matterport');
2926
2927HTML TAG
2928    <div class="matterport" matterportid="N2Q67sZUNUd" width="100%" height="550" parameters="&play=1"></div>
2929
2930DELETE IFRAME
2931    <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>'
2932 */
2933tarteaucitron.services.matterport = {
2934  "key": "matterport",
2935  "type": "other",
2936  "name": "Matterport",
2937  "uri": "https://matterport.com/es/legal/privacy-policy/",
2938  "needConsent": true,
2939  "cookies": ['__cfduid', 'ajs_anonymous_id', 'ajs_group_id', 'ajs_user_id'],
2940  "js": function () {
2941    "use strict";
2942    tarteaucitron.fallback(['matterport'], function (x) {
2943      var matterport_id = x.getAttribute("matterportID"),
2944        matterport_width = x.getAttribute("width"),
2945        frame_width = 'width=',
2946        matterport_height = x.getAttribute("height"),
2947        frame_height = 'height=',
2948        matterport_parameters = x.getAttribute("parameters"),
2949        matterport_frame;
2950
2951      if (matterport_id === undefined) {
2952        return "";
2953      }
2954      if (matterport_width !== undefined) {
2955        frame_width += '"' + matterport_width + '" ';
2956      } else {
2957        frame_width += '"" ';
2958      }
2959      if (matterport_height !== undefined) {
2960        frame_height += '"' + matterport_height + '" ';
2961      } else {
2962        frame_height += '"" ';
2963      }
2964      if (matterport_parameters === undefined) {
2965        return "";
2966      }
2967
2968      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>';
2969      return matterport_frame;
2970    });
2971  },
2972  "fallback": function () {
2973    "use strict";
2974    var id = 'matterport';
2975    tarteaucitron.fallback(['matterport'], function (elem) {
2976      elem.style.width = elem.getAttribute('width') + 'px';
2977      elem.style.height = elem.getAttribute('height') + 'px';
2978      return tarteaucitron.engage(id);
2979    });
2980  }
2981};
2982
2983// Adform
2984tarteaucitron.services.adform = {
2985    "key": "adform",
2986    "type": "ads",
2987    "name": "Adform",
2988    "uri": "https://site.adform.com/privacy-center/overview/",
2989    "needConsent": true,
2990    "cookies": [],
2991    "js": function () {
2992        "use strict";
2993
2994        if (tarteaucitron.user.adformpm === undefined || tarteaucitron.user.adformpagename === undefined) {
2995            return;
2996        }
2997
2998        window._adftrack = {
2999            pm: tarteaucitron.user.adformpm,
3000            divider: encodeURIComponent('|'),
3001            pagename: encodeURIComponent(tarteaucitron.user.adformpagename)
3002        };
3003
3004        tarteaucitron.addScript("https://track.adform.net/serving/scripts/trackpoint/async/");
3005    }
3006};
3007
3008// Active Campaign
3009tarteaucitron.services.activecampaign = {
3010    "key": "activecampaign",
3011    "type": "ads",
3012    "name": "Active Campaign",
3013    "uri": "https://www.activecampaign.com/privacy-policy/",
3014    "needConsent": true,
3015    "cookies": [],
3016    "js": function () {
3017        "use strict";
3018        if (tarteaucitron.user.actid === undefined) {
3019            return;
3020        }
3021
3022        window.trackcmp_email = '';
3023
3024        tarteaucitron.addScript('https://trackcmp.net/visit?actid='+tarteaucitron.user.actid+'&e='+encodeURIComponent(trackcmp_email)+'&r='+encodeURIComponent(document.referrer)+'&u='+encodeURIComponent(window.location.href));
3025    }
3026};
3027
3028// tawk.to
3029tarteaucitron.services.tawkto = {
3030    "key": "tawkto",
3031    "type": "support",
3032    "name": "Tawk.to chat",
3033    "uri": "https://www.tawk.to/data-protection/",
3034    "needConsent": true,
3035    "cookies": [],
3036    "js": function () {
3037        "use strict";
3038        if (tarteaucitron.user.tawktoId === undefined) {
3039            return;
3040        }
3041
3042        window.Tawk_API=window.Tawk_API||{};
3043        window.Tawk_LoadStart=new Date();
3044
3045        tarteaucitron.addScript('https://embed.tawk.to/' + tarteaucitron.user.tawktoId + '/default');
3046    }
3047
3048};
3049
3050// getquanty
3051tarteaucitron.services.getquanty = {
3052    "key": "getquanty",
3053    "type": "analytic",
3054    "name": "GetQuanty",
3055    "uri": "https://www.getquanty.com/mentions-legales/",
3056    "needConsent": true,
3057    "cookies": ['_first_pageview', 'eqy_sessionid', 'eqy_siteid','cluid','eqy_company', 'cluid', 'gq_utm', '_jsuid'],
3058    "js": function () {
3059        "use strict";
3060        if (tarteaucitron.user.getguanty === undefined) {
3061            return;
3062        }
3063
3064        window.webleads_site_ids = window.webleads_site_ids || [];
3065        window.webleads_site_ids.push(tarteaucitron.user.getguanty);
3066
3067        tarteaucitron.addScript('https://stats.webleads-tracker.com/js');
3068        tarteaucitron.addScript('https://get.smart-data-systems.com/track?site_id=' + tarteaucitron.user.getguanty);
3069    }
3070};
3071
3072// emolytics
3073tarteaucitron.services.emolytics = {
3074    "key": "emolytics",
3075    "type": "analytic",
3076    "name": "Emolytics",
3077    "uri": "https://www.emolytics.com/main/privacy-policy.php",
3078    "needConsent": true,
3079    "cookies": ['__hssc', '__hssrc', '__hstc', '_ga', '_gid', 'hubspotutk', 'lang', 'incap_ses_', 'nlbi_', 'visid_incap_'],
3080    "js": function () {
3081        "use strict";
3082        if (tarteaucitron.user.emolyticsID === undefined) {
3083            return;
3084        }
3085        var scriptEmolytics = document.createElement('script');
3086        scriptEmolytics.text = 'var getsmily_id="'+tarteaucitron.user.emolyticsID+'";';
3087        document.getElementsByTagName('body')[0].appendChild(scriptEmolytics);
3088        tarteaucitron.addScript('https://cdn.emolytics.com/script/emolytics-widget.js')
3089    }
3090};
3091
3092// youtubeapi
3093tarteaucitron.services.youtubeapi = {
3094    "key": "youtubeapi",
3095    "type": "video",
3096    "name": "Youtube (Js API)",
3097    "uri": "https://policies.google.com/privacy/",
3098    "needConsent": true,
3099    "cookies": [],
3100    "js": function () {
3101        "use strict";
3102        tarteaucitron.addScript('https://www.youtube.com/player_api');
3103    }
3104};
3105
3106// Facil'ITI
3107tarteaucitron.services.faciliti = {
3108    "key": "faciliti",
3109    "type": "other",
3110    "name": "Facil'ITI",
3111    "uri": "https://ws.facil-iti.com/mentions-legales.html",
3112    "needConsent": true,
3113    "cookies": ['FACIL_ITI_LS'],
3114    "js": function () {
3115        "use strict";
3116        if (tarteaucitron.user.facilitiID === undefined) {
3117            return;
3118        }
3119
3120        (function(w, d, s, f) {
3121            w[f] = w[f] || {conf: function () { (w[f].data = w[f].data || []).push(arguments);}};
3122            var l = d.createElement(s), e = d.getElementsByTagName(s)[0];
3123            l.async = 1; l.src = 'https://ws.facil-iti.com/tag/faciliti-tag.min.js'; e.parentNode.insertBefore(l, e);
3124        }(window, document, 'script', 'FACIL_ITI'));
3125        FACIL_ITI.conf('userId', tarteaucitron.user.facilitiID);
3126    }
3127};
3128
3129// userlike
3130tarteaucitron.services.userlike = {
vendor: 2,137 bytes, lines 3131-3186
3131    "key": "userlike",
3132    "type": "support",
3133    "name": "Userlike",
3134    "uri": "https://www.userlike.com/en/terms#privacy-policy",
3135    "needConsent": true,
3136    "cookies": ['uslk_s', 'uslk_e'],
3137    "js": function () {
3138        "use strict";
3139        if (tarteaucitron.user.userlikeKey === undefined) {
3140            return;
3141        }
3142        tarteaucitron.addScript('//userlike-cdn-widgets.s3-eu-west-1.amazonaws.com/' + tarteaucitron.user.userlikeKey);
3143    }
3144};
3145                          
3146// adobeanalytics
3147tarteaucitron.services.adobeanalytics = {
3148    "key": "adobeanalytics",
3149    "type": "analytic",
3150    "name": "Adobe Analytics",
3151    "uri": "https://www.adobe.com/privacy/policy.html",
3152    "needConsent": true,
3153    "cookies": ['s_ecid', 's_cc', 's_sq', 's_vi', 's_fid'],
3154    "js": function () {
3155        "use strict";
3156        if (tarteaucitron.user.adobeanalyticskey === undefined) {
3157            return;
3158        }
3159        tarteaucitron.addScript('//assets.adobedtm.com/launch-' + tarteaucitron.user.adobeanalyticskey + '.min.js');
3160    }
3161};
3162
3163// woopra customer journey analytics
3164tarteaucitron.services.woopra = {
3165    'key': 'woopra',
3166    'type': 'analytic',
3167    'name': 'Woopra Customer Journey Analytics',
3168    'uri': 'https://www.woopra.com/privacy',
3169    'needConsent': true,
3170    'cookies': ['wooTracker', 'intercom-session-erbfalba', 'intercom-id-erbfalba'],
3171    'js': function () {
3172        'use strict';
3173        //var w = tarteaucitron.user.woopraDomain;
3174        //window[w] = window[w] || [];
3175
3176        (function(){
3177		  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)
3178		})("woopra");
3179
3180		woopra.config({
3181		    domain: tarteaucitron.user.woopraDomain
3182		});
3183		woopra.track();
3184    }
3185};
3186

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.