tarteaucitron.services.js 193 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328
  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 frame_title = (x.getAttribute("title")) ? tarteaucitron.fixSelfXSS(x.getAttribute("title")) : '',
  15. width = x.getAttribute("width"),
  16. height = x.getAttribute("height"),
  17. allowfullscreen = x.getAttribute("allowfullscreen"),
  18. url = x.getAttribute("data-url");
  19. return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
  20. });
  21. },
  22. "fallback": function () {
  23. "use strict";
  24. var id = 'iframe';
  25. tarteaucitron.fallback(['tac_iframe'], function (elem) {
  26. elem.style.width = elem.getAttribute('width') + 'px';
  27. elem.style.height = elem.getAttribute('height') + 'px';
  28. return tarteaucitron.engage(id);
  29. });
  30. }
  31. };
  32. // myfeelback
  33. tarteaucitron.services.myfeelback = {
  34. "key": "myfeelback",
  35. "type": "api",
  36. "name": "MyFeelBack (Skeepers)",
  37. "uri": "https://help.myfeelback.com/fr/quels-sont-les-cookies-d%C3%A9pos%C3%A9s-par-un-dispositif-de-collecte-myfeelback",
  38. "needConsent": true,
  39. "cookies": [],
  40. "js": function () {
  41. "use strict";
  42. if (tarteaucitron.user.myfeelbackId === undefined) {
  43. return;
  44. }
  45. window._Mfb_useCookie = true;
  46. window._Mfb_ud = {
  47. var1: undefined,
  48. var2: undefined,
  49. varN: undefined,
  50. _context: {
  51. lang: undefined,
  52. privacyMode: false,
  53. _page: {
  54. url: location.pathname,
  55. storageDuration: 30
  56. }
  57. }
  58. };
  59. tarteaucitron.addScript('https://actorssl-5637.kxcdn.com/actor/'+tarteaucitron.user.myfeelbackId+'/action', 'MFBActor');
  60. }
  61. };
  62. // doubleclick
  63. tarteaucitron.services.doubleclick = {
  64. "key": "doubleclick",
  65. "type": "ads",
  66. "name": "DoubleClick",
  67. "uri": "https://support.google.com/admanager/answer/2839090",
  68. "needConsent": true,
  69. "cookies": [],
  70. "js": function () {
  71. "use strict";
  72. tarteaucitron.fallback(['doubleclick_container'], function (x) {
  73. var id1 = tarteaucitron.getElemAttr(x, "data-id1"),
  74. id2 = tarteaucitron.getElemAttr(x, "data-id2"),
  75. item = tarteaucitron.getElemAttr(x, "data-item"),
  76. quantity = tarteaucitron.getElemAttr(x, "data-quantity"),
  77. price = tarteaucitron.getElemAttr(x, "data-price"),
  78. postage = tarteaucitron.getElemAttr(x, "data-postage"),
  79. seller = tarteaucitron.getElemAttr(x, "data-seller"),
  80. axel = Math.random() + "",
  81. a = axel * 10000000000000;
  82. iframe = '<iframe src="http://'+id1+'.fls.doubleclick.net/activityi;src='+id2+';type=;cat=;u1='+item+';u2='+quantity+';u3='+price+';u4='+postage+';u5='+seller+';ord=' + a + '?" width="1" height="1" frameborder="0" style="display:none"></iframe>';
  83. return iframe;
  84. });
  85. }
  86. };
  87. // userpilot
  88. tarteaucitron.services.userpilot = {
  89. "key": "userpilot",
  90. "type": "analytic",
  91. "name": "UserPilot",
  92. "uri": "https://userpilot.com/privacy-policy",
  93. "needConsent": true,
  94. "cookies": [],
  95. "js": function () {
  96. "use strict";
  97. if (tarteaucitron.user.userpilotToken === undefined) {
  98. return;
  99. }
  100. window.userpilotSettings = {token: tarteaucitron.user.userpilotToken};
  101. tarteaucitron.addScript('https://js.userpilot.io/sdk/latest.js');
  102. }
  103. };
  104. tarteaucitron.services.piwikpro = {
  105. "key": "piwikpro",
  106. "type": "analytic",
  107. "name": "Piwik Pro",
  108. "uri": "https://piwik.pro/privacy-policy/",
  109. "needConsent": true,
  110. "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
  111. "js": function () {
  112. "use strict";
  113. if (tarteaucitron.user.piwikProId === undefined) {
  114. return;
  115. }
  116. window['dataLayer'] = window['dataLayer'] || [], window['dataLayer'].push({
  117. start: (new Date).getTime(),
  118. event: "stg.start"
  119. });
  120. function stgCreateCookie(a, b, c) {
  121. var d = "";
  122. if (c) {
  123. var e = new Date;
  124. e.setTime(e.getTime() + 24 * c * 60 * 60 * 1e3), d = "; expires=" + e.toUTCString()
  125. }
  126. document.cookie = a + "=" + b + d + "; path=/"
  127. }
  128. var isStgDebug = (window.location.href.match("stg_debug") || document.cookie.match("stg_debug")) && !window.location.href.match("stg_disable_debug");
  129. stgCreateCookie("stg_debug", isStgDebug ? 1 : "", isStgDebug ? 14 : -1);
  130. var qP = [];
  131. var qPString = qP.length > 0 ? ("?" + qP.join("&")) : "";
  132. tarteaucitron.addScript('https://carsatse.containers.piwik.pro/'+tarteaucitron.user.piwikProId+'.js'+qPString);
  133. ! function(a, n, i) {
  134. a[n] = a[n] || {};
  135. for (var c = 0; c < i.length; c++) ! function(i) {
  136. a[n][i] = a[n][i] || {}, a[n][i].api = a[n][i].api || function() {
  137. var a = [].slice.call(arguments, 0);
  138. "string" == typeof a[0] && window['dataLayer'].push({
  139. event: n + "." + i + ":" + a[0],
  140. parameters: [].slice.call(arguments, 1)
  141. })
  142. }
  143. }(i[c])
  144. }(window, "ppms", ["tm", "cm"]);
  145. }
  146. };
  147. // pinterestpixel
  148. tarteaucitron.services.pinterestpixel = {
  149. "key": "pinterestpixel",
  150. "type": "ads",
  151. "name": "Pinterest Pixel",
  152. "uri": "https://help.pinterest.com/fr/business/article/track-conversions-with-pinterest-tag",
  153. "needConsent": true,
  154. "cookies": ['_pinterest_sess', '_pinterest_ct', '_pinterest_ct_mw', '_pinterest_ct_rt', '_epik', '_derived_epik', '_pin_unauth', '_pinterest_ct_ua'],
  155. "js": function () {
  156. "use strict";
  157. if (tarteaucitron.user.pinterestpixelId === undefined) {
  158. return;
  159. }
  160. if (!window.pintrk) {
  161. window.pintrk = function () {
  162. window.pintrk.queue.push(Array.prototype.slice.call(arguments));
  163. };
  164. var n = window.pintrk;
  165. n.queue = [];
  166. n.version = "3.0";
  167. tarteaucitron.addScript('https://s.pinimg.com/ct/core.js', '', function () {
  168. window.pintrk('load', tarteaucitron.user.pinterestpixelId);
  169. window.pintrk('page');
  170. });
  171. }
  172. }
  173. };
  174. // elfsight
  175. tarteaucitron.services.elfsight = {
  176. "key": "elfsight",
  177. "type": "support",
  178. "name": "Elfsight",
  179. "uri": "https://elfsight.com/privacy-policy/",
  180. "needConsent": true,
  181. "cookies": ['__cfduid', '_p_hfp_client_id', 'session_id'],
  182. "js": function () {
  183. "use strict";
  184. tarteaucitron.addScript('https://apps.elfsight.com/p/platform.js');
  185. }
  186. };
  187. // plezi
  188. tarteaucitron.services.plezi = {
  189. "key": "plezi",
  190. "type": "analytic",
  191. "name": "Plezi",
  192. "uri": "https://www.plezi.co/fr/mentions-legales/",
  193. "needConsent": true,
  194. "cookies": [],
  195. "js": function () {
  196. "use strict";
  197. if (tarteaucitron.user.pleziTenant === undefined || tarteaucitron.user.pleziTw === undefined) {
  198. return;
  199. }
  200. tarteaucitron.addScript('https://app.plezi.co/scripts/ossleads_analytics.js?tenant=' + tarteaucitron.user.pleziTenant + '&tw=' + tarteaucitron.user.pleziTw);
  201. }
  202. };
  203. // smartsupp
  204. tarteaucitron.services.smartsupp = {
  205. "key": "smartsupp",
  206. "type": "support",
  207. "name": "Smartsupp",
  208. "uri": "https://www.smartsupp.com/help/privacy/",
  209. "needConsent": true,
  210. "cookies": ['ssupp.vid', 'ssupp.visits', 'AWSALB', 'AWSALBCORS'],
  211. "js": function () {
  212. "use strict";
  213. if (tarteaucitron.user.smartsuppKey === undefined) {
  214. return;
  215. }
  216. window._smartsupp = window._smartsupp || {};
  217. window._smartsupp.key = tarteaucitron.user.smartsuppKey;
  218. window.smartsupp = function () {
  219. window.smartsupp._.push(arguments)
  220. };
  221. window.smartsupp._ = [];
  222. tarteaucitron.addScript('https://www.smartsuppchat.com/loader.js');
  223. }
  224. };
  225. // sharpspring
  226. tarteaucitron.services.sharpspring = {
  227. "key": "sharpspring",
  228. "type": "analytic",
  229. "name": "SharpSpring",
  230. "uri": "https://sharpspring.com/legal/sharpspring-cookie-policy/",
  231. "needConsent": true,
  232. "cookies": ['koitk', '__ss', '__ss_tk', '__ss_referrer'],
  233. "js": function () {
  234. "use strict";
  235. if (tarteaucitron.user.ssId === undefined || tarteaucitron.user.ssAccount === undefined) {
  236. return;
  237. }
  238. window._ss = window._ss || [];
  239. window._ss.push(['_setDomain', 'https://' + tarteaucitron.user.ssId + '.marketingautomation.services/net']);
  240. window._ss.push(['_setAccount', tarteaucitron.user.ssAccount]);
  241. window._ss.push(['_trackPageView']);
  242. window._pa = window._pa || {};
  243. tarteaucitron.addScript('https://' + tarteaucitron.user.ssId + '.marketingautomation.services/client/ss.js');
  244. }
  245. };
  246. // pardot
  247. tarteaucitron.services.pardot = {
  248. "key": "pardot",
  249. "type": "analytic",
  250. "name": "Pardot",
  251. "uri": "https://www.salesforce.com/company/privacy/full_privacy/",
  252. "needConsent": true,
  253. "cookies": ['visitor_id'],
  254. "js": function () {
  255. "use strict";
  256. if (tarteaucitron.user.piAId === undefined || tarteaucitron.user.piCId === undefined) {
  257. return;
  258. }
  259. window.piAId = tarteaucitron.user.piAId;
  260. window.piCId = tarteaucitron.user.piCId;
  261. window.piHostname = 'pi.pardot.com';
  262. tarteaucitron.addScript('https://pi.pardot.com/pd.js');
  263. }
  264. };
  265. // Open Web Analytics
  266. tarteaucitron.services.openwebanalytics = {
  267. "key": "openwebanalytics",
  268. "type": "analytic",
  269. "name": "Open Web Analytics",
  270. "uri": "",
  271. "needConsent": true,
  272. "cookies": [],
  273. "js": function () {
  274. "use strict";
  275. if (tarteaucitron.user.openwebanalyticsId === undefined || tarteaucitron.user.openwebanalyticsHost === undefined) {
  276. return;
  277. }
  278. window.owa_baseUrl = tarteaucitron.user.openwebanalyticsHost;
  279. window.owa_cmds = window.owa_cmds || [];
  280. window.owa_cmds.push(['setSiteId', tarteaucitron.user.openwebanalyticsId]);
  281. window.owa_cmds.push(['trackPageView']);
  282. window.owa_cmds.push(['trackClicks']);
  283. tarteaucitron.addScript(window.owa_baseUrl + 'modules/base/js/owa.tracker-combined-min.js');
  284. }
  285. };
  286. // xandr universal pixel
  287. // https://docs.xandr.com/bundle/invest_invest-standard/page/topics/universal-pixel-overview.html
  288. tarteaucitron.services.xandr = {
  289. "key": "xandr",
  290. "type": "ads",
  291. "name": "Xandr (Universal)",
  292. "uri": "https://www.xandr.com/privacy/cookie-policy/",
  293. "needConsent": true,
  294. "cookies": ['uuid2', 'uids', 'sess', 'icu', 'anj', 'usersync'],
  295. "js": function () {
  296. "use strict";
  297. if (tarteaucitron.user.xandrId === undefined) {
  298. return;
  299. }
  300. if (!window.pixie) {
  301. var n = window.pixie = function (e, i, a) {
  302. n.actionQueue.push({
  303. action: e,
  304. actionValue: i,
  305. params: a
  306. })
  307. };
  308. n.actionQueue = [];
  309. }
  310. tarteaucitron.addScript('https://acdn.adnxs.com/dmp/up/pixie.js', '', function () {
  311. window.pixie('init', tarteaucitron.user.xandrId);
  312. window.pixie('event', 'PageView');
  313. });
  314. }
  315. };
  316. // xandr segment
  317. // https://docs.xandr.com/bundle/invest_invest-standard/page/topics/segment-pixels-advanced.html
  318. tarteaucitron.services.xandrsegment = {
  319. "key": "xandrsegment",
  320. "type": "ads",
  321. "name": "Xandr (Segment)",
  322. "uri": "https://www.xandr.com/privacy/cookie-policy/",
  323. "needConsent": true,
  324. "cookies": ['uuid2', 'uids', 'sess', 'icu', 'anj', 'usersync'],
  325. "js": function () {
  326. "use strict";
  327. var uniqIds = [],
  328. i,
  329. uri;
  330. tarteaucitron.fallback(['xandrsegment-canvas'], function (x) {
  331. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  332. uniqIds.push(uniqId);
  333. return '<div id="' + uniqId + '" xandrsegmentAdd="' + x.getAttribute('xandrsegmentAdd') + '" xandrsegmentAddCode="' + x.getAttribute('xandrsegmentAddCode') + '" xandrsegmentRemove="' + x.getAttribute('xandrsegmentRemove') + '" xandrsegmentRemoveCode="' + x.getAttribute('xandrsegmentRemoveCode') + '" xandrsegmentMember="' + x.getAttribute('xandrsegmentMember') + '" xandrsegmentRedir="' + x.getAttribute('xandrsegmentRedir') + '" xandrsegmentValue="' + x.getAttribute('xandrsegmentValue') + '" xandrsegmentOther="' + x.getAttribute('xandrsegmentOther') + '"></div>';
  334. });
  335. for (i = 0; i < uniqIds.length; i += 1) {
  336. uri = '//ib.adnxs.com/seg?t=2&';
  337. uri += 'add=' + document.getElementById(uniqIds[i]).getAttribute('xandrsegmentAdd') + '&';
  338. uri += 'add_code=' + document.getElementById(uniqIds[i]).getAttribute('xandrsegmentAddCode') + '&';
  339. uri += 'remove=' + document.getElementById(uniqIds[i]).getAttribute('xandrsegmentRemove') + '&';
  340. uri += 'remove_code=' + document.getElementById(uniqIds[i]).getAttribute('xandrsegmentRemoveCode') + '&';
  341. uri += 'member=' + document.getElementById(uniqIds[i]).getAttribute('xandrsegmentMember') + '&';
  342. uri += 'redir=' + document.getElementById(uniqIds[i]).getAttribute('xandrsegmentRedir') + '&';
  343. uri += 'value=' + document.getElementById(uniqIds[i]).getAttribute('xandrsegmentValue') + '&';
  344. uri += 'other=' + document.getElementById(uniqIds[i]).getAttribute('xandrsegmentOther');
  345. document.getElementById(uniqIds[i]).innerHTML = '<img src=\'' + uri + '\' width=\'1\' height=\'1\' />';
  346. }
  347. },
  348. "fallback": function () {
  349. "use strict";
  350. var id = 'xandrsegment';
  351. tarteaucitron.fallback(['xandrsegment-canvas'], tarteaucitron.engage(id));
  352. }
  353. };
  354. // xandr conversion
  355. // https://docs.xandr.com/bundle/invest_invest-standard/page/topics/working-with-conversion-pixels.html
  356. tarteaucitron.services.xandrconversion = {
  357. "key": "xandrconversion",
  358. "type": "ads",
  359. "name": "Xandr (Conversion)",
  360. "uri": "https://www.xandr.com/privacy/cookie-policy/",
  361. "needConsent": true,
  362. "cookies": ['uuid2', 'uids', 'sess', 'icu', 'anj', 'usersync'],
  363. "js": function () {
  364. "use strict";
  365. var uniqIds = [],
  366. i,
  367. uri;
  368. tarteaucitron.fallback(['xandrconversion-canvas'], function (x) {
  369. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  370. uniqIds.push(uniqId);
  371. return '<div id="' + uniqId + '" xandrconversionId="' + x.getAttribute('xandrconversionId') + '" xandrconversionSeg="' + x.getAttribute('xandrconversionSeg') + '" xandrconversionOrderId="' + x.getAttribute('xandrconversionOrderId') + '" xandrconversionValue="' + x.getAttribute('xandrconversionValue') + '" xandrconversionRedir="' + x.getAttribute('xandrconversionRedir') + '" xandrconversionOther="' + x.getAttribute('xandrconversionOther') + '"></div>';
  372. });
  373. for (i = 0; i < uniqIds.length; i += 1) {
  374. uri = '//ib.adnxs.com/px?t=2&';
  375. uri += 'id=' + document.getElementById(uniqIds[i]).getAttribute('xandrconversionId') + '&';
  376. uri += 'seg=' + document.getElementById(uniqIds[i]).getAttribute('xandrconversionSeg') + '&';
  377. uri += 'order_id=' + document.getElementById(uniqIds[i]).getAttribute('xandrconversionOrderId') + '&';
  378. uri += 'value=' + document.getElementById(uniqIds[i]).getAttribute('xandrconversionValue') + '&';
  379. uri += 'redir=' + document.getElementById(uniqIds[i]).getAttribute('xandrconversionRedir') + '&';
  380. uri += 'other=' + document.getElementById(uniqIds[i]).getAttribute('xandrconversionOther');
  381. document.getElementById(uniqIds[i]).innerHTML = '<img src=\'' + uri + '\' width=\'1\' height=\'1\' />';
  382. }
  383. },
  384. "fallback": function () {
  385. "use strict";
  386. var id = 'xandrconversion';
  387. tarteaucitron.fallback(['xandrconversion-canvas'], tarteaucitron.engage(id));
  388. }
  389. };
  390. // helloasso
  391. tarteaucitron.services.helloasso = {
  392. "key": "helloasso",
  393. "type": "api",
  394. "name": "HelloAsso",
  395. "uri": "https://www.helloasso.com/confidentialite",
  396. "needConsent": true,
  397. "cookies": [],
  398. "js": function () {
  399. "use strict";
  400. tarteaucitron.fallback(['tac_helloasso'], function (x) {
  401. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'HelloAsso iframe'),
  402. width = x.getAttribute("width"),
  403. height = x.getAttribute("height"),
  404. url = x.getAttribute("data-url"),
  405. allowfullscreen = x.getAttribute("allowfullscreen");
  406. return '<iframe title="' + frame_title + '" id="haWidget" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
  407. });
  408. },
  409. "fallback": function () {
  410. "use strict";
  411. var id = 'helloasso';
  412. tarteaucitron.fallback(['tac_helloasso'], function (elem) {
  413. elem.style.width = elem.getAttribute('width') + 'px';
  414. elem.style.height = elem.getAttribute('height') + 'px';
  415. return tarteaucitron.engage(id);
  416. });
  417. }
  418. };
  419. // podcloud
  420. tarteaucitron.services.podcloud = {
  421. "key": "podcloud",
  422. "type": "video",
  423. "name": "podCloud",
  424. "uri": "https://podcloud.fr/privacy",
  425. "needConsent": true,
  426. "cookies": [],
  427. "js": function () {
  428. "use strict";
  429. tarteaucitron.fallback(['tac_podcloud'], function (x) {
  430. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'podCloud iframe'),
  431. width = x.getAttribute("width"),
  432. height = x.getAttribute("height"),
  433. url = x.getAttribute("data-url"),
  434. allowfullscreen = x.getAttribute("allowfullscreen");
  435. return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
  436. });
  437. },
  438. "fallback": function () {
  439. "use strict";
  440. var id = 'podcloud';
  441. tarteaucitron.fallback(['tac_podcloud'], function (elem) {
  442. elem.style.width = elem.getAttribute('width') + 'px';
  443. elem.style.height = elem.getAttribute('height') + 'px';
  444. return tarteaucitron.engage(id);
  445. });
  446. }
  447. };
  448. // facebookpost
  449. tarteaucitron.services.facebookpost = {
  450. "key": "facebookpost",
  451. "type": "social",
  452. "name": "Facebook (post)",
  453. "uri": "https://www.facebook.com/policy.php",
  454. "needConsent": true,
  455. "cookies": [],
  456. "js": function () {
  457. "use strict";
  458. tarteaucitron.fallback(['tac_facebookpost'], function (x) {
  459. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Facebook iframe'),
  460. width = x.getAttribute("width"),
  461. height = x.getAttribute("height"),
  462. url = x.getAttribute("data-url"),
  463. appId = x.getAttribute("data-appid"),
  464. allowfullscreen = x.getAttribute("allowfullscreen"),
  465. showText = x.getAttribute("data-show-text");
  466. return '<iframe title="' + frame_title + '" src="https://www.facebook.com/plugins/post.php?href=' + encodeURIComponent(url) + '&amp;width=' + width + '&amp;show_text=false&amp;appId=' + appId + '&amp;show_text=' + showText + '&amp;height=' + height + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
  467. });
  468. },
  469. "fallback": function () {
  470. "use strict";
  471. var id = 'facebookpost';
  472. tarteaucitron.fallback(['tac_facebookpost'], function (elem) {
  473. elem.style.width = elem.getAttribute('width') + 'px';
  474. elem.style.height = elem.getAttribute('height') + 'px';
  475. return tarteaucitron.engage(id);
  476. });
  477. }
  478. };
  479. // amplitude
  480. tarteaucitron.services.amplitude = {
  481. "key": "amplitude",
  482. "type": "analytic",
  483. "name": "Amplitude",
  484. "uri": "https://amplitude.com/privacy",
  485. "needConsent": true,
  486. "cookies": [],
  487. "js": function () {
  488. "use strict";
  489. if (tarteaucitron.user.amplitude === undefined) {
  490. return;
  491. }
  492. tarteaucitron.addScript('https://cdn.amplitude.com/libs/amplitude-5.8.0-min.gz.js', '', function () {
  493. window.amplitude = {
  494. _q: [],
  495. _iq: {}
  496. };
  497. function s(e, t) { e.prototype[t] = function () { this._q.push([t].concat(Array.prototype.slice.call(arguments, 0))); return this } }
  498. var o = function () { this._q = []; return this };
  499. var a = ["add", "append", "clearAll", "prepend", "set", "setOnce", "unset"];
  500. for (var u = 0; u < a.length; u++) { s(o, a[u]) }
  501. amplitude.Identify = o;
  502. var c = function () { this._q = []; return this };
  503. var l = ["setProductId", "setQuantity", "setPrice", "setRevenueType", "setEventProperties"];
  504. for (var p = 0; p < l.length; p++) { s(c, l[p]) }
  505. amplitude.Revenue = c;
  506. var d = ["init", "logEvent", "logRevenue", "setUserId", "setUserProperties", "setOptOut", "setVersionName", "setDomain", "setDeviceId", "enableTracking", "setGlobalUserProperties", "identify", "clearUserProperties", "setGroup", "logRevenueV2", "regenerateDeviceId", "groupIdentify", "onInit", "logEventWithTimestamp", "logEventWithGroups", "setSessionId", "resetSessionId"];
  507. 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]) } }
  508. v(amplitude);
  509. 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] };
  510. amplitude.getInstance().init(tarteaucitron.user.amplitude);
  511. });
  512. }
  513. };
  514. // abtasty
  515. tarteaucitron.services.abtasty = {
  516. "key": "abtasty",
  517. "type": "api",
  518. "name": "ABTasty",
  519. "uri": "https://www.abtasty.com/terms-of-use/",
  520. "needConsent": true,
  521. "cookies": ['ABTasty', 'ABTastySession'],
  522. "js": function () {
  523. "use strict";
  524. if (tarteaucitron.user.abtastyID === undefined) {
  525. return;
  526. }
  527. tarteaucitron.addScript('//try.abtasty.com/' + tarteaucitron.user.abtastyID + '.js');
  528. }
  529. };
  530. // yandex metrica
  531. tarteaucitron.services.metrica = {
  532. "key": "metrica",
  533. "type": "analytic",
  534. "name": "Yandex Metrica",
  535. "uri": "https://yandex.com/legal/confidential/",
  536. "needConsent": true,
  537. "cookies": ['_ym_metrika_enabled', '_ym_isad', '_ym_uid', '_ym_d', 'yabs-sid', '_ym_debug', '_ym_mp2_substs', '_ym_hostIndex', '_ym_mp2_track', 'yandexuid', 'usst'],
  538. "js": function () {
  539. "use strict";
  540. if (tarteaucitron.user.yandexmetrica === undefined) {
  541. return;
  542. }
  543. tarteaucitron.addScript('https://mc.yandex.ru/metrika/tag.js', '', function () {
  544. (function (m, e, t, r, i, k, a) {
  545. m[i] = m[i] || function () { (m[i].a = m[i].a || []).push(arguments) };
  546. 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)
  547. })
  548. (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
  549. ym(tarteaucitron.user.yandexmetrica, "init", {
  550. clickmap: true,
  551. trackLinks: true,
  552. accurateTrackBounce: true,
  553. webvisor: true,
  554. ecommerce: "dataLayer"
  555. });
  556. });
  557. }
  558. };
  559. // addthis
  560. tarteaucitron.services.addthis = {
  561. "key": "addthis",
  562. "type": "social",
  563. "name": "AddThis",
  564. "uri": "https://www.addthis.com/privacy/privacy-policy#publisher-visitors",
  565. "needConsent": true,
  566. "cookies": ['__atuvc', '__atuvs'],
  567. "js": function () {
  568. "use strict";
  569. if (tarteaucitron.user.addthisPubId === undefined) {
  570. return;
  571. }
  572. if (tarteaucitron.isAjax === true) {
  573. window.addthis = null;
  574. window._adr = null;
  575. window._atc = null;
  576. window._atd = null;
  577. window._ate = null;
  578. window._atr = null;
  579. window._atw = null;
  580. }
  581. tarteaucitron.fallback(['addthis_inline_share_toolbox'], '');
  582. tarteaucitron.addScript('//s7.addthis.com/js/300/addthis_widget.js#pubid=' + tarteaucitron.user.addthisPubId);
  583. },
  584. "fallback": function () {
  585. "use strict";
  586. var id = 'addthis';
  587. tarteaucitron.fallback(['addthis_inline_share_toolbox'], tarteaucitron.engage(id));
  588. }
  589. };
  590. // addtoanyfeed
  591. tarteaucitron.services.addtoanyfeed = {
  592. "key": "addtoanyfeed",
  593. "type": "social",
  594. "name": "AddToAny (feed)",
  595. "uri": "https://www.addtoany.com/privacy",
  596. "needConsent": true,
  597. "cookies": [],
  598. "js": function () {
  599. "use strict";
  600. if (tarteaucitron.user.addtoanyfeedUri === undefined) {
  601. return;
  602. }
  603. tarteaucitron.user.addtoanyfeedSubscribeLink = 'https://www.addtoany.com/subscribe?linkurl=' + tarteaucitron.user.addtoanyfeedUri;
  604. window.a2a_config = window.a2a_config || {};
  605. window.a2a_config.linkurl = tarteaucitron.user.addtoanyfeedUri;
  606. tarteaucitron.addScript('//static.addtoany.com/menu/feed.js');
  607. },
  608. "fallback": function () {
  609. "use strict";
  610. tarteaucitron.user.addtoanyfeedSubscribeLink = 'https://www.addtoany.com/subscribe?linkurl=' + tarteaucitron.user.addtoanyfeedUri;
  611. }
  612. };
  613. // addtoanyshare
  614. tarteaucitron.services.addtoanyshare = {
  615. "key": "addtoanyshare",
  616. "type": "social",
  617. "name": "AddToAny (share)",
  618. "uri": "https://www.addtoany.com/privacy",
  619. "needConsent": true,
  620. "cookies": [],
  621. "js": function () {
  622. "use strict";
  623. tarteaucitron.fallback(['tac_addtoanyshare'], function (elem) {
  624. elem.remove();
  625. }, true);
  626. tarteaucitron.addScript('//static.addtoany.com/menu/page.js');
  627. },
  628. "fallback": function () {
  629. "use strict";
  630. var id = 'addtoanyshare';
  631. tarteaucitron.fallback(['tac_addtoanyshare'], tarteaucitron.engage(id));
  632. }
  633. };
  634. // aduptech ads
  635. tarteaucitron.services.aduptech_ads = {
  636. "key": "aduptech_ads",
  637. "type": "ads",
  638. "name": "Ad Up Technology (ads)",
  639. "uri": "https://www.adup-tech.com/datenschutz",
  640. "needConsent": true,
  641. "cookies": [],
  642. "js": function () {
  643. "use strict";
  644. var IDENTIFIER = "aduptech_ads",
  645. API_URL = "https://s.d.adup-tech.com/jsapi";
  646. var elements = document.getElementsByClassName(IDENTIFIER);
  647. if (!elements || elements.length === 0) {
  648. return;
  649. }
  650. tarteaucitron.fallback([IDENTIFIER], "");
  651. tarteaucitron.addScript(API_URL, "", function () {
  652. for (var i = 0; i < elements.length; i++) {
  653. var element = elements[i];
  654. if (!element.getAttribute("id")) {
  655. element.setAttribute("id", IDENTIFIER + Math.random().toString(36).substr(2, 9));
  656. }
  657. window.uAd.embed(element.getAttribute("id"), {
  658. placementKey: element.getAttribute("placementKey"),
  659. responsive: Boolean(element.getAttribute("responsive")),
  660. lazy: Boolean(element.getAttribute("lazy")),
  661. adtest: Boolean(element.getAttribute("test")),
  662. query: element.getAttribute("query") || "",
  663. minCpc: element.getAttribute("minCpc") || "",
  664. pageUrl: element.getAttribute("pageUrl") || "",
  665. skip: element.getAttribute("skip") || ""
  666. });
  667. }
  668. });
  669. },
  670. "fallback": function () {
  671. "use strict";
  672. tarteaucitron.fallback(["aduptech_ads"], tarteaucitron.engage("aduptech_ads"));
  673. }
  674. };
  675. // aduptech conversion
  676. tarteaucitron.services.aduptech_conversion = {
  677. "key": "aduptech_conversion",
  678. "type": "ads",
  679. "name": "Ad Up Technology (conversion)",
  680. "uri": "https://www.adup-tech.com/datenschutz",
  681. "needConsent": true,
  682. "cookies": [],
  683. "js": function () {
  684. "use strict";
  685. var IDENTIFIER = "aduptech_conversion",
  686. CONVERSION_PIXEL_BASE_URL = "https://d.adup-tech.com/campaign/conversion";
  687. var elements = document.getElementsByClassName(IDENTIFIER);
  688. if (!elements || elements.length === 0) {
  689. return;
  690. }
  691. tarteaucitron.fallback([IDENTIFIER], "");
  692. for (var i = 0; i < elements.length; i++) {
  693. var element = elements[i];
  694. if (!element.getAttribute("advertiserId") || !element.getAttribute("conversionCode")) {
  695. continue;
  696. }
  697. var url = CONVERSION_PIXEL_BASE_URL +
  698. "/" + encodeURIComponent(element.getAttribute("advertiserId")) +
  699. "?t=" + encodeURIComponent(element.getAttribute("conversionCode"));
  700. if (element.getAttribute("price")) {
  701. url += "&price=" + encodeURIComponent(element.getAttribute("price"));
  702. }
  703. if (element.getAttribute("quantity")) {
  704. url += "&quantity=" + encodeURIComponent(element.getAttribute("quantity"));
  705. }
  706. if (element.getAttribute("total")) {
  707. url += "&total=" + encodeURIComponent(element.getAttribute("total"));
  708. }
  709. if (element.getAttribute("orderId")) {
  710. url += "&order_id=" + encodeURIComponent(element.getAttribute("orderId"));
  711. }
  712. if (element.getAttribute("itemNumber")) {
  713. url += "&item_number=" + encodeURIComponent(element.getAttribute("itemNumber"));
  714. }
  715. if (element.getAttribute("description")) {
  716. url += "&description=" + encodeURIComponent(element.getAttribute("description"));
  717. }
  718. (new Image()).src = url;
  719. }
  720. }
  721. };
  722. // aduptech retargeting
  723. tarteaucitron.services.aduptech_retargeting = {
  724. "key": "aduptech_retargeting",
  725. "type": "ads",
  726. "name": "Ad Up Technology (retargeting)",
  727. "uri": "https://www.adup-tech.com/datenschutz",
  728. "needConsent": true,
  729. "cookies": [],
  730. "js": function () {
  731. "use strict";
  732. var IDENTIFIER = "aduptech_retargeting",
  733. API_URL = "https://s.d.adup-tech.com/services/retargeting.js";
  734. var elements = document.getElementsByClassName(IDENTIFIER);
  735. if (!elements || elements.length === 0) {
  736. return;
  737. }
  738. tarteaucitron.fallback([IDENTIFIER], "");
  739. window.AdUpRetargeting = function (api) {
  740. for (var i = 0; i < elements.length; i++) {
  741. var element = elements[i];
  742. api.init();
  743. api.setAccount(element.getAttribute("account"));
  744. if (element.getAttribute("email")) {
  745. api.setEmail(element.getAttribute("email"));
  746. } else if (element.getAttribute("hashedEmail")) {
  747. api.setHashedEmail(element.getAttribute("hashedEmail"));
  748. }
  749. if (element.getAttribute("product")) {
  750. try {
  751. api.setProduct(JSON.parse(element.getAttribute("product")));
  752. } catch (e) {
  753. api.setProduct(element.getAttribute("product"));
  754. }
  755. }
  756. if (element.getAttribute("transaction")) {
  757. try {
  758. api.setTransaction(JSON.parse(element.getAttribute("transaction")));
  759. } catch (e) {
  760. api.setTransaction(element.getAttribute("transaction"));
  761. }
  762. }
  763. if (element.getAttribute("demarkUser")) {
  764. api.setDemarkUser();
  765. } else if (element.getAttribute("demarkProducts")) {
  766. api.setDemarkProducts();
  767. }
  768. if (element.getAttribute("conversionCode")) {
  769. api.setConversionCode(element.getAttribute("conversionCode"));
  770. }
  771. if (element.getAttribute("device")) {
  772. var setter = "set" + element.getAttribute("device").charAt(0).toUpperCase() + element.getAttribute("device").slice(1);
  773. if (typeof api[setter] === 'function') {
  774. api[setter]();
  775. }
  776. }
  777. if (element.getAttribute("track")) {
  778. var tracker = "track" + element.getAttribute("track").charAt(0).toUpperCase() + element.getAttribute("track").slice(1);
  779. if (typeof api[tracker] === "function") {
  780. api[tracker]();
  781. } else {
  782. api.trackHomepage();
  783. }
  784. }
  785. };
  786. };
  787. tarteaucitron.addScript(API_URL);
  788. }
  789. };
  790. // alexa
  791. tarteaucitron.services.alexa = {
  792. "key": "alexa",
  793. "type": "analytic",
  794. "name": "Alexa",
  795. "uri": "https://www.alexa.com/help/privacy",
  796. "needConsent": true,
  797. "cookies": ['__asc', '__auc'],
  798. "js": function () {
  799. "use strict";
  800. if (tarteaucitron.user.alexaAccountID === undefined) {
  801. return;
  802. }
  803. window._atrk_opts = {
  804. atrk_acct: tarteaucitron.user.alexaAccountID,
  805. domain: window.location.hostname.match(/[^\.]*\.[^.]*$/)[0],
  806. dynamic: true
  807. };
  808. tarteaucitron.addScript('https://d31qbv1cthcecs.cloudfront.net/atrk.js');
  809. }
  810. };
  811. // amazon
  812. tarteaucitron.services.amazon = {
  813. "key": "amazon",
  814. "type": "ads",
  815. "name": "Amazon",
  816. "uri": "https://www.amazon.com/gp/help/customer/display.html/ref=help_search_1-1?ie=UTF8&nodeId=201909010&qid=1544617177&sr=1-1",
  817. "needConsent": true,
  818. "cookies": [],
  819. "js": function () {
  820. "use strict";
  821. tarteaucitron.fallback(['amazon_product'], function (x) {
  822. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Amazon iframe'),
  823. amazonId = x.getAttribute("amazonid"),
  824. productId = x.getAttribute("productid"),
  825. 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',
  826. iframe = '<iframe title="' + frame_title + '" style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" src="' + url + '"></iframe>';
  827. return iframe;
  828. });
  829. },
  830. "fallback": function () {
  831. "use strict";
  832. var id = 'amazon';
  833. tarteaucitron.fallback(['amazon_product'], tarteaucitron.engage(id));
  834. }
  835. };
  836. // calameo
  837. tarteaucitron.services.calameo = {
  838. "key": "calameo",
  839. "type": "video",
  840. "name": "Calameo",
  841. "uri": "https://fr.calameo.com/privacy",
  842. "needConsent": true,
  843. "cookies": [],
  844. "js": function () {
  845. "use strict";
  846. tarteaucitron.fallback(['calameo-canvas'], function (x) {
  847. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Calameo iframe'),
  848. id = x.getAttribute("data-id"),
  849. width = x.getAttribute("width"),
  850. height = x.getAttribute("height"),
  851. url = '//v.calameo.com/?bkcode=' + id,
  852. allowfullscreen = x.getAttribute("allowfullscreen");
  853. return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
  854. });
  855. },
  856. "fallback": function () {
  857. "use strict";
  858. var id = 'calameo';
  859. tarteaucitron.fallback(['calameo-canvas'], function (elem) {
  860. elem.style.width = elem.getAttribute('width') + 'px';
  861. elem.style.height = elem.getAttribute('height') + 'px';
  862. return tarteaucitron.engage(id);
  863. });
  864. }
  865. };
  866. // clicky
  867. tarteaucitron.services.clicky = {
  868. "key": "clicky",
  869. "type": "analytic",
  870. "name": "Clicky",
  871. "uri": "https://clicky.com/terms",
  872. "needConsent": true,
  873. "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],
  874. "js": function () {
  875. "use strict";
  876. if (tarteaucitron.user.clickyId === undefined) {
  877. return;
  878. }
  879. tarteaucitron.addScript('//static.getclicky.com/js', '', function () {
  880. if (typeof clicky.init === 'function') {
  881. clicky.init(tarteaucitron.user.clickyId);
  882. }
  883. if (typeof tarteaucitron.user.clickyMore === 'function') {
  884. tarteaucitron.user.clickyMore();
  885. }
  886. });
  887. }
  888. };
  889. // clicmanager
  890. tarteaucitron.services.clicmanager = {
  891. "key": "clicmanager",
  892. "type": "ads",
  893. "name": "Clicmanager",
  894. "uri": "http://www.clicmanager.fr/infos_legales.php",
  895. "needConsent": true,
  896. "cookies": [],
  897. "js": function () {
  898. "use strict";
  899. var uniqIds = [],
  900. i,
  901. uri;
  902. tarteaucitron.fallback(['clicmanager-canvas'], function (x) {
  903. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  904. uniqIds.push(uniqId);
  905. return '<div id="' + uniqId + '" c="' + x.getAttribute('c') + '" s="' + x.getAttribute('s') + '" t="' + x.getAttribute('t') + '"></div>';
  906. });
  907. for (i = 0; i < uniqIds.length; i += 1) {
  908. uri = '//ads.clicmanager.fr/exe.php?';
  909. uri += 'c=' + document.getElementById(uniqIds[i]).getAttribute('c') + '&';
  910. uri += 's=' + document.getElementById(uniqIds[i]).getAttribute('s') + '&';
  911. uri += 't=' + document.getElementById(uniqIds[i]).getAttribute('t');
  912. tarteaucitron.makeAsync.init(uri, uniqIds[i]);
  913. }
  914. },
  915. "fallback": function () {
  916. "use strict";
  917. var id = 'clicmanager';
  918. tarteaucitron.fallback(['clicmanager-canvas'], tarteaucitron.engage(id));
  919. }
  920. };
  921. // compteur
  922. tarteaucitron.services.compteur = {
  923. "key": "compteur",
  924. "type": "analytic",
  925. "name": "Compteur.fr",
  926. "uri": "https://www.compteur.fr/help_privacy_policy.htm",
  927. "needConsent": true,
  928. "cookies": [],
  929. "js": function () {
  930. "use strict";
  931. if (tarteaucitron.user.compteurID === undefined) {
  932. return;
  933. }
  934. tarteaucitron.addScript('https://server2.compteur.fr/log7.js', '', function () { wtslog7(tarteaucitron.user.compteurID, 1); });
  935. }
  936. };
  937. // contentsquare
  938. tarteaucitron.services.contentsquare = {
  939. "key": "contentsquare",
  940. "type": "api",
  941. "name": "ContentSquare",
  942. "uri": "https://docs.contentsquare.com/uxa-en/#collected-data",
  943. "needConsent": true,
  944. "cookies": ['_cs_id', '_cs_s', '_cs_vars', '_cs_ex', '_cs_c', '_cs_optout'],
  945. "js": function () {
  946. "use strict";
  947. if (tarteaucitron.user.contentsquareID === undefined) {
  948. return;
  949. }
  950. tarteaucitron.addScript('//t.contentsquare.net/uxa/' + tarteaucitron.user.contentsquareID + '.js');
  951. }
  952. };
  953. // crazyegg
  954. tarteaucitron.services.crazyegg = {
  955. "key": "crazyegg",
  956. "type": "analytic",
  957. "name": "Crazy Egg",
  958. "uri": "https://www.crazyegg.com/privacy",
  959. "needConsent": true,
  960. "cookies": [],
  961. "js": function () {
  962. "use strict";
  963. if (tarteaucitron.user.crazyeggId === undefined) {
  964. return;
  965. }
  966. tarteaucitron.addScript('//script.crazyegg.com/pages/scripts/' + tarteaucitron.user.crazyeggId.substr(0, 4) + '/' + tarteaucitron.user.crazyeggId.substr(4, 4) + '.js');
  967. }
  968. };
  969. // clarity
  970. tarteaucitron.services.clarity = {
  971. "key": "clarity",
  972. "type": "analytic",
  973. "name": "Clarity",
  974. "uri": "https://clarity.microsoft.com/",
  975. "needConsent": true,
  976. "cookies": [],
  977. "js": function () {
  978. "use strict";
  979. window["clarity"] = window["clarity"] || function () { (window["clarity"].q = window["clarity"].q || []).push(arguments) };
  980. tarteaucitron.addScript('https://www.clarity.ms/tag/' + tarteaucitron.user.clarity);
  981. }
  982. };
  983. // criteo
  984. tarteaucitron.services.criteo = {
  985. "key": "criteo",
  986. "type": "ads",
  987. "name": "Criteo",
  988. "uri": "http://www.criteo.com/privacy/",
  989. "needConsent": true,
  990. "cookies": [],
  991. "js": function () {
  992. "use strict";
  993. document.MAX_ct0 = '';
  994. var uniqIds = [],
  995. i,
  996. uri;
  997. tarteaucitron.fallback(['criteo-canvas'], function (x) {
  998. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  999. uniqIds.push(uniqId);
  1000. return '<div id="' + uniqId + '" zoneid="' + x.getAttribute('zoneid') + '"></div>';
  1001. });
  1002. for (i = 0; i < uniqIds.length; i += 1) {
  1003. uri = '//cas.criteo.com/delivery/ajs.php?';
  1004. uri += 'zoneid=' + document.getElementById(uniqIds[i]).getAttribute('zoneid');
  1005. uri += '&nodis=1&cb=' + Math.floor(Math.random() * 99999999999);
  1006. uri += '&loc=' + encodeURI(window.location);
  1007. uri += (document.MAX_used !== ',') ? '&exclude=' + document.MAX_used : '';
  1008. uri += (document.charset !== undefined ? '&charset=' + document.charset : '');
  1009. uri += (document.characterSet !== undefined ? '&charset=' + document.characterSet : '');
  1010. uri += (document.referrer !== undefined) ? '&referer=' + encodeURI(document.referrer) : '';
  1011. uri += (document.context !== undefined) ? '&context=' + encodeURI(document.context) : '';
  1012. uri += ((document.MAX_ct0 !== undefined) && (document.MAX_ct0.substring(0, 4) === 'http')) ? '&ct0=' + encodeURI(document.MAX_ct0) : '';
  1013. uri += (document.mmm_fo !== undefined) ? '&mmm_fo=1' : '';
  1014. tarteaucitron.makeAsync.init(uri, uniqIds[i]);
  1015. }
  1016. },
  1017. "fallback": function () {
  1018. "use strict";
  1019. var id = 'criteo';
  1020. tarteaucitron.fallback(['criteo-canvas'], tarteaucitron.engage(id));
  1021. }
  1022. };
  1023. // criteo onetag
  1024. tarteaucitron.services.criteoonetag = {
  1025. "key": "criteoonetag",
  1026. "type": "ads",
  1027. "name": "Criteo OneTag",
  1028. "uri": "https://www.criteo.com/privacy/",
  1029. "needConsent": true,
  1030. "cookies": ['uid', 'tk', 'uid3pd'],
  1031. "js": function() {
  1032. "use strict";
  1033. if (tarteaucitron.user.criteoonetagAccount === undefined) return;
  1034. window.criteo_q = window.criteo_q || [];
  1035. window.criteo_q.push({
  1036. event: "setAccount",
  1037. account: tarteaucitron.user.criteoonetagAccount
  1038. })
  1039. tarteaucitron.addScript('//static.criteo.net/js/ld/ld.js', '', function() {
  1040. if (typeof tarteaucitron.user.criteoonetagMore === 'function') {
  1041. tarteaucitron.user.criteoonetagMore();
  1042. }
  1043. });
  1044. }
  1045. };
  1046. // artetv
  1047. tarteaucitron.services.artetv = {
  1048. "key": "artetv",
  1049. "type": "video",
  1050. "name": "Arte.tv",
  1051. "uri": "https://www.arte.tv/sites/fr/corporate/donnees-personnelles/",
  1052. "needConsent": true,
  1053. "cookies": [],
  1054. "js": function () {
  1055. "use strict";
  1056. tarteaucitron.fallback(['artetv_player'], function (x) {
  1057. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Arte.tv iframe'),
  1058. video_json = x.getAttribute("json"),
  1059. video_width = x.getAttribute("width"),
  1060. video_height = x.getAttribute("height"),
  1061. video_frame,
  1062. video_allowfullscreen = x.getAttribute("allowfullscreen");
  1063. if (video_json === undefined) {
  1064. return "";
  1065. }
  1066. video_frame = '<iframe title="' + frame_title + '" 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 + '" scrolling="no" ' + (video_allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
  1067. return video_frame;
  1068. });
  1069. },
  1070. "fallback": function () {
  1071. "use strict";
  1072. var id = 'artetv';
  1073. tarteaucitron.fallback(['artetv_player'], function (elem) {
  1074. elem.style.width = elem.getAttribute('width') + 'px';
  1075. elem.style.height = elem.getAttribute('height') + 'px';
  1076. return tarteaucitron.engage(id);
  1077. });
  1078. }
  1079. };
  1080. // dailymotion
  1081. tarteaucitron.services.dailymotion = {
  1082. "key": "dailymotion",
  1083. "type": "video",
  1084. "name": "Dailymotion",
  1085. "uri": "https://www.dailymotion.com/legal/privacy",
  1086. "needConsent": true,
  1087. "cookies": ['ts', 'dmvk', 'hist', 'v1st', 's_vi'],
  1088. "js": function () {
  1089. "use strict";
  1090. tarteaucitron.fallback(['dailymotion_player'], function (x) {
  1091. var frame_title = tarteaucitron.fixSelfXSS(tarteaucitron.getElemAttr(x, "title") || 'Dailymotion iframe'),
  1092. video_id = tarteaucitron.getElemAttr(x, "videoID"),
  1093. video_width = tarteaucitron.getElemAttr(x, "width"),
  1094. frame_width = 'width=',
  1095. video_height = tarteaucitron.getElemAttr(x, "height"),
  1096. frame_height = 'height=',
  1097. video_frame,
  1098. embed_type = tarteaucitron.getElemAttr(x, "embedType"),
  1099. allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen"),
  1100. showinfo = tarteaucitron.getElemAttr(x, "showinfo"),
  1101. autoplay = tarteaucitron.getElemAttr(x, "autoplay"),
  1102. api = tarteaucitron.getElemAttr(x, "api"),
  1103. params = 'info=' + showinfo + '&autoPlay=' + autoplay + '&api=' + api;
  1104. if (video_id === undefined) {
  1105. return "";
  1106. }
  1107. if (video_width !== undefined) {
  1108. frame_width += '"' + video_width + '" ';
  1109. } else {
  1110. frame_width += '"" ';
  1111. }
  1112. if (video_height !== undefined) {
  1113. frame_height += '"' + video_height + '" ';
  1114. } else {
  1115. frame_height += '"" ';
  1116. }
  1117. if (embed_type === undefined || !['video', 'playlist'].includes(embed_type)) {
  1118. embed_type = "video";
  1119. }
  1120. video_frame = '<iframe title="' + frame_title + '" src="//www.dailymotion.com/embed/' + embed_type + '/' + video_id + '?' + params + '" ' + frame_width + frame_height + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
  1121. return video_frame;
  1122. });
  1123. },
  1124. "fallback": function () {
  1125. "use strict";
  1126. var id = 'dailymotion';
  1127. tarteaucitron.fallback(['dailymotion_player'], function (elem) {
  1128. elem.style.width = elem.getAttribute('width') + 'px';
  1129. elem.style.height = elem.getAttribute('height') + 'px';
  1130. return tarteaucitron.engage(id);
  1131. });
  1132. }
  1133. };
  1134. // dating affiliation
  1135. tarteaucitron.services.datingaffiliation = {
  1136. "key": "datingaffiliation",
  1137. "type": "ads",
  1138. "name": "Dating Affiliation",
  1139. "uri": "http://www.dating-affiliation.com/conditions-generales.php",
  1140. "needConsent": true,
  1141. "cookies": [],
  1142. "js": function () {
  1143. "use strict";
  1144. tarteaucitron.fallback(['datingaffiliation-canvas'], function (x) {
  1145. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Dating Affiliation iframe'),
  1146. comfrom = x.getAttribute("data-comfrom"),
  1147. r = x.getAttribute("data-r"),
  1148. p = x.getAttribute("data-p"),
  1149. cf0 = x.getAttribute("data-cf0"),
  1150. langue = x.getAttribute("data-langue"),
  1151. forward_affiliate = x.getAttribute("data-forwardAffiliate"),
  1152. cf2 = x.getAttribute("data-cf2"),
  1153. cfsa2 = x.getAttribute("data-cfsa2"),
  1154. width = x.getAttribute("width"),
  1155. height = x.getAttribute("height"),
  1156. url = 'http://www.tools-affil2.com/rotaban/ban.php?' + comfrom;
  1157. return '<iframe title="' + frame_title + '" src="' + url + '&r=' + r + '&p=' + p + '&cf0=' + cf0 + '&langue=' + langue + '&forward_affiliate=' + forward_affiliate + '&cf2=' + cf2 + '&cfsa2=' + cfsa2 + '" width="' + width + '" height="' + height + '" marginheight="0" marginwidth="0" scrolling="no"></iframe>';
  1158. });
  1159. },
  1160. "fallback": function () {
  1161. "use strict";
  1162. var id = 'datingaffiliation';
  1163. tarteaucitron.fallback(['datingaffiliation-canvas'], function (elem) {
  1164. elem.style.width = elem.getAttribute('width') + 'px';
  1165. elem.style.height = elem.getAttribute('height') + 'px';
  1166. return tarteaucitron.engage(id);
  1167. });
  1168. }
  1169. };
  1170. // dating affiliation popup
  1171. tarteaucitron.services.datingaffiliationpopup = {
  1172. "key": "datingaffiliationpopup",
  1173. "type": "ads",
  1174. "name": "Dating Affiliation (Pop Up)",
  1175. "uri": "http://www.dating-affiliation.com/conditions-generales.php",
  1176. "needConsent": true,
  1177. "cookies": ['__utma', '__utmb', '__utmc', '__utmt_Tools', '__utmv', '__utmz', '_ga', '_gat', '_gat_UA-65072040-17', '__da-pu-xflirt-ID-pc-o169'],
  1178. "js": function () {
  1179. "use strict";
  1180. var uniqIds = [],
  1181. i,
  1182. uri;
  1183. tarteaucitron.fallback(['datingaffiliationpopup-canvas'], function (x) {
  1184. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  1185. uniqIds.push(uniqId);
  1186. 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>';
  1187. });
  1188. for (i = 0; i < uniqIds.length; i += 1) {
  1189. uri = 'http://www.promotools.biz/da/popunder/script.php?';
  1190. uri += 'comfrom=' + document.getElementById(uniqIds[i]).getAttribute('comfrom') + '&';
  1191. uri += 'promo=' + document.getElementById(uniqIds[i]).getAttribute('promo') + '&';
  1192. uri += 'product_id=' + document.getElementById(uniqIds[i]).getAttribute('productid') + '&';
  1193. uri += 'submitconfig=' + document.getElementById(uniqIds[i]).getAttribute('submitconfig') + '&';
  1194. uri += 'ur=' + document.getElementById(uniqIds[i]).getAttribute('ur') + '&';
  1195. uri += 'brand=' + document.getElementById(uniqIds[i]).getAttribute('brand') + '&';
  1196. uri += 'lang=' + document.getElementById(uniqIds[i]).getAttribute('lang') + '&';
  1197. uri += 'cf0=' + document.getElementById(uniqIds[i]).getAttribute('cf0') + '&';
  1198. uri += 'cf2=' + document.getElementById(uniqIds[i]).getAttribute('cf2') + '&';
  1199. uri += 'subid1=' + document.getElementById(uniqIds[i]).getAttribute('subid1') + '&';
  1200. uri += 'cfsa2=' + document.getElementById(uniqIds[i]).getAttribute('cfsa2') + '&';
  1201. uri += 'subid2=' + document.getElementById(uniqIds[i]).getAttribute('subid2') + '&';
  1202. uri += 'nicheId=' + document.getElementById(uniqIds[i]).getAttribute('nicheid') + '&';
  1203. uri += 'degreId=' + document.getElementById(uniqIds[i]).getAttribute('degreid') + '&';
  1204. uri += 'bt=' + document.getElementById(uniqIds[i]).getAttribute('bt') + '&';
  1205. uri += 'vis=' + document.getElementById(uniqIds[i]).getAttribute('vis') + '&';
  1206. uri += 'hid=' + document.getElementById(uniqIds[i]).getAttribute('hid') + '&';
  1207. uri += 'snd=' + document.getElementById(uniqIds[i]).getAttribute('snd') + '&';
  1208. uri += 'aabd=' + document.getElementById(uniqIds[i]).getAttribute('aabd') + '&';
  1209. uri += 'aabs=' + document.getElementById(uniqIds[i]).getAttribute('aabs');
  1210. tarteaucitron.makeAsync.init(uri, uniqIds[i]);
  1211. }
  1212. },
  1213. "fallback": function () {
  1214. "use strict";
  1215. var id = 'datingaffiliationpopup';
  1216. tarteaucitron.fallback(['datingaffiliationpopup-canvas'], tarteaucitron.engage(id));
  1217. }
  1218. };
  1219. // deezer
  1220. tarteaucitron.services.deezer = {
  1221. "key": "deezer",
  1222. "type": "video",
  1223. "name": "Deezer",
  1224. "uri": "https://www.deezer.com/legal/personal-datas",
  1225. "needConsent": true,
  1226. "cookies": [],
  1227. "js": function () {
  1228. "use strict";
  1229. tarteaucitron.fallback(['deezer_player'], function (x) {
  1230. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Deezer iframe'),
  1231. deezer_id = x.getAttribute("deezerID"),
  1232. deezer_width = x.getAttribute("width"),
  1233. frame_width = 'width=',
  1234. deezer_height = x.getAttribute("height"),
  1235. frame_height = 'height=',
  1236. deezer_frame,
  1237. embed_theme = x.getAttribute("theme"),
  1238. embed_type = x.getAttribute("embedType"),
  1239. radius = x.getAttribute("radius"),
  1240. tracklist = x.getAttribute("tracklist"),
  1241. allowfullscreen = x.getAttribute("allowfullscreen"),
  1242. params;
  1243. if (deezer_id === undefined) {
  1244. return "";
  1245. }
  1246. if (deezer_width !== undefined) {
  1247. frame_width += '"' + deezer_width + '" ';
  1248. } else {
  1249. frame_width += '"" ';
  1250. }
  1251. if (deezer_height !== undefined) {
  1252. frame_height += '"' + deezer_height + '" ';
  1253. } else {
  1254. frame_height += '"" ';
  1255. }
  1256. if (embed_theme === undefined || !['auto', 'light', 'dark'].includes(embed_theme)) {
  1257. embed_theme = "auto";
  1258. }
  1259. if (embed_type === undefined || !['album', 'track', 'playlist'].includes(embed_type)) {
  1260. embed_type = "album";
  1261. }
  1262. if (radius === undefined || !['true', 'false'].includes(radius)) {
  1263. radius = "true";
  1264. }
  1265. if (tracklist === undefined || !['true', 'false'].includes(tracklist)) {
  1266. tracklist = "true";
  1267. }
  1268. params = 'tracklist=' + tracklist + '&radius=' + radius;
  1269. deezer_frame = '<iframe title="' + frame_title + '" src="//widget.deezer.com/widget/' + embed_theme + '/' + embed_type + '/' + deezer_id + '?' + params + '" ' + frame_width + frame_height + ' ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
  1270. return deezer_frame;
  1271. });
  1272. },
  1273. "fallback": function () {
  1274. "use strict";
  1275. var id = 'deezer';
  1276. tarteaucitron.fallback(['deezer_player'], function (elem) {
  1277. elem.style.width = elem.getAttribute('width') + 'px';
  1278. elem.style.height = elem.getAttribute('height') + 'px';
  1279. return tarteaucitron.engage(id);
  1280. });
  1281. }
  1282. };
  1283. // leadforensics
  1284. tarteaucitron.services.leadforensics = {
  1285. "key": "leadforensics",
  1286. "type": "analytic",
  1287. "name": "LeadForensics",
  1288. "uri": "https://www.leadforensics.com/privacy-policy/",
  1289. "needConsent": true,
  1290. "cookies": ['trackalyzer'],
  1291. "js": function () {
  1292. "use strict";
  1293. if (tarteaucitron.user.leadforensicsSf14gv === undefined ||
  1294. tarteaucitron.user.leadforensicsIidentifier === undefined) {
  1295. return;
  1296. }
  1297. window.sf14gv = tarteaucitron.user.leadforensicsSf14gv;
  1298. (function () {
  1299. var sf14g = document.createElement('script'); sf14g.async = true;
  1300. sf14g.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 't.sf14g.com/sf14g.js';
  1301. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sf14g, s);
  1302. })();
  1303. tarteaucitron.addScript('//secure.leadforensics.com/js/' + tarteaucitron.user.leadforensicsIidentifier + '.js');
  1304. }
  1305. };
  1306. // disqus
  1307. tarteaucitron.services.disqus = {
  1308. "key": "disqus",
  1309. "type": "comment",
  1310. "name": "Disqus",
  1311. "uri": "https://help.disqus.com/customer/portal/articles/466259-privacy-policy",
  1312. "needConsent": true,
  1313. "cookies": [],
  1314. "js": function () {
  1315. "use strict";
  1316. if (tarteaucitron.user.disqusShortname === undefined) {
  1317. return;
  1318. }
  1319. tarteaucitron.addScript('//' + tarteaucitron.user.disqusShortname + '.disqus.com/embed.js');
  1320. tarteaucitron.addScript('//' + tarteaucitron.user.disqusShortname + '.disqus.com/count.js');
  1321. },
  1322. "fallback": function () {
  1323. "use strict";
  1324. var id = 'disqus';
  1325. if (document.getElementById('disqus_thread')) {
  1326. document.getElementById('disqus_thread').innerHTML = tarteaucitron.engage(id);
  1327. }
  1328. }
  1329. };
  1330. // ekomi
  1331. tarteaucitron.services.ekomi = {
  1332. "key": "ekomi",
  1333. "type": "social",
  1334. "name": "eKomi",
  1335. "uri": "http://www.ekomi-us.com/us/privacy/",
  1336. "needConsent": true,
  1337. "cookies": [],
  1338. "js": function () {
  1339. "use strict";
  1340. if (tarteaucitron.user.ekomiCertId === undefined) {
  1341. return;
  1342. }
  1343. window.eKomiIntegrationConfig = [
  1344. { certId: tarteaucitron.user.ekomiCertId }
  1345. ];
  1346. tarteaucitron.addScript('//connect.ekomi.de/integration_1410173009/' + tarteaucitron.user.ekomiCertId + '.js');
  1347. }
  1348. };
  1349. // etracker
  1350. tarteaucitron.services.etracker = {
  1351. "key": "etracker",
  1352. "type": "analytic",
  1353. "name": "eTracker",
  1354. "uri": "https://www.etracker.com/en/data-protection.html",
  1355. "needConsent": true,
  1356. "cookies": [],
  1357. "js": function () {
  1358. "use strict";
  1359. if (tarteaucitron.user.etracker === undefined) {
  1360. return;
  1361. }
  1362. tarteaucitron.addScript('//static.etracker.com/code/e.js', '_etLoader', function () { }, true, "data-secure-code", tarteaucitron.user.etracker);
  1363. }
  1364. };
  1365. // facebook
  1366. tarteaucitron.services.facebook = {
  1367. "key": "facebook",
  1368. "type": "social",
  1369. "name": "Facebook",
  1370. "uri": "https://www.facebook.com/policy.php",
  1371. "needConsent": true,
  1372. "cookies": ['xs', 'sb', 'fr', 'datr', 'dpr', 'c_user'],
  1373. "js": function () {
  1374. "use strict";
  1375. tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], '');
  1376. tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.0', 'facebook-jssdk');
  1377. if (tarteaucitron.isAjax === true) {
  1378. if (typeof FB !== "undefined") {
  1379. FB.XFBML.parse();
  1380. }
  1381. }
  1382. },
  1383. "fallback": function () {
  1384. "use strict";
  1385. var id = 'facebook';
  1386. tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], tarteaucitron.engage(id));
  1387. }
  1388. };
  1389. // facebooklikebox
  1390. tarteaucitron.services.facebooklikebox = {
  1391. "key": "facebooklikebox",
  1392. "type": "social",
  1393. "name": "Facebook (like box)",
  1394. "uri": "https://www.facebook.com/policy.php",
  1395. "needConsent": true,
  1396. "cookies": [],
  1397. "js": function () {
  1398. "use strict";
  1399. tarteaucitron.fallback(['fb-like-box', 'fb-page'], '');
  1400. tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.3', 'facebook-jssdk');
  1401. if (tarteaucitron.isAjax === true) {
  1402. if (typeof FB !== "undefined") {
  1403. FB.XFBML.parse();
  1404. }
  1405. }
  1406. },
  1407. "fallback": function () {
  1408. "use strict";
  1409. var id = 'facebooklikebox';
  1410. tarteaucitron.fallback(['fb-like-box', 'fb-page'], tarteaucitron.engage(id));
  1411. }
  1412. };
  1413. // facebookcomment
  1414. tarteaucitron.services.facebookcomment = {
  1415. "key": "facebookcomment",
  1416. "type": "comment",
  1417. "name": "Facebook (commentaire)",
  1418. "uri": "https://www.facebook.com/policy.php",
  1419. "needConsent": true,
  1420. "cookies": [],
  1421. "js": function () {
  1422. "use strict";
  1423. tarteaucitron.fallback(['fb-comments'], '');
  1424. tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.0', 'facebook-jssdk');
  1425. if (tarteaucitron.isAjax === true) {
  1426. if (typeof FB !== "undefined") {
  1427. FB.XFBML.parse();
  1428. }
  1429. }
  1430. },
  1431. "fallback": function () {
  1432. "use strict";
  1433. var id = 'facebookcomment';
  1434. tarteaucitron.fallback(['fb-comments'], tarteaucitron.engage(id));
  1435. }
  1436. };
  1437. // ferank
  1438. tarteaucitron.services.ferank = {
  1439. "key": "ferank",
  1440. "type": "analytic",
  1441. "name": "FERank",
  1442. "uri": "https://www.ferank.fr/respect-vie-privee/#mesureaudience",
  1443. "needConsent": false,
  1444. "cookies": [],
  1445. "js": function () {
  1446. "use strict";
  1447. tarteaucitron.addScript('//static.ferank.fr/pixel.js', '', function () {
  1448. if (typeof tarteaucitron.user.ferankMore === 'function') {
  1449. tarteaucitron.user.ferankMore();
  1450. }
  1451. });
  1452. }
  1453. };
  1454. // pingdom
  1455. tarteaucitron.services.pingdom = {
  1456. "key": "pingdom",
  1457. "type": "api",
  1458. "name": "Pingdom",
  1459. "uri": "https://www.solarwinds.com/general-data-protection-regulation-cloud",
  1460. "needConsent": true,
  1461. "cookies": [],
  1462. "js": function () {
  1463. "use strict";
  1464. if (tarteaucitron.user.pingdomId === undefined) {
  1465. return;
  1466. }
  1467. window._prum = [['id', tarteaucitron.user.pingdomId], ['mark', 'firstbyte', (new Date()).getTime()]];
  1468. tarteaucitron.addScript('https://rum-static.pingdom.net/prum.min.js');
  1469. }
  1470. };
  1471. // simpleanalytics
  1472. tarteaucitron.services.simpleanalytics = {
  1473. "key": "simpleanalytics",
  1474. "type": "analytic",
  1475. "name": "Simple Analytics",
  1476. "uri": "https://docs.simpleanalytics.com/what-we-collect",
  1477. "needConsent": false,
  1478. "cookies": [],
  1479. "js": function () {
  1480. "use strict";
  1481. tarteaucitron.addScript('https://scripts.simpleanalyticscdn.com/latest.js');
  1482. }
  1483. };
  1484. // stonly
  1485. tarteaucitron.services.stonly = {
  1486. "key": "stonly",
  1487. "type": "api",
  1488. "name": "Stonly",
  1489. "uri": "https://stonly.com/privacy",
  1490. "needConsent": true,
  1491. "cookies": [],
  1492. "js": function () {
  1493. "use strict";
  1494. if (tarteaucitron.user.stonlyId === undefined) {
  1495. return;
  1496. }
  1497. window.STONLY_WID = tarteaucitron.user.stonlyId;
  1498. window.StonlyWidget || ((window.w = window.StonlyWidget = function () {
  1499. window.w._api ? window.w._api.apply(window.w, arguments) : window.w.queue.push(arguments)
  1500. }).queue = []);
  1501. tarteaucitron.addScript('https://stonly.com/js/widget/v2/stonly-widget.js?v=' + Date.now());
  1502. }
  1503. };
  1504. // stripe
  1505. /*tarteaucitron.services.stripe = {
  1506. "key": "stripe",
  1507. "type": "api",
  1508. "name": "Stripe",
  1509. "uri": "https://stripe.com/cookies-policy/legal",
  1510. "needConsent": true,
  1511. "cookies": [],
  1512. "js": function () {
  1513. "use strict";
  1514. tarteaucitron.addScript('https://js.stripe.com/v3/');
  1515. }
  1516. };*/
  1517. // ferank pub
  1518. tarteaucitron.services.ferankpub = {
  1519. "key": "ferankpub",
  1520. "type": "ads",
  1521. "name": "FERank (pub)",
  1522. "uri": "https://www.ferank.fr/respect-vie-privee/#regiepublicitaire",
  1523. "needConsent": false,
  1524. "cookies": [],
  1525. "js": function () {
  1526. "use strict";
  1527. tarteaucitron.addScript('//static.ferank.fr/publicite.async.js');
  1528. if (tarteaucitron.isAjax === true) {
  1529. if (typeof ferankReady === 'function') {
  1530. ferankReady();
  1531. }
  1532. }
  1533. },
  1534. "fallback": function () {
  1535. "use strict";
  1536. var id = 'ferankpub';
  1537. tarteaucitron.fallback(['ferank-publicite'], tarteaucitron.engage(id));
  1538. }
  1539. };
  1540. // get+
  1541. tarteaucitron.services.getplus = {
  1542. "key": "getplus",
  1543. "type": "analytic",
  1544. "name": "Get+",
  1545. "uri": "http://www.getplus.fr/Conditions-generales-de-vente_a226.html",
  1546. "needConsent": true,
  1547. "cookies": ['_first_pageview', '_jsuid', 'no_trackyy_' + tarteaucitron.user.getplusId, '_eventqueue'],
  1548. "js": function () {
  1549. "use strict";
  1550. if (tarteaucitron.user.getplusId === undefined) {
  1551. return;
  1552. }
  1553. window.webleads_site_ids = window.webleads_site_ids || [];
  1554. window.webleads_site_ids.push(tarteaucitron.user.getplusId);
  1555. tarteaucitron.addScript('//stats.webleads-tracker.com/js');
  1556. }
  1557. };
  1558. // google+
  1559. tarteaucitron.services.gplus = {
  1560. "key": "gplus",
  1561. "type": "social",
  1562. "name": "Google+",
  1563. "uri": "https://policies.google.com/privacy",
  1564. "needConsent": true,
  1565. "cookies": [],
  1566. "js": function () {
  1567. "use strict";
  1568. tarteaucitron.addScript('https://apis.google.com/js/platform.js');
  1569. },
  1570. "fallback": function () {
  1571. "use strict";
  1572. var id = 'gplus';
  1573. tarteaucitron.fallback(['g-plus', 'g-plusone'], tarteaucitron.engage(id));
  1574. }
  1575. };
  1576. // google+ badge
  1577. tarteaucitron.services.gplusbadge = {
  1578. "key": "gplusbadge",
  1579. "type": "social",
  1580. "name": "Google+ (badge)",
  1581. "uri": "https://policies.google.com/privacy",
  1582. "needConsent": true,
  1583. "cookies": [],
  1584. "js": function () {
  1585. "use strict";
  1586. tarteaucitron.addScript('https://apis.google.com/js/platform.js');
  1587. },
  1588. "fallback": function () {
  1589. "use strict";
  1590. var id = 'gplusbadge';
  1591. tarteaucitron.fallback(['g-page', 'g-person'], tarteaucitron.engage(id));
  1592. }
  1593. };
  1594. // google adsense
  1595. tarteaucitron.services.adsense = {
  1596. "key": "adsense",
  1597. "type": "ads",
  1598. "name": "Google Adsense",
  1599. "uri": "https://adssettings.google.com/",
  1600. "needConsent": true,
  1601. "readmoreLink": "https://policies.google.com/technologies/partner-sites",
  1602. "cookies": ['__gads'],
  1603. "js": function () {
  1604. "use strict";
  1605. tarteaucitron.addScript('https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js');
  1606. },
  1607. "fallback": function () {
  1608. "use strict";
  1609. var id = 'adsense';
  1610. tarteaucitron.fallback(['adsbygoogle'], tarteaucitron.engage(id));
  1611. }
  1612. };
  1613. // google partners badge
  1614. tarteaucitron.services.googlepartners = {
  1615. "key": "googlepartners",
  1616. "type": "ads",
  1617. "name": "Google Partners Badge",
  1618. "uri": "https://adssettings.google.com/",
  1619. "needConsent": true,
  1620. "cookies": [],
  1621. "js": function () {
  1622. "use strict";
  1623. tarteaucitron.addScript('https://apis.google.com/js/platform.js');
  1624. },
  1625. "fallback": function () {
  1626. "use strict";
  1627. var id = 'googlepartners';
  1628. tarteaucitron.fallback(['g-partnersbadge'], tarteaucitron.engage(id));
  1629. }
  1630. };
  1631. // google adsense search (form)
  1632. tarteaucitron.services.adsensesearchform = {
  1633. "key": "adsensesearchform",
  1634. "type": "ads",
  1635. "name": "Google Adsense Search (form)",
  1636. "uri": "https://adssettings.google.com/",
  1637. "needConsent": true,
  1638. "cookies": [],
  1639. "js": function () {
  1640. "use strict";
  1641. tarteaucitron.addScript('//www.google.com/coop/cse/brand?form=cse-search-box&lang=' + tarteaucitron.getLanguage());
  1642. }
  1643. };
  1644. // google adsense search (result)
  1645. tarteaucitron.services.adsensesearchresult = {
  1646. "key": "adsensesearchresult",
  1647. "type": "ads",
  1648. "name": "Google Adsense Search (result)",
  1649. "uri": "https://adssettings.google.com/",
  1650. "needConsent": true,
  1651. "cookies": [],
  1652. "js": function () {
  1653. "use strict";
  1654. if (tarteaucitron.user.adsensesearchresultCx === undefined) {
  1655. return;
  1656. }
  1657. tarteaucitron.addScript('//www.google.com/cse/cse.js?cx=' + tarteaucitron.user.adsensesearchresultCx);
  1658. },
  1659. "fallback": function () {
  1660. "use strict";
  1661. var id = 'adsensesearchresult';
  1662. if (document.getElementById('gcse_searchresults')) {
  1663. document.getElementById('gcse_searchresults').innerHTML = tarteaucitron.engage(id);
  1664. }
  1665. }
  1666. };
  1667. // googleadwordsconversion
  1668. tarteaucitron.services.googleadwordsconversion = {
  1669. "key": "googleadwordsconversion",
  1670. "type": "ads",
  1671. "name": "Google Adwords (conversion)",
  1672. "uri": "https://www.google.com/settings/ads",
  1673. "needConsent": true,
  1674. "cookies": [],
  1675. "js": function () {
  1676. "use strict";
  1677. if (tarteaucitron.user.adwordsconversionId === undefined) {
  1678. return;
  1679. }
  1680. tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () {
  1681. window.google_trackConversion({
  1682. google_conversion_id: tarteaucitron.user.adwordsconversionId,
  1683. google_conversion_label: tarteaucitron.user.adwordsconversionLabel,
  1684. google_conversion_language: tarteaucitron.user.adwordsconversionLanguage,
  1685. google_conversion_format: tarteaucitron.user.adwordsconversionFormat,
  1686. google_conversion_color: tarteaucitron.user.adwordsconversionColor,
  1687. google_conversion_value: tarteaucitron.user.adwordsconversionValue,
  1688. google_conversion_currency: tarteaucitron.user.adwordsconversionCurrency,
  1689. google_custom_params: {
  1690. parameter1: tarteaucitron.user.adwordsconversionCustom1,
  1691. parameter2: tarteaucitron.user.adwordsconversionCustom2
  1692. }
  1693. });
  1694. });
  1695. }
  1696. };
  1697. // googleadwordsremarketing
  1698. tarteaucitron.services.googleadwordsremarketing = {
  1699. "key": "googleadwordsremarketing",
  1700. "type": "ads",
  1701. "name": "Google Adwords (remarketing)",
  1702. "uri": "https://www.google.com/settings/ads",
  1703. "needConsent": true,
  1704. "cookies": [],
  1705. "js": function () {
  1706. "use strict";
  1707. if (tarteaucitron.user.adwordsremarketingId === undefined) {
  1708. return;
  1709. }
  1710. tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () {
  1711. window.google_trackConversion({
  1712. google_conversion_id: tarteaucitron.user.adwordsremarketingId,
  1713. google_remarketing_only: true
  1714. });
  1715. });
  1716. }
  1717. };
  1718. // google analytics (old)
  1719. tarteaucitron.services.gajs = {
  1720. "key": "gajs",
  1721. "type": "analytic",
  1722. "name": "Google Analytics (ga.js)",
  1723. "uri": "https://policies.google.com/privacy",
  1724. "needConsent": true,
  1725. "cookies": (function () {
  1726. var googleIdentifier = tarteaucitron.user.gajsUa,
  1727. tagUaCookie = '_gat_gtag_' + googleIdentifier,
  1728. tagGCookie = '_ga_' + googleIdentifier;
  1729. tagUaCookie = tagUaCookie.replace(/-/g, '_');
  1730. tagGCookie = tagGCookie.replace(/G-/g, '');
  1731. return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', tagUaCookie, tagGCookie, '_gcl_au'];
  1732. })(),
  1733. "js": function () {
  1734. "use strict";
  1735. window._gaq = window._gaq || [];
  1736. window._gaq.push(['_setAccount', tarteaucitron.user.gajsUa]);
  1737. if (tarteaucitron.user.gajsAnonymizeIp) {
  1738. window._gaq.push(['_gat._anonymizeIp']);
  1739. }
  1740. if (tarteaucitron.user.gajsPageView) {
  1741. window._gaq.push(['_trackPageview, ' + tarteaucitron.user.gajsPageView]);
  1742. } else {
  1743. window._gaq.push(['_trackPageview']);
  1744. }
  1745. tarteaucitron.addScript('//www.google-analytics.com/ga.js', '', function () {
  1746. if (typeof tarteaucitron.user.gajsMore === 'function') {
  1747. tarteaucitron.user.gajsMore();
  1748. }
  1749. });
  1750. }
  1751. };
  1752. // google analytics
  1753. tarteaucitron.services.analytics = {
  1754. "key": "analytics",
  1755. "type": "analytic",
  1756. "name": "Google Analytics (universal)",
  1757. "uri": "https://policies.google.com/privacy",
  1758. "needConsent": true,
  1759. "cookies": (function () {
  1760. var googleIdentifier = tarteaucitron.user.analyticsUa,
  1761. tagUaCookie = '_gat_gtag_' + googleIdentifier,
  1762. tagGCookie = '_ga_' + googleIdentifier;
  1763. tagUaCookie = tagUaCookie.replace(/-/g, '_');
  1764. tagGCookie = tagGCookie.replace(/G-/g, '');
  1765. return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', tagUaCookie, tagGCookie, '_gcl_au'];
  1766. })(),
  1767. "js": function () {
  1768. "use strict";
  1769. window.GoogleAnalyticsObject = 'ga';
  1770. window.ga = window.ga || function () {
  1771. window.ga.q = window.ga.q || [];
  1772. window.ga.q.push(arguments);
  1773. };
  1774. window.ga.l = new Date();
  1775. tarteaucitron.addScript('https://www.google-analytics.com/analytics.js', '', function () {
  1776. var uaCreate = { 'cookieExpires': 34128000 };
  1777. tarteaucitron.extend(uaCreate, tarteaucitron.user.analyticsUaCreate || {});
  1778. ga('create', tarteaucitron.user.analyticsUa, uaCreate);
  1779. if (tarteaucitron.user.analyticsAnonymizeIp) {
  1780. ga('set', 'anonymizeIp', true);
  1781. }
  1782. if (typeof tarteaucitron.user.analyticsPrepare === 'function') {
  1783. tarteaucitron.user.analyticsPrepare();
  1784. }
  1785. if (tarteaucitron.user.analyticsPageView) {
  1786. ga('send', 'pageview', tarteaucitron.user.analyticsPageView);
  1787. } else {
  1788. ga('send', 'pageview');
  1789. }
  1790. if (typeof tarteaucitron.user.analyticsMore === 'function') {
  1791. tarteaucitron.user.analyticsMore();
  1792. }
  1793. });
  1794. }
  1795. };
  1796. // google analytics
  1797. tarteaucitron.services.gtag = {
  1798. "key": "gtag",
  1799. "type": "analytic",
  1800. "name": "Google Analytics (GA4)",
  1801. "uri": "https://policies.google.com/privacy",
  1802. "needConsent": true,
  1803. "cookies": (function () {
  1804. var googleIdentifier = tarteaucitron.user.gtagUa,
  1805. tagUaCookie = '_gat_gtag_' + googleIdentifier,
  1806. tagGCookie = '_ga_' + googleIdentifier;
  1807. tagUaCookie = tagUaCookie.replace(/-/g, '_');
  1808. tagGCookie = tagGCookie.replace(/G-/g, '');
  1809. return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', tagUaCookie, tagGCookie, '_gcl_au'];
  1810. })(),
  1811. "js": function () {
  1812. "use strict";
  1813. window.dataLayer = window.dataLayer || [];
  1814. tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + tarteaucitron.user.gtagUa, '', function () {
  1815. window.gtag = function gtag() { dataLayer.push(arguments); }
  1816. gtag('js', new Date());
  1817. if (tarteaucitron.user.gtagCrossdomain) {
  1818. /**
  1819. * https://support.google.com/analytics/answer/7476333?hl=en
  1820. * https://developers.google.com/analytics/devguides/collection/gtagjs/cross-domain
  1821. */
  1822. gtag('config', tarteaucitron.user.gtagUa, { 'anonymize_ip': true }, { linker: { domains: tarteaucitron.user.gtagCrossdomain, } });
  1823. } else {
  1824. gtag('config', tarteaucitron.user.gtagUa, { 'anonymize_ip': true });
  1825. }
  1826. if (typeof tarteaucitron.user.gtagMore === 'function') {
  1827. tarteaucitron.user.gtagMore();
  1828. }
  1829. });
  1830. }
  1831. };
  1832. tarteaucitron.services.firebase = {
  1833. "key": "firebase",
  1834. "type": "analytic",
  1835. "name": "Firebase",
  1836. "uri": "https://firebase.google.com/support/privacy",
  1837. "needConsent": true,
  1838. "cookies": (function () {
  1839. var googleIdentifier = tarteaucitron.user.firebaseMeasurementId,
  1840. tagGCookie = '_ga_' + googleIdentifier;
  1841. tagGCookie = tagGCookie.replace(/G-/g, '');
  1842. return ['_ga', tagGCookie];
  1843. })(),
  1844. "js": function () {
  1845. "use strict";
  1846. if (tarteaucitron.user.firebaseApiKey === undefined) {
  1847. return;
  1848. }
  1849. tarteaucitron.addScript('https://www.gstatic.com/firebasejs/8.6.2/firebase-app.js', '', function () {
  1850. tarteaucitron.addScript('https://www.gstatic.com/firebasejs/8.6.2/firebase-analytics.js', '', function () {
  1851. var firebaseConfig = {
  1852. apiKey: tarteaucitron.user.firebaseApiKey,
  1853. authDomain: tarteaucitron.user.firebaseAuthDomain,
  1854. databaseURL: tarteaucitron.user.firebaseDatabaseUrl,
  1855. projectId: tarteaucitron.user.firebaseProjectId,
  1856. storageBucket: tarteaucitron.user.firebaseStorageBucket,
  1857. appId: tarteaucitron.user.firebaseAppId,
  1858. measurementId: tarteaucitron.user.firebaseMeasurementId,
  1859. };
  1860. firebase.initializeApp(firebaseConfig);
  1861. firebase.analytics();
  1862. });
  1863. });
  1864. }
  1865. };
  1866. // genially
  1867. tarteaucitron.services.genially = {
  1868. "key": "genially",
  1869. "type": "api",
  1870. "name": "genially",
  1871. "uri": "https://www.genial.ly/cookies",
  1872. "needConsent": true,
  1873. "cookies": ['_gat', '_ga', '_gid'],
  1874. "js": function () {
  1875. "use strict";
  1876. tarteaucitron.fallback(['tac_genially'], function (x) {
  1877. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'genially iframe'),
  1878. width = x.getAttribute("width"),
  1879. height = x.getAttribute("height"),
  1880. geniallyid = x.getAttribute("geniallyid"),
  1881. allowfullscreen = x.getAttribute("allowfullscreen");
  1882. return '<div style="position: relative; padding-bottom: 109.00%; padding-top: 0; height: 0;"><iframe style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" title="' + frame_title + '" src="https://view.genial.ly/' + geniallyid + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe></div>';
  1883. });
  1884. },
  1885. "fallback": function () {
  1886. "use strict";
  1887. var id = 'genially';
  1888. tarteaucitron.fallback(['tac_genially'], function (elem) {
  1889. elem.style.width = elem.getAttribute('width') + 'px';
  1890. elem.style.height = elem.getAttribute('height') + 'px';
  1891. return tarteaucitron.engage(id);
  1892. });
  1893. }
  1894. };
  1895. // google maps
  1896. tarteaucitron.services.googlemaps = {
  1897. "key": "googlemaps",
  1898. "type": "api",
  1899. "name": "Google Maps",
  1900. "uri": "https://policies.google.com/privacy",
  1901. "needConsent": true,
  1902. "cookies": [],
  1903. "js": function () {
  1904. "use strict";
  1905. var mapOptions,
  1906. map,
  1907. uniqIds = [],
  1908. i;
  1909. if (tarteaucitron.user.mapscallback === undefined) {
  1910. tarteaucitron.user.mapscallback = 'tac_googlemaps_callback';
  1911. }
  1912. // Add Google Maps libraries if any (https://developers.google.com/maps/documentation/javascript/libraries)
  1913. var googleMapsLibraries = '';
  1914. if (tarteaucitron.user.googlemapsLibraries) {
  1915. googleMapsLibraries = '&libraries=' + tarteaucitron.user.googlemapsLibraries;
  1916. }
  1917. tarteaucitron.addScript('//maps.googleapis.com/maps/api/js?v=3.exp&key=' + tarteaucitron.user.googlemapsKey + '&callback=' + tarteaucitron.user.mapscallback + googleMapsLibraries);
  1918. window.tac_googlemaps_callback = function () {
  1919. tarteaucitron.fallback(['googlemaps-canvas'], function (x) {
  1920. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  1921. uniqIds.push(uniqId);
  1922. 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>';
  1923. });
  1924. var i;
  1925. for (i = 0; i < uniqIds.length; i += 1) {
  1926. mapOptions = {
  1927. zoom: parseInt(document.getElementById(uniqIds[i]).getAttribute('zoom'), 10),
  1928. center: new google.maps.LatLng(parseFloat(document.getElementById(uniqIds[i]).getAttribute('latitude'), 10), parseFloat(document.getElementById(uniqIds[i]).getAttribute('longitude'), 10))
  1929. };
  1930. map = new google.maps.Map(document.getElementById(uniqIds[i]), mapOptions);
  1931. 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 });
  1932. }
  1933. };
  1934. },
  1935. "fallback": function () {
  1936. "use strict";
  1937. var id = 'googlemaps';
  1938. tarteaucitron.fallback(['googlemaps-canvas'], tarteaucitron.engage(id));
  1939. }
  1940. };
  1941. // googlemaps search
  1942. tarteaucitron.services.googlemapssearch = {
  1943. "key": "googlemapssearch",
  1944. "type": "api",
  1945. "name": "Google Maps Search API",
  1946. "uri": "https://policies.google.com/privacy",
  1947. "needConsent": true,
  1948. "cookies": ['nid'],
  1949. "js": function () {
  1950. "use strict";
  1951. tarteaucitron.fallback(['googlemapssearch'], function (x) {
  1952. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Google search iframe'),
  1953. width = x.getAttribute("width"),
  1954. height = x.getAttribute("height"),
  1955. // url = x.getAttribute("data-url");
  1956. query = escape(x.getAttribute("data-search")),
  1957. key = x.getAttribute("data-api-key");
  1958. return '<iframe title="' + frame_title + '" width="' + width + '" height="' + height + '" style="border:0" src="https://www.google.com/maps/embed/v1/place?q=' + query + '&key=' + key + '" allowfullscreen></iframe> '
  1959. });
  1960. },
  1961. "fallback": function () {
  1962. "use strict";
  1963. var id = 'googlemapssearch';
  1964. tarteaucitron.fallback(['googlemapssearch'], function (elem) {
  1965. elem.style.width = elem.getAttribute('width') + 'px';
  1966. elem.style.height = elem.getAttribute('height') + 'px';
  1967. return tarteaucitron.engage(id);
  1968. });
  1969. }
  1970. };
  1971. // googlemaps embed iframe
  1972. tarteaucitron.services.googlemapsembed = {
  1973. "key": "googlemapsembed",
  1974. "type": "api",
  1975. "name": "Google Maps Embed",
  1976. "uri": "https://policies.google.com/privacy",
  1977. "needConsent": true,
  1978. "cookies": ['apisid', 'hsid', 'nid', 'sapisid', 'sid', 'sidcc', 'ssid', '1p_jar'],
  1979. "js": function () {
  1980. "use strict";
  1981. tarteaucitron.fallback(['googlemapsembed'], function (x) {
  1982. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Google maps iframe'),
  1983. width = tarteaucitron.getElemWidth(x),
  1984. height = tarteaucitron.getElemHeight(x),
  1985. url = x.getAttribute("data-url");
  1986. return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency allowfullscreen></iframe>';
  1987. });
  1988. },
  1989. "fallback": function () {
  1990. "use strict";
  1991. var id = 'googlemapsembed';
  1992. tarteaucitron.fallback(['googlemapsembed'], function (elem) {
  1993. elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';
  1994. elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';
  1995. return tarteaucitron.engage(id);
  1996. });
  1997. }
  1998. };
  1999. // openstreetmap embed iframe
  2000. tarteaucitron.services.openstreetmap = {
  2001. "key": "openstreetmap",
  2002. "type": "api",
  2003. "name": "Openstreetmap Embed",
  2004. "uri": "https://wiki.osmfoundation.org/wiki/Privacy_Policy#Cookies",
  2005. "needConsent": true,
  2006. "cookies": ['apisid', 'hsid', 'nid', 'sapisid', 'sid', 'sidcc', 'ssid', '1p_jar'],
  2007. "js": function () {
  2008. "use strict";
  2009. tarteaucitron.fallback(['openstreetmap'], function (x) {
  2010. var width = tarteaucitron.getElemWidth(x),
  2011. height = tarteaucitron.getElemHeight(x),
  2012. url = x.getAttribute("data-url");
  2013. return '<iframe src="' + url + '" width="' + width + '" height="' + height + '" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" allowfullscreen></iframe>';
  2014. });
  2015. },
  2016. "fallback": function () {
  2017. "use strict";
  2018. var id = 'openstreetmap';
  2019. tarteaucitron.fallback(['openstreetmap'], function (elem) {
  2020. elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';
  2021. elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';
  2022. return tarteaucitron.engage(id);
  2023. });
  2024. }
  2025. };
  2026. // geoportail embed iframe
  2027. tarteaucitron.services.geoportail = {
  2028. "key": "geoportail",
  2029. "type": "api",
  2030. "name": "Geoportail maps Embed",
  2031. "uri": "https://www.ign.fr/institut/gestion-des-cookies",
  2032. "needConsent": true,
  2033. "cookies": ['apisid', 'hsid', 'nid', 'sapisid', 'sid', 'sidcc', 'ssid', '1p_jar'],
  2034. "js": function () {
  2035. "use strict";
  2036. tarteaucitron.fallback(['geoportail'], function (x) {
  2037. var width = tarteaucitron.getElemWidth(x),
  2038. height = tarteaucitron.getElemHeight(x),
  2039. url = x.getAttribute("data-url");
  2040. return '<iframe src="' + url + '" width="' + width + '" height="' + height + '" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" sandbox="allow-forms allow-scripts allow-same-origin" allowfullscreen></iframe>';
  2041. });
  2042. },
  2043. "fallback": function () {
  2044. "use strict";
  2045. var id = 'geoportail';
  2046. tarteaucitron.fallback(['geoportail'], function (elem) {
  2047. elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';
  2048. elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';
  2049. return tarteaucitron.engage(id);
  2050. });
  2051. }
  2052. };
  2053. // google tag manager
  2054. tarteaucitron.services.googletagmanager = {
  2055. "key": "googletagmanager",
  2056. "type": "api",
  2057. "name": "Google Tag Manager",
  2058. "uri": "https://policies.google.com/privacy",
  2059. "needConsent": true,
  2060. "cookies": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '__gads', '_drt_', 'FLC', 'exchange_uid', 'id', 'fc', 'rrs', 'rds', 'rv', 'uid', 'UIDR', 'UID', 'clid', 'ipinfo', 'acs'],
  2061. "js": function () {
  2062. "use strict";
  2063. if (tarteaucitron.user.googletagmanagerId === undefined) {
  2064. return;
  2065. }
  2066. window.dataLayer = window.dataLayer || [];
  2067. window.dataLayer.push({
  2068. 'gtm.start': new Date().getTime(),
  2069. event: 'gtm.js'
  2070. });
  2071. tarteaucitron.addScript('https://www.googletagmanager.com/gtm.js?id=' + tarteaucitron.user.googletagmanagerId);
  2072. }
  2073. };
  2074. // google tag manager multiple
  2075. tarteaucitron.services.multiplegoogletagmanager = {
  2076. "key": "multiplegoogletagmanager",
  2077. "type": "api",
  2078. "name": "Google Tag Manager",
  2079. "uri": "https://policies.google.com/privacy",
  2080. "needConsent": true,
  2081. "cookies": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '__gads', '_drt_', 'FLC', 'exchange_uid', 'id', 'fc', 'rrs', 'rds', 'rv', 'uid', 'UIDR', 'UID', 'clid', 'ipinfo', 'acs'],
  2082. "js": function () {
  2083. "use strict";
  2084. if (tarteaucitron.user.multiplegoogletagmanagerId === undefined) {
  2085. return;
  2086. }
  2087. window.dataLayer = window.dataLayer || [];
  2088. window.dataLayer.push({
  2089. 'gtm.start': new Date().getTime(),
  2090. event: 'gtm.js'
  2091. });
  2092. tarteaucitron.user.multiplegoogletagmanagerId.forEach(function (id) {
  2093. tarteaucitron.addScript('https://www.googletagmanager.com/gtm.js?id=' + id);
  2094. });
  2095. }
  2096. };
  2097. // google webfonts
  2098. tarteaucitron.services.googlefonts = {
  2099. "key": "googlefonts",
  2100. "type": "api",
  2101. "name": "Google Webfonts",
  2102. "uri": "https://policies.google.com/privacy",
  2103. "needConsent": true,
  2104. "cookies": [],
  2105. "js": function () {
  2106. "use strict";
  2107. if (tarteaucitron.user.googleFonts === undefined) {
  2108. return;
  2109. }
  2110. tarteaucitron.addScript('//ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js', '', function () {
  2111. WebFont.load({
  2112. google: {
  2113. families: tarteaucitron.user.googleFonts
  2114. }
  2115. });
  2116. });
  2117. }
  2118. };
  2119. // hubspot
  2120. tarteaucitron.services.hubspot = {
  2121. "key": "hubspot",
  2122. "type": "analytic",
  2123. "name": "Hubspot",
  2124. "uri": "https://legal.hubspot.com/privacy-policy",
  2125. "needConsent": true,
  2126. "cookies": ['hubspotutk', 'fr', '__hstc', '__hssrc', '__hssc', '__cfduid'],
  2127. "js": function () {
  2128. "use strict";
  2129. tarteaucitron.addScript('//js.hs-scripts.com/' + tarteaucitron.user.hubspotId + '.js', 'hs-script-loader');
  2130. }
  2131. };
  2132. // instagram
  2133. tarteaucitron.services.instagram = {
  2134. "key": "instagram",
  2135. "type": "social",
  2136. "name": "Instagram",
  2137. "uri": "https://www.instagram.com/legal/privacy/",
  2138. "needConsent": true,
  2139. "cookies": ['shbts', 'sessionid', 'csrftoken', 'rur', 'shbid', 'mid', 'ds_usr_id', 'ig_did', 'ig_cb', 'datr'],
  2140. "js": function () {
  2141. "use strict";
  2142. tarteaucitron.fallback(['instagram_post'], function (x) {
  2143. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Instagram iframe'),
  2144. post_id = x.getAttribute('postId'),
  2145. post_permalink = x.getAttribute('data-instgrm-permalink'),
  2146. embed_width = x.getAttribute('width'),
  2147. embed_height = x.getAttribute('height'),
  2148. frame_width,
  2149. frame_height,
  2150. post_frame;
  2151. if (post_permalink != null) {
  2152. tarteaucitron.addScript('//www.instagram.com/embed.js', 'instagram-embed');
  2153. return '';
  2154. }
  2155. if (post_id === undefined) {
  2156. return "";
  2157. }
  2158. if (embed_width !== undefined) {
  2159. frame_width = 'width="' + embed_width + '" ';
  2160. } else {
  2161. frame_width = '"" ';
  2162. }
  2163. if (embed_height !== undefined) {
  2164. frame_height = 'height="' + embed_height + '" ';
  2165. } else {
  2166. frame_height = '"" ';
  2167. }
  2168. post_frame = '<iframe title="' + frame_title + '" src="//www.instagram.com/' + post_id + '/embed" ' + frame_width + frame_height + '></iframe>';
  2169. return post_frame;
  2170. });
  2171. },
  2172. "fallback": function () {
  2173. "use strict";
  2174. var id = 'instagram';
  2175. tarteaucitron.fallback(['instagram_post'], function (elem) {
  2176. elem.style.width = elem.getAttribute('width') + 'px';
  2177. elem.style.height = elem.getAttribute('height') + 'px';
  2178. return tarteaucitron.engage(id);
  2179. });
  2180. }
  2181. };
  2182. // jsapi
  2183. tarteaucitron.services.jsapi = {
  2184. "key": "jsapi",
  2185. "type": "api",
  2186. "name": "Google jsapi",
  2187. "uri": "https://policies.google.com/privacy",
  2188. "needConsent": true,
  2189. "cookies": [],
  2190. "js": function () {
  2191. "use strict";
  2192. tarteaucitron.addScript('//www.google.com/jsapi');
  2193. }
  2194. };
  2195. // twitterwidgetsapi
  2196. tarteaucitron.services.twitterwidgetsapi = {
  2197. "key": "twitterwidgetsapi",
  2198. "type": "api",
  2199. "name": "Twitter Widgets API",
  2200. "uri": "https://support.twitter.com/articles/20170514",
  2201. "needConsent": true,
  2202. "cookies": [],
  2203. "js": function () {
  2204. "use strict";
  2205. tarteaucitron.fallback(['tacTwitterAPI'], '');
  2206. tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
  2207. },
  2208. "fallback": function () {
  2209. "use strict";
  2210. var id = 'twitterwidgetsapi';
  2211. tarteaucitron.fallback(['tacTwitterAPI'], tarteaucitron.engage(id));
  2212. }
  2213. };
  2214. // recaptcha
  2215. tarteaucitron.services.recaptcha = {
  2216. "key": "recaptcha",
  2217. "type": "api",
  2218. "name": "reCAPTCHA",
  2219. "uri": "https://policies.google.com/privacy",
  2220. "needConsent": true,
  2221. "cookies": ['nid'],
  2222. "js": function () {
  2223. "use strict";
  2224. window.tacRecaptchaOnLoad = tarteaucitron.user.recaptchaOnLoad || function () { };
  2225. tarteaucitron.fallback(['g-recaptcha'], '');
  2226. if (tarteaucitron.user.recaptchaapi === undefined) {
  2227. tarteaucitron.addScript('https://www.google.com/recaptcha/api.js?onload=tacRecaptchaOnLoad');
  2228. } else {
  2229. tarteaucitron.addScript('https://www.google.com/recaptcha/api.js?onload=tacRecaptchaOnLoad&render=' + tarteaucitron.user.recaptchaapi);
  2230. }
  2231. },
  2232. "fallback": function () {
  2233. "use strict";
  2234. var id = 'recaptcha';
  2235. tarteaucitron.fallback(['g-recaptcha'], tarteaucitron.engage(id));
  2236. }
  2237. };
  2238. // linkedin
  2239. tarteaucitron.services.linkedin = {
  2240. "key": "linkedin",
  2241. "type": "social",
  2242. "name": "Linkedin",
  2243. "uri": "https://www.linkedin.com/legal/cookie_policy",
  2244. "needConsent": true,
  2245. "cookies": [],
  2246. "js": function () {
  2247. "use strict";
  2248. tarteaucitron.fallback(['tacLinkedin'], '');
  2249. tarteaucitron.addScript('//platform.linkedin.com/in.js');
  2250. if (tarteaucitron.isAjax === true) {
  2251. if (typeof IN !== "undefined") {
  2252. IN.parse();
  2253. }
  2254. }
  2255. },
  2256. "fallback": function () {
  2257. "use strict";
  2258. var id = 'linkedin';
  2259. tarteaucitron.fallback(['tacLinkedin'], tarteaucitron.engage(id));
  2260. }
  2261. };
  2262. // mautic
  2263. tarteaucitron.services.mautic = {
  2264. "key": "mautic",
  2265. "type": "analytic",
  2266. "name": "Mautic",
  2267. "uri": "https://www.mautic.org/privacy-policy/",
  2268. "needConsent": true,
  2269. "cookies": ['mtc_id', 'mtc_sid'],
  2270. "js": function () {
  2271. "use strict";
  2272. if (tarteaucitron.user.mauticurl === undefined) {
  2273. return;
  2274. }
  2275. window.MauticTrackingObject = 'mt';
  2276. window.mt = window.mt || function () {
  2277. window.mt.q = window.mt.q || [];
  2278. window.mt.q.push(arguments);
  2279. };
  2280. tarteaucitron.addScript(tarteaucitron.user.mauticurl, '', function () {
  2281. mt('send', 'pageview');
  2282. });
  2283. }
  2284. };
  2285. // microsoftcampaignanalytics
  2286. tarteaucitron.services.microsoftcampaignanalytics = {
  2287. "key": "microsoftcampaignanalytics",
  2288. "type": "analytic",
  2289. "name": "Microsoft Campaign Analytics",
  2290. "uri": "https://privacy.microsoft.com/privacystatement/",
  2291. "needConsent": true,
  2292. "cookies": [],
  2293. "js": function () {
  2294. "use strict";
  2295. if (tarteaucitron.user.microsoftcampaignanalyticsUUID === undefined) {
  2296. return;
  2297. }
  2298. tarteaucitron.addScript('//flex.atdmt.com/mstag/site/' + tarteaucitron.user.microsoftcampaignanalyticsUUID + '/mstag.js', 'mstag_tops', function () {
  2299. window.mstag = { loadTag: function () { }, time: (new Date()).getTime() };
  2300. window.mstag.loadTag("analytics", { dedup: "1", domainId: tarteaucitron.user.microsoftcampaignanalyticsdomainId, type: "1", actionid: tarteaucitron.user.microsoftcampaignanalyticsactionId });
  2301. });
  2302. }
  2303. };
  2304. // onesignal
  2305. tarteaucitron.services.onesignal = {
  2306. "key": "onesignal",
  2307. "type": "api",
  2308. "name": "OneSignal",
  2309. "uri": "https://onesignal.com/privacy_policy",
  2310. "needConsent": true,
  2311. "cookies": [],
  2312. "js": function () {
  2313. "use strict";
  2314. if (tarteaucitron.user.onesignalAppId === undefined) {
  2315. return;
  2316. }
  2317. window.OneSignal = window.OneSignal || [];
  2318. window.OneSignal.push(function () {
  2319. window.OneSignal.init({
  2320. appId: tarteaucitron.user.onesignalAppId,
  2321. });
  2322. });
  2323. tarteaucitron.addScript('https://cdn.onesignal.com/sdks/OneSignalSDK.js');
  2324. }
  2325. };
  2326. // pinterest
  2327. tarteaucitron.services.pinterest = {
  2328. "key": "pinterest",
  2329. "type": "social",
  2330. "name": "Pinterest",
  2331. "uri": "https://about.pinterest.com/privacy-policy",
  2332. "needConsent": true,
  2333. "cookies": [],
  2334. "js": function () {
  2335. "use strict";
  2336. tarteaucitron.fallback(['tacPinterest'], '');
  2337. tarteaucitron.addScript('//assets.pinterest.com/js/pinit.js');
  2338. },
  2339. "fallback": function () {
  2340. "use strict";
  2341. var id = 'pinterest';
  2342. tarteaucitron.fallback(['tacPinterest'], tarteaucitron.engage(id));
  2343. }
  2344. };
  2345. // prelinker
  2346. tarteaucitron.services.prelinker = {
  2347. "key": "prelinker",
  2348. "type": "ads",
  2349. "name": "Prelinker",
  2350. "uri": "http://www.prelinker.com/index/index/cgu/",
  2351. "needConsent": true,
  2352. "cookies": ['_sp_id.32f5', '_sp_ses.32f5'],
  2353. "js": function () {
  2354. "use strict";
  2355. var uniqIds = [],
  2356. i,
  2357. uri;
  2358. tarteaucitron.fallback(['prelinker-canvas'], function (x) {
  2359. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  2360. uniqIds.push(uniqId);
  2361. return '<div id="' + uniqId + '" siteId="' + x.getAttribute('siteId') + '" bannerId="' + x.getAttribute('bannerId') + '" defaultLanguage="' + x.getAttribute('defaultLanguage') + '" tracker="' + x.getAttribute('tracker') + '"></div>';
  2362. });
  2363. for (i = 0; i < uniqIds.length; i += 1) {
  2364. uri = 'http://promo.easy-dating.org/banner/index?';
  2365. uri += 'site_id=' + document.getElementById(uniqIds[i]).getAttribute('siteId') + '&';
  2366. uri += 'banner_id=' + document.getElementById(uniqIds[i]).getAttribute('bannerId') + '&';
  2367. uri += 'default_language=' + document.getElementById(uniqIds[i]).getAttribute('defaultLanguage') + '&';
  2368. uri += 'tr4ck=' + document.getElementById(uniqIds[i]).getAttribute('trackrt');
  2369. tarteaucitron.makeAsync.init(uri, uniqIds[i]);
  2370. }
  2371. },
  2372. "fallback": function () {
  2373. "use strict";
  2374. var id = 'prelinker';
  2375. tarteaucitron.fallback(['prelinker-canvas'], tarteaucitron.engage(id));
  2376. }
  2377. };
  2378. // prezi
  2379. tarteaucitron.services.prezi = {
  2380. "key": "prezi",
  2381. "type": "video",
  2382. "name": "Prezi",
  2383. "uri": "https://prezi.com/privacy-policy/",
  2384. "needConsent": true,
  2385. "cookies": [],
  2386. "js": function () {
  2387. "use strict";
  2388. tarteaucitron.fallback(['prezi-canvas'], function (x) {
  2389. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Prezi iframe'),
  2390. id = x.getAttribute("data-id"),
  2391. width = x.getAttribute("width"),
  2392. height = x.getAttribute("height"),
  2393. url = 'https://prezi.com/embed/' + id + '/?bgcolor=ffffff&amp;lock_to_path=0&amp;autoplay=0&amp;autohide_ctrls=0';
  2394. return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency allowfullscreen></iframe>';
  2395. });
  2396. },
  2397. "fallback": function () {
  2398. "use strict";
  2399. var id = 'prezi';
  2400. tarteaucitron.fallback(['prezi-canvas'], function (elem) {
  2401. elem.style.width = elem.getAttribute('width') + 'px';
  2402. elem.style.height = elem.getAttribute('height') + 'px';
  2403. return tarteaucitron.engage(id);
  2404. });
  2405. }
  2406. };
  2407. // pubdirecte
  2408. tarteaucitron.services.pubdirecte = {
  2409. "key": "pubdirecte",
  2410. "type": "ads",
  2411. "name": "Pubdirecte",
  2412. "uri": "http://pubdirecte.com/contact.php",
  2413. "needConsent": true,
  2414. "cookies": [],
  2415. "js": function () {
  2416. "use strict";
  2417. var uniqIds = [],
  2418. i,
  2419. uri;
  2420. tarteaucitron.fallback(['pubdirecte-canvas'], function (x) {
  2421. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  2422. uniqIds.push(uniqId);
  2423. return '<div id="' + uniqId + '" pid="' + x.getAttribute('pid') + '" ref="' + x.getAttribute('ref') + '"></div>';
  2424. });
  2425. for (i = 0; i < uniqIds.length; i += 1) {
  2426. uri = '//www.pubdirecte.com/script/banniere.php?';
  2427. uri += 'id=' + document.getElementById(uniqIds[i]).getAttribute('pid') + '&';
  2428. uri += 'ref=' + document.getElementById(uniqIds[i]).getAttribute('ref');
  2429. tarteaucitron.makeAsync.init(uri, uniqIds[i]);
  2430. }
  2431. },
  2432. "fallback": function () {
  2433. "use strict";
  2434. var id = 'pubdirecte';
  2435. tarteaucitron.fallback(['pubdirecte-canvas'], tarteaucitron.engage(id));
  2436. }
  2437. };
  2438. // purechat
  2439. tarteaucitron.services.purechat = {
  2440. "key": "purechat",
  2441. "type": "support",
  2442. "name": "PureChat",
  2443. "uri": "https://www.purechat.com/privacy",
  2444. "needConsent": true,
  2445. "cookies": [],
  2446. "js": function () {
  2447. "use strict";
  2448. if (tarteaucitron.user.purechatId === undefined) {
  2449. return;
  2450. }
  2451. tarteaucitron.addScript('//app.purechat.com/VisitorWidget/WidgetScript', '', function () {
  2452. try {
  2453. window.w = new PCWidget({ c: tarteaucitron.user.purechatId, f: true });
  2454. } catch (e) { }
  2455. });
  2456. }
  2457. };
  2458. // Intercom
  2459. tarteaucitron.services.intercomChat = {
  2460. "key": "intercomChat",
  2461. "type": "support",
  2462. "name": "Intercom",
  2463. "uri": "https://www.intercom.com/",
  2464. "needConsent": true,
  2465. "cookies": [
  2466. "intercom-id-" + tarteaucitron.user.intercomKey,
  2467. "intercom-session-" + tarteaucitron.user.intercomKey,
  2468. ],
  2469. "readmoreLink": "https://www.intercom.com/legal/privacy",
  2470. "js": function () {
  2471. window.intercomSettings = {
  2472. app_id: tarteaucitron.user.intercomKey,
  2473. };
  2474. var w = window;
  2475. var ic = w.Intercom;
  2476. if (typeof ic === "function") {
  2477. ic("reattach_activator");
  2478. ic("update", w.intercomSettings);
  2479. } else {
  2480. var i = function () {
  2481. i.c(arguments);
  2482. };
  2483. i.q = [];
  2484. i.c = function (args) {
  2485. i.q.push(args);
  2486. };
  2487. w.Intercom = i;
  2488. tarteaucitron.addScript(
  2489. "https://widget.intercom.io/widget/" + tarteaucitron.user.intercomKey,
  2490. "",
  2491. function () {
  2492. // Execute callback if function `intercomChatEnable`
  2493. // is defined
  2494. if (typeof intercomChatEnable === 'function') {
  2495. intercomChatEnable()
  2496. }
  2497. }
  2498. );
  2499. }
  2500. },
  2501. "fallback": function () {
  2502. "use strict";
  2503. var id = "intercomChat";
  2504. tarteaucitron.fallback(
  2505. ["intercom-chat"],
  2506. function () {
  2507. // Execute callback if function `intercomChatDisable`
  2508. // is defined
  2509. if (typeof intercomChatDisable === 'function') {
  2510. intercomChatDisable()
  2511. }
  2512. return tarteaucitron.engage(id)
  2513. }
  2514. );
  2515. },
  2516. };
  2517. // rumbletalk
  2518. tarteaucitron.services.rumbletalk = {
  2519. "key": "rumbletalk",
  2520. "type": "social",
  2521. "name": "RumbleTalk",
  2522. "needConsent": true,
  2523. "cookies": ['AWSALB'],
  2524. "js": function () {
  2525. "use strict";
  2526. if (tarteaucitron.user.rumbletalkid === undefined) {
  2527. return;
  2528. }
  2529. tarteaucitron.addScript('https://rumbletalk.com/client/?' + tarteaucitron.user.rumbletalkid);
  2530. tarteaucitron.fallback(['rumbletalk'], function (x) {
  2531. var width = tarteaucitron.getElemWidth(x),
  2532. height = tarteaucitron.getElemHeight(x),
  2533. id = x.getAttribute("data-id");
  2534. return '<div style="height: ' + height + 'px; width: ' + width + 'px;"><div id="' + id + '"></div></div>';
  2535. });
  2536. },
  2537. "fallback": function () {
  2538. "use strict";
  2539. var id = 'rumbletalk';
  2540. tarteaucitron.fallback(['rumbletalk'], function (elem) {
  2541. elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';
  2542. elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';
  2543. return tarteaucitron.engage(id);
  2544. });
  2545. }
  2546. };
  2547. // shareaholic
  2548. tarteaucitron.services.shareaholic = {
  2549. "key": "shareaholic",
  2550. "type": "social",
  2551. "name": "Shareaholic",
  2552. "uri": "https://shareaholic.com/privacy/choices",
  2553. "needConsent": true,
  2554. "cookies": ['__utma', '__utmb', '__utmc', '__utmz', '__utmt_Shareaholic%20Pageviews'],
  2555. "js": function () {
  2556. "use strict";
  2557. if (tarteaucitron.user.shareaholicSiteId === undefined) {
  2558. return;
  2559. }
  2560. tarteaucitron.fallback(['shareaholic-canvas'], '');
  2561. tarteaucitron.addScript('//dsms0mj1bbhn4.cloudfront.net/assets/pub/shareaholic.js', '', function () {
  2562. try {
  2563. Shareaholic.init(tarteaucitron.user.shareaholicSiteId);
  2564. } catch (e) { }
  2565. });
  2566. },
  2567. "fallback": function () {
  2568. "use strict";
  2569. var id = 'shareaholic';
  2570. tarteaucitron.fallback(['shareaholic-canvas'], tarteaucitron.engage(id));
  2571. }
  2572. };
  2573. // shareasale
  2574. tarteaucitron.services.shareasale = {
  2575. "key": "shareasale",
  2576. "type": "ads",
  2577. "name": "ShareASale",
  2578. "uri": "https://www.shareasale.com/PrivacyPolicy.pdf",
  2579. "needConsent": true,
  2580. "cookies": [],
  2581. "js": function () {
  2582. "use strict";
  2583. var uniqIds = [],
  2584. i,
  2585. uri;
  2586. tarteaucitron.fallback(['shareasale-canvas'], function (x) {
  2587. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  2588. uniqIds.push(uniqId);
  2589. 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>';
  2590. });
  2591. for (i = 0; i < uniqIds.length; i += 1) {
  2592. uri = 'https://shareasale.com/sale.cfm?';
  2593. uri += 'amount=' + document.getElementById(uniqIds[i]).getAttribute('amount') + '&';
  2594. uri += 'tracking=' + document.getElementById(uniqIds[i]).getAttribute('tracking') + '&';
  2595. uri += 'transtype=' + document.getElementById(uniqIds[i]).getAttribute('transtype') + '&';
  2596. uri += 'persale=' + document.getElementById(uniqIds[i]).getAttribute('persale') + '&';
  2597. uri += 'perlead=' + document.getElementById(uniqIds[i]).getAttribute('perlead') + '&';
  2598. uri += 'perhit=' + document.getElementById(uniqIds[i]).getAttribute('perhit') + '&';
  2599. uri += 'merchantID=' + document.getElementById(uniqIds[i]).getAttribute('merchantID');
  2600. document.getElementById(uniqIds[i]).innerHTML = '<img src=\'' + uri + '\' width=\'1\' height=\'1\' />';
  2601. }
  2602. },
  2603. "fallback": function () {
  2604. "use strict";
  2605. var id = 'shareasale';
  2606. tarteaucitron.fallback(['shareasale-canvas'], tarteaucitron.engage(id));
  2607. }
  2608. };
  2609. // sharethis
  2610. tarteaucitron.services.sharethis = {
  2611. "key": "sharethis",
  2612. "type": "social",
  2613. "name": "ShareThis",
  2614. "uri": "http://www.sharethis.com/legal/privacy/",
  2615. "needConsent": true,
  2616. "cookies": ['__unam'],
  2617. "js": function () {
  2618. "use strict";
  2619. if (tarteaucitron.user.sharethisPublisher === undefined) {
  2620. return;
  2621. }
  2622. var switchTo5x = true,
  2623. uri = ('https:' === document.location.protocol ? 'https://ws' : 'http://w') + '.sharethis.com/button/buttons.js';
  2624. tarteaucitron.fallback(['tacSharethis'], '');
  2625. tarteaucitron.addScript(uri, '', function () {
  2626. stLight.options({ publisher: tarteaucitron.user.sharethisPublisher, doNotHash: false, doNotCopy: false, hashAddressBar: false });
  2627. });
  2628. if (tarteaucitron.isAjax === true) {
  2629. if (typeof stButtons !== "undefined") {
  2630. stButtons.locateElements();
  2631. }
  2632. }
  2633. },
  2634. "fallback": function () {
  2635. "use strict";
  2636. var id = 'sharethis';
  2637. tarteaucitron.fallback(['tacSharethis'], tarteaucitron.engage(id));
  2638. }
  2639. };
  2640. // slideshare
  2641. tarteaucitron.services.slideshare = {
  2642. "key": "slideshare",
  2643. "type": "video",
  2644. "name": "SlideShare",
  2645. "uri": "https://www.linkedin.com/legal/privacy-policy",
  2646. "needConsent": true,
  2647. "cookies": [],
  2648. "js": function () {
  2649. "use strict";
  2650. tarteaucitron.fallback(['slideshare-canvas'], function (x) {
  2651. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Slideshare iframe'),
  2652. id = x.getAttribute("data-id"),
  2653. width = x.getAttribute("width"),
  2654. height = x.getAttribute("height"),
  2655. url = '//www.slideshare.net/slideshow/embed_code/' + id;
  2656. return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency allowfullscreen></iframe>';
  2657. });
  2658. },
  2659. "fallback": function () {
  2660. "use strict";
  2661. var id = 'slideshare';
  2662. tarteaucitron.fallback(['slideshare-canvas'], function (elem) {
  2663. elem.style.width = elem.getAttribute('width') + 'px';
  2664. elem.style.height = elem.getAttribute('height') + 'px';
  2665. return tarteaucitron.engage(id);
  2666. });
  2667. }
  2668. };
  2669. // soundcloud
  2670. tarteaucitron.services.soundcloud = {
  2671. key: 'soundcloud',
  2672. type: 'video',
  2673. name: 'SoundCloud',
  2674. needConsent: true,
  2675. cookies: ['sc_anonymous_id', 'sclocale'],
  2676. js: function () {
  2677. "use strict";
  2678. tarteaucitron.fallback(['soundcloud_player'], function (x) {
  2679. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Soundcloud iframe'),
  2680. player_height = x.getAttribute('data-height'),
  2681. frame_height = 'height="' + player_height + '" ',
  2682. playable_id = x.getAttribute('data-playable-id'),
  2683. playable_type = x.getAttribute('data-playable-type'),
  2684. playable_url = x.getAttribute('data-playable-url'),
  2685. color = x.getAttribute('data-color'),
  2686. autoplay = x.getAttribute('data-auto-play'),
  2687. hideRelated = x.getAttribute('data-hide-related'),
  2688. showComments = x.getAttribute('data-show-comments'),
  2689. showUser = x.getAttribute('data-show-user'),
  2690. showReposts = x.getAttribute('data-show-reposts'),
  2691. showTeaser = x.getAttribute('data-show-teaser'),
  2692. visual = x.getAttribute('data-visual'),
  2693. artwork = x.getAttribute('data-artwork');
  2694. var allowAutoplay = autoplay === 'true' ? 'allow="autoplay"' : '';
  2695. if (playable_id === undefined && playable_url === undefined) {
  2696. return "";
  2697. }
  2698. // Allow to embed from API results (playable_type + playable_id)
  2699. var qs = '?url=https%3A//api.soundcloud.com/' + playable_type + '/' + playable_id;
  2700. // Or from raw URL from Soundcloud website
  2701. if (playable_url && playable_url.length > 0) qs = '?url=' + escape(playable_url);
  2702. if (hideRelated && hideRelated.length > 0) qs += '&hide_related=' + hideRelated;
  2703. if (color && color.length > 0) qs += '&color=' + color.replace('#', '%23');
  2704. if (autoplay && autoplay.length > 0) qs += '&auto_play=' + autoplay;
  2705. if (showComments && showComments.length > 0) qs += '&show_comments=' + showComments;
  2706. if (hideRelated && hideRelated.length > 0) qs += '&hide_related=' + hideRelated;
  2707. if (showUser && showUser.length > 0) qs += '&show_user=' + showUser;
  2708. if (showReposts && showReposts.length > 0) qs += '&show_reposts=' + showReposts;
  2709. if (showTeaser && showTeaser.length > 0) qs += '&show_teaser=' + showTeaser;
  2710. if (visual && visual.length > 0) qs += '&visual=' + visual;
  2711. if (artwork && artwork.length > 0) qs += '&show_artwork=' + artwork;
  2712. return '<iframe title="' + frame_title + '" width="100%" ' + frame_height + ' scrolling="no" ' + allowAutoplay + ' src="https://w.soundcloud.com/player/' + qs + '"></iframe>';
  2713. });
  2714. },
  2715. fallback: function () {
  2716. "use strict";
  2717. tarteaucitron.fallback(['soundcloud_player'], function (elem) {
  2718. elem.style.height = elem.getAttribute('data-height') + 'px';
  2719. return tarteaucitron.engage('soundcloud');
  2720. });
  2721. }
  2722. };
  2723. // spotify
  2724. tarteaucitron.services.spotify = {
  2725. "key": "spotify",
  2726. "type": "video",
  2727. "name": "Spotify",
  2728. "uri": "https://www.spotify.com/us/legal/privacy-policy/",
  2729. "needConsent": true,
  2730. "cookies": ['sp_landing', '_ga', 'sp_ab', 'sp_landingref', 'sp_t', 'sp_usid', 'OptanonConsent', 'sp_m', 'spot'],
  2731. "js": function () {
  2732. "use strict";
  2733. tarteaucitron.fallback(['spotify_player'], function (x) {
  2734. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Spotify iframe'),
  2735. spotify_id = x.getAttribute("spotifyID"),
  2736. spotify_width = x.getAttribute("width"),
  2737. frame_width = 'width=',
  2738. spotify_height = x.getAttribute("height"),
  2739. frame_height = 'height=',
  2740. spotify_frame;
  2741. if (spotify_id === undefined) {
  2742. return "";
  2743. }
  2744. if (spotify_width !== undefined) {
  2745. frame_width += '"' + spotify_width + '" ';
  2746. } else {
  2747. frame_width += '"" ';
  2748. }
  2749. if (spotify_height !== undefined) {
  2750. frame_height += '"' + spotify_height + '" ';
  2751. } else {
  2752. frame_height += '"" ';
  2753. }
  2754. spotify_frame = '<iframe title="' + frame_title + '" src="//open.spotify.com/embed/' + spotify_id + '" ' + frame_width + frame_height + ' allowfullscreen></iframe>';
  2755. return spotify_frame;
  2756. });
  2757. },
  2758. "fallback": function () {
  2759. "use strict";
  2760. var id = 'spotify';
  2761. tarteaucitron.fallback(['spotify_player'], function (elem) {
  2762. elem.style.width = elem.getAttribute('width') + 'px';
  2763. elem.style.height = elem.getAttribute('height') + 'px';
  2764. return tarteaucitron.engage(id);
  2765. });
  2766. }
  2767. };
  2768. // statcounter
  2769. tarteaucitron.services.statcounter = {
  2770. "key": "statcounter",
  2771. "type": "analytic",
  2772. "name": "StatCounter",
  2773. "uri": "https://fr.statcounter.com/about/legal/#privacy",
  2774. "needConsent": true,
  2775. "cookies": ['sc_is_visitor_unique'],
  2776. "js": function () {
  2777. "use strict";
  2778. var uniqIds = [],
  2779. i,
  2780. uri = '//statcounter.com/counter/counter.js';
  2781. tarteaucitron.fallback(['statcounter-canvas'], function (x) {
  2782. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  2783. uniqIds.push(uniqId);
  2784. return '<div id="' + uniqId + '"></div>';
  2785. });
  2786. for (i = 0; i < uniqIds.length; i += 1) {
  2787. tarteaucitron.makeAsync.init(uri, uniqIds[i]);
  2788. }
  2789. },
  2790. "fallback": function () {
  2791. "use strict";
  2792. var id = 'statcounter';
  2793. tarteaucitron.fallback(['statcounter-canvas'], tarteaucitron.engage(id));
  2794. }
  2795. };
  2796. // timelinejs
  2797. tarteaucitron.services.timelinejs = {
  2798. "key": "timelinejs",
  2799. "type": "api",
  2800. "name": "Timeline JS",
  2801. "uri": "http://timeline.knightlab.com/#help",
  2802. "needConsent": true,
  2803. "cookies": [],
  2804. "js": function () {
  2805. "use strict";
  2806. tarteaucitron.fallback(['timelinejs-canvas'], function (x) {
  2807. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Twitter iframe'),
  2808. spreadsheet_id = x.getAttribute("spreadsheet_id"),
  2809. width = x.getAttribute("width"),
  2810. height = x.getAttribute("height"),
  2811. lang = x.getAttribute("lang_2_letter"),
  2812. font = x.getAttribute("font"),
  2813. map = x.getAttribute("map"),
  2814. start_at_end = x.getAttribute("start_at_end"),
  2815. hash_bookmark = x.getAttribute("hash_bookmark"),
  2816. start_at_slide = x.getAttribute("start_at_slide"),
  2817. start_zoom = x.getAttribute("start_zoom"),
  2818. 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;
  2819. return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" allowtransparency allowfullscreen></iframe>';
  2820. });
  2821. },
  2822. "fallback": function () {
  2823. "use strict";
  2824. var id = 'timelinejs';
  2825. tarteaucitron.fallback(['timelinejs-canvas'], function (elem) {
  2826. elem.style.width = elem.getAttribute('width') + 'px';
  2827. elem.style.height = elem.getAttribute('height') + 'px';
  2828. return tarteaucitron.engage(id);
  2829. });
  2830. }
  2831. };
  2832. // tagcommander
  2833. tarteaucitron.services.tagcommander = {
  2834. "key": "tagcommander",
  2835. "type": "api",
  2836. "name": "TagCommander",
  2837. "uri": "https://www.commandersact.com/en/privacy/",
  2838. "needConsent": true,
  2839. "cookies": [],
  2840. "js": function () {
  2841. "use strict";
  2842. if (tarteaucitron.user.tagcommanderid === undefined) {
  2843. return;
  2844. }
  2845. tarteaucitron.addScript('https://cdn.tagcommander.com/' + tarteaucitron.user.tagcommanderid + '.js');
  2846. }
  2847. };
  2848. // typekit
  2849. tarteaucitron.services.typekit = {
  2850. "key": "typekit",
  2851. "type": "api",
  2852. "name": "Typekit (adobe)",
  2853. "uri": "https://www.adobe.com/privacy.html",
  2854. "needConsent": true,
  2855. "cookies": [],
  2856. "js": function () {
  2857. "use strict";
  2858. if (tarteaucitron.user.typekitId === undefined) {
  2859. return;
  2860. }
  2861. tarteaucitron.addScript('//use.typekit.net/' + tarteaucitron.user.typekitId + '.js', '', function () {
  2862. try {
  2863. Typekit.load();
  2864. } catch (e) { }
  2865. });
  2866. }
  2867. };
  2868. // twenga
  2869. tarteaucitron.services.twenga = {
  2870. "key": "twenga",
  2871. "type": "ads",
  2872. "name": "Twenga",
  2873. "uri": "http://www.twenga.com/privacy.php",
  2874. "needConsent": true,
  2875. "cookies": [],
  2876. "js": function () {
  2877. "use strict";
  2878. if (tarteaucitron.user.twengaId === undefined || tarteaucitron.user.twengaLocale === undefined) {
  2879. return;
  2880. }
  2881. tarteaucitron.addScript('//tracker.twenga.' + tarteaucitron.user.twengaLocale + '/st/tracker_' + tarteaucitron.user.twengaId + '.js');
  2882. }
  2883. };
  2884. // twitter
  2885. tarteaucitron.services.twitter = {
  2886. "key": "twitter",
  2887. "type": "social",
  2888. "name": "Twitter",
  2889. "uri": "https://support.twitter.com/articles/20170514",
  2890. "needConsent": true,
  2891. "cookies": [],
  2892. "js": function () {
  2893. "use strict";
  2894. tarteaucitron.fallback(['tacTwitter'], '');
  2895. tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
  2896. },
  2897. "fallback": function () {
  2898. "use strict";
  2899. var id = 'twitter';
  2900. tarteaucitron.fallback(['tacTwitter'], tarteaucitron.engage(id));
  2901. }
  2902. };
  2903. // twitter embed
  2904. tarteaucitron.services.twitterembed = {
  2905. "key": "twitterembed",
  2906. "type": "social",
  2907. "name": "Twitter (cards)",
  2908. "uri": "https://support.twitter.com/articles/20170514",
  2909. "needConsent": true,
  2910. "cookies": [],
  2911. "js": function () {
  2912. "use strict";
  2913. var uniqIds = [],
  2914. i,
  2915. e,
  2916. html;
  2917. tarteaucitron.fallback(['twitterembed-canvas'], function (x) {
  2918. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  2919. uniqIds.push(uniqId);
  2920. html = '<div id="' + uniqId + '" ';
  2921. html += 'tweetid="' + x.getAttribute('tweetid') + '" ';
  2922. html += 'theme="' + x.getAttribute('theme') + '" ';
  2923. html += 'cards="' + x.getAttribute('cards') + '" ';
  2924. html += 'conversation="' + x.getAttribute('conversation') + '" ';
  2925. html += 'data-width="' + x.getAttribute('data-width') + '" ';
  2926. html += 'data-align="' + x.getAttribute('data-align') + '" ';
  2927. html += '></div>';
  2928. return html;
  2929. });
  2930. tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs', function () {
  2931. var i;
  2932. for (i = 0; i < uniqIds.length; i += 1) {
  2933. e = document.getElementById(uniqIds[i]);
  2934. twttr.widgets.createTweet(
  2935. e.getAttribute('tweetid'),
  2936. e,
  2937. {
  2938. theme: e.getAttribute('theme'),
  2939. cards: e.getAttribute('cards'),
  2940. conversation: e.getAttribute('conversation'),
  2941. lang: tarteaucitron.getLanguage(),
  2942. dnt: true,
  2943. width: e.getAttribute('data-width'),
  2944. align: e.getAttribute('data-align')
  2945. }
  2946. );
  2947. }
  2948. });
  2949. },
  2950. "fallback": function () {
  2951. "use strict";
  2952. var id = 'twitterembed';
  2953. tarteaucitron.fallback(['twitterembed-canvas'], function (elem) {
  2954. elem.style.width = elem.getAttribute('data-width') + 'px';
  2955. return tarteaucitron.engage(id);
  2956. });
  2957. }
  2958. };
  2959. // twitter timeline
  2960. tarteaucitron.services.twittertimeline = {
  2961. "key": "twittertimeline",
  2962. "type": "social",
  2963. "name": "Twitter (timelines)",
  2964. "uri": "https://support.twitter.com/articles/20170514",
  2965. "needConsent": true,
  2966. "cookies": [],
  2967. "js": function () {
  2968. "use strict";
  2969. tarteaucitron.fallback(['tacTwitterTimelines'], '');
  2970. tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
  2971. },
  2972. "fallback": function () {
  2973. "use strict";
  2974. var id = 'twittertimeline';
  2975. tarteaucitron.fallback(['tacTwitterTimelines'], tarteaucitron.engage(id));
  2976. }
  2977. };
  2978. // twitter universal website tag
  2979. tarteaucitron.services.twitteruwt = {
  2980. "key": "twitteruwt",
  2981. "type": "analytic",
  2982. "name": "Twitter Universal Website Tag",
  2983. "uri": "https://business.twitter.com/en/help/campaign-measurement-and-analytics/conversion-tracking-for-websites.html",
  2984. "needConsent": true,
  2985. "cookies": [],
  2986. "js": function () {
  2987. "use strict";
  2988. window.twq = function () {
  2989. window.twq.exe ? window.twq.exe.apply(window.twq, arguments) : window.twq.queue.push(arguments);
  2990. }
  2991. window.twq.version = '1.1';
  2992. window.twq.queue = [];
  2993. tarteaucitron.addScript('https://static.ads-twitter.com/uwt.js', '', function () {
  2994. window.twq('init', tarteaucitron.user.twitteruwtId);
  2995. window.twq('track', 'PageView');
  2996. });
  2997. }
  2998. };
  2999. // user voice
  3000. tarteaucitron.services.uservoice = {
  3001. "key": "uservoice",
  3002. "type": "support",
  3003. "name": "UserVoice",
  3004. "uri": "https://www.uservoice.com/privacy/",
  3005. "needConsent": true,
  3006. "cookies": [],
  3007. "js": function () {
  3008. "use strict";
  3009. if (tarteaucitron.user.userVoiceApi === undefined) {
  3010. return;
  3011. }
  3012. tarteaucitron.addScript('//widget.uservoice.com/' + tarteaucitron.user.userVoiceApi + '.js');
  3013. }
  3014. };
  3015. // vimeo
  3016. tarteaucitron.services.vimeo = {
  3017. "key": "vimeo",
  3018. "type": "video",
  3019. "name": "Vimeo",
  3020. "uri": "https://vimeo.com/privacy",
  3021. "needConsent": true,
  3022. "cookies": ['__utmt_player', '__utma', '__utmb', '__utmc', '__utmv', 'vuid', '__utmz', 'player'],
  3023. "js": function () {
  3024. "use strict";
  3025. tarteaucitron.fallback(['vimeo_player'], function (x) {
  3026. var frame_title = tarteaucitron.fixSelfXSS(tarteaucitron.getElemAttr(x, "title") || 'Vimeo iframe'),
  3027. video_width = tarteaucitron.getElemAttr(x, "width"),
  3028. frame_width = 'width=',
  3029. video_height = tarteaucitron.getElemAttr(x, "height"),
  3030. frame_height = 'height=',
  3031. video_id = tarteaucitron.getElemAttr(x, "videoID"),
  3032. video_hash = tarteaucitron.getElemAttr(x, "data-hash") || '',
  3033. video_allowfullscreen = tarteaucitron.getElemAttr(x, "data-allowfullscreen"),
  3034. video_qs = "",
  3035. attrs = ["title", "byline", "portrait", "loop", "autoplay", "autopause", "background", "color", "controls", "maxheight", "maxwidth", "muted", "playsinline", "speed", "transparent"],
  3036. params = attrs.filter(function (a) {
  3037. return tarteaucitron.getElemAttr(x, a) !== null;
  3038. }).map(function (a) {
  3039. return a + "=" + tarteaucitron.getElemAttr(x, a);
  3040. }),
  3041. video_frame;
  3042. if (video_id === undefined) {
  3043. return "";
  3044. }
  3045. // query params
  3046. if (video_hash.length > 0) {
  3047. params.push("h=" + video_hash);
  3048. }
  3049. if (params.length > 0) {
  3050. video_qs = "?" + params.join("&");
  3051. }
  3052. // attributes
  3053. if (video_width !== undefined) {
  3054. frame_width += '"' + video_width + '" ';
  3055. } else {
  3056. frame_width += '"" ';
  3057. }
  3058. if (video_height !== undefined) {
  3059. frame_height += '"' + video_height + '" ';
  3060. } else {
  3061. frame_height += '"" ';
  3062. }
  3063. video_frame = '<iframe title="' + frame_title + '" src="//player.vimeo.com/video/' + video_id + video_qs + '" ' + frame_width + frame_height + (video_allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
  3064. return video_frame;
  3065. });
  3066. },
  3067. "fallback": function () {
  3068. "use strict";
  3069. var id = 'vimeo';
  3070. tarteaucitron.fallback(['vimeo_player'], function (elem) {
  3071. elem.style.width = elem.getAttribute('width') + 'px';
  3072. elem.style.height = elem.getAttribute('height') + 'px';
  3073. return tarteaucitron.engage(id);
  3074. });
  3075. }
  3076. };
  3077. // visualrevenue
  3078. tarteaucitron.services.visualrevenue = {
  3079. "key": "visualrevenue",
  3080. "type": "analytic",
  3081. "name": "VisualRevenue",
  3082. "uri": "http://www.outbrain.com/legal/privacy-713/",
  3083. "needConsent": true,
  3084. "cookies": ['__vrf', '__vrm', '__vrl', '__vry', '__vru', '__vrid', '__vrz'],
  3085. "js": function () {
  3086. "use strict";
  3087. if (tarteaucitron.user.visualrevenueId === undefined) {
  3088. return;
  3089. }
  3090. window._vrq = window._vrq || [];
  3091. window._vrq.push(['id', tarteaucitron.user.visualrevenueId]);
  3092. window._vrq.push(['automate', true]);
  3093. window._vrq.push(['track', function () { }]);
  3094. tarteaucitron.addScript('http://a.visualrevenue.com/vrs.js');
  3095. }
  3096. };
  3097. // verizon dot tag
  3098. tarteaucitron.services.verizondottag = {
  3099. "key": "verizondottag",
  3100. "type": "analytic",
  3101. "name": "Verizon Dot Tag",
  3102. "uri": "https://developer.verizonmedia.com/native/guide/audience-management/dottags/",
  3103. "needConsent": true,
  3104. "cookies": [],
  3105. "js": function () {
  3106. "use strict";
  3107. window.dotq = window.dotq || [];
  3108. window.dotq.push({
  3109. 'projectId': tarteaucitron.user.verizondottagProjectId,
  3110. 'properties': { 'pixelId': tarteaucitron.user.verizondottagPixelId }
  3111. });
  3112. tarteaucitron.addScript('https://s.yimg.com/wi/ytc.js', '', function () {
  3113. //const items = window.dotq;
  3114. window.dotq = [];
  3115. window.dotq.push = function (item) {
  3116. YAHOO.ywa.I13N.fireBeacon([item])
  3117. };
  3118. YAHOO.ywa.I13N.fireBeacon(items)
  3119. });
  3120. }
  3121. };
  3122. // vshop
  3123. tarteaucitron.services.vshop = {
  3124. "key": "vshop",
  3125. "type": "ads",
  3126. "name": "vShop",
  3127. "uri": "http://vshop.fr/privacy-policy",
  3128. "needConsent": true,
  3129. "cookies": [],
  3130. "js": function () {
  3131. "use strict";
  3132. tarteaucitron.fallback(['vcashW'], '');
  3133. tarteaucitron.addScript('//vshop.fr/js/w.js');
  3134. },
  3135. "fallback": function () {
  3136. "use strict";
  3137. var id = 'vshop';
  3138. tarteaucitron.fallback(['vcashW'], tarteaucitron.engage(id));
  3139. }
  3140. };
  3141. // wysistat
  3142. tarteaucitron.services.wysistat = {
  3143. "key": "wysistat",
  3144. "type": "analytic",
  3145. "name": "Wysistat",
  3146. "uri": "http://wysistat.net/contact/",
  3147. "needConsent": true,
  3148. "cookies": ['Wysistat'],
  3149. "js": function () {
  3150. "use strict";
  3151. if (tarteaucitron.user.wysistat === undefined) {
  3152. return;
  3153. }
  3154. tarteaucitron.addScript('//www.wysistat.com/statistique.js', '', function () {
  3155. 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);
  3156. });
  3157. }
  3158. };
  3159. // xiti
  3160. tarteaucitron.services.xiti = {
  3161. "key": "xiti",
  3162. "type": "analytic",
  3163. "name": "Xiti",
  3164. "uri": "https://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
  3165. "needConsent": true,
  3166. "cookies": [],
  3167. "js": function () {
  3168. "use strict";
  3169. if (tarteaucitron.user.xitiId === undefined) {
  3170. return;
  3171. }
  3172. var Xt_param = 's=' + tarteaucitron.user.xitiId + '&p=',
  3173. Xt_r,
  3174. Xt_h,
  3175. Xt_i,
  3176. Xt_s,
  3177. div = document.createElement('div');
  3178. try {
  3179. Xt_r = top.document.referrer;
  3180. } catch (e) {
  3181. Xt_r = document.referrer;
  3182. }
  3183. Xt_h = new Date();
  3184. Xt_i = '<img style="display:none" border="0" alt="" ';
  3185. Xt_i += 'src="http://logv3.xiti.com/hit.xiti?' + Xt_param;
  3186. Xt_i += '&hl=' + Xt_h.getHours() + 'x' + Xt_h.getMinutes() + 'x' + Xt_h.getSeconds();
  3187. if (parseFloat(navigator.appVersion) >= 4) {
  3188. Xt_s = screen;
  3189. Xt_i += '&r=' + Xt_s.width + 'x' + Xt_s.height + 'x' + Xt_s.pixelDepth + 'x' + Xt_s.colorDepth;
  3190. }
  3191. div.innerHTML = Xt_i + '&ref=' + Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$') + '" title="Internet Audience">';
  3192. document.getElementsByTagName('body')[0].appendChild(div.firstChild);
  3193. if (typeof tarteaucitron.user.xitiMore === 'function') {
  3194. tarteaucitron.user.xitiMore();
  3195. }
  3196. }
  3197. };
  3198. // AT Internet
  3199. tarteaucitron.services.atinternet = {
  3200. "key": "atinternet",
  3201. "type": "analytic",
  3202. "name": "AT Internet (privacy by design)",
  3203. "uri": "https://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
  3204. "needConsent": true,
  3205. "safeanalytic": false,
  3206. "cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession'],
  3207. "js": function () {
  3208. "use strict";
  3209. if (tarteaucitron.user.atLibUrl === undefined) {
  3210. return;
  3211. }
  3212. if (tarteaucitron.user.atinternetAlreadyLoaded !== undefined) {
  3213. return;
  3214. }
  3215. tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function () {
  3216. window.tag = new ATInternet.Tracker.Tag();
  3217. if (typeof tarteaucitron.user.atMore === 'function') {
  3218. tarteaucitron.user.atMore();
  3219. }
  3220. if (typeof window.tag.privacy !== 'undefined') {
  3221. window.tag.privacy.setVisitorOptin();
  3222. }
  3223. if (tarteaucitron.user.atinternetSendData !== false) {
  3224. window.tag.page.send();
  3225. }
  3226. });
  3227. },
  3228. "fallback": function () {
  3229. "use strict";
  3230. if (tarteaucitron.user.atLibUrl === undefined) {
  3231. return;
  3232. }
  3233. if (tarteaucitron.user.atNoFallback !== undefined) {
  3234. return;
  3235. }
  3236. tarteaucitron.user.atinternetAlreadyLoaded = true;
  3237. tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function () {
  3238. window.tag = new ATInternet.Tracker.Tag();
  3239. if (typeof tarteaucitron.user.atMore === 'function') {
  3240. tarteaucitron.user.atMore();
  3241. }
  3242. if (typeof window.tag.privacy !== 'undefined') {
  3243. var visitorMode = window.tag.privacy.getVisitorMode();
  3244. if (visitorMode !== null && visitorMode.name !== undefined && visitorMode.name == "optout") {
  3245. window.tag.privacy.setVisitorOptout();
  3246. } else {
  3247. window.tag.privacy.setVisitorMode('cnil', 'exempt');
  3248. }
  3249. }
  3250. if (tarteaucitron.user.atinternetSendData !== false) {
  3251. window.tag.page.send();
  3252. }
  3253. });
  3254. }
  3255. };
  3256. // AT Internet
  3257. tarteaucitron.services.atinternethightrack = {
  3258. "key": "atinternethightrack",
  3259. "type": "analytic",
  3260. "name": "AT Internet",
  3261. "uri": "https://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
  3262. "needConsent": true,
  3263. "cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession'],
  3264. "js": function () {
  3265. "use strict";
  3266. if (tarteaucitron.user.atLibUrl === undefined) {
  3267. return;
  3268. }
  3269. tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function () {
  3270. var tag = new ATInternet.Tracker.Tag();
  3271. if (typeof tarteaucitron.user.atMore === 'function') {
  3272. tarteaucitron.user.atMore();
  3273. }
  3274. })
  3275. }
  3276. };
  3277. // youtube
  3278. tarteaucitron.services.youtube = {
  3279. "key": "youtube",
  3280. "type": "video",
  3281. "name": "YouTube",
  3282. "uri": "https://policies.google.com/privacy",
  3283. "needConsent": true,
  3284. "cookies": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF', 'GEUP'],
  3285. "js": function () {
  3286. "use strict";
  3287. tarteaucitron.fallback(['youtube_player'], function (x) {
  3288. var frame_title = tarteaucitron.fixSelfXSS(tarteaucitron.getElemAttr(x, "title") || 'Youtube iframe'),
  3289. video_id = tarteaucitron.getElemAttr(x, "videoID"),
  3290. srcdoc = tarteaucitron.getElemAttr(x, "srcdoc"),
  3291. loading = tarteaucitron.getElemAttr(x, "loading"),
  3292. video_width = tarteaucitron.getElemAttr(x, "width"),
  3293. frame_width = 'width=',
  3294. video_height = tarteaucitron.getElemAttr(x, "height"),
  3295. frame_height = 'height=',
  3296. video_frame,
  3297. allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen"),
  3298. attrs = ["theme", "rel", "controls", "showinfo", "autoplay", "mute", "start", "loop", "enablejsapi"],
  3299. params = attrs.filter(function (a) {
  3300. return tarteaucitron.getElemAttr(x, a) !== null;
  3301. }).map(function (a) {
  3302. return a + "=" + tarteaucitron.getElemAttr(x, a);
  3303. }).join("&");
  3304. if(tarteaucitron.getElemAttr(x, "loop") == 1) {
  3305. params = params + "&playlist=" + video_id;
  3306. }
  3307. if (video_id === undefined) {
  3308. return "";
  3309. }
  3310. if (video_width !== undefined) {
  3311. frame_width += '"' + video_width + '" ';
  3312. } else {
  3313. frame_width += '"" ';
  3314. }
  3315. if (video_height !== undefined) {
  3316. frame_height += '"' + video_height + '" ';
  3317. } else {
  3318. frame_height += '"" ';
  3319. }
  3320. if (srcdoc !== undefined && srcdoc !== null && srcdoc !== "") {
  3321. srcdoc = 'srcdoc="' + srcdoc + '" ';
  3322. } else {
  3323. srcdoc = '';
  3324. }
  3325. if (loading !== undefined && loading !== null && loading !== "") {
  3326. loading = 'loading ';
  3327. } else {
  3328. loading = '';
  3329. }
  3330. video_frame = '<iframe title="' + frame_title + '" type="text/html" ' + frame_width + frame_height + ' src="//www.youtube-nocookie.com/embed/' + video_id + '?' + params + '"' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + ' ' + srcdoc + ' ' + loading + '></iframe>';
  3331. return video_frame;
  3332. });
  3333. },
  3334. "fallback": function () {
  3335. "use strict";
  3336. var id = 'youtube';
  3337. tarteaucitron.fallback(['youtube_player'], function (elem) {
  3338. elem.style.width = elem.getAttribute('width') + 'px';
  3339. elem.style.height = elem.getAttribute('height') + 'px';
  3340. return tarteaucitron.engage(id);
  3341. });
  3342. }
  3343. };
  3344. // youtube playlist
  3345. tarteaucitron.services.youtubeplaylist = {
  3346. "key": "youtubeplaylist",
  3347. "type": "video",
  3348. "name": "YouTube (playlist)",
  3349. "uri": "https://policies.google.com/privacy",
  3350. "needConsent": true,
  3351. "cookies": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF', 'GEUP'],
  3352. "js": function () {
  3353. "use strict";
  3354. tarteaucitron.fallback(['youtube_playlist_player'], function (x) {
  3355. var frame_title = tarteaucitron.fixSelfXSS(tarteaucitron.getElemAttr(x, "title") || 'Youtube iframe'),
  3356. playlist_id = tarteaucitron.getElemAttr(x, "playlistID"),
  3357. video_width = tarteaucitron.getElemAttr(x, "width"),
  3358. frame_width = 'width=',
  3359. video_height = tarteaucitron.getElemAttr(x, "height"),
  3360. frame_height = 'height=',
  3361. video_frame,
  3362. allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen"),
  3363. params = 'theme=' + tarteaucitron.getElemAttr(x, "theme") + '&rel=' + tarteaucitron.getElemAttr(x, "rel") + '&controls=' + tarteaucitron.getElemAttr(x, "controls") + '&showinfo=' + tarteaucitron.getElemAttr(x, "showinfo") + '&autoplay=' + tarteaucitron.getElemAttr(x, "autoplay") + '&mute=' + tarteaucitron.getElemAttr(x, "mute");
  3364. if (playlist_id === undefined) {
  3365. return "";
  3366. }
  3367. if (video_width !== undefined) {
  3368. frame_width += '"' + video_width + '" ';
  3369. } else {
  3370. frame_width += '"" ';
  3371. }
  3372. if (video_height !== undefined) {
  3373. frame_height += '"' + video_height + '" ';
  3374. } else {
  3375. frame_height += '"" ';
  3376. }
  3377. video_frame = '<iframe title="' + frame_title + '" type="text/html" ' + frame_width + frame_height + ' src="//www.youtube-nocookie.com/embed/videoseries?list=' + playlist_id + '&' + params + '"' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
  3378. return video_frame;
  3379. });
  3380. },
  3381. "fallback": function () {
  3382. "use strict";
  3383. var id = 'youtubeplaylist';
  3384. tarteaucitron.fallback(['youtube_playlist_player'], function (elem) {
  3385. elem.style.width = elem.getAttribute('width') + 'px';
  3386. elem.style.height = elem.getAttribute('height') + 'px';
  3387. return tarteaucitron.engage(id);
  3388. });
  3389. }
  3390. };
  3391. // zopim
  3392. tarteaucitron.services.zopim = {
  3393. "key": "zopim",
  3394. "type": "support",
  3395. "name": "Zopim",
  3396. "uri": "https://www.zopim.com/privacy",
  3397. "needConsent": true,
  3398. "cookies": ['__zlcid', '__zprivacy'],
  3399. "js": function () {
  3400. "use strict";
  3401. if (tarteaucitron.user.zopimID === undefined) {
  3402. return;
  3403. }
  3404. tarteaucitron.addScript('//v2.zopim.com/?' + tarteaucitron.user.zopimID);
  3405. }
  3406. };
  3407. // kameleoon
  3408. tarteaucitron.services.kameleoon = {
  3409. "key": "kameleoon",
  3410. "type": "analytic",
  3411. "name": "Kameleoon",
  3412. "uri": "https://www.kameleoon.com/fr/compliance/rgpd",
  3413. "needConsent": true,
  3414. "cookies": [],
  3415. "js": function () {
  3416. "use strict";
  3417. if (tarteaucitron.user.kameleoon !== undefined) {
  3418. tarteaucitron.addScript("https://" + tarteaucitron.user.kameleoon + ".kameleoon.eu/kameleoon.js");
  3419. }
  3420. }
  3421. };
  3422. // linkedin insight
  3423. tarteaucitron.services.linkedininsighttag = {
  3424. "key": "linkedininsighttag",
  3425. "type": "ads",
  3426. "name": "Linkedin Insight",
  3427. "uri": "https://www.linkedin.com/legal/cookie_policy",
  3428. "needConsent": true,
  3429. "cookies": [],
  3430. "js": function () {
  3431. "use strict";
  3432. if (tarteaucitron.user.linkedininsighttag !== undefined) {
  3433. window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
  3434. window._linkedin_data_partner_ids.push(tarteaucitron.user.linkedininsighttag);
  3435. }
  3436. tarteaucitron.addScript('https://snap.licdn.com/li.lms-analytics/insight.min.js');
  3437. }
  3438. };
  3439. // xiti smartTag
  3440. tarteaucitron.services.xiti_smarttag = {
  3441. "key": "xiti_smarttag",
  3442. "type": "analytic",
  3443. "name": "Xiti (SmartTag)",
  3444. "uri": "https://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
  3445. "needConsent": true,
  3446. "cookies": ["atidvisitor", "atreman", "atredir", "atsession", "attvtreman", "attvtsession"],
  3447. "js": function () {
  3448. "use strict";
  3449. if (tarteaucitron.user.xiti_smarttagLocalPath !== undefined) {
  3450. tarteaucitron.addScript(tarteaucitron.user.xiti_smarttagLocalPath, 'smarttag', null, null, "onload", "addTracker();");
  3451. } else {
  3452. var xitiSmarttagId = tarteaucitron.user.xiti_smarttagSiteId;
  3453. if (xitiSmarttagId === undefined) {
  3454. return;
  3455. }
  3456. tarteaucitron.addScript('//tag.aticdn.net/' + xitiSmarttagId + '/smarttag.js', 'smarttag', null, null, "onload", "addTracker();");
  3457. }
  3458. }
  3459. };
  3460. // facebook pixel
  3461. tarteaucitron.services.facebookpixel = {
  3462. "key": "facebookpixel",
  3463. "type": "ads",
  3464. "name": "Facebook Pixel",
  3465. "uri": "https://www.facebook.com/policy.php",
  3466. "needConsent": true,
  3467. "cookies": ['datr', 'fr', 'reg_ext_ref', 'reg_fb_gate', 'reg_fb_ref', 'sb', 'wd', 'x-src', '_fbp'],
  3468. "js": function () {
  3469. "use strict";
  3470. var n;
  3471. if (window.fbq) return;
  3472. n = window.fbq = function () { n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments) };
  3473. if (!window._fbq) window._fbq = n;
  3474. n.push = n;
  3475. n.loaded = !0;
  3476. n.version = '2.0';
  3477. n.queue = [];
  3478. tarteaucitron.addScript('https://connect.facebook.net/en_US/fbevents.js');
  3479. fbq('init', tarteaucitron.user.facebookpixelId);
  3480. fbq('track', 'PageView');
  3481. if (typeof tarteaucitron.user.facebookpixelMore === 'function') {
  3482. tarteaucitron.user.facebookpixelMore();
  3483. }
  3484. }
  3485. };
  3486. //Issuu
  3487. tarteaucitron.services.issuu = {
  3488. "key": "issuu",
  3489. "type": "other",
  3490. "name": "Issuu",
  3491. "uri": "https://issuu.com/legal/privacy",
  3492. "needConsent": true,
  3493. "cookies": ['__qca', 'iutk', 'mc'],
  3494. "js": function () {
  3495. "use strict";
  3496. tarteaucitron.fallback(['issuu_player'], function (x) {
  3497. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Issuu iframe'),
  3498. issuu_id = x.getAttribute("issuuID"),
  3499. issuu_width = x.getAttribute("width"),
  3500. frame_width = 'width=',
  3501. issuu_height = x.getAttribute("height"),
  3502. frame_height = 'height=',
  3503. issuu_frame,
  3504. issuu_embed;
  3505. if (issuu_id === undefined) {
  3506. return "";
  3507. }
  3508. if (issuu_width !== undefined) {
  3509. frame_width += '"' + issuu_width + '" ';
  3510. } else {
  3511. frame_width += '"" ';
  3512. }
  3513. if (issuu_height !== undefined) {
  3514. frame_height += '"' + issuu_height + '" ';
  3515. } else {
  3516. frame_height += '"" ';
  3517. }
  3518. if (issuu_id.match(/\d+\/\d+/)) { issuu_embed = '#' + issuu_id; } else if (issuu_id.match(/d=(.*)&u=(.*)/)) { issuu_embed = '?' + issuu_id; }
  3519. issuu_frame = '<iframe title="' + frame_title + '" type="text/html" ' + frame_width + frame_height + ' src="//e.issuu.com/embed.html' + issuu_embed + '"></iframe>';
  3520. return issuu_frame;
  3521. });
  3522. },
  3523. "fallback": function () {
  3524. "use strict";
  3525. var id = 'issuu';
  3526. tarteaucitron.fallback(['issuu_player'], function (elem) {
  3527. elem.style.width = elem.getAttribute('width') + 'px';
  3528. elem.style.height = elem.getAttribute('height') + 'px';
  3529. return tarteaucitron.engage(id);
  3530. });
  3531. }
  3532. };
  3533. // webmecanik
  3534. tarteaucitron.services.webmecanik = {
  3535. "key": "webmecanik",
  3536. "type": "analytic",
  3537. "name": "Webmecanik",
  3538. "uri": "https://webmecanik.com/tos",
  3539. "needConsent": true,
  3540. "cookies": ['mtc_id', 'mtc_sid'],
  3541. "js": function () {
  3542. "use strict";
  3543. if (tarteaucitron.user.webmecanikurl === undefined) {
  3544. return;
  3545. }
  3546. window.MauticTrackingObject = 'mt';
  3547. window.mt = window.mt || function () {
  3548. window.mt.q = window.mt.q || [];
  3549. window.mt.q.push(arguments);
  3550. };
  3551. tarteaucitron.addScript(tarteaucitron.user.webmecanikurl, '', function () {
  3552. mt('send', 'pageview');
  3553. });
  3554. }
  3555. };
  3556. // google analytics multiple
  3557. tarteaucitron.services.multiplegtag = {
  3558. "key": "multiplegtag",
  3559. "type": "analytic",
  3560. "name": "Google Analytics (gtag.js)",
  3561. "uri": "https://support.google.com/analytics/answer/6004245",
  3562. "needConsent": true,
  3563. "cookies": (function () {
  3564. var cookies = ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '_gcl_au'];
  3565. if (tarteaucitron.user.multiplegtagUa !== undefined) {
  3566. tarteaucitron.user.multiplegtagUa.forEach(function (ua) {
  3567. cookies.push('_gat_gtag_' + ua.replace(/-/g, '_'));
  3568. cookies.push('_ga_' + ua.replace(/G-/g, ''));
  3569. });
  3570. }
  3571. return cookies;
  3572. })(),
  3573. "js": function () {
  3574. "use strict";
  3575. window.dataLayer = window.dataLayer || [];
  3576. if (tarteaucitron.user.multiplegtagUa !== undefined) {
  3577. tarteaucitron.user.multiplegtagUa.forEach(function (ua) {
  3578. tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + ua, '', function () {
  3579. window.gtag = function gtag() { dataLayer.push(arguments); }
  3580. gtag('js', new Date());
  3581. gtag('config', ua, { 'anonymize_ip': true });
  3582. });
  3583. });
  3584. }
  3585. }
  3586. };
  3587. // Koban
  3588. tarteaucitron.services.koban = {
  3589. "key": "koban",
  3590. "type": "analytic",
  3591. "name": "Koban",
  3592. "uri": "https://koban.cloud/tos",
  3593. "needConsent": true,
  3594. "cookies": ['kbntrk'],
  3595. "js": function () {
  3596. "use strict";
  3597. if (tarteaucitron.user.kobanurl === undefined) {
  3598. return;
  3599. }
  3600. if (tarteaucitron.user.kobanapi === undefined) {
  3601. return;
  3602. }
  3603. window.KobanObject = 'kb';
  3604. window.kb = window.kb || function () {
  3605. window.kb.q = window.kb.q || [];
  3606. window.kb.q.push(arguments);
  3607. };
  3608. window.kb.l = new Date();
  3609. kb('reg', tarteaucitron.user.kobanapi);
  3610. tarteaucitron.addScript(tarteaucitron.user.kobanurl, '', function () {
  3611. });
  3612. }
  3613. };
  3614. // matomo
  3615. /*
  3616. 1. Set the following variable before the initialization :
  3617. tarteaucitron.user.matomoId = YOUR_SITE_ID_FROM_MATOMO;
  3618. tarteaucitron.user.matomoHost = "YOUR_MATOMO_URL"; //eg: https://stat.mydomain.com/
  3619. 2. Push the service :
  3620. (tarteaucitron.job = tarteaucitron.job || []).push('matomo'); // (or 'matomocloud' for cloud version)
  3621. 3. HTML
  3622. You don't need to add any html code, if the service is authorized, the javascript is added. otherwise no.
  3623. */
  3624. tarteaucitron.services.matomo = {
  3625. "key": "matomo",
  3626. "type": "analytic",
  3627. "name": "Matomo (privacy by design)",
  3628. "uri": "https://matomo.org/faq/general/faq_146/",
  3629. "needConsent": false,
  3630. "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
  3631. "js": function () {
  3632. "use strict";
  3633. if (tarteaucitron.user.matomoId === undefined) {
  3634. return;
  3635. }
  3636. window._paq = window._paq || [];
  3637. window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
  3638. window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
  3639. window._paq.push(["setDoNotTrack", 1]);
  3640. window._paq.push(["trackPageView"]);
  3641. window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
  3642. window._paq.push(["enableLinkTracking"]);
  3643. window._paq.push([function () {
  3644. var self = this;
  3645. function getOriginalVisitorCookieTimeout() {
  3646. var now = new Date(),
  3647. nowTs = Math.round(now.getTime() / 1000),
  3648. visitorInfo = self.getVisitorInfo();
  3649. var createTs = parseInt(visitorInfo[2]);
  3650. var cookieTimeout = 33696000; // 13 mois en secondes
  3651. var originalTimeout = createTs + cookieTimeout - nowTs;
  3652. return originalTimeout;
  3653. }
  3654. this.setVisitorCookieTimeout(getOriginalVisitorCookieTimeout());
  3655. }]);
  3656. tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
  3657. // waiting for piwik to be ready to check first party cookies
  3658. var interval = setInterval(function () {
  3659. if (typeof Piwik === 'undefined') return
  3660. clearInterval(interval)
  3661. // make piwik/matomo cookie accessible by getting tracker
  3662. Piwik.getTracker();
  3663. // looping throught cookies
  3664. var theCookies = document.cookie.split(';');
  3665. for (var i = 1; i <= theCookies.length; i++) {
  3666. var cookie = theCookies[i - 1].split('=');
  3667. var cookieName = cookie[0].trim();
  3668. // if cookie starts like a piwik one, register it
  3669. if (cookieName.indexOf('_pk_') === 0) {
  3670. tarteaucitron.services.matomo.cookies.push(cookieName);
  3671. }
  3672. }
  3673. }, 100)
  3674. }
  3675. };
  3676. tarteaucitron.services.matomohightrack = {
  3677. "key": "matomohightrack",
  3678. "type": "analytic",
  3679. "name": "Matomo",
  3680. "uri": "https://matomo.org/faq/general/faq_146/",
  3681. "needConsent": false,
  3682. "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
  3683. "js": function () {
  3684. "use strict";
  3685. if (tarteaucitron.user.matomoId === undefined) {
  3686. return;
  3687. }
  3688. window._paq = window._paq || [];
  3689. window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
  3690. window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
  3691. window._paq.push(["trackPageView"]);
  3692. window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
  3693. window._paq.push(["enableLinkTracking"]);
  3694. window._paq.push([function () {
  3695. var self = this;
  3696. }]);
  3697. tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
  3698. // waiting for piwik to be ready to check first party cookies
  3699. var interval = setInterval(function () {
  3700. if (typeof Piwik === 'undefined') return
  3701. clearInterval(interval)
  3702. Piwik.getTracker();
  3703. var theCookies = document.cookie.split(';');
  3704. for (var i = 1; i <= theCookies.length; i++) {
  3705. var cookie = theCookies[i - 1].split('=');
  3706. var cookieName = cookie[0].trim();
  3707. if (cookieName.indexOf('_pk_') === 0) {
  3708. tarteaucitron.services.matomo.cookies.push(cookieName);
  3709. }
  3710. }
  3711. }, 100)
  3712. }
  3713. };
  3714. tarteaucitron.services.matomocloud = {
  3715. "key": "matomocloud",
  3716. "type": "analytic",
  3717. "name": "Matomo Cloud (privacy by design)",
  3718. "uri": "https://matomo.org/faq/general/faq_146/",
  3719. "needConsent": false,
  3720. "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'mtm_consent', 'matomo_ignore', 'matomo_sessid'],
  3721. "js": function () {
  3722. "use strict";
  3723. if (tarteaucitron.user.matomoId === undefined) {
  3724. return;
  3725. }
  3726. window._paq = window._paq || [];
  3727. window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
  3728. window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "matomo.php"]);
  3729. window._paq.push(["setDoNotTrack", 1]);
  3730. window._paq.push(["trackPageView"]);
  3731. window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
  3732. window._paq.push(["enableLinkTracking"]);
  3733. window._paq.push([function () {
  3734. var self = this;
  3735. function getOriginalVisitorCookieTimeout() {
  3736. var now = new Date(),
  3737. nowTs = Math.round(now.getTime() / 1000),
  3738. visitorInfo = self.getVisitorInfo();
  3739. var createTs = parseInt(visitorInfo[2]);
  3740. var cookieTimeout = 33696000; // 13 mois en secondes
  3741. var originalTimeout = createTs + cookieTimeout - nowTs;
  3742. return originalTimeout;
  3743. }
  3744. this.setVisitorCookieTimeout(getOriginalVisitorCookieTimeout());
  3745. }]);
  3746. tarteaucitron.addScript('https://cdn.matomo.cloud/matomo.js', '', '', true, 'defer', true);
  3747. // waiting for Matomo to be ready to check first party cookies
  3748. var interval = setInterval(function () {
  3749. if (typeof Matomo === 'undefined') return
  3750. clearInterval(interval)
  3751. // make Matomo cookie accessible by getting tracker
  3752. Matomo.getTracker();
  3753. // looping through cookies
  3754. var theCookies = document.cookie.split(';');
  3755. for (var i = 1; i <= theCookies.length; i++) {
  3756. var cookie = theCookies[i - 1].split('=');
  3757. var cookieName = cookie[0].trim();
  3758. // if cookie starts like a matomo one, register it
  3759. if (cookieName.indexOf('_pk_') === 0) {
  3760. tarteaucitron.services.matomo.cookies.push(cookieName);
  3761. }
  3762. }
  3763. }, 100)
  3764. }
  3765. };
  3766. // Hotjar
  3767. /*
  3768. 1. Set the following variable before the initialization :
  3769. tarteaucitron.user.hotjarId = YOUR_WEBSITE_ID;
  3770. tarteaucitron.user.HotjarSv = XXXX; // Can be found in your website tracking code as "hjvs=XXXX"
  3771. 2. Push the service :
  3772. (tarteaucitron.job = tarteaucitron.job || []).push('hotjar');
  3773. 3. HTML
  3774. You don't need to add any html code, if the service is autorized, the javascript is added. otherwise no.
  3775. */
  3776. tarteaucitron.services.hotjar = {
  3777. "key": "hotjar",
  3778. "type": "analytic",
  3779. "name": "Hotjar",
  3780. "uri": "https://help.hotjar.com/hc/en-us/categories/115001323967-About-Hotjar",
  3781. "needConsent": true,
  3782. "cookies": ["hjClosedSurveyInvites", "_hjDonePolls", "_hjMinimizedPolls", "_hjDoneTestersWidgets", "_hjMinimizedTestersWidgets", "_hjDoneSurveys", "_hjIncludedInSample", "_hjShownFeedbackMessage", "_hjAbsoluteSessionInProgress", "_hjIncludeInPageviewSample", "_hjid"],
  3783. "js": function () {
  3784. "use strict";
  3785. if (tarteaucitron.user.hotjarId === undefined || tarteaucitron.user.HotjarSv === undefined) {
  3786. return;
  3787. }
  3788. window.hj = window.hj || function () {
  3789. (window.hj.q = window.hj.q || []).push(arguments)
  3790. };
  3791. window._hjSettings = {
  3792. hjid: tarteaucitron.user.hotjarId,
  3793. hjsv: tarteaucitron.user.HotjarSv
  3794. };
  3795. var uri = 'https://static.hotjar.com/c/hotjar-';
  3796. var extension = '.js?sv=';
  3797. tarteaucitron.addScript(uri + window._hjSettings.hjid + extension + window._hjSettings.hjsv);
  3798. }
  3799. };
  3800. // bing ads universal event tracking
  3801. tarteaucitron.services.bingads = {
  3802. 'key': 'bingads',
  3803. 'type': 'ads',
  3804. 'name': 'Bing Ads Universal Event Tracking',
  3805. 'uri': 'https://advertise.bingads.microsoft.com/en-us/resources/policies/personalized-ads',
  3806. 'needConsent': true,
  3807. 'cookies': ['_uetmsclkid', '_uetvid', '_uetsid'],
  3808. 'js': function () {
  3809. 'use strict';
  3810. //var u = tarteaucitron.user.bingadsTag || 'uetq';
  3811. window.uetq = window.uetq || [];
  3812. tarteaucitron.addScript('https://bat.bing.com/bat.js', '', function () {
  3813. var bingadsCreate = { ti: tarteaucitron.user.bingadsID };
  3814. if ('bingadsStoreCookies' in tarteaucitron.user) {
  3815. bingadsCreate['storeConvTrackCookies'] = tarteaucitron.user.bingadsStoreCookies;
  3816. }
  3817. bingadsCreate.q = window.uetq;
  3818. window.uetq = new UET(bingadsCreate);
  3819. window.uetq.push('pageLoad');
  3820. if (typeof tarteaucitron.user.bingadsMore === 'function') {
  3821. tarteaucitron.user.bingadsMore();
  3822. }
  3823. });
  3824. }
  3825. };
  3826. //Matterport
  3827. tarteaucitron.services.matterport = {
  3828. "key": "matterport",
  3829. "type": "other",
  3830. "name": "Matterport",
  3831. "uri": "https://matterport.com/es/legal/privacy-policy/",
  3832. "needConsent": true,
  3833. "cookies": ['__cfduid', 'ajs_anonymous_id', 'ajs_group_id', 'ajs_user_id'],
  3834. "js": function () {
  3835. "use strict";
  3836. tarteaucitron.fallback(['matterport'], function (x) {
  3837. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Matterport iframe'),
  3838. matterport_id = x.getAttribute("matterportID"),
  3839. matterport_width = x.getAttribute("width"),
  3840. frame_width = 'width=',
  3841. matterport_height = x.getAttribute("height"),
  3842. frame_height = 'height=',
  3843. matterport_parameters = x.getAttribute("parameters"),
  3844. matterport_allowfullscreen = x.getAttribute('allowfullscreen'),
  3845. matterport_frame;
  3846. if (matterport_id === undefined) {
  3847. return "";
  3848. }
  3849. if (matterport_width !== undefined) {
  3850. frame_width += '"' + matterport_width + '" ';
  3851. } else {
  3852. frame_width += '"" ';
  3853. }
  3854. if (matterport_height !== undefined) {
  3855. frame_height += '"' + matterport_height + '" ';
  3856. } else {
  3857. frame_height += '"" ';
  3858. }
  3859. if (matterport_parameters === undefined) {
  3860. return "";
  3861. }
  3862. matterport_frame = '<iframe title="' + frame_title + '" type="text/html" ' + frame_width + frame_height + ' src="https://my.matterport.com/show/?m=' + matterport_id + '&utm_source=hit-content' + matterport_parameters + '"' + (matterport_allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
  3863. return matterport_frame;
  3864. });
  3865. },
  3866. "fallback": function () {
  3867. "use strict";
  3868. var id = 'matterport';
  3869. tarteaucitron.fallback(['matterport'], function (elem) {
  3870. elem.style.width = elem.getAttribute('width') + 'px';
  3871. elem.style.height = elem.getAttribute('height') + 'px';
  3872. return tarteaucitron.engage(id);
  3873. });
  3874. }
  3875. };
  3876. // Adform
  3877. tarteaucitron.services.adform = {
  3878. "key": "adform",
  3879. "type": "ads",
  3880. "name": "Adform",
  3881. "uri": "https://site.adform.com/privacy-center/overview/",
  3882. "needConsent": true,
  3883. "cookies": [],
  3884. "js": function () {
  3885. "use strict";
  3886. if (tarteaucitron.user.adformpm === undefined || tarteaucitron.user.adformpagename === undefined) {
  3887. return;
  3888. }
  3889. window._adftrack = {
  3890. pm: tarteaucitron.user.adformpm,
  3891. divider: encodeURIComponent('|'),
  3892. pagename: encodeURIComponent(tarteaucitron.user.adformpagename)
  3893. };
  3894. tarteaucitron.addScript("https://track.adform.net/serving/scripts/trackpoint/async/");
  3895. }
  3896. };
  3897. // Active Campaign
  3898. tarteaucitron.services.activecampaign = {
  3899. "key": "activecampaign",
  3900. "type": "ads",
  3901. "name": "Active Campaign",
  3902. "uri": "https://www.activecampaign.com/privacy-policy/",
  3903. "needConsent": true,
  3904. "cookies": [],
  3905. "js": function () {
  3906. "use strict";
  3907. if (tarteaucitron.user.actid === undefined) {
  3908. return;
  3909. }
  3910. window.trackcmp_email = '';
  3911. tarteaucitron.addScript('https://trackcmp.net/visit?actid=' + tarteaucitron.user.actid + '&e=' + encodeURIComponent(trackcmp_email) + '&r=' + encodeURIComponent(document.referrer) + '&u=' + encodeURIComponent(window.location.href));
  3912. }
  3913. };
  3914. // tawk.to
  3915. tarteaucitron.services.tawkto = {
  3916. "key": "tawkto",
  3917. "type": "support",
  3918. "name": "Tawk.to chat",
  3919. "uri": "https://www.tawk.to/data-protection/",
  3920. "needConsent": true,
  3921. "cookies": [],
  3922. "js": function () {
  3923. "use strict";
  3924. if (tarteaucitron.user.tawktoId === undefined) {
  3925. return;
  3926. }
  3927. tarteaucitron.user.tawktoWidgetId = tarteaucitron.user.tawktoWidgetId || 'default';
  3928. window.Tawk_API = window.Tawk_API || {};
  3929. window.Tawk_LoadStart = new Date();
  3930. tarteaucitron.addScript('https://embed.tawk.to/' + tarteaucitron.user.tawktoId + '/' + tarteaucitron.user.tawktoWidgetId);
  3931. }
  3932. };
  3933. // getquanty
  3934. tarteaucitron.services.getquanty = {
  3935. "key": "getquanty",
  3936. "type": "analytic",
  3937. "name": "GetQuanty",
  3938. "uri": "https://www.getquanty.com/mentions-legales/",
  3939. "needConsent": true,
  3940. "cookies": ['_first_pageview', 'eqy_sessionid', 'eqy_siteid', 'cluid', 'eqy_company', 'cluid', 'gq_utm', '_jsuid'],
  3941. "js": function () {
  3942. "use strict";
  3943. if (tarteaucitron.user.getguanty === undefined) {
  3944. return;
  3945. }
  3946. if (tarteaucitron.user.getquantyAlreadyLoaded !== undefined) {
  3947. return;
  3948. }
  3949. tarteaucitron.addScript('https://get.smart-data-systems.com/gq?site_id=' + tarteaucitron.user.getguanty + '&consent=1');
  3950. },
  3951. "fallback": function () {
  3952. "use strict";
  3953. if (tarteaucitron.user.getguanty === undefined) {
  3954. return;
  3955. }
  3956. tarteaucitron.user.getquantyAlreadyLoaded = true;
  3957. tarteaucitron.addScript('https://get.smart-data-systems.com/gq?site_id=' + tarteaucitron.user.getguanty + '&notrack=1');
  3958. }
  3959. };
  3960. // emolytics
  3961. tarteaucitron.services.emolytics = {
  3962. "key": "emolytics",
  3963. "type": "analytic",
  3964. "name": "Emolytics",
  3965. "uri": "https://www.emolytics.com/main/privacy-policy.php",
  3966. "needConsent": true,
  3967. "cookies": ['__hssc', '__hssrc', '__hstc', '_ga', '_gid', 'hubspotutk', 'lang', 'incap_ses_', 'nlbi_', 'visid_incap_'],
  3968. "js": function () {
  3969. "use strict";
  3970. if (tarteaucitron.user.emolyticsID === undefined) {
  3971. return;
  3972. }
  3973. var scriptEmolytics = document.createElement('script');
  3974. scriptEmolytics.text = 'var getsmily_id="' + tarteaucitron.user.emolyticsID + '";';
  3975. document.getElementsByTagName('body')[0].appendChild(scriptEmolytics);
  3976. tarteaucitron.addScript('https://cdn.emolytics.com/script/emolytics-widget.js')
  3977. }
  3978. };
  3979. // youtubeapi
  3980. tarteaucitron.services.youtubeapi = {
  3981. "key": "youtubeapi",
  3982. "type": "video",
  3983. "name": "Youtube (Js API)",
  3984. "uri": "https://policies.google.com/privacy",
  3985. "needConsent": true,
  3986. "cookies": [],
  3987. "js": function () {
  3988. "use strict";
  3989. tarteaucitron.addScript('https://www.youtube.com/player_api');
  3990. }
  3991. };
  3992. // Facil'ITI
  3993. tarteaucitron.services.faciliti = {
  3994. "key": "faciliti",
  3995. "type": "other",
  3996. "name": "Facil'ITI",
  3997. "uri": "https://ws.facil-iti.com/mentions-legales.html",
  3998. "needConsent": true,
  3999. "cookies": ['FACIL_ITI_LS'],
  4000. "js": function () {
  4001. "use strict";
  4002. if (tarteaucitron.user.facilitiID === undefined) {
  4003. return;
  4004. }
  4005. (function (w, d, s, f) {
  4006. w[f] = w[f] || { conf: function () { (w[f].data = w[f].data || []).push(arguments); } };
  4007. var l = d.createElement(s), e = d.getElementsByTagName(s)[0];
  4008. l.async = 1; l.src = 'https://ws.facil-iti.com/tag/faciliti-tag.min.js'; e.parentNode.insertBefore(l, e);
  4009. }(window, document, 'script', 'FACIL_ITI'));
  4010. FACIL_ITI.conf('userId', tarteaucitron.user.facilitiID);
  4011. }
  4012. };
  4013. // userlike
  4014. tarteaucitron.services.userlike = {
  4015. "key": "userlike",
  4016. "type": "support",
  4017. "name": "Userlike",
  4018. "uri": "https://www.userlike.com/en/terms#privacy-policy",
  4019. "needConsent": true,
  4020. "cookies": ['uslk_s', 'uslk_e'],
  4021. "js": function () {
  4022. "use strict";
  4023. if (tarteaucitron.user.userlikeKey === undefined) {
  4024. return;
  4025. }
  4026. tarteaucitron.addScript('//userlike-cdn-widgets.s3-eu-west-1.amazonaws.com/' + tarteaucitron.user.userlikeKey);
  4027. }
  4028. };
  4029. // adobeanalytics
  4030. tarteaucitron.services.adobeanalytics = {
  4031. "key": "adobeanalytics",
  4032. "type": "analytic",
  4033. "name": "Adobe Analytics",
  4034. "uri": "https://www.adobe.com/privacy/policy.html",
  4035. "needConsent": true,
  4036. "cookies": ['s_ecid', 's_cc', 's_sq', 's_vi', 's_fid'],
  4037. "js": function () {
  4038. "use strict";
  4039. if (tarteaucitron.user.adobeanalyticskey === undefined) {
  4040. return;
  4041. }
  4042. tarteaucitron.addScript('//assets.adobedtm.com/launch-' + tarteaucitron.user.adobeanalyticskey + '.min.js');
  4043. }
  4044. };
  4045. // woopra customer journey analytics
  4046. tarteaucitron.services.woopra = {
  4047. 'key': 'woopra',
  4048. 'type': 'analytic',
  4049. 'name': 'Woopra Customer Journey Analytics',
  4050. 'uri': 'https://www.woopra.com/privacy',
  4051. 'needConsent': true,
  4052. 'cookies': ['wooTracker', 'intercom-session-erbfalba', 'intercom-id-erbfalba'],
  4053. 'js': function () {
  4054. 'use strict';
  4055. //var w = tarteaucitron.user.woopraDomain;
  4056. //window[w] = window[w] || [];
  4057. (function () {
  4058. 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)
  4059. })("woopra");
  4060. woopra.config({
  4061. domain: tarteaucitron.user.woopraDomain
  4062. });
  4063. woopra.track();
  4064. }
  4065. };
  4066. // ausha
  4067. tarteaucitron.services.ausha = {
  4068. key: "ausha",
  4069. type: "video",
  4070. name: "Ausha",
  4071. uri: "https://www.ausha.co/protection-personal-data/",
  4072. needConsent: true,
  4073. cookies: [],
  4074. js: function () {
  4075. "use strict";
  4076. tarteaucitron.fallback(['ausha_player'], function (x) {
  4077. var player_height = x.getAttribute('data-height'),
  4078. podcast_id = x.getAttribute('data-podcast-id'),
  4079. player_id = x.getAttribute('data-player-id'),
  4080. playlist = x.getAttribute('data-playlist'),
  4081. color = x.getAttribute('data-color');
  4082. if (podcast_id === undefined) {
  4083. return "";
  4084. }
  4085. var src = 'https://player.ausha.co/index.html?podcastId=' + podcast_id + '&v=3';
  4086. if (playlist && playlist.length > 0) src += '&playlist=' + playlist;
  4087. if (color && color.length > 0) src += '&color=' + color.replace('#', '%23');
  4088. if (player_id && player_id.length > 0) src += '&playerId=' + player_id;
  4089. return '<iframe id="' + player_id + '" loading="lazy" width="100%" height="' + player_height + '" scrolling="no" frameborder="no" src="' + src + '"></iframe>';
  4090. });
  4091. tarteaucitron.addScript('//player.ausha.co/ausha-player.js', 'ausha-player');
  4092. },
  4093. fallback: function () {
  4094. "use strict";
  4095. tarteaucitron.fallback(['ausha_player'], function (elem) {
  4096. elem.style.height = elem.getAttribute('data-height') + 'px';
  4097. return tarteaucitron.engage('ausha');
  4098. });
  4099. }
  4100. };
  4101. // visiblee
  4102. tarteaucitron.services.visiblee = {
  4103. key: "visiblee",
  4104. type: "analytic",
  4105. name: "Visiblee",
  4106. uri: "http://confidentiality.visiblee.io/fr/confidentialite",
  4107. needConsent: true,
  4108. cookies: ["visitor_v2", tarteaucitron.user.visibleedomain, "check", "campaign_ref_" + tarteaucitron.user.visibleedomain, "reload_" + tarteaucitron.user.visibleedomain],
  4109. js: function () {
  4110. "use strict";
  4111. if (tarteaucitron.user.visibleeclientid === undefined) {
  4112. return;
  4113. }
  4114. tarteaucitron.addScript('//www.link-page.info/tracking_' + tarteaucitron.user.visibleeclientid + '.js', 'visiblee');
  4115. }
  4116. };
  4117. // bandcamp
  4118. tarteaucitron.services.bandcamp = {
  4119. key: "bandcamp",
  4120. type: "video",
  4121. name: "Bandcamp",
  4122. uri: "https://bandcamp.com",
  4123. readmoreLink: "https://bandcamp.com/privacy",
  4124. needConsent: true,
  4125. cookies: ['client_id', 'BACKENDID', '_comm_playlist'],
  4126. js: function () {
  4127. "use strict";
  4128. tarteaucitron.fallback(['bandcamp_player'], function (x) {
  4129. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Bandcamp iframe'),
  4130. album_id = x.getAttribute("albumID"),
  4131. bandcamp_width = x.getAttribute("width"),
  4132. frame_width = 'width=',
  4133. bandcamp_height = x.getAttribute("height"),
  4134. frame_height = 'height=',
  4135. attrs = ["size", "bgcol", "linkcol", "artwork", "minimal", "tracklist", "package", "transparent"],
  4136. params = attrs.filter(function (a) {
  4137. return x.getAttribute(a) !== null;
  4138. }).map(function (a) {
  4139. if (a && a.length > 0) return a + "=" + x.getAttribute(a);
  4140. }).join("/");
  4141. if (album_id === null) {
  4142. return "";
  4143. }
  4144. if (bandcamp_width !== null || bandcamp_width !== "") {
  4145. frame_width += '"' + bandcamp_width + '" ';
  4146. } else {
  4147. frame_width += '"" ';
  4148. }
  4149. if (bandcamp_height !== null || bandcamp_height !== "") {
  4150. frame_height += '"' + bandcamp_height + '" ';
  4151. } else {
  4152. frame_height += '"" ';
  4153. }
  4154. var src = 'https://bandcamp.com/EmbeddedPlayer/album=' + album_id + '/' + params;
  4155. return '<iframe title="' + frame_title + '"' + frame_width + frame_height + 'src="' + src + '" frameborder="0" allowfullscreen seamless></iframe>';
  4156. });
  4157. },
  4158. fallback: function () {
  4159. "use strict";
  4160. tarteaucitron.fallback(['bandcamp_player'], function (elem) {
  4161. elem.style.width = elem.getAttribute('width');
  4162. elem.style.height = elem.getAttribute('height');
  4163. return tarteaucitron.engage('bandcamp');
  4164. });
  4165. }
  4166. };
  4167. // Discord Widget
  4168. tarteaucitron.services.discord = {
  4169. "key": "discord",
  4170. "type": "social",
  4171. "name": "Discord (Server Widget)",
  4172. "needConsent": true,
  4173. "cookies": ["__cfruid", "__dcfduid", "_ga", "_gcl_au", "OptanonConsent", "locale", "_gid"],
  4174. "uri": "https://discord.com/privacy",
  4175. "js": function () {
  4176. "use strict";
  4177. tarteaucitron.fallback(['discord_widget'], function (x) {
  4178. var id = x.getAttribute("guildID"),
  4179. width = x.getAttribute("width"),
  4180. height = x.getAttribute("height")
  4181. var widgetURL = "https://discord.com/widget?id=" + id;
  4182. return "<iframe width=\"" + width + "\" height=\"" + height + "\" src=\"" + widgetURL + "\"></iframe>";
  4183. });
  4184. },
  4185. "fallback": function () {
  4186. "use strict";
  4187. var id = 'discord';
  4188. tarteaucitron.fallback(['discord_widget'], function (elem) {
  4189. elem.style.width = elem.getAttribute('width') + 'px';
  4190. elem.style.height = elem.getAttribute('height') + 'px';
  4191. return tarteaucitron.engage(id);
  4192. });
  4193. }
  4194. };
  4195. // Google Maps
  4196. tarteaucitron.services.maps_noapi = {
  4197. "key": "maps_noapi",
  4198. "type": "other",
  4199. "name": "Google Maps",
  4200. "needConsent": true,
  4201. "cookies": ["NID", "OGPC", "1P_JAR", "CONSENT"],
  4202. "uri": "https://policies.google.com/privacy",
  4203. "js": function () {
  4204. "use strict";
  4205. tarteaucitron.fallback(['googlemaps_embed'], function (x) {
  4206. var id = x.getAttribute("id"),
  4207. width = x.getAttribute("width"),
  4208. height = x.getAttribute("height")
  4209. var widgetURL = "https://google.com/maps/embed?pb=" + id;
  4210. return "<iframe width=\"" + width + "\" height=\"" + height + "\" src=\"" + widgetURL + "\" style=\"border:0;\" allowfullscreen=\"\" loading=\"lazy\"></iframe>";
  4211. });
  4212. },
  4213. "fallback": function () {
  4214. "use strict";
  4215. var id = 'maps_noapi';
  4216. tarteaucitron.fallback(['googlemaps_embed'], function (elem) {
  4217. elem.style.width = elem.getAttribute('width') + 'px';
  4218. elem.style.height = elem.getAttribute('height') + 'px';
  4219. return tarteaucitron.engage(id);
  4220. });
  4221. }
  4222. };
  4223. // hCaptcha
  4224. tarteaucitron.services.hcaptcha = {
  4225. "key": "hcaptcha",
  4226. "type": "other",
  4227. "name": "hCaptcha",
  4228. "needConsent": true,
  4229. "cookies": [],
  4230. "uri": "https://www.hcaptcha.com/privacy",
  4231. "js": function () {
  4232. "use strict";
  4233. tarteaucitron.fallback(["h-captcha"], '');
  4234. tarteaucitron.addScript("https://hcaptcha.com/1/api.js", "hcaptcha")
  4235. },
  4236. "fallback": function () {
  4237. "use strict";
  4238. var id = "hcaptcha";
  4239. tarteaucitron.fallback(["h-captcha"], tarteaucitron.engage(id));
  4240. }
  4241. };
  4242. // France Culture
  4243. tarteaucitron.services.fculture = {
  4244. "key": "fculture",
  4245. "type": "video",
  4246. "name": "France Culture",
  4247. "needConsent": true,
  4248. "cookies": ["_gid", "didomi_token", "outbrain_cid_fetch", "xtvrn", "xtant", "YSC", "ABTasty", "xtan", "ABTastySession", "xtidc", "_ga", "VISITOR_INFO1_LIVE", "euconsent-v2", "v1st", "dmvk", "ts", "VISITOR_INFO1_LIVE", "YSC"],
  4249. "uri": "https://www.radiofrance.com/politique-d-utilisation-des-cookies-sur-les-sites-internet-du-groupe-radio-france",
  4250. "js": function () {
  4251. "use strict";
  4252. tarteaucitron.fallback(['fculture_embed'], function (x) {
  4253. var id = x.getAttribute('id'),
  4254. width = x.getAttribute('width'),
  4255. height = x.getAttribute('height');
  4256. return "<iframe src=\"https://www.franceculture.fr/player/export-reecouter?content=" + id + "\" height=\"" + height + "\" width=\"" + width + "\"></iframe>"
  4257. });
  4258. },
  4259. "fallback": function () {
  4260. "use strict";
  4261. var id = "fculture";
  4262. tarteaucitron.fallback(["fculture_embed"], tarteaucitron.engage(id));
  4263. }
  4264. };
  4265. // Acast
  4266. tarteaucitron.services.acast = {
  4267. "key": "acast",
  4268. "type": "video",
  4269. "name": "Acast",
  4270. "needConsent": true,
  4271. "cookies": ["intercom-id-ayi0335i", "intercom-session-ayi0335i"],
  4272. "uri": "https://www.acast.com/en/privacy",
  4273. "js": function () {
  4274. "use strict";
  4275. tarteaucitron.fallback(['acast_embed'], function (x) {
  4276. var id = x.getAttribute('id1'),
  4277. id2 = x.getAttribute('id2'),
  4278. width = x.getAttribute('width'),
  4279. height = x.getAttribute('height'),
  4280. seek = x.getAttribute('seek');
  4281. var widgetURL = "https://embed.acast.com/" + id + "/" + id2 + "?seek=" + seek;
  4282. return "<iframe title=\"Embed Player\" width=\"" + width + "\" height=\"" + height + "\" src=\"" + widgetURL + "\" scrolling=\"no\" frameBorder=\"0\" style=\"border: none; overflow: hidden;\"></iframe>";
  4283. });
  4284. },
  4285. "fallback": function () {
  4286. "use strict";
  4287. var id = "acast";
  4288. tarteaucitron.fallback(["acast_embed"], tarteaucitron.engage(id));
  4289. }
  4290. };
  4291. // Mixcloud
  4292. tarteaucitron.services.mixcloud = {
  4293. "key": "mixcloud",
  4294. "type": "video",
  4295. "name": "Mixcloud",
  4296. "needConsent": true,
  4297. "cookies": ["UID", "_gat", "__stripe_mid", "_gid", "_ga", "c", "csrftoken", "__stripe_sid", "mx_t"],
  4298. "uri": "https://www.mixcloud.com/privacy/",
  4299. "js": function () {
  4300. "use strict";
  4301. tarteaucitron.fallback(['mixcloud_embed'], function (x) {
  4302. var id = x.getAttribute('id'),
  4303. hidecover = x.getAttribute('hidecover'),
  4304. mini = x.getAttribute('mini'),
  4305. light = x.getAttribute('light'),
  4306. width = x.getAttribute('width'),
  4307. height = x.getAttribute('height');
  4308. return "<iframe width=\"" + width + "\" height=\"" + height + "\" src=\"https://www.mixcloud.com/widget/iframe/?hide_cover=" + hidecover + "&mini=" + mini + "&light=" + light + "&feed=" + id + "\" frameborder=\"0\" ></iframe>";
  4309. });
  4310. },
  4311. "fallback": function () {
  4312. "use strict";
  4313. var id = "mixcloud";
  4314. tarteaucitron.fallback(["mixcloud_embed"], tarteaucitron.engage(id));
  4315. }
  4316. };
  4317. // Google Agenda
  4318. tarteaucitron.services.gagenda = {
  4319. "key": "gagenda",
  4320. "type": "other",
  4321. "name": "Google Agenda",
  4322. "needConsent": true,
  4323. "cookies": ["CONSENT", "NID"],
  4324. "uri": "https://policies.google.com/privacy",
  4325. "js": function () {
  4326. "use strict";
  4327. tarteaucitron.fallback(['gagenda_embed'], function (x) {
  4328. var calendar_data = x.getAttribute('data'),
  4329. width = x.getAttribute('width'),
  4330. height = x.getAttribute('height');
  4331. return "<iframe loarding=\"lazy\" width=\"" + width + "\" height=\"" + height + "\" src=\"https://www.google.com/calendar/embed?" + calendar_data + "\" frameborder=\"0\" scrolling=\"no\" style=\"border-width:0\"></iframe>";
  4332. });
  4333. },
  4334. "fallback": function () {
  4335. "use strict";
  4336. var id = "gagenda";
  4337. tarteaucitron.fallback(["gagenda_embed"], tarteaucitron.engage(id));
  4338. }
  4339. };
  4340. // Google Docs
  4341. tarteaucitron.services.gdocs = {
  4342. "key": "gdocs",
  4343. "type": "other",
  4344. "name": "Google Docs",
  4345. "needConsent": true,
  4346. "cookies": ["CONSENT", "NID"],
  4347. "uri": "https://policies.google.com/privacy",
  4348. "js": function () {
  4349. "use strict";
  4350. tarteaucitron.fallback(['gdocs_embed'], function (x) {
  4351. var id = x.getAttribute('id'),
  4352. width = x.getAttribute('width'),
  4353. height = x.getAttribute('height');
  4354. return "<iframe width=\"" + width + "\" height=\"" + height + "\" src=\"https://docs.google.com/document/d/e/" + id + "/pub?embedded=true\"></iframe>";
  4355. });
  4356. },
  4357. "fallback": function () {
  4358. "use strict";
  4359. var id = "gdocs";
  4360. tarteaucitron.fallback(["gdocs_embed"], tarteaucitron.engage(id));
  4361. }
  4362. };
  4363. // Google Sheets
  4364. tarteaucitron.services.gsheets = {
  4365. "key": "gsheets",
  4366. "type": "other",
  4367. "name": "Google Sheets",
  4368. "needConsent": true,
  4369. "cookies": ["CONSENT", "NID"],
  4370. "uri": "https://policies.google.com/privacy",
  4371. "js": function () {
  4372. "use strict";
  4373. tarteaucitron.fallback(['gsheets_embed'], function (x) {
  4374. var id = x.getAttribute('id'),
  4375. width = x.getAttribute('width'),
  4376. height = x.getAttribute('height'),
  4377. headers = x.getAttribute('headers');
  4378. return "<iframe width=\"" + width + "\" height=\"" + height + "\" src=\"https://docs.google.com/spreadsheets/d/e/" + id + "/pubhtml?widget=true&amp;headers=" + headers + "\"></iframe>";
  4379. });
  4380. },
  4381. "fallback": function () {
  4382. "use strict";
  4383. var id = "gsheets";
  4384. tarteaucitron.fallback(["gsheets_embed"], tarteaucitron.engage(id));
  4385. }
  4386. };
  4387. // Google Slides
  4388. tarteaucitron.services.gslides = {
  4389. "key": "gslides",
  4390. "type": "other",
  4391. "name": "Google Slides",
  4392. "needConsent": true,
  4393. "cookies": ["CONSENT", "NID"],
  4394. "uri": "https://policies.google.com/privacy",
  4395. "js": function () {
  4396. "use strict";
  4397. tarteaucitron.fallback(['gslides_embed'], function (x) {
  4398. var id = x.getAttribute('id'),
  4399. width = x.getAttribute('width'),
  4400. height = x.getAttribute('height'),
  4401. autostart = x.getAttribute('autostart'),
  4402. loop = x.getAttribute('loop'),
  4403. delay = x.getAttribute('delay');
  4404. return "<iframe width=\"" + width + "\" height=\"" + height + "\" src=\"https://docs.google.com/presentation/d/e/" + id + "/embed?start=" + autostart + "&loop=" + loop + "&delayms=" + delay + "\" frameborder=\"0\" allowfullscreen=\"true\" mozallowfullscreen=\"true\" webkitallowfullscreen=\"true\"></iframe>";
  4405. });
  4406. },
  4407. "fallback": function () {
  4408. "use strict";
  4409. var id = "gslides";
  4410. tarteaucitron.fallback(["gslides_embed"], tarteaucitron.engage(id));
  4411. }
  4412. };
  4413. // Google Forms
  4414. tarteaucitron.services.gforms = {
  4415. "key": "gforms",
  4416. "type": "other",
  4417. "name": "Google Forms",
  4418. "needConsent": true,
  4419. "cookies": ["CONSENT", "NID"],
  4420. "uri": "https://policies.google.com/privacy",
  4421. "js": function () {
  4422. "use strict";
  4423. tarteaucitron.fallback(['gforms_embed'], function (x) {
  4424. var id = x.getAttribute('id'),
  4425. width = x.getAttribute('width'),
  4426. height = x.getAttribute('height');
  4427. return "<iframe width=\"" + width + "\" height=\"" + height + "\" src=\"https://docs.google.com/forms/d/e/" + id + "/viewform?embedded=true\" frameborder=\"0\" marginheight=\"0\" marginwidth=\"0\"></iframe>";
  4428. });
  4429. },
  4430. "fallback": function () {
  4431. "use strict";
  4432. var id = "gforms";
  4433. tarteaucitron.fallback(['gforms_embed'], tarteaucitron.engage(id));
  4434. }
  4435. };
  4436. // Google Optimize
  4437. tarteaucitron.services.goptimize = {
  4438. "key": "goptimize",
  4439. "type": "other",
  4440. "name": "Google Optimize",
  4441. "needConsent": true,
  4442. "cookies": ["CONSENT", "NID"],
  4443. "uri": "https://policies.google.com/privacy",
  4444. "js": function () {
  4445. "use strict";
  4446. if (tarteaucitron.user.goptimize === undefined) {
  4447. return;
  4448. }
  4449. tarteaucitron.addScript('https://www.googleoptimize.com/optimize.js?id=' + tarteaucitron.user.goptimize);
  4450. }
  4451. };
  4452. // Marketo munchkin
  4453. tarteaucitron.services.marketomunchkin = {
  4454. "key": "marketomunchkin",
  4455. "type": "api",
  4456. "name": "Marketo munchkin",
  4457. "uri": "https://documents.marketo.com/legal/cookies",
  4458. "needConsent": true,
  4459. "cookies": ['OptAnon', '_mkto_trk'],
  4460. "js": function () {
  4461. "use strict";
  4462. if (tarteaucitron.user.marketomunchkinkey === undefined) {
  4463. return;
  4464. }
  4465. var didInit = false;
  4466. function initMunchkin() {
  4467. if (didInit === false) {
  4468. didInit = true;
  4469. Munchkin.init(tarteaucitron.user.marketomunchkinkey);
  4470. }
  4471. }
  4472. var s = document.createElement('script');
  4473. s.type = 'text/javascript';
  4474. s.async = true;
  4475. s.src = '//munchkin.marketo.net/munchkin.js';
  4476. s.onreadystatechange = function () {
  4477. if (this.readyState == 'complete' || this.readyState == 'loaded') {
  4478. initMunchkin();
  4479. }
  4480. };
  4481. s.onload = initMunchkin;
  4482. document.getElementsByTagName('head')[0].appendChild(s);
  4483. }
  4484. };
  4485. // outbrain
  4486. tarteaucitron.services.outbrain = {
  4487. "key": "outbrain",
  4488. "type": "ads",
  4489. "name": "Outbrain",
  4490. "uri": "https://www.outbrain.com/fr/advertisers/guidelines/",
  4491. "needConsent": true,
  4492. "cookies": [],
  4493. "js": function () {
  4494. "use strict";
  4495. tarteaucitron.addScript('https://widgets.outbrain.com/outbrain.js');
  4496. }
  4497. };
  4498. // affilae
  4499. tarteaucitron.services.affilae = {
  4500. "key": "affilae",
  4501. "type": "ads",
  4502. "name": "Affilae",
  4503. "uri": "https://affilae.com/en/privacy-cookie-policy/",
  4504. "needConsent": true,
  4505. "cookies": [],
  4506. "js": function () {
  4507. "use strict";
  4508. if (tarteaucitron.user.affilae === undefined) {
  4509. return;
  4510. }
  4511. window._ae = { "pid": tarteaucitron.user.affilae };
  4512. tarteaucitron.addScript('https://static.affilae.com/ae-v3.5.js');
  4513. }
  4514. };
  4515. // Canal-U.tv
  4516. tarteaucitron.services.canalu = {
  4517. "key": "canalu",
  4518. "type": "video",
  4519. "name": "Canal-U.tv",
  4520. "uri": "https://www.canal-u.tv/conditions-generales-utilisations",
  4521. "needConsent": true,
  4522. "cookies": [],
  4523. "js": function () {
  4524. "use strict";
  4525. tarteaucitron.fallback(['canalu_player'], function (x) {
  4526. var video_title = tarteaucitron.fixSelfXSS(x.getAttribute("videoTitle")),
  4527. frame_url = 'https://www.canal-u.tv/embed/' + video_title;
  4528. return '<div style="position:relative;padding-bottom:56.25%;padding-top:10px;height:0;overflow:hidden;">' +
  4529. '<iframe src="' + frame_url + '?width=100%&amp;height=100%" ' +
  4530. 'style="position:absolute;top:0;left:0;width:100%;height: 100%;" ' +
  4531. 'frameborder="0" ' +
  4532. 'allowfullscreen ' +
  4533. 'scrolling="no">' +
  4534. '</iframe>' +
  4535. '</div>';
  4536. });
  4537. },
  4538. "fallback": function () {
  4539. "use strict";
  4540. tarteaucitron.fallback(['canalu_player'], function (elem) {
  4541. return tarteaucitron.engage('canalu');
  4542. });
  4543. }
  4544. };
  4545. // WebTV Normandie Université
  4546. tarteaucitron.services.webtvnu = {
  4547. "key": "webtvnu",
  4548. "type": "video",
  4549. "name": "WebTV Normandie Université",
  4550. "uri": "https://docs.google.com/document/d/1tpVclj4QBoAq1meSZgYrpNECwp7dbmb_IhICY3sTl9c/edit",
  4551. "needConsent": true,
  4552. "cookies": [],
  4553. "js": function () {
  4554. "use strict";
  4555. tarteaucitron.fallback(['webtvnu_player'], function (x) {
  4556. var frame_url = 'https://webtv.normandie-univ.fr/permalink/' + x.getAttribute("videoID") + '/iframe/',
  4557. width = x.getAttribute("width"),
  4558. height = x.getAttribute("height");
  4559. return '<iframe width="' + width + '" height="' + height + '" src="' + frame_url + '" allowfullscreen="allowfullscreen" allow="autoplay"></iframe>';
  4560. });
  4561. },
  4562. "fallback": function () {
  4563. "use strict";
  4564. tarteaucitron.fallback(['webtvnu_player'], function (elem) {
  4565. return tarteaucitron.engage('webtvnu');
  4566. });
  4567. }
  4568. };
  4569. // studizz
  4570. tarteaucitron.services.studizz = {
  4571. "key": "studizz",
  4572. "type": "other",
  4573. "name": "Studizz Chatbot",
  4574. "uri": "https://group.studizz.fr/",
  4575. "needConsent": true,
  4576. "cookies": [],
  4577. "js": function () {
  4578. "use strict";
  4579. if (tarteaucitron.user.studizzToken === undefined) {
  4580. return;
  4581. }
  4582. tarteaucitron.addScript('https://webchat.studizz.fr/webchat.js?token=' + tarteaucitron.user.studizzToken);
  4583. }
  4584. };
  4585. // meteofrance
  4586. tarteaucitron.services.meteofrance = {
  4587. "key": "meteofrance",
  4588. "type": "api",
  4589. "name": "Météo France",
  4590. "uri": "https://meteofrance.com/politique-de-confidentialite",
  4591. "needConsent": true,
  4592. "cookies": [],
  4593. "js": function () {
  4594. "use strict";
  4595. tarteaucitron.fallback(['tac_meteofrance'], function (x) {
  4596. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Météo France iframe'),
  4597. width = x.getAttribute("width"),
  4598. height = x.getAttribute("height"),
  4599. insee = x.getAttribute("data-insee"),
  4600. allowfullscreen = x.getAttribute("allowfullscreen");
  4601. return '<iframe title="' + frame_title + '" src="https://meteofrance.com/widget/prevision/' + insee + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
  4602. });
  4603. },
  4604. "fallback": function () {
  4605. "use strict";
  4606. var id = 'meteofrance';
  4607. tarteaucitron.fallback(['tac_meteofrance'], function (elem) {
  4608. elem.style.width = elem.getAttribute('width') + 'px';
  4609. elem.style.height = elem.getAttribute('height') + 'px';
  4610. return tarteaucitron.engage(id);
  4611. });
  4612. }
  4613. };
  4614. // m6meteo
  4615. tarteaucitron.services.m6meteo = {
  4616. "key": "m6meteo",
  4617. "type": "api",
  4618. "name": "M6 Météo",
  4619. "uri": "https://gdpr.m6tech.net/charte-confidentialite-m6-web-meteocity.pdf",
  4620. "needConsent": true,
  4621. "cookies": [],
  4622. "js": function () {
  4623. "use strict";
  4624. tarteaucitron.fallback(['tac_m6meteo'], function (x) {
  4625. var id = x.getAttribute("data-id");
  4626. tarteaucitron.addScript('https://www.meteocity.com/widget/js/'+id);
  4627. return '<div id="cont_'+id+'"><div id="spa_'+id+'"><a id="a_'+id+'" href="#"></a> ©<a target="_top" href="https://www.meteocity.com">M6météo</a></div></div>';
  4628. });
  4629. },
  4630. "fallback": function () {
  4631. "use strict";
  4632. var id = 'm6meteo';
  4633. tarteaucitron.fallback(['tac_m6meteo'], function (elem) {
  4634. return tarteaucitron.engage(id);
  4635. });
  4636. }
  4637. };
  4638. // mtcaptcha
  4639. tarteaucitron.services.mtcaptcha = {
  4640. "key": "mtcaptcha",
  4641. "type": "api",
  4642. "name": "MTcaptcha",
  4643. "uri": "https://www.mtcaptcha.com",
  4644. "readmoreLink": "https://www.mtcaptcha.com/faq-cookie-declaration",
  4645. "needConsent": true,
  4646. "cookies": ['mtv1Pulse','mtv1ConfSum','mtv1Pong'],
  4647. "js": function () {
  4648. window.mtcaptchaConfig = {
  4649. "sitekey": tarteaucitron.user.mtcaptchaSitekey
  4650. };
  4651. tarteaucitron.addScript('https://service.mtcaptcha.com/mtcv1/client/mtcaptcha.min.js');
  4652. tarteaucitron.addScript('https://service2.mtcaptcha.com/mtcv1/client/mtcaptcha2.min.js');
  4653. }
  4654. };
  4655. // Internet Archive / https://archive.org
  4656. tarteaucitron.services.archive = {
  4657. "key": "archive",
  4658. "type": "video",
  4659. "name": "Internet Archive",
  4660. "uri": "https://archive.org/about/terms.php",
  4661. "needConsent": true,
  4662. "cookies": ['abtest-identifier','donation-identifier'],
  4663. "js": function () {
  4664. "use strict";
  4665. tarteaucitron.fallback(['archive_player'], function (x) {
  4666. var video_id = tarteaucitron.getElemAttr(x, "data-videoID"),
  4667. video_width = tarteaucitron.getElemAttr(x, "data-width"),
  4668. frame_width = 'width=',
  4669. video_height = tarteaucitron.getElemAttr(x, "data-height"),
  4670. frame_height = 'height=',
  4671. video_frame;
  4672. if (video_id === undefined) {
  4673. return "";
  4674. }
  4675. if (video_width !== undefined) {
  4676. frame_width += '"' + video_width + '" ';
  4677. } else {
  4678. frame_width += '"" ';
  4679. }
  4680. if (video_height !== undefined) {
  4681. frame_height += '"' + video_height + '" ';
  4682. } else {
  4683. frame_height += '"" ';
  4684. }
  4685. video_frame = '<iframe src="https://archive.org/embed/' + video_id + '" ' + frame_width + frame_height + ' frameborder="0" webkitallowfullscreen="true" mozallowfullscreen="true" allowfullscreen></iframe>';
  4686. return video_frame;
  4687. });
  4688. },
  4689. "fallback": function () {
  4690. "use strict";
  4691. var id = 'archive';
  4692. tarteaucitron.fallback(['archive_player'], function (elem) {
  4693. elem.style.width = elem.getAttribute('data-width') + 'px';
  4694. elem.style.height = elem.getAttribute('data-height') + 'px';
  4695. return tarteaucitron.engage(id);
  4696. });
  4697. }
  4698. };
  4699. // Gallica
  4700. tarteaucitron.services.gallica = {
  4701. "key": "gallica",
  4702. "type": "other",
  4703. "name": "Gallica",
  4704. "uri": "https://gallica.bnf.fr/edit/und/conditions-dutilisation-des-contenus-de-gallica",
  4705. "needConsent": true,
  4706. "cookies": ['dtCookie', 'dtLatC', 'dtPC', 'dtSa', 'rxVisitor', 'rxvt', 'xtvrn'],
  4707. "js": function () {
  4708. "use strict";
  4709. tarteaucitron.fallback(['gallica_player'], function (x) {
  4710. var src = tarteaucitron.getElemAttr(x, "data-src"),
  4711. style = tarteaucitron.getElemAttr(x, "data-style"),
  4712. frame;
  4713. if (src === undefined) {
  4714. return "";
  4715. }
  4716. frame = '<iframe style="'+ style + '" src="' + src + '"></iframe>';
  4717. return frame;
  4718. });
  4719. },
  4720. "fallback": function () {
  4721. "use strict";
  4722. var id = 'gallica';
  4723. tarteaucitron.fallback(['gallica_player'], function (elem) {
  4724. elem.style = elem.getAttribute('data-style');
  4725. return tarteaucitron.engage(id);
  4726. });
  4727. }
  4728. };
  4729. // crisp
  4730. tarteaucitron.services.crisp = {
  4731. "key": "crisp",
  4732. "type": "other",
  4733. "name": "Crisp Chat",
  4734. "uri": "https://help.crisp.chat/en/article/crisp-chatbox-cookie-ip-policy-1147xor/",
  4735. "needConsent": false,
  4736. "cookies": ['crisp-client', '__cfduid'],
  4737. "js": function () {
  4738. "use strict";
  4739. if (tarteaucitron.user.crispID === undefined) {
  4740. return;
  4741. }
  4742. window.$crisp = [];
  4743. window.CRISP_WEBSITE_ID = tarteaucitron.user.crispID;
  4744. tarteaucitron.addScript('https://client.crisp.chat/l.js');
  4745. }
  4746. };
  4747. // microanalytics
  4748. tarteaucitron.services.microanalytics = {
  4749. "key": "microanalytics",
  4750. "type": "analytic",
  4751. "name": "MicroAnalytic",
  4752. "uri": "https://microanalytics.io/page/privacy",
  4753. "needConsent": false,
  4754. "cookies": [],
  4755. "js": function () {
  4756. "use strict";
  4757. if (tarteaucitron.user.microanalyticsID === undefined) {
  4758. return;
  4759. }
  4760. tarteaucitron.addScript('https://microanalytics.io/js/script.js', tarteaucitron.user.microanalyticsID, undefined, true, "data-host", "https://microanalytics.io");
  4761. }
  4762. };
  4763. // facebookcustomerchat
  4764. tarteaucitron.services.facebookcustomerchat = {
  4765. "key": "facebookcustomerchat",
  4766. "type": "social",
  4767. "name": "Facebook (Customer Chat)",
  4768. "uri": "https://www.facebook.com/policies/cookies/",
  4769. "needConsent": true,
  4770. "cookies": ['act','c_user','datr','dpr','presence','sb','wd','xs','/tr'],
  4771. "js": function () {
  4772. "use strict";
  4773. if (tarteaucitron.user.facebookChatID === undefined) {
  4774. return;
  4775. }
  4776. tarteaucitron.fallback(['fb-customerchat'], '');
  4777. window.fbAsyncInit=function(){FB.init({appId:tarteaucitron.user.facebookChatID,autoLogAppEvents:!0,xfbml:!0,version:"v3.0"})};
  4778. tarteaucitron.addScript('https://connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk/xfbml.customerchat.js', 'facebook-jssdk');
  4779. },
  4780. "fallback": function () {
  4781. "use strict";
  4782. var id = 'facebookcustomerchat';
  4783. tarteaucitron.fallback(['fb-customerchat'], tarteaucitron.engage(id));
  4784. }
  4785. };
  4786. // weborama
  4787. tarteaucitron.services.weborama = {
  4788. "key": "weborama",
  4789. "type": "analytic",
  4790. "name": "Weborama",
  4791. "uri": "https://weborama.com/faq-cnil-avril-2021/",
  4792. "needConsent": true,
  4793. "cookies": [],
  4794. "js": function () {
  4795. "use strict";
  4796. tarteaucitron.addScript('https://cstatic.weborama.fr/js/advertiserv2/adperf_conversion.js');
  4797. }
  4798. };
  4799. // tiktok
  4800. tarteaucitron.services.tiktok = {
  4801. "key": "tiktok",
  4802. "type": "analytic",
  4803. "name": "Tiktok",
  4804. "uri": "https://www.tiktok.com/legal/tiktok-website-cookies-policy",
  4805. "needConsent": true,
  4806. "cookies": [],
  4807. "js": function () {
  4808. "use strict";
  4809. if (tarteaucitron.user.tiktokId === undefined) {
  4810. return;
  4811. }
  4812. tarteaucitron.addScript('https://analytics.tiktok.com/i18n/pixel/sdk.js?sdkid=' + tarteaucitron.user.tiktokId);
  4813. }
  4814. };