tarteaucitron.services.js 207 KB

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