tarteaucitron.services.js 210 KB

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