tarteaucitron.services.js 203 KB

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