tarteaucitron.services.js 116 KB

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