tarteaucitron.services.js 118 KB

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