tarteaucitron.services.js 208 KB

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