tarteaucitron.services.js 139 KB

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