tarteaucitron.services.js 118 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341
  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. tarteaucitron.user.multiplegtagUa.forEach(function(ua) {
  2588. tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + ua, '', function () {
  2589. window.gtag = function gtag(){dataLayer.push(arguments);}
  2590. gtag('js', new Date());
  2591. gtag('config', ua);
  2592. });
  2593. });
  2594. }
  2595. };
  2596. // Koban
  2597. tarteaucitron.services.koban = {
  2598. "key": "koban",
  2599. "type": "analytic",
  2600. "name": "Koban",
  2601. "uri": "https://koban.cloud/tos",
  2602. "needConsent": true,
  2603. "cookies": ['kbntrk'],
  2604. "js": function () {
  2605. "use strict";
  2606. if (tarteaucitron.user.kobanurl === undefined) {
  2607. return;
  2608. }
  2609. if (tarteaucitron.user.kobanapi === undefined) {
  2610. return;
  2611. }
  2612. window.KobanObject = 'kb';
  2613. window.kb = window.kb || function() {
  2614. window.kb.q = window.kb.q || [];
  2615. window.kb.q.push(arguments);
  2616. };
  2617. window.kb.l = new Date();
  2618. kb('reg', tarteaucitron.user.kobanapi);
  2619. tarteaucitron.addScript(tarteaucitron.user.kobanurl, '', function() {
  2620. });
  2621. }
  2622. };
  2623. // matomo
  2624. /*
  2625. 1. Set the following variable before the initialization :
  2626. tarteaucitron.user.matomoId = YOUR_SITE_ID_FROM_MATOMO;
  2627. tarteaucitron.user.matomoHost = "YOUR_MATOMO_URL"; //eg: https://stat.mydomain.com/
  2628. 2. Push the service :
  2629. (tarteaucitron.job = tarteaucitron.job || []).push('matomo');
  2630. 3. HTML
  2631. You don't need to add any html code, if the service is autorized, the javascript is added. otherwise no.
  2632. */
  2633. tarteaucitron.services.matomo = {
  2634. "key": "matomo",
  2635. "type": "analytic",
  2636. "name": "Matomo (privacy by design)",
  2637. "uri": "https://matomo.org/faq/general/faq_146/",
  2638. "needConsent": false,
  2639. "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
  2640. "js": function () {
  2641. "use strict";
  2642. if (tarteaucitron.user.matomoId === undefined) {
  2643. return;
  2644. }
  2645. window._paq = window._paq || [];
  2646. window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
  2647. window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
  2648. window._paq.push(["setDoNotTrack", 1]);
  2649. window._paq.push(["trackPageView"]);
  2650. window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
  2651. window._paq.push(["enableLinkTracking"]);
  2652. window._paq.push([function() {
  2653. var self = this;
  2654. function getOriginalVisitorCookieTimeout() {
  2655. var now = new Date(),
  2656. nowTs = Math.round(now.getTime() / 1000),
  2657. visitorInfo = self.getVisitorInfo();
  2658. var createTs = parseInt(visitorInfo[2]);
  2659. var cookieTimeout = 33696000; // 13 mois en secondes
  2660. var originalTimeout = createTs + cookieTimeout - nowTs;
  2661. return originalTimeout;
  2662. }
  2663. this.setVisitorCookieTimeout( getOriginalVisitorCookieTimeout() );
  2664. }]);
  2665. tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
  2666. // waiting for piwik to be ready to check first party cookies
  2667. var interval = setInterval(function() {
  2668. if (typeof Piwik === 'undefined') return
  2669. clearInterval(interval)
  2670. // make piwik/matomo cookie accessible by getting tracker
  2671. Piwik.getTracker();
  2672. // looping throught cookies
  2673. var theCookies = document.cookie.split(';');
  2674. for (var i = 1 ; i <= theCookies.length; i++) {
  2675. var cookie = theCookies[i-1].split('=');
  2676. var cookieName = cookie[0].trim();
  2677. // if cookie starts like a piwik one, register it
  2678. if (cookieName.indexOf('_pk_') === 0) {
  2679. tarteaucitron.services.matomo.cookies.push(cookieName);
  2680. }
  2681. }
  2682. }, 100)
  2683. }
  2684. };
  2685. tarteaucitron.services.matomohightrack = {
  2686. "key": "matomohightrack",
  2687. "type": "analytic",
  2688. "name": "Matomo",
  2689. "uri": "https://matomo.org/faq/general/faq_146/",
  2690. "needConsent": true,
  2691. "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
  2692. "js": function () {
  2693. "use strict";
  2694. if (tarteaucitron.user.matomoId === undefined) {
  2695. return;
  2696. }
  2697. window._paq = window._paq || [];
  2698. window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
  2699. window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
  2700. window._paq.push(["trackPageView"]);
  2701. window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
  2702. window._paq.push(["enableLinkTracking"]);
  2703. window._paq.push([function() {
  2704. var self = this;
  2705. }]);
  2706. tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
  2707. // waiting for piwik to be ready to check first party cookies
  2708. var interval = setInterval(function() {
  2709. if (typeof Piwik === 'undefined') return
  2710. clearInterval(interval)
  2711. Piwik.getTracker();
  2712. var theCookies = document.cookie.split(';');
  2713. for (var i = 1 ; i <= theCookies.length; i++) {
  2714. var cookie = theCookies[i-1].split('=');
  2715. var cookieName = cookie[0].trim();
  2716. if (cookieName.indexOf('_pk_') === 0) {
  2717. tarteaucitron.services.matomo.cookies.push(cookieName);
  2718. }
  2719. }
  2720. }, 100)
  2721. }
  2722. };
  2723. // Hotjar
  2724. /*
  2725. 1. Set the following variable before the initialization :
  2726. tarteaucitron.user.hotjarId = YOUR_WEBSITE_ID;
  2727. tarteaucitron.user.HotjarSv = XXXX; // Can be found in your website tracking code as "hjvs=XXXX"
  2728. 2. Push the service :
  2729. (tarteaucitron.job = tarteaucitron.job || []).push('hotjar');
  2730. 3. HTML
  2731. You don't need to add any html code, if the service is autorized, the javascript is added. otherwise no.
  2732. */
  2733. tarteaucitron.services.hotjar = {
  2734. "key": "hotjar",
  2735. "type": "analytic",
  2736. "name": "Hotjar",
  2737. "uri": "https://help.hotjar.com/hc/en-us/categories/115001323967-About-Hotjar",
  2738. "needConsent": true,
  2739. "cookies": ["hjClosedSurveyInvites", "_hjDonePolls", "_hjMinimizedPolls", "_hjDoneTestersWidgets", "_hjMinimizedTestersWidgets", "_hjDoneSurveys", "_hjIncludedInSample", "_hjShownFeedbackMessage"],
  2740. "js": function () {
  2741. "use strict";
  2742. if (tarteaucitron.user.hotjarId === undefined || tarteaucitron.user.HotjarSv === undefined) {
  2743. return;
  2744. }
  2745. window.hj = window.hj || function() {
  2746. (window.hj.q = window.hj.q || []).push(arguments)
  2747. };
  2748. window._hjSettings = {
  2749. hjid: tarteaucitron.user.hotjarId,
  2750. hjsv: tarteaucitron.user.HotjarSv
  2751. };
  2752. var uri = 'https://static.hotjar.com/c/hotjar-';
  2753. var extension = '.js?sv=';
  2754. tarteaucitron.addScript(uri + window._hjSettings.hjid + extension + window._hjSettings.hjsv);
  2755. }
  2756. };
  2757. // bing ads universal event tracking
  2758. tarteaucitron.services.bingads = {
  2759. 'key': 'bingads',
  2760. 'type': 'ads',
  2761. 'name': 'Bing Ads Universal Event Tracking',
  2762. 'uri': 'https://advertise.bingads.microsoft.com/en-us/resources/policies/personalized-ads',
  2763. 'needConsent': true,
  2764. 'cookies': ['_uetmsclkid', '_uetvid', '_uetsid'],
  2765. 'js': function () {
  2766. 'use strict';
  2767. //var u = tarteaucitron.user.bingadsTag || 'uetq';
  2768. window.uetq = window.uetq || [];
  2769. tarteaucitron.addScript('https://bat.bing.com/bat.js', '', function () {
  2770. var bingadsCreate = {ti: tarteaucitron.user.bingadsID};
  2771. if ('bingadsStoreCookies' in tarteaucitron.user) {
  2772. bingadsCreate['storeConvTrackCookies'] = tarteaucitron.user.bingadsStoreCookies;
  2773. }
  2774. bingadsCreate.q = window.uetq;
  2775. window.uetq = new UET(bingadsCreate);
  2776. window.uetq.push('pageLoad');
  2777. });
  2778. }
  2779. };
  2780. //Matterport
  2781. /*
  2782. SERVICE INIT
  2783. (tarteaucitron.job = tarteaucitron.job || []).push('matterport');
  2784. HTML TAG
  2785. <div class="matterport" matterportid="N2Q67sZUNUd" width="100%" height="550" parameters="&play=1"></div>
  2786. DELETE IFRAME
  2787. <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>'
  2788. */
  2789. tarteaucitron.services.matterport = {
  2790. "key": "matterport",
  2791. "type": "other",
  2792. "name": "Matterport",
  2793. "uri": "https://matterport.com/es/legal/privacy-policy/",
  2794. "needConsent": true,
  2795. "cookies": ['__cfduid', 'ajs_anonymous_id', 'ajs_group_id', 'ajs_user_id'],
  2796. "js": function () {
  2797. "use strict";
  2798. tarteaucitron.fallback(['matterport'], function (x) {
  2799. var matterport_id = x.getAttribute("matterportID"),
  2800. matterport_width = x.getAttribute("width"),
  2801. frame_width = 'width=',
  2802. matterport_height = x.getAttribute("height"),
  2803. frame_height = 'height=',
  2804. matterport_parameters = x.getAttribute("parameters"),
  2805. matterport_frame;
  2806. if (matterport_id === undefined) {
  2807. return "";
  2808. }
  2809. if (matterport_width !== undefined) {
  2810. frame_width += '"' + matterport_width + '" ';
  2811. } else {
  2812. frame_width += '"" ';
  2813. }
  2814. if (matterport_height !== undefined) {
  2815. frame_height += '"' + matterport_height + '" ';
  2816. } else {
  2817. frame_height += '"" ';
  2818. }
  2819. if (matterport_parameters === undefined) {
  2820. return "";
  2821. }
  2822. 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>';
  2823. return matterport_frame;
  2824. });
  2825. },
  2826. "fallback": function () {
  2827. "use strict";
  2828. var id = 'matterport';
  2829. tarteaucitron.fallback(['matterport'], function (elem) {
  2830. elem.style.width = elem.getAttribute('width') + 'px';
  2831. elem.style.height = elem.getAttribute('height') + 'px';
  2832. return tarteaucitron.engage(id);
  2833. });
  2834. }
  2835. };
  2836. // Adform
  2837. tarteaucitron.services.adform = {
  2838. "key": "adform",
  2839. "type": "ads",
  2840. "name": "Adform",
  2841. "uri": "https://site.adform.com/privacy-center/overview/",
  2842. "needConsent": true,
  2843. "cookies": [],
  2844. "js": function () {
  2845. "use strict";
  2846. if (tarteaucitron.user.adformpm === undefined || tarteaucitron.user.adformpagename === undefined) {
  2847. return;
  2848. }
  2849. window._adftrack = {
  2850. pm: tarteaucitron.user.adformpm,
  2851. divider: encodeURIComponent('|'),
  2852. pagename: encodeURIComponent(tarteaucitron.user.adformpagename)
  2853. };
  2854. tarteaucitron.addScript("https://track.adform.net/serving/scripts/trackpoint/async/");
  2855. }
  2856. };
  2857. // Active Campaign
  2858. tarteaucitron.services.activecampaign = {
  2859. "key": "activecampaign",
  2860. "type": "ads",
  2861. "name": "Active Campaign",
  2862. "uri": "https://www.activecampaign.com/privacy-policy/",
  2863. "needConsent": true,
  2864. "cookies": [],
  2865. "js": function () {
  2866. "use strict";
  2867. if (tarteaucitron.user.actid === undefined) {
  2868. return;
  2869. }
  2870. window.trackcmp_email = '';
  2871. tarteaucitron.addScript('https://trackcmp.net/visit?actid='+tarteaucitron.user.actid+'&e='+encodeURIComponent(trackcmp_email)+'&r='+encodeURIComponent(document.referrer)+'&u='+encodeURIComponent(window.location.href));
  2872. }
  2873. };
  2874. // tawk.to
  2875. tarteaucitron.services.tawkto = {
  2876. "key": "tawkto",
  2877. "type": "support",
  2878. "name": "Tawk.to chat",
  2879. "uri": "https://www.tawk.to/data-protection/",
  2880. "needConsent": true,
  2881. "cookies": [],
  2882. "js": function () {
  2883. "use strict";
  2884. if (tarteaucitron.user.tawktoId === undefined) {
  2885. return;
  2886. }
  2887. window.Tawk_API=window.Tawk_API||{};
  2888. window.Tawk_LoadStart=new Date();
  2889. tarteaucitron.addScript('https://embed.tawk.to/' + tarteaucitron.user.tawktoId + '/default');
  2890. }
  2891. };
  2892. // getquanty
  2893. tarteaucitron.services.getquanty = {
  2894. "key": "getquanty",
  2895. "type": "analytic",
  2896. "name": "GetQuanty",
  2897. "uri": "https://www.getquanty.com/mentions-legales/",
  2898. "needConsent": true,
  2899. "cookies": ['_first_pageview', 'eqy_sessionid', 'eqy_siteid','cluid','eqy_company', 'cluid', 'gq_utm', '_jsuid'],
  2900. "js": function () {
  2901. "use strict";
  2902. if (tarteaucitron.user.getguanty === undefined) {
  2903. return;
  2904. }
  2905. window.webleads_site_ids = window.webleads_site_ids || [];
  2906. window.webleads_site_ids.push(tarteaucitron.user.getguanty);
  2907. tarteaucitron.addScript('https://stats.webleads-tracker.com/js');
  2908. tarteaucitron.addScript('https://get.smart-data-systems.com/track?site_id=' + tarteaucitron.user.getguanty);
  2909. }
  2910. };
  2911. // emolytics
  2912. tarteaucitron.services.emolytics = {
  2913. "key": "emolytics",
  2914. "type": "analytic",
  2915. "name": "Emolytics",
  2916. "uri": "https://www.emolytics.com/main/privacy-policy.php",
  2917. "needConsent": true,
  2918. "cookies": ['__hssc', '__hssrc', '__hstc', '_ga', '_gid', 'hubspotutk', 'lang', 'incap_ses_', 'nlbi_', 'visid_incap_'],
  2919. "js": function () {
  2920. "use strict";
  2921. if (tarteaucitron.user.emolyticsID === undefined) {
  2922. return;
  2923. }
  2924. var scriptEmolytics = document.createElement('script');
  2925. scriptEmolytics.text = 'var getsmily_id="'+tarteaucitron.user.emolyticsID+'";';
  2926. document.getElementsByTagName('body')[0].appendChild(scriptEmolytics);
  2927. tarteaucitron.addScript('https://cdn.emolytics.com/script/emolytics-widget.js')
  2928. }
  2929. };
  2930. // youtubeapi
  2931. tarteaucitron.services.youtubeapi = {
  2932. "key": "youtubeapi",
  2933. "type": "video",
  2934. "name": "Youtube (Js API)",
  2935. "uri": "https://policies.google.com/privacy/",
  2936. "needConsent": true,
  2937. "cookies": [],
  2938. "js": function () {
  2939. "use strict";
  2940. tarteaucitron.addScript('https://www.youtube.com/player_api');
  2941. }
  2942. };
  2943. // Facil'ITI
  2944. tarteaucitron.services.faciliti = {
  2945. "key": "faciliti",
  2946. "type": "other",
  2947. "name": "Facil'ITI",
  2948. "uri": "https://ws.facil-iti.com/mentions-legales.html",
  2949. "needConsent": true,
  2950. "cookies": ['FACIL_ITI_LS'],
  2951. "js": function () {
  2952. "use strict";
  2953. if (tarteaucitron.user.facilitiID === undefined) {
  2954. return;
  2955. }
  2956. (function(w, d, s, f) {
  2957. w[f] = w[f] || {conf: function () { (w[f].data = w[f].data || []).push(arguments);}};
  2958. var l = d.createElement(s), e = d.getElementsByTagName(s)[0];
  2959. l.async = 1; l.src = 'https://ws.facil-iti.com/tag/faciliti-tag.min.js'; e.parentNode.insertBefore(l, e);
  2960. }(window, document, 'script', 'FACIL_ITI'));
  2961. FACIL_ITI.conf('userId', tarteaucitron.user.facilitiID);
  2962. }
  2963. };
  2964. // userlike
  2965. tarteaucitron.services.userlike = {
  2966. "key": "userlike",
  2967. "type": "support",
  2968. "name": "Userlike",
  2969. "uri": "https://www.userlike.com/en/terms#privacy-policy",
  2970. "needConsent": true,
  2971. "cookies": ['uslk_s', 'uslk_e'],
  2972. "js": function () {
  2973. "use strict";
  2974. if (tarteaucitron.user.userlikeKey === undefined) {
  2975. return;
  2976. }
  2977. tarteaucitron.addScript('//userlike-cdn-widgets.s3-eu-west-1.amazonaws.com/' + tarteaucitron.user.userlikeKey);
  2978. }
  2979. };
  2980. // adobeanalytics
  2981. tarteaucitron.services.adobeanalytics = {
  2982. "key": "adobeanalytics",
  2983. "type": "analytic",
  2984. "name": "Adobe Analytics",
  2985. "uri": "https://www.adobe.com/privacy/policy.html",
  2986. "needConsent": true,
  2987. "cookies": ['s_ecid', 's_cc', 's_sq', 's_vi', 's_fid'],
  2988. "js": function () {
  2989. "use strict";
  2990. if (tarteaucitron.user.adobeanalyticskey === undefined) {
  2991. return;
  2992. }
  2993. tarteaucitron.addScript('//assets.adobedtm.com/launch-' + tarteaucitron.user.adobeanalyticskey + '.min.js');
  2994. }
  2995. };
  2996. // woopra customer journey analytics
  2997. tarteaucitron.services.woopra = {
  2998. 'key': 'woopra',
  2999. 'type': 'analytic',
  3000. 'name': 'Woopra Customer Journey Analytics',
  3001. 'uri': 'https://www.woopra.com/privacy',
  3002. 'needConsent': true,
  3003. 'cookies': ['wooTracker', 'intercom-session-erbfalba', 'intercom-id-erbfalba'],
  3004. 'js': function () {
  3005. 'use strict';
  3006. //var w = tarteaucitron.user.woopraDomain;
  3007. //window[w] = window[w] || [];
  3008. (function(){
  3009. 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)
  3010. })("woopra");
  3011. woopra.config({
  3012. domain: tarteaucitron.user.woopraDomain
  3013. });
  3014. woopra.track();
  3015. }
  3016. };