tarteaucitron.services.js 116 KB

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