12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975 |
- /*global tarteaucitron, ga, Shareaholic, stLight, clicky, top, google, Typekit, FB, ferankReady, IN, stButtons, twttr, PCWidget*/
- /*jslint regexp: true, nomen: true*/
- // generic iframe
- tarteaucitron.services.iframe = {
- "key": "iframe",
- "type": "other",
- "name": "Web content",
- "uri": "",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['tac_iframe'], function (x) {
- var frame_title = (tarteaucitron.getElemAttr(x,"title")) ? tarteaucitron.fixSelfXSS(tarteaucitron.getElemAttr(x,"title")) : '',
- width = tarteaucitron.getElemAttr(x,"width"),
- height = tarteaucitron.getElemAttr(x,"height"),
- allowfullscreen = tarteaucitron.getElemAttr(x,"allowfullscreen"),
- url = tarteaucitron.getElemAttr(x,"url");
- return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'iframe';
- tarteaucitron.fallback(['tac_iframe'], function (elem) {
- elem.style.width = tarteaucitron.getElemAttr(elem,'width') + 'px';
- elem.style.height = tarteaucitron.getElemAttr(elem,'height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // activecampaignvgo
- tarteaucitron.services.activecampaignvgo = {
- "key": "activecampaignvgo",
- "type": "other",
- "name": "Active Campaign",
- "uri": "https://www.activecampaign.com/legal/privacy-policy/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.activecampaignAccount === undefined) {
- return;
- }
- window.visitorGlobalObjectAlias="vgo";
- window[window.visitorGlobalObjectAlias]=window[window.visitorGlobalObjectAlias]||function(){(window[window.visitorGlobalObjectAlias].q=window[window.visitorGlobalObjectAlias].q||[]).push(arguments)};
- window[window.visitorGlobalObjectAlias].l=(new Date).getTime();
- tarteaucitron.addScript('https://diffuser-cdn.app-us1.com/diffuser/diffuser.js', '', function () {
- vgo('setAccount', tarteaucitron.user.activecampaignAccount);
- vgo('setTrackByDefault', true);
- vgo('process');
- });
- }
- };
- // sendinblue
- tarteaucitron.services.sendinblue = {
- "key": "sendinblue",
- "type": "other",
- "name": "sendinblue",
- "uri": "https://sendinblue.com/rgpd/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.sendinblueKey === undefined) {
- return;
- }
- window.sib = {equeue: [], client_key: tarteaucitron.user.sendinblueKey};
- window.sendinblue = {};
- for (var j = ['track', 'identify', 'trackLink', 'page'], i = 0; i < j.length; i++) {
- (function(k) {
- window.sendinblue[k] = function() {
- var arg = Array.prototype.slice.call(arguments);
- (window.sib[k] || function() {
- var t = {};
- t[k] = arg;
- window.sib.equeue.push(t);
- })(arg[0], arg[1], arg[2], arg[3]);
- };
- })(j[i]);
- }
- tarteaucitron.addScript('https://sibautomation.com/sa.js?key=' + window.sib.client_key, 'sendinblue-js', function () {
- window.sendinblue.page();
- });
- }
- };
- // collectchat
- tarteaucitron.services.collectchat = {
- "key": "collectchat",
- "type": "other",
- "name": "Collect Chat",
- "uri": "https://collect.chat/privacy/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.collectchatId === undefined) {
- return;
- }
- window.CollectId = tarteaucitron.user.collectchatId;
- tarteaucitron.addScript('https://collectcdn.com/launcher.js');
- }
- };
- // eulerian
- tarteaucitron.services.eulerian = {
- "key": "eulerian",
- "type": "analytic",
- "name": "Eulerian",
- "uri": "https://www.eulerian.com/rgpd",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.eulerianHost === undefined) {
- return;
- }
- (function(e,a){var i=e.length,y=5381,k='script',s=window,v=document,o=v.createElement(k);for(;i;){i-=1;y=(y*33)^e.charCodeAt(i)}y='_EA_'+(y>>>=0);(function(e,a,s,y){s[a]=s[a]||function(){(s[y]=s[y]||[]).push(arguments);s[y].eah=e;};}(e,a,s,y));i=new Date/1E7|0;o.ea=y;y=i%26;o.async=1;o.src='//'+e+'/'+String.fromCharCode(97+y,122-y,65+y)+(i%1E3)+'.js?2';s=v.getElementsByTagName(k)[0];s.parentNode.insertBefore(o,s);})
- (tarteaucitron.user.eulerianHost,'EA_push');
- EA_push();
- }
- };
- // posthog
- tarteaucitron.services.posthog = {
- "key": "posthog",
- "type": "other",
- "name": "Posthog",
- "uri": "https://posthog.com/privacy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.posthogApiKey === undefined || tarteaucitron.user.posthogHost === undefined) {
- return;
- }
- !function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
- posthog.init(tarteaucitron.user.posthogApiKey, {api_host: tarteaucitron.user.posthogHost});
- }
- };
- // googlesignin
- tarteaucitron.services.googlesignin = {
- "key": "googlesignin",
- "type": "other",
- "name": "Google Signin",
- "uri": "https://policies.google.com/technologies/cookies#types-of-cookies",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.addScript('https://accounts.google.com/gsi/client');
- }
- };
- // calendly
- tarteaucitron.services.calendly = {
- "key": "calendly",
- "type": "other",
- "name": "Calendly",
- "uri": "https://calendly.com/privacy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.addScript('https://assets.calendly.com/assets/external/widget.js');
- }
- };
- // tolkai
- tarteaucitron.services.tolkai = {
- "key": "tolkai",
- "type": "other",
- "name": "tolk.ai",
- "uri": "https://www.tolk.ai/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.tolkaiBot === undefined) {
- return;
- }
- window.tcfbot = tarteaucitron.user.tolkaiBot;
- window.TcfWbchtParams = { behaviour: 'default' };
- window.display = 'iframe';
- tarteaucitron.addScript('https://script.tolk.ai/iframe-latest.js');
- }
- };
- // kwanko
- tarteaucitron.services.kwanko = {
- "key": "kwanko",
- "type": "ads",
- "name": "Kwanko",
- "uri": "https://www.kwanko.com/fr/rgpd/politique-gestion-donnees/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['tac_kwanko'], function (x) {
- var mclic = x.getAttribute("data-mclic");
- return '<img src="https://action.metaffiliation.com/trk.php?mclic=' + mclic + '" width="1" height="1" border="0" />';
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'kwanko';
- tarteaucitron.fallback(['tac_kwanko'], function (elem) {
- return tarteaucitron.engage(id);
- });
- }
- };
- // leadforensics
- tarteaucitron.services.leadforensics = {
- "key": "leadforensics",
- "type": "ads",
- "name": "Lead Forensics",
- "uri": "https://www.leadforensics.com/cookie-policy/",
- "needConsent": true,
- "cookies": ['ifuuid'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.leadforensicsId === undefined) {
- return;
- }
- tarteaucitron.addScript('https://secure.team8save.com/js/sc/'+ tarteaucitron.user.leadforensicsId +'.js');
- }
- };
- // ubib
- tarteaucitron.services.ubib = {
- "key": "ubib",
- "type": "support",
- "name": "Ubib Chatbot",
- "uri": "https://ubib.libanswers.com/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.ubibId === undefined || tarteaucitron.user.ubibHash === undefined) {
- return;
- }
- tarteaucitron.addScript('https://' + tarteaucitron.user.ubibId + '.libanswers.com/load_chat.php?hash=' + tarteaucitron.user.ubibHash);
- }
- };
- // wysistathightrack
- tarteaucitron.services.wysistathightrack = {
- "key": "wysistathightrack",
- "type": "analytic",
- "name": "Wysistat (privacy by design)",
- "uri": "https://www.wysistat.net/webanalytics/exemption-cnil/",
- "needConsent": false,
- "cookies": ['wysistat'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.wysistatNom === undefined) {
- return;
- }
- window._wsq = window._wsq || [];
- window._wsq.push(['_setNom', tarteaucitron.user.wysistatNom]);
- window._wsq.push(['_wysistat']);
- tarteaucitron.addScript('https://www.wysistat.com/ws.jsa');
- }
- };
- // robofabrica
- tarteaucitron.services.robofabrica = {
- "key": "robofabrica",
- "type": "support",
- "name": "Robo Fabrica Chatbot",
- "uri": "https://robofabrica.tech/charte-vie-privee/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.robofabricaUuid === undefined) {
- return;
- }
- tarteaucitron.addScript('https://app.robofabrica.tech/widget/script', 'inceptive-cw-script', function() {
- document.getElementById('inceptive-cw-script').setAttribute('unique-url', tarteaucitron.user.robofabricaUuid);
- document.getElementById('inceptive-cw-script').setAttribute('label', 'start');
- document.getElementById('inceptive-cw-script').setAttribute('launch-btn-id', 'inceptive-cw-launch');
- document.getElementById('inceptive-cw-script').setAttribute('chat-server-url', 'https://app.robofabrica.tech:443');
- });
- }
- };
- // trustpilot
- tarteaucitron.services.trustpilot = {
- "key": "trustpilot",
- "type": "other",
- "name": "Trustpilot",
- "uri": "https://fr.legal.trustpilot.com/for-reviewers/end-user-privacy-terms",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['trustpilot-widget'], '');
- tarteaucitron.addScript('https://widget.trustpilot.com/bootstrap/v5/tp.widget.sync.bootstrap.min.js');
- },
- "fallback": function () {
- "use strict";
- var id = 'trustpilot';
- tarteaucitron.fallback(['trustpilot-widget'], function (elem) {
- elem.style.width = elem.getAttribute('data-style-width');
- elem.style.height = elem.getAttribute('data-style-height');
- return tarteaucitron.engage(id);
- });
- }
- };
- // snapchat
- tarteaucitron.services.snapchat = {
- "key": "snapchat",
- "type": "analytic",
- "name": "Snapchat",
- "uri": "https://snap.com/fr-FR/privacy/privacy-policy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.snapchatId === undefined || tarteaucitron.user.snapchatEmail === undefined) {
- return;
- }
- var a = window.snaptr = function() {
- a.handleRequest ? a.handleRequest.apply(a, arguments) : a.queue.push(arguments)
- };
- a.queue = [];
- window.snaptr('init', tarteaucitron.user.snapchatId, {
- 'user_email': tarteaucitron.user.snapchatEmail
- });
- window.snaptr('track', 'PAGE_VIEW');
- tarteaucitron.addScript('https://sc-static.net/scevent.min.js');
-
- if (typeof tarteaucitron.user.snapchatMore === 'function') {
- tarteaucitron.user.snapchatMore();
- }
- }
- };
- // antvoice
- tarteaucitron.services.antvoice = {
- "key": "antvoice",
- "type": "ads",
- "name": "antvoice",
- "uri": "https://www.antvoice.com/fr/privacy-policy/",
- "needConsent": true,
- "cookies": ['antvoice'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.antvoiceId === undefined) {
- return;
- }
- window.avDataLayer = window.avDataLayer || [];
- window.avtag = window.avtag || function(_cmd,_p) {
- window.avDataLayer.push({cmd:_cmd,p:_p});
- }
- window.avtag('setConsent', {consent:true});
- window.avtag('init', {id: tarteaucitron.user.antvoiceId});
- tarteaucitron.addScript('https://static.avads.net/avtag.min.js');
- }
- };
- // plausible
- tarteaucitron.services.plausible = {
- "key": "plausible",
- "type": "analytic",
- "name": "Plausible",
- "uri": "https://plausible.io/privacy",
- "needConsent": false,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.plausibleDomain === undefined) {
- return;
- }
- tarteaucitron.addScript('https://plausible.io/js/script.js', '', '', '', 'data-domain', tarteaucitron.user.plausibleDomain);
- }
- };
- // videas
- tarteaucitron.services.videas = {
- "key": "videas",
- "type": "video",
- "name": "Videas",
- "uri": "https://videas.fr/fr/legal",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['tac_videas'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Videas iframe'),
- width = x.getAttribute("width"),
- height = x.getAttribute("height"),
- id = x.getAttribute("data-id"),
- allowfullscreen = x.getAttribute("allowfullscreen");
- return '<iframe title="' + frame_title + '" src="https://app.videas.fr/embed/' + id + '/" width="' + width + '" height="' + height + '" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'videas';
- tarteaucitron.fallback(['tac_videas'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // myfeelback
- tarteaucitron.services.myfeelback = {
- "key": "myfeelback",
- "type": "api",
- "name": "MyFeelBack (Skeepers)",
- "uri": "https://help.myfeelback.com/fr/quels-sont-les-cookies-d%C3%A9pos%C3%A9s-par-un-dispositif-de-collecte-myfeelback",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.myfeelbackId === undefined) {
- return;
- }
- window._Mfb_useCookie = true;
- window._Mfb_ud = {
- var1: undefined,
- var2: undefined,
- varN: undefined,
- _context: {
- lang: undefined,
- privacyMode: false,
- _page: {
- url: location.pathname,
- storageDuration: 30
- }
- }
- };
- tarteaucitron.addScript('https://actorssl-5637.kxcdn.com/actor/'+tarteaucitron.user.myfeelbackId+'/action', 'MFBActor');
- }
- };
- // arcio
- tarteaucitron.services.arcio = {
- "key": "arcio",
- "type": "api",
- "name": "Arc.io",
- "uri": "https://arc.io/about",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.arcId === undefined) {
- return;
- }
- tarteaucitron.addScript('https://arc.io/widget.min.js#'+tarteaucitron.user.arcId);
- }
- };
- // doubleclick
- tarteaucitron.services.doubleclick = {
- "key": "doubleclick",
- "type": "ads",
- "name": "DoubleClick",
- "uri": "https://support.google.com/admanager/answer/2839090",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['doubleclick_container'], function (x) {
- var id1 = tarteaucitron.getElemAttr(x, "data-id1"),
- id2 = tarteaucitron.getElemAttr(x, "data-id2"),
- type = tarteaucitron.getElemAttr(x, "data-type"),
- cat = tarteaucitron.getElemAttr(x, "data-cat"),
- item = tarteaucitron.getElemAttr(x, "data-item"),
- quantity = tarteaucitron.getElemAttr(x, "data-quantity"),
- price = tarteaucitron.getElemAttr(x, "data-price"),
- postage = tarteaucitron.getElemAttr(x, "data-postage"),
- seller = tarteaucitron.getElemAttr(x, "data-seller"),
- gdpr = tarteaucitron.getElemAttr(x, "data-gdpr"),
- gdpr_consent = tarteaucitron.getElemAttr(x, "data-gdpr-consent"),
- ord = tarteaucitron.getElemAttr(x, "data-ord"),
- num = tarteaucitron.getElemAttr(x, "data-num");
- 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>';
- });
- }
- };
- // userpilot
- tarteaucitron.services.userpilot = {
- "key": "userpilot",
- "type": "analytic",
- "name": "UserPilot",
- "uri": "https://userpilot.com/privacy-policy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.userpilotToken === undefined) {
- return;
- }
- window.userpilotSettings = {token: tarteaucitron.user.userpilotToken};
- tarteaucitron.addScript('https://js.userpilot.io/sdk/latest.js');
- }
- };
- tarteaucitron.services.piwikpro = {
- "key": "piwikpro",
- "type": "analytic",
- "name": "Piwik Pro",
- "uri": "https://piwik.pro/privacy-policy/",
- "needConsent": true,
- "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.piwikProId === undefined) {
- return;
- }
- window['dataLayer'] = window['dataLayer'] || [], window['dataLayer'].push({
- start: (new Date).getTime(),
- event: "stg.start"
- });
- function stgCreateCookie(a, b, c) {
- var d = "";
- if (c) {
- var e = new Date;
- e.setTime(e.getTime() + 24 * c * 60 * 60 * 1e3), d = "; expires=" + e.toUTCString()
- }
- document.cookie = a + "=" + b + d + "; path=/"
- }
- var isStgDebug = (window.location.href.match("stg_debug") || document.cookie.match("stg_debug")) && !window.location.href.match("stg_disable_debug");
- stgCreateCookie("stg_debug", isStgDebug ? 1 : "", isStgDebug ? 14 : -1);
- var qP = [];
- var qPString = qP.length > 0 ? ("?" + qP.join("&")) : "";
- tarteaucitron.addScript('https://carsatse.containers.piwik.pro/'+tarteaucitron.user.piwikProId+'.js'+qPString);
- ! function(a, n, i) {
- a[n] = a[n] || {};
- for (var c = 0; c < i.length; c++) ! function(i) {
- a[n][i] = a[n][i] || {}, a[n][i].api = a[n][i].api || function() {
- var a = [].slice.call(arguments, 0);
- "string" == typeof a[0] && window['dataLayer'].push({
- event: n + "." + i + ":" + a[0],
- parameters: [].slice.call(arguments, 1)
- })
- }
- }(i[c])
- }(window, "ppms", ["tm", "cm"]);
- }
- };
- // pinterestpixel
- tarteaucitron.services.pinterestpixel = {
- "key": "pinterestpixel",
- "type": "ads",
- "name": "Pinterest Pixel",
- "uri": "https://help.pinterest.com/fr/business/article/track-conversions-with-pinterest-tag",
- "needConsent": true,
- "cookies": ['_pinterest_sess', '_pinterest_ct', '_pinterest_ct_mw', '_pinterest_ct_rt', '_epik', '_derived_epik', '_pin_unauth', '_pinterest_ct_ua'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.pinterestpixelId === undefined) {
- return;
- }
- if (!window.pintrk) {
- window.pintrk = function () {
- window.pintrk.queue.push(Array.prototype.slice.call(arguments));
- };
- var n = window.pintrk;
- n.queue = [];
- n.version = "3.0";
- tarteaucitron.addScript('https://s.pinimg.com/ct/core.js', '', function () {
- window.pintrk('load', tarteaucitron.user.pinterestpixelId);
- window.pintrk('page');
- });
- }
- }
- };
- // elfsight
- tarteaucitron.services.elfsight = {
- "key": "elfsight",
- "type": "support",
- "name": "Elfsight",
- "uri": "https://elfsight.com/privacy-policy/",
- "needConsent": true,
- "cookies": ['__cfduid', '_p_hfp_client_id', 'session_id'],
- "js": function () {
- "use strict";
- tarteaucitron.addScript('https://apps.elfsight.com/p/platform.js');
- }
- };
- // plezi
- tarteaucitron.services.plezi = {
- "key": "plezi",
- "type": "analytic",
- "name": "Plezi",
- "uri": "https://www.plezi.co/fr/mentions-legales/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.pleziTenant === undefined || tarteaucitron.user.pleziTw === undefined) {
- return;
- }
- tarteaucitron.addScript('https://app.plezi.co/scripts/ossleads_analytics.js?tenant=' + tarteaucitron.user.pleziTenant + '&tw=' + tarteaucitron.user.pleziTw);
- }
- };
- // smartsupp
- tarteaucitron.services.smartsupp = {
- "key": "smartsupp",
- "type": "support",
- "name": "Smartsupp",
- "uri": "https://www.smartsupp.com/help/privacy/",
- "needConsent": true,
- "cookies": ['ssupp.vid', 'ssupp.visits', 'AWSALB', 'AWSALBCORS'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.smartsuppKey === undefined) {
- return;
- }
- window._smartsupp = window._smartsupp || {};
- window._smartsupp.key = tarteaucitron.user.smartsuppKey;
- window.smartsupp = function () {
- window.smartsupp._.push(arguments)
- };
- window.smartsupp._ = [];
- tarteaucitron.addScript('https://www.smartsuppchat.com/loader.js');
- }
- };
- // sharpspring
- tarteaucitron.services.sharpspring = {
- "key": "sharpspring",
- "type": "analytic",
- "name": "SharpSpring",
- "uri": "https://sharpspring.com/legal/sharpspring-cookie-policy/",
- "needConsent": true,
- "cookies": ['koitk', '__ss', '__ss_tk', '__ss_referrer'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.ssId === undefined || tarteaucitron.user.ssAccount === undefined) {
- return;
- }
- window._ss = window._ss || [];
- window._ss.push(['_setDomain', 'https://' + tarteaucitron.user.ssId + '.marketingautomation.services/net']);
- window._ss.push(['_setAccount', tarteaucitron.user.ssAccount]);
- window._ss.push(['_trackPageView']);
- window._pa = window._pa || {};
- tarteaucitron.addScript('https://' + tarteaucitron.user.ssId + '.marketingautomation.services/client/ss.js');
- }
- };
- // pardot
- tarteaucitron.services.pardot = {
- "key": "pardot",
- "type": "analytic",
- "name": "Pardot",
- "uri": "https://www.salesforce.com/company/privacy/full_privacy/",
- "needConsent": true,
- "cookies": ['visitor_id'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.piAId === undefined || tarteaucitron.user.piCId === undefined) {
- return;
- }
- window.piAId = tarteaucitron.user.piAId;
- window.piCId = tarteaucitron.user.piCId;
- window.piHostname = 'pi.pardot.com';
- tarteaucitron.addScript('https://pi.pardot.com/pd.js');
- }
- };
- // Open Web Analytics
- tarteaucitron.services.openwebanalytics = {
- "key": "openwebanalytics",
- "type": "analytic",
- "name": "Open Web Analytics",
- "uri": "",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.openwebanalyticsId === undefined || tarteaucitron.user.openwebanalyticsHost === undefined) {
- return;
- }
- window.owa_baseUrl = tarteaucitron.user.openwebanalyticsHost;
- window.owa_cmds = window.owa_cmds || [];
- window.owa_cmds.push(['setSiteId', tarteaucitron.user.openwebanalyticsId]);
- window.owa_cmds.push(['trackPageView']);
- window.owa_cmds.push(['trackClicks']);
- tarteaucitron.addScript(window.owa_baseUrl + 'modules/base/js/owa.tracker-combined-min.js');
- }
- };
- // xandr universal pixel
- // https://docs.xandr.com/bundle/invest_invest-standard/page/topics/universal-pixel-overview.html
- tarteaucitron.services.xandr = {
- "key": "xandr",
- "type": "ads",
- "name": "Xandr (Universal)",
- "uri": "https://www.xandr.com/privacy/cookie-policy/",
- "needConsent": true,
- "cookies": ['uuid2', 'uids', 'sess', 'icu', 'anj', 'usersync'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.xandrId === undefined) {
- return;
- }
- if (!window.pixie) {
- var n = window.pixie = function (e, i, a) {
- n.actionQueue.push({
- action: e,
- actionValue: i,
- params: a
- })
- };
- n.actionQueue = [];
- }
- tarteaucitron.addScript('https://acdn.adnxs.com/dmp/up/pixie.js', '', function () {
- window.pixie('init', tarteaucitron.user.xandrId);
- window.pixie('event', 'PageView');
- });
- }
- };
- // xandr segment
- // https://docs.xandr.com/bundle/invest_invest-standard/page/topics/segment-pixels-advanced.html
- tarteaucitron.services.xandrsegment = {
- "key": "xandrsegment",
- "type": "ads",
- "name": "Xandr (Segment)",
- "uri": "https://www.xandr.com/privacy/cookie-policy/",
- "needConsent": true,
- "cookies": ['uuid2', 'uids', 'sess', 'icu', 'anj', 'usersync'],
- "js": function () {
- "use strict";
- var uniqIds = [],
- i,
- uri;
- tarteaucitron.fallback(['xandrsegment-canvas'], function (x) {
- var uniqId = '_' + Math.random().toString(36).substr(2, 9);
- uniqIds.push(uniqId);
- 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>';
- });
- for (i = 0; i < uniqIds.length; i += 1) {
- uri = '//ib.adnxs.com/seg?t=2&';
- uri += 'add=' + document.getElementById(uniqIds[i]).getAttribute('xandrsegmentAdd') + '&';
- uri += 'add_code=' + document.getElementById(uniqIds[i]).getAttribute('xandrsegmentAddCode') + '&';
- uri += 'remove=' + document.getElementById(uniqIds[i]).getAttribute('xandrsegmentRemove') + '&';
- uri += 'remove_code=' + document.getElementById(uniqIds[i]).getAttribute('xandrsegmentRemoveCode') + '&';
- uri += 'member=' + document.getElementById(uniqIds[i]).getAttribute('xandrsegmentMember') + '&';
- uri += 'redir=' + document.getElementById(uniqIds[i]).getAttribute('xandrsegmentRedir') + '&';
- uri += 'value=' + document.getElementById(uniqIds[i]).getAttribute('xandrsegmentValue') + '&';
- uri += 'other=' + document.getElementById(uniqIds[i]).getAttribute('xandrsegmentOther');
- document.getElementById(uniqIds[i]).innerHTML = '<img src=\'' + uri + '\' width=\'1\' height=\'1\' />';
- }
- },
- "fallback": function () {
- "use strict";
- var id = 'xandrsegment';
- tarteaucitron.fallback(['xandrsegment-canvas'], tarteaucitron.engage(id));
- }
- };
- // xandr conversion
- // https://docs.xandr.com/bundle/invest_invest-standard/page/topics/working-with-conversion-pixels.html
- tarteaucitron.services.xandrconversion = {
- "key": "xandrconversion",
- "type": "ads",
- "name": "Xandr (Conversion)",
- "uri": "https://www.xandr.com/privacy/cookie-policy/",
- "needConsent": true,
- "cookies": ['uuid2', 'uids', 'sess', 'icu', 'anj', 'usersync'],
- "js": function () {
- "use strict";
- var uniqIds = [],
- i,
- uri;
- tarteaucitron.fallback(['xandrconversion-canvas'], function (x) {
- var uniqId = '_' + Math.random().toString(36).substr(2, 9);
- uniqIds.push(uniqId);
- 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>';
- });
- for (i = 0; i < uniqIds.length; i += 1) {
- uri = '//ib.adnxs.com/px?t=2&';
- uri += 'id=' + document.getElementById(uniqIds[i]).getAttribute('xandrconversionId') + '&';
- uri += 'seg=' + document.getElementById(uniqIds[i]).getAttribute('xandrconversionSeg') + '&';
- uri += 'order_id=' + document.getElementById(uniqIds[i]).getAttribute('xandrconversionOrderId') + '&';
- uri += 'value=' + document.getElementById(uniqIds[i]).getAttribute('xandrconversionValue') + '&';
- uri += 'redir=' + document.getElementById(uniqIds[i]).getAttribute('xandrconversionRedir') + '&';
- uri += 'other=' + document.getElementById(uniqIds[i]).getAttribute('xandrconversionOther');
- document.getElementById(uniqIds[i]).innerHTML = '<img src=\'' + uri + '\' width=\'1\' height=\'1\' />';
- }
- },
- "fallback": function () {
- "use strict";
- var id = 'xandrconversion';
- tarteaucitron.fallback(['xandrconversion-canvas'], tarteaucitron.engage(id));
- }
- };
- // helloasso
- tarteaucitron.services.helloasso = {
- "key": "helloasso",
- "type": "api",
- "name": "HelloAsso",
- "uri": "https://www.helloasso.com/confidentialite",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['tac_helloasso'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'HelloAsso iframe'),
- width = x.getAttribute("width"),
- height = x.getAttribute("height"),
- url = x.getAttribute("data-url"),
- allowfullscreen = x.getAttribute("allowfullscreen");
- return '<iframe title="' + frame_title + '" id="haWidget" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'helloasso';
- tarteaucitron.fallback(['tac_helloasso'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // podcloud
- tarteaucitron.services.podcloud = {
- "key": "podcloud",
- "type": "video",
- "name": "podCloud",
- "uri": "https://podcloud.fr/privacy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['tac_podcloud'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'podCloud iframe'),
- width = x.getAttribute("width"),
- height = x.getAttribute("height"),
- url = x.getAttribute("data-url"),
- allowfullscreen = x.getAttribute("allowfullscreen");
- return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'podcloud';
- tarteaucitron.fallback(['tac_podcloud'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // facebookpost
- tarteaucitron.services.facebookpost = {
- "key": "facebookpost",
- "type": "social",
- "name": "Facebook (post)",
- "uri": "https://www.facebook.com/policy.php",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['tac_facebookpost'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Facebook iframe'),
- width = x.getAttribute("width"),
- height = x.getAttribute("height"),
- url = x.getAttribute("data-url"),
- appId = x.getAttribute("data-appid"),
- allowfullscreen = x.getAttribute("allowfullscreen"),
- showText = x.getAttribute("data-show-text");
- return '<iframe title="' + frame_title + '" src="https://www.facebook.com/plugins/post.php?href=' + encodeURIComponent(url) + '&width=' + width + '&show_text=false&appId=' + appId + '&show_text=' + showText + '&height=' + height + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'facebookpost';
- tarteaucitron.fallback(['tac_facebookpost'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // amplitude
- tarteaucitron.services.amplitude = {
- "key": "amplitude",
- "type": "analytic",
- "name": "Amplitude",
- "uri": "https://amplitude.com/privacy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.amplitude === undefined) {
- return;
- }
- tarteaucitron.addScript('https://cdn.amplitude.com/libs/amplitude-5.8.0-min.gz.js', '', function () {
- window.amplitude = {
- _q: [],
- _iq: {}
- };
- function s(e, t) { e.prototype[t] = function () { this._q.push([t].concat(Array.prototype.slice.call(arguments, 0))); return this } }
- var o = function () { this._q = []; return this };
- var a = ["add", "append", "clearAll", "prepend", "set", "setOnce", "unset"];
- for (var u = 0; u < a.length; u++) { s(o, a[u]) }
- amplitude.Identify = o;
- var c = function () { this._q = []; return this };
- var l = ["setProductId", "setQuantity", "setPrice", "setRevenueType", "setEventProperties"];
- for (var p = 0; p < l.length; p++) { s(c, l[p]) }
- amplitude.Revenue = c;
- var d = ["init", "logEvent", "logRevenue", "setUserId", "setUserProperties", "setOptOut", "setVersionName", "setDomain", "setDeviceId", "enableTracking", "setGlobalUserProperties", "identify", "clearUserProperties", "setGroup", "logRevenueV2", "regenerateDeviceId", "groupIdentify", "onInit", "logEventWithTimestamp", "logEventWithGroups", "setSessionId", "resetSessionId"];
- 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]) } }
- v(amplitude);
- 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] };
- amplitude.getInstance().init(tarteaucitron.user.amplitude);
- });
- }
- };
- // abtasty
- tarteaucitron.services.abtasty = {
- "key": "abtasty",
- "type": "api",
- "name": "ABTasty",
- "uri": "https://www.abtasty.com/terms-of-use/",
- "needConsent": true,
- "cookies": ['ABTasty', 'ABTastySession'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.abtastyID === undefined) {
- return;
- }
- tarteaucitron.addScript('//try.abtasty.com/' + tarteaucitron.user.abtastyID + '.js');
- }
- };
- // yandex metrica
- tarteaucitron.services.metrica = {
- "key": "metrica",
- "type": "analytic",
- "name": "Yandex Metrica",
- "uri": "https://yandex.com/legal/confidential/",
- "needConsent": true,
- "cookies": ['_ym_metrika_enabled', '_ym_isad', '_ym_uid', '_ym_d', 'yabs-sid', '_ym_debug', '_ym_mp2_substs', '_ym_hostIndex', '_ym_mp2_track', 'yandexuid', 'usst'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.yandexmetrica === undefined) {
- return;
- }
- tarteaucitron.addScript('https://mc.yandex.ru/metrika/tag.js', '', function () {
- (function (m, e, t, r, i, k, a) {
- m[i] = m[i] || function () { (m[i].a = m[i].a || []).push(arguments) };
- 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)
- })
- (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
- ym(tarteaucitron.user.yandexmetrica, "init", {
- clickmap: true,
- trackLinks: true,
- accurateTrackBounce: true,
- webvisor: true,
- ecommerce: "dataLayer"
- });
- });
- }
- };
- // addthis
- tarteaucitron.services.addthis = {
- "key": "addthis",
- "type": "social",
- "name": "AddThis",
- "uri": "https://www.addthis.com/privacy/privacy-policy#publisher-visitors",
- "needConsent": true,
- "cookies": ['__atuvc', '__atuvs'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.addthisPubId === undefined) {
- return;
- }
- if (tarteaucitron.isAjax === true) {
- window.addthis = null;
- window._adr = null;
- window._atc = null;
- window._atd = null;
- window._ate = null;
- window._atr = null;
- window._atw = null;
- }
- tarteaucitron.fallback(['addthis_inline_share_toolbox'], '');
- tarteaucitron.addScript('//s7.addthis.com/js/300/addthis_widget.js#pubid=' + tarteaucitron.user.addthisPubId);
- },
- "fallback": function () {
- "use strict";
- var id = 'addthis';
- tarteaucitron.fallback(['addthis_inline_share_toolbox'], tarteaucitron.engage(id));
- }
- };
- // addtoanyfeed
- tarteaucitron.services.addtoanyfeed = {
- "key": "addtoanyfeed",
- "type": "social",
- "name": "AddToAny (feed)",
- "uri": "https://www.addtoany.com/privacy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.addtoanyfeedUri === undefined) {
- return;
- }
- tarteaucitron.user.addtoanyfeedSubscribeLink = 'https://www.addtoany.com/subscribe?linkurl=' + tarteaucitron.user.addtoanyfeedUri;
- window.a2a_config = window.a2a_config || {};
- window.a2a_config.linkurl = tarteaucitron.user.addtoanyfeedUri;
- tarteaucitron.addScript('//static.addtoany.com/menu/feed.js');
- },
- "fallback": function () {
- "use strict";
- tarteaucitron.user.addtoanyfeedSubscribeLink = 'https://www.addtoany.com/subscribe?linkurl=' + tarteaucitron.user.addtoanyfeedUri;
- }
- };
- // addtoanyshare
- tarteaucitron.services.addtoanyshare = {
- "key": "addtoanyshare",
- "type": "social",
- "name": "AddToAny (share)",
- "uri": "https://www.addtoany.com/privacy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['tac_addtoanyshare'], function (elem) {
- elem.remove();
- }, true);
- tarteaucitron.addScript('//static.addtoany.com/menu/page.js');
- },
- "fallback": function () {
- "use strict";
- var id = 'addtoanyshare';
- tarteaucitron.fallback(['tac_addtoanyshare'], tarteaucitron.engage(id));
- }
- };
- // aduptech ads
- tarteaucitron.services.aduptech_ads = {
- "key": "aduptech_ads",
- "type": "ads",
- "name": "Ad Up Technology (ads)",
- "uri": "https://www.adup-tech.com/datenschutz",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- var IDENTIFIER = "aduptech_ads",
- API_URL = "https://s.d.adup-tech.com/jsapi";
- var elements = document.getElementsByClassName(IDENTIFIER);
- if (!elements || elements.length === 0) {
- return;
- }
- tarteaucitron.fallback([IDENTIFIER], "");
- tarteaucitron.addScript(API_URL, "", function () {
- for (var i = 0; i < elements.length; i++) {
- var element = elements[i];
- if (!element.getAttribute("id")) {
- element.setAttribute("id", IDENTIFIER + Math.random().toString(36).substr(2, 9));
- }
- window.uAd.embed(element.getAttribute("id"), {
- placementKey: element.getAttribute("placementKey"),
- responsive: Boolean(element.getAttribute("responsive")),
- lazy: Boolean(element.getAttribute("lazy")),
- adtest: Boolean(element.getAttribute("test")),
- query: element.getAttribute("query") || "",
- minCpc: element.getAttribute("minCpc") || "",
- pageUrl: element.getAttribute("pageUrl") || "",
- skip: element.getAttribute("skip") || ""
- });
- }
- });
- },
- "fallback": function () {
- "use strict";
- tarteaucitron.fallback(["aduptech_ads"], tarteaucitron.engage("aduptech_ads"));
- }
- };
- // aduptech conversion
- tarteaucitron.services.aduptech_conversion = {
- "key": "aduptech_conversion",
- "type": "ads",
- "name": "Ad Up Technology (conversion)",
- "uri": "https://www.adup-tech.com/datenschutz",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- var IDENTIFIER = "aduptech_conversion",
- CONVERSION_PIXEL_BASE_URL = "https://d.adup-tech.com/campaign/conversion";
- var elements = document.getElementsByClassName(IDENTIFIER);
- if (!elements || elements.length === 0) {
- return;
- }
- tarteaucitron.fallback([IDENTIFIER], "");
- for (var i = 0; i < elements.length; i++) {
- var element = elements[i];
- if (!element.getAttribute("advertiserId") || !element.getAttribute("conversionCode")) {
- continue;
- }
- var url = CONVERSION_PIXEL_BASE_URL +
- "/" + encodeURIComponent(element.getAttribute("advertiserId")) +
- "?t=" + encodeURIComponent(element.getAttribute("conversionCode"));
- if (element.getAttribute("price")) {
- url += "&price=" + encodeURIComponent(element.getAttribute("price"));
- }
- if (element.getAttribute("quantity")) {
- url += "&quantity=" + encodeURIComponent(element.getAttribute("quantity"));
- }
- if (element.getAttribute("total")) {
- url += "&total=" + encodeURIComponent(element.getAttribute("total"));
- }
- if (element.getAttribute("orderId")) {
- url += "&order_id=" + encodeURIComponent(element.getAttribute("orderId"));
- }
- if (element.getAttribute("itemNumber")) {
- url += "&item_number=" + encodeURIComponent(element.getAttribute("itemNumber"));
- }
- if (element.getAttribute("description")) {
- url += "&description=" + encodeURIComponent(element.getAttribute("description"));
- }
- (new Image()).src = url;
- }
- }
- };
- // aduptech retargeting
- tarteaucitron.services.aduptech_retargeting = {
- "key": "aduptech_retargeting",
- "type": "ads",
- "name": "Ad Up Technology (retargeting)",
- "uri": "https://www.adup-tech.com/datenschutz",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- var IDENTIFIER = "aduptech_retargeting",
- API_URL = "https://s.d.adup-tech.com/services/retargeting.js";
- var elements = document.getElementsByClassName(IDENTIFIER);
- if (!elements || elements.length === 0) {
- return;
- }
- tarteaucitron.fallback([IDENTIFIER], "");
- window.AdUpRetargeting = function (api) {
- for (var i = 0; i < elements.length; i++) {
- var element = elements[i];
- api.init();
- api.setAccount(element.getAttribute("account"));
- if (element.getAttribute("email")) {
- api.setEmail(element.getAttribute("email"));
- } else if (element.getAttribute("hashedEmail")) {
- api.setHashedEmail(element.getAttribute("hashedEmail"));
- }
- if (element.getAttribute("product")) {
- try {
- api.setProduct(JSON.parse(element.getAttribute("product")));
- } catch (e) {
- api.setProduct(element.getAttribute("product"));
- }
- }
- if (element.getAttribute("transaction")) {
- try {
- api.setTransaction(JSON.parse(element.getAttribute("transaction")));
- } catch (e) {
- api.setTransaction(element.getAttribute("transaction"));
- }
- }
- if (element.getAttribute("demarkUser")) {
- api.setDemarkUser();
- } else if (element.getAttribute("demarkProducts")) {
- api.setDemarkProducts();
- }
- if (element.getAttribute("conversionCode")) {
- api.setConversionCode(element.getAttribute("conversionCode"));
- }
- if (element.getAttribute("device")) {
- var setter = "set" + element.getAttribute("device").charAt(0).toUpperCase() + element.getAttribute("device").slice(1);
- if (typeof api[setter] === 'function') {
- api[setter]();
- }
- }
- if (element.getAttribute("track")) {
- var tracker = "track" + element.getAttribute("track").charAt(0).toUpperCase() + element.getAttribute("track").slice(1);
- if (typeof api[tracker] === "function") {
- api[tracker]();
- } else {
- api.trackHomepage();
- }
- }
- };
- };
- tarteaucitron.addScript(API_URL);
- }
- };
- // alexa
- tarteaucitron.services.alexa = {
- "key": "alexa",
- "type": "analytic",
- "name": "Alexa",
- "uri": "https://www.alexa.com/help/privacy",
- "needConsent": true,
- "cookies": ['__asc', '__auc'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.alexaAccountID === undefined) {
- return;
- }
- window._atrk_opts = {
- atrk_acct: tarteaucitron.user.alexaAccountID,
- domain: window.location.hostname.match(/[^\.]*\.[^.]*$/)[0],
- dynamic: true
- };
- tarteaucitron.addScript('https://d31qbv1cthcecs.cloudfront.net/atrk.js');
- }
- };
- // amazon
- tarteaucitron.services.amazon = {
- "key": "amazon",
- "type": "ads",
- "name": "Amazon",
- "uri": "https://www.amazon.com/gp/help/customer/display.html/ref=help_search_1-1?ie=UTF8&nodeId=201909010&qid=1544617177&sr=1-1",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['amazon_product'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Amazon iframe'),
- amazonId = x.getAttribute("amazonid"),
- productId = x.getAttribute("productid"),
- 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®ion=' + tarteaucitron.getLanguage().toUpperCase() + '&placement=' + productId + '&asins=' + productId + '&show_border=true&link_opens_in_new_window=true',
- iframe = '<iframe title="' + frame_title + '" style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" src="' + url + '"></iframe>';
- return iframe;
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'amazon';
- tarteaucitron.fallback(['amazon_product'], tarteaucitron.engage(id));
- }
- };
- // calameo
- tarteaucitron.services.calameo = {
- "key": "calameo",
- "type": "video",
- "name": "Calameo",
- "uri": "https://fr.calameo.com/privacy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['calameo-canvas'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Calameo iframe'),
- id = x.getAttribute("data-id"),
- width = x.getAttribute("width"),
- height = x.getAttribute("height"),
- url = '//v.calameo.com/?bkcode=' + id,
- allowfullscreen = x.getAttribute("allowfullscreen");
- return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency ' + (allowfullscreen == '0' ? '' : ' webkitallowfullscreen mozallowfullscreen allowfullscreen') + '></iframe>';
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'calameo';
- tarteaucitron.fallback(['calameo-canvas'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // clicky
- tarteaucitron.services.clicky = {
- "key": "clicky",
- "type": "analytic",
- "name": "Clicky",
- "uri": "https://clicky.com/terms",
- "needConsent": true,
- "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],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.clickyId === undefined) {
- return;
- }
- tarteaucitron.addScript('//static.getclicky.com/js', '', function () {
- if (typeof clicky.init === 'function') {
- clicky.init(tarteaucitron.user.clickyId);
- }
- if (typeof tarteaucitron.user.clickyMore === 'function') {
- tarteaucitron.user.clickyMore();
- }
- });
- }
- };
- // clicmanager
- tarteaucitron.services.clicmanager = {
- "key": "clicmanager",
- "type": "ads",
- "name": "Clicmanager",
- "uri": "http://www.clicmanager.fr/infos_legales.php",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- var uniqIds = [],
- i,
- uri;
- tarteaucitron.fallback(['clicmanager-canvas'], function (x) {
- var uniqId = '_' + Math.random().toString(36).substr(2, 9);
- uniqIds.push(uniqId);
- return '<div id="' + uniqId + '" c="' + x.getAttribute('c') + '" s="' + x.getAttribute('s') + '" t="' + x.getAttribute('t') + '"></div>';
- });
- for (i = 0; i < uniqIds.length; i += 1) {
- uri = '//ads.clicmanager.fr/exe.php?';
- uri += 'c=' + document.getElementById(uniqIds[i]).getAttribute('c') + '&';
- uri += 's=' + document.getElementById(uniqIds[i]).getAttribute('s') + '&';
- uri += 't=' + document.getElementById(uniqIds[i]).getAttribute('t');
- tarteaucitron.makeAsync.init(uri, uniqIds[i]);
- }
- },
- "fallback": function () {
- "use strict";
- var id = 'clicmanager';
- tarteaucitron.fallback(['clicmanager-canvas'], tarteaucitron.engage(id));
- }
- };
- // compteur
- tarteaucitron.services.compteur = {
- "key": "compteur",
- "type": "analytic",
- "name": "Compteur.fr",
- "uri": "https://www.compteur.fr/help_privacy_policy.htm",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.compteurID === undefined) {
- return;
- }
- tarteaucitron.addScript('https://server2.compteur.fr/log7.js', '', function () { wtslog7(tarteaucitron.user.compteurID, 1); });
- }
- };
- // contentsquare
- tarteaucitron.services.contentsquare = {
- "key": "contentsquare",
- "type": "api",
- "name": "ContentSquare",
- "uri": "https://docs.contentsquare.com/uxa-en/#collected-data",
- "needConsent": true,
- "cookies": ['_cs_id', '_cs_s', '_cs_vars', '_cs_ex', '_cs_c', '_cs_optout'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.contentsquareID === undefined) {
- return;
- }
- tarteaucitron.addScript('//t.contentsquare.net/uxa/' + tarteaucitron.user.contentsquareID + '.js');
- }
- };
- // crazyegg
- tarteaucitron.services.crazyegg = {
- "key": "crazyegg",
- "type": "analytic",
- "name": "Crazy Egg",
- "uri": "https://www.crazyegg.com/privacy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.crazyeggId === undefined) {
- return;
- }
- tarteaucitron.addScript('//script.crazyegg.com/pages/scripts/' + tarteaucitron.user.crazyeggId.substr(0, 4) + '/' + tarteaucitron.user.crazyeggId.substr(4, 4) + '.js');
- }
- };
- // clarity
- tarteaucitron.services.clarity = {
- "key": "clarity",
- "type": "analytic",
- "name": "Clarity",
- "uri": "https://clarity.microsoft.com/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- window["clarity"] = window["clarity"] || function () { (window["clarity"].q = window["clarity"].q || []).push(arguments) };
- tarteaucitron.addScript('https://www.clarity.ms/tag/' + tarteaucitron.user.clarity);
- }
- };
- // Microsoft Clarity
- tarteaucitron.services.clarityMs = {
- "key": "clarityMs",
- "type": "Heatmaps & Session record",
- "name": "Microsoft Clarity (clarity.js)",
- "uri": "https://docs.microsoft.com/en-us/clarity/faq",
- "needConsent": false,
- "cookies": ['_clck', '_uetmsclkid', '_uetvid'],
- "js": function () {
- "use strict";
- window.dataLayer = window.dataLayer || [];
- window.clarity = window.clarity || function(){
- (window.clarity.q = window.clarity.q ||[]).push(arguments);
- }
- tarteaucitron.addScript('https://www.clarity.ms/tag/' + tarteaucitron.user.clarityMs, '', function () {
- if (typeof tarteaucitron.user.clarityMsMore === 'function') {
- tarteaucitron.user.clarityMsMore();
- }
- });
- }
- };
- // criteo
- tarteaucitron.services.criteo = {
- "key": "criteo",
- "type": "ads",
- "name": "Criteo",
- "uri": "http://www.criteo.com/privacy/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- document.MAX_ct0 = '';
- var uniqIds = [],
- i,
- uri;
- tarteaucitron.fallback(['criteo-canvas'], function (x) {
- var uniqId = '_' + Math.random().toString(36).substr(2, 9);
- uniqIds.push(uniqId);
- return '<div id="' + uniqId + '" zoneid="' + x.getAttribute('zoneid') + '"></div>';
- });
- for (i = 0; i < uniqIds.length; i += 1) {
- uri = '//cas.criteo.com/delivery/ajs.php?';
- uri += 'zoneid=' + document.getElementById(uniqIds[i]).getAttribute('zoneid');
- uri += '&nodis=1&cb=' + Math.floor(Math.random() * 99999999999);
- uri += '&loc=' + encodeURI(window.location);
- uri += (document.MAX_used !== ',') ? '&exclude=' + document.MAX_used : '';
- uri += (document.charset !== undefined ? '&charset=' + document.charset : '');
- uri += (document.characterSet !== undefined ? '&charset=' + document.characterSet : '');
- uri += (document.referrer !== undefined) ? '&referer=' + encodeURI(document.referrer) : '';
- uri += (document.context !== undefined) ? '&context=' + encodeURI(document.context) : '';
- uri += ((document.MAX_ct0 !== undefined) && (document.MAX_ct0.substring(0, 4) === 'http')) ? '&ct0=' + encodeURI(document.MAX_ct0) : '';
- uri += (document.mmm_fo !== undefined) ? '&mmm_fo=1' : '';
- tarteaucitron.makeAsync.init(uri, uniqIds[i]);
- }
- },
- "fallback": function () {
- "use strict";
- var id = 'criteo';
- tarteaucitron.fallback(['criteo-canvas'], tarteaucitron.engage(id));
- }
- };
- // criteo onetag
- tarteaucitron.services.criteoonetag = {
- "key": "criteoonetag",
- "type": "ads",
- "name": "Criteo OneTag",
- "uri": "https://www.criteo.com/privacy/",
- "needConsent": true,
- "cookies": ['uid', 'tk', 'uid3pd'],
- "js": function() {
- "use strict";
- if (tarteaucitron.user.criteoonetagAccount === undefined) return;
- window.criteo_q = window.criteo_q || [];
- window.criteo_q.push({
- event: "setAccount",
- account: tarteaucitron.user.criteoonetagAccount
- })
- tarteaucitron.addScript('//static.criteo.net/js/ld/ld.js', '', function() {
- if (typeof tarteaucitron.user.criteoonetagMore === 'function') {
- tarteaucitron.user.criteoonetagMore();
- }
- });
- }
- };
- // artetv
- tarteaucitron.services.artetv = {
- "key": "artetv",
- "type": "video",
- "name": "Arte.tv",
- "uri": "https://www.arte.tv/sites/fr/corporate/donnees-personnelles/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['artetv_player'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Arte.tv iframe'),
- video_json = x.getAttribute("json"),
- video_width = x.getAttribute("width"),
- video_height = x.getAttribute("height"),
- video_frame,
- video_allowfullscreen = x.getAttribute("allowfullscreen");
- if (video_json === undefined) {
- return "";
- }
- 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>';
- return video_frame;
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'artetv';
- tarteaucitron.fallback(['artetv_player'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // dailymotion
- tarteaucitron.services.dailymotion = {
- "key": "dailymotion",
- "type": "video",
- "name": "Dailymotion",
- "uri": "https://www.dailymotion.com/legal/privacy",
- "needConsent": true,
- "cookies": ['ts', 'dmvk', 'hist', 'v1st', 's_vi'],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['dailymotion_player'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(tarteaucitron.getElemAttr(x, "title") || 'Dailymotion iframe'),
- video_id = tarteaucitron.getElemAttr(x, "videoID"),
- video_width = tarteaucitron.getElemAttr(x, "width"),
- frame_width = 'width=',
- video_height = tarteaucitron.getElemAttr(x, "height"),
- frame_height = 'height=',
- video_frame,
- embed_type = tarteaucitron.getElemAttr(x, "embedType"),
- allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen"),
- showinfo = tarteaucitron.getElemAttr(x, "showinfo"),
- autoplay = tarteaucitron.getElemAttr(x, "autoplay"),
- api = tarteaucitron.getElemAttr(x, "api"),
- params = 'info=' + showinfo + '&autoPlay=' + autoplay + '&api=' + api;
- if (video_id === undefined) {
- return "";
- }
- if (video_width !== undefined) {
- frame_width += '"' + video_width + '" ';
- } else {
- frame_width += '"" ';
- }
- if (video_height !== undefined) {
- frame_height += '"' + video_height + '" ';
- } else {
- frame_height += '"" ';
- }
- if (embed_type === undefined || !['video', 'playlist'].includes(embed_type)) {
- embed_type = "video";
- }
- 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>';
- return video_frame;
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'dailymotion';
- tarteaucitron.fallback(['dailymotion_player'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // dating affiliation
- tarteaucitron.services.datingaffiliation = {
- "key": "datingaffiliation",
- "type": "ads",
- "name": "Dating Affiliation",
- "uri": "http://www.dating-affiliation.com/conditions-generales.php",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['datingaffiliation-canvas'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Dating Affiliation iframe'),
- comfrom = x.getAttribute("data-comfrom"),
- r = x.getAttribute("data-r"),
- p = x.getAttribute("data-p"),
- cf0 = x.getAttribute("data-cf0"),
- langue = x.getAttribute("data-langue"),
- forward_affiliate = x.getAttribute("data-forwardAffiliate"),
- cf2 = x.getAttribute("data-cf2"),
- cfsa2 = x.getAttribute("data-cfsa2"),
- width = x.getAttribute("width"),
- height = x.getAttribute("height"),
- url = 'http://www.tools-affil2.com/rotaban/ban.php?' + comfrom;
- 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>';
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'datingaffiliation';
- tarteaucitron.fallback(['datingaffiliation-canvas'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // dating affiliation popup
- tarteaucitron.services.datingaffiliationpopup = {
- "key": "datingaffiliationpopup",
- "type": "ads",
- "name": "Dating Affiliation (Pop Up)",
- "uri": "http://www.dating-affiliation.com/conditions-generales.php",
- "needConsent": true,
- "cookies": ['__utma', '__utmb', '__utmc', '__utmt_Tools', '__utmv', '__utmz', '_ga', '_gat', '_gat_UA-65072040-17', '__da-pu-xflirt-ID-pc-o169'],
- "js": function () {
- "use strict";
- var uniqIds = [],
- i,
- uri;
- tarteaucitron.fallback(['datingaffiliationpopup-canvas'], function (x) {
- var uniqId = '_' + Math.random().toString(36).substr(2, 9);
- uniqIds.push(uniqId);
- 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>';
- });
- for (i = 0; i < uniqIds.length; i += 1) {
- uri = 'http://www.promotools.biz/da/popunder/script.php?';
- uri += 'comfrom=' + document.getElementById(uniqIds[i]).getAttribute('comfrom') + '&';
- uri += 'promo=' + document.getElementById(uniqIds[i]).getAttribute('promo') + '&';
- uri += 'product_id=' + document.getElementById(uniqIds[i]).getAttribute('productid') + '&';
- uri += 'submitconfig=' + document.getElementById(uniqIds[i]).getAttribute('submitconfig') + '&';
- uri += 'ur=' + document.getElementById(uniqIds[i]).getAttribute('ur') + '&';
- uri += 'brand=' + document.getElementById(uniqIds[i]).getAttribute('brand') + '&';
- uri += 'lang=' + document.getElementById(uniqIds[i]).getAttribute('lang') + '&';
- uri += 'cf0=' + document.getElementById(uniqIds[i]).getAttribute('cf0') + '&';
- uri += 'cf2=' + document.getElementById(uniqIds[i]).getAttribute('cf2') + '&';
- uri += 'subid1=' + document.getElementById(uniqIds[i]).getAttribute('subid1') + '&';
- uri += 'cfsa2=' + document.getElementById(uniqIds[i]).getAttribute('cfsa2') + '&';
- uri += 'subid2=' + document.getElementById(uniqIds[i]).getAttribute('subid2') + '&';
- uri += 'nicheId=' + document.getElementById(uniqIds[i]).getAttribute('nicheid') + '&';
- uri += 'degreId=' + document.getElementById(uniqIds[i]).getAttribute('degreid') + '&';
- uri += 'bt=' + document.getElementById(uniqIds[i]).getAttribute('bt') + '&';
- uri += 'vis=' + document.getElementById(uniqIds[i]).getAttribute('vis') + '&';
- uri += 'hid=' + document.getElementById(uniqIds[i]).getAttribute('hid') + '&';
- uri += 'snd=' + document.getElementById(uniqIds[i]).getAttribute('snd') + '&';
- uri += 'aabd=' + document.getElementById(uniqIds[i]).getAttribute('aabd') + '&';
- uri += 'aabs=' + document.getElementById(uniqIds[i]).getAttribute('aabs');
- tarteaucitron.makeAsync.init(uri, uniqIds[i]);
- }
- },
- "fallback": function () {
- "use strict";
- var id = 'datingaffiliationpopup';
- tarteaucitron.fallback(['datingaffiliationpopup-canvas'], tarteaucitron.engage(id));
- }
- };
- // deezer
- tarteaucitron.services.deezer = {
- "key": "deezer",
- "type": "video",
- "name": "Deezer",
- "uri": "https://www.deezer.com/legal/personal-datas",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['deezer_player'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Deezer iframe'),
- deezer_id = x.getAttribute("deezerID"),
- deezer_width = x.getAttribute("width"),
- frame_width = 'width=',
- deezer_height = x.getAttribute("height"),
- frame_height = 'height=',
- deezer_frame,
- embed_theme = x.getAttribute("theme"),
- embed_type = x.getAttribute("embedType"),
- radius = x.getAttribute("radius"),
- tracklist = x.getAttribute("tracklist"),
- allowfullscreen = x.getAttribute("allowfullscreen"),
- params;
- if (deezer_id === undefined) {
- return "";
- }
- if (deezer_width !== undefined) {
- frame_width += '"' + deezer_width + '" ';
- } else {
- frame_width += '"" ';
- }
- if (deezer_height !== undefined) {
- frame_height += '"' + deezer_height + '" ';
- } else {
- frame_height += '"" ';
- }
- if (embed_theme === undefined || !['auto', 'light', 'dark'].includes(embed_theme)) {
- embed_theme = "auto";
- }
- if (embed_type === undefined || !['album', 'track', 'playlist'].includes(embed_type)) {
- embed_type = "album";
- }
- if (radius === undefined || !['true', 'false'].includes(radius)) {
- radius = "true";
- }
- if (tracklist === undefined || !['true', 'false'].includes(tracklist)) {
- tracklist = "true";
- }
- params = 'tracklist=' + tracklist + '&radius=' + radius;
- 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>';
- return deezer_frame;
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'deezer';
- tarteaucitron.fallback(['deezer_player'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // leadforensics
- tarteaucitron.services.leadforensics = {
- "key": "leadforensics",
- "type": "analytic",
- "name": "LeadForensics",
- "uri": "https://www.leadforensics.com/privacy-policy/",
- "needConsent": true,
- "cookies": ['trackalyzer'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.leadforensicsSf14gv === undefined ||
- tarteaucitron.user.leadforensicsIidentifier === undefined) {
- return;
- }
- window.sf14gv = tarteaucitron.user.leadforensicsSf14gv;
- (function () {
- var sf14g = document.createElement('script'); sf14g.async = true;
- sf14g.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 't.sf14g.com/sf14g.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sf14g, s);
- })();
- tarteaucitron.addScript('//secure.leadforensics.com/js/' + tarteaucitron.user.leadforensicsIidentifier + '.js');
- }
- };
- // disqus
- tarteaucitron.services.disqus = {
- "key": "disqus",
- "type": "comment",
- "name": "Disqus",
- "uri": "https://help.disqus.com/customer/portal/articles/466259-privacy-policy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.disqusShortname === undefined) {
- return;
- }
- tarteaucitron.addScript('//' + tarteaucitron.user.disqusShortname + '.disqus.com/embed.js');
- tarteaucitron.addScript('//' + tarteaucitron.user.disqusShortname + '.disqus.com/count.js');
- },
- "fallback": function () {
- "use strict";
- var id = 'disqus';
- if (document.getElementById('disqus_thread')) {
- document.getElementById('disqus_thread').innerHTML = tarteaucitron.engage(id);
- }
- }
- };
- // ekomi
- tarteaucitron.services.ekomi = {
- "key": "ekomi",
- "type": "social",
- "name": "eKomi",
- "uri": "http://www.ekomi-us.com/us/privacy/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.ekomiCertId === undefined) {
- return;
- }
- window.eKomiIntegrationConfig = [
- { certId: tarteaucitron.user.ekomiCertId }
- ];
- tarteaucitron.addScript('//connect.ekomi.de/integration_1410173009/' + tarteaucitron.user.ekomiCertId + '.js');
- }
- };
- // etracker
- tarteaucitron.services.etracker = {
- "key": "etracker",
- "type": "analytic",
- "name": "eTracker",
- "uri": "https://www.etracker.com/en/data-protection.html",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.etracker === undefined) {
- return;
- }
- tarteaucitron.addScript('//static.etracker.com/code/e.js', '_etLoader', function () { }, true, "data-secure-code", tarteaucitron.user.etracker);
- }
- };
- // facebook
- tarteaucitron.services.facebook = {
- "key": "facebook",
- "type": "social",
- "name": "Facebook",
- "uri": "https://www.facebook.com/policy.php",
- "needConsent": true,
- "cookies": ['xs', 'sb', 'fr', 'datr', 'dpr', 'c_user'],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], '');
- tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.0', 'facebook-jssdk');
- if (tarteaucitron.isAjax === true) {
- if (typeof FB !== "undefined") {
- FB.XFBML.parse();
- }
- }
- },
- "fallback": function () {
- "use strict";
- var id = 'facebook';
- tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], tarteaucitron.engage(id));
- }
- };
- // facebooklikebox
- tarteaucitron.services.facebooklikebox = {
- "key": "facebooklikebox",
- "type": "social",
- "name": "Facebook (like box)",
- "uri": "https://www.facebook.com/policy.php",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['fb-like-box', 'fb-page'], '');
- tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.3', 'facebook-jssdk');
- if (tarteaucitron.isAjax === true) {
- if (typeof FB !== "undefined") {
- FB.XFBML.parse();
- }
- }
- },
- "fallback": function () {
- "use strict";
- var id = 'facebooklikebox';
- tarteaucitron.fallback(['fb-like-box', 'fb-page'], tarteaucitron.engage(id));
- }
- };
- // facebookcomment
- tarteaucitron.services.facebookcomment = {
- "key": "facebookcomment",
- "type": "comment",
- "name": "Facebook (commentaire)",
- "uri": "https://www.facebook.com/policy.php",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['fb-comments'], '');
- tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.0', 'facebook-jssdk');
- if (tarteaucitron.isAjax === true) {
- if (typeof FB !== "undefined") {
- FB.XFBML.parse();
- }
- }
- },
- "fallback": function () {
- "use strict";
- var id = 'facebookcomment';
- tarteaucitron.fallback(['fb-comments'], tarteaucitron.engage(id));
- }
- };
- // ferank
- tarteaucitron.services.ferank = {
- "key": "ferank",
- "type": "analytic",
- "name": "FERank",
- "uri": "https://www.ferank.fr/respect-vie-privee/#mesureaudience",
- "needConsent": false,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.addScript('//static.ferank.fr/pixel.js', '', function () {
- if (typeof tarteaucitron.user.ferankMore === 'function') {
- tarteaucitron.user.ferankMore();
- }
- });
- }
- };
- // pingdom
- tarteaucitron.services.pingdom = {
- "key": "pingdom",
- "type": "api",
- "name": "Pingdom",
- "uri": "https://www.solarwinds.com/general-data-protection-regulation-cloud",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.pingdomId === undefined) {
- return;
- }
- window._prum = [['id', tarteaucitron.user.pingdomId], ['mark', 'firstbyte', (new Date()).getTime()]];
- tarteaucitron.addScript('https://rum-static.pingdom.net/prum.min.js');
- }
- };
- // simpleanalytics
- tarteaucitron.services.simpleanalytics = {
- "key": "simpleanalytics",
- "type": "analytic",
- "name": "Simple Analytics",
- "uri": "https://docs.simpleanalytics.com/what-we-collect",
- "needConsent": false,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.addScript('https://scripts.simpleanalyticscdn.com/latest.js');
- }
- };
- // stonly
- tarteaucitron.services.stonly = {
- "key": "stonly",
- "type": "api",
- "name": "Stonly",
- "uri": "https://stonly.com/privacy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.stonlyId === undefined) {
- return;
- }
- window.STONLY_WID = tarteaucitron.user.stonlyId;
- window.StonlyWidget || ((window.w = window.StonlyWidget = function () {
- window.w._api ? window.w._api.apply(window.w, arguments) : window.w.queue.push(arguments)
- }).queue = []);
- tarteaucitron.addScript('https://stonly.com/js/widget/v2/stonly-widget.js?v=' + Date.now());
- }
- };
- // stripe
- /*tarteaucitron.services.stripe = {
- "key": "stripe",
- "type": "api",
- "name": "Stripe",
- "uri": "https://stripe.com/cookies-policy/legal",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.addScript('https://js.stripe.com/v3/');
- }
- };*/
- // ferank pub
- tarteaucitron.services.ferankpub = {
- "key": "ferankpub",
- "type": "ads",
- "name": "FERank (pub)",
- "uri": "https://www.ferank.fr/respect-vie-privee/#regiepublicitaire",
- "needConsent": false,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.addScript('//static.ferank.fr/publicite.async.js');
- if (tarteaucitron.isAjax === true) {
- if (typeof ferankReady === 'function') {
- ferankReady();
- }
- }
- },
- "fallback": function () {
- "use strict";
- var id = 'ferankpub';
- tarteaucitron.fallback(['ferank-publicite'], tarteaucitron.engage(id));
- }
- };
- // get+
- tarteaucitron.services.getplus = {
- "key": "getplus",
- "type": "analytic",
- "name": "Get+",
- "uri": "http://www.getplus.fr/Conditions-generales-de-vente_a226.html",
- "needConsent": true,
- "cookies": ['_first_pageview', '_jsuid', 'no_trackyy_' + tarteaucitron.user.getplusId, '_eventqueue'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.getplusId === undefined) {
- return;
- }
- window.webleads_site_ids = window.webleads_site_ids || [];
- window.webleads_site_ids.push(tarteaucitron.user.getplusId);
- tarteaucitron.addScript('//stats.webleads-tracker.com/js');
- }
- };
- // google+
- tarteaucitron.services.gplus = {
- "key": "gplus",
- "type": "social",
- "name": "Google+",
- "uri": "https://policies.google.com/privacy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.addScript('https://apis.google.com/js/platform.js');
- },
- "fallback": function () {
- "use strict";
- var id = 'gplus';
- tarteaucitron.fallback(['g-plus', 'g-plusone'], tarteaucitron.engage(id));
- }
- };
- // google+ badge
- tarteaucitron.services.gplusbadge = {
- "key": "gplusbadge",
- "type": "social",
- "name": "Google+ (badge)",
- "uri": "https://policies.google.com/privacy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.addScript('https://apis.google.com/js/platform.js');
- },
- "fallback": function () {
- "use strict";
- var id = 'gplusbadge';
- tarteaucitron.fallback(['g-page', 'g-person'], tarteaucitron.engage(id));
- }
- };
- // google adsense
- tarteaucitron.services.adsense = {
- "key": "adsense",
- "type": "ads",
- "name": "Google Adsense",
- "uri": "https://adssettings.google.com/",
- "needConsent": true,
- "readmoreLink": "https://policies.google.com/technologies/partner-sites",
- "cookies": ['__gads'],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['adsbygoogle'], '');
- tarteaucitron.addScript('https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js');
- },
- "fallback": function () {
- "use strict";
- var id = 'adsense';
- tarteaucitron.fallback(['adsbygoogle'], tarteaucitron.engage(id));
- }
- };
- // google adsense automatic
- tarteaucitron.services.adsenseauto = {
- "key": "adsenseauto",
- "type": "ads",
- "name": "Google Adsense Automatic",
- "uri": "https://adssettings.google.com/",
- "needConsent": true,
- "readmoreLink": "https://policies.google.com/technologies/partner-sites",
- "cookies": ['__gads'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.adsensecapub === undefined) {
- return;
- }
- tarteaucitron.addScript('https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=' + tarteaucitron.user.adsensecapub, '', '', '', 'crossorigin', 'anonymous');
- }
- };
- // Google Adsense Search
- tarteaucitron.services.adsensesearch = {
- "key": "adsensesearch",
- "type": "ads",
- "name": "Google Adsense Search",
- "uri": "https://adssettings.google.com/",
- "needConsent": true,
- "readmoreLink": "https://policies.google.com/technologies/partner-sites",
- "cookies": ['__gads'],
- "js": function () {
- "use strict";
- tarteaucitron.addScript('https://www.google.com/adsense/search/ads.js');
- },
- "fallback": function () {
- "use strict";
- var id = 'adsensesearch';
- tarteaucitron.fallback(['afscontainer1'], tarteaucitron.engage(id));
- }
- };
- // google partners badge
- tarteaucitron.services.googlepartners = {
- "key": "googlepartners",
- "type": "ads",
- "name": "Google Partners Badge",
- "uri": "https://adssettings.google.com/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.addScript('https://apis.google.com/js/platform.js');
- },
- "fallback": function () {
- "use strict";
- var id = 'googlepartners';
- tarteaucitron.fallback(['g-partnersbadge'], tarteaucitron.engage(id));
- }
- };
- // google adsense search (form)
- tarteaucitron.services.adsensesearchform = {
- "key": "adsensesearchform",
- "type": "ads",
- "name": "Google Adsense Search (form)",
- "uri": "https://adssettings.google.com/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.addScript('//www.google.com/coop/cse/brand?form=cse-search-box&lang=' + tarteaucitron.getLanguage());
- }
- };
- // google adsense search (result)
- tarteaucitron.services.adsensesearchresult = {
- "key": "adsensesearchresult",
- "type": "ads",
- "name": "Google Adsense Search (result)",
- "uri": "https://adssettings.google.com/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.adsensesearchresultCx === undefined) {
- return;
- }
- tarteaucitron.addScript('//www.google.com/cse/cse.js?cx=' + tarteaucitron.user.adsensesearchresultCx);
- },
- "fallback": function () {
- "use strict";
- var id = 'adsensesearchresult';
- if (document.getElementById('gcse_searchresults')) {
- document.getElementById('gcse_searchresults').innerHTML = tarteaucitron.engage(id);
- }
- }
- };
- // googleadwordsconversion
- tarteaucitron.services.googleadwordsconversion = {
- "key": "googleadwordsconversion",
- "type": "ads",
- "name": "Google Adwords (conversion)",
- "uri": "https://www.google.com/settings/ads",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.adwordsconversionId === undefined) {
- return;
- }
- tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () {
- window.google_trackConversion({
- google_conversion_id: tarteaucitron.user.adwordsconversionId,
- google_conversion_label: tarteaucitron.user.adwordsconversionLabel,
- google_conversion_language: tarteaucitron.user.adwordsconversionLanguage,
- google_conversion_format: tarteaucitron.user.adwordsconversionFormat,
- google_conversion_color: tarteaucitron.user.adwordsconversionColor,
- google_conversion_value: tarteaucitron.user.adwordsconversionValue,
- google_conversion_currency: tarteaucitron.user.adwordsconversionCurrency,
- google_custom_params: {
- parameter1: tarteaucitron.user.adwordsconversionCustom1,
- parameter2: tarteaucitron.user.adwordsconversionCustom2
- }
- });
- });
- }
- };
- // googleadwordsremarketing
- tarteaucitron.services.googleadwordsremarketing = {
- "key": "googleadwordsremarketing",
- "type": "ads",
- "name": "Google Adwords (remarketing)",
- "uri": "https://www.google.com/settings/ads",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.adwordsremarketingId === undefined) {
- return;
- }
- tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () {
- window.google_trackConversion({
- google_conversion_id: tarteaucitron.user.adwordsremarketingId,
- google_remarketing_only: true
- });
- });
- }
- };
- // google analytics (old)
- tarteaucitron.services.gajs = {
- "key": "gajs",
- "type": "analytic",
- "name": "Google Analytics (ga.js)",
- "uri": "https://policies.google.com/privacy",
- "needConsent": true,
- "cookies": (function () {
- var googleIdentifier = tarteaucitron.user.gajsUa,
- tagUaCookie = '_gat_gtag_' + googleIdentifier,
- tagGCookie = '_ga_' + googleIdentifier;
- tagUaCookie = tagUaCookie.replace(/-/g, '_');
- tagGCookie = tagGCookie.replace(/G-/g, '');
- return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', tagUaCookie, tagGCookie, '_gcl_au'];
- })(),
- "js": function () {
- "use strict";
- window._gaq = window._gaq || [];
- window._gaq.push(['_setAccount', tarteaucitron.user.gajsUa]);
- if (timeExpire !== undefined) {
- _gaq.push(['_setVisitorCookieTimeout', timeExpire]);
- }
- if (tarteaucitron.user.gajsAnonymizeIp) {
- window._gaq.push(['_gat._anonymizeIp']);
- }
- if (tarteaucitron.user.gajsPageView) {
- window._gaq.push(['_trackPageview, ' + tarteaucitron.user.gajsPageView]);
- } else {
- window._gaq.push(['_trackPageview']);
- }
- tarteaucitron.addScript('//www.google-analytics.com/ga.js', '', function () {
- if (typeof tarteaucitron.user.gajsMore === 'function') {
- tarteaucitron.user.gajsMore();
- }
- });
- }
- };
- // google analytics
- tarteaucitron.services.analytics = {
- "key": "analytics",
- "type": "analytic",
- "name": "Google Analytics (universal)",
- "uri": "https://policies.google.com/privacy",
- "needConsent": true,
- "cookies": (function () {
- var googleIdentifier = tarteaucitron.user.analyticsUa,
- tagUaCookie = '_gat_gtag_' + googleIdentifier,
- tagGCookie = '_ga_' + googleIdentifier;
- tagUaCookie = tagUaCookie.replace(/-/g, '_');
- tagGCookie = tagGCookie.replace(/G-/g, '');
- return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', tagUaCookie, tagGCookie, '_gcl_au'];
- })(),
- "js": function () {
- "use strict";
- window.GoogleAnalyticsObject = 'ga';
- window.ga = window.ga || function () {
- window.ga.q = window.ga.q || [];
- window.ga.q.push(arguments);
- };
- window.ga.l = new Date();
- tarteaucitron.addScript('https://www.google-analytics.com/analytics.js', '', function () {
- var uaCreate = { 'cookieExpires': (timeExpire !== undefined) ? timeExpire : 34128000 };
- tarteaucitron.extend(uaCreate, tarteaucitron.user.analyticsUaCreate || {});
- ga('create', tarteaucitron.user.analyticsUa, uaCreate);
- if (tarteaucitron.user.analyticsAnonymizeIp) {
- ga('set', 'anonymizeIp', true);
- }
- if (typeof tarteaucitron.user.analyticsPrepare === 'function') {
- tarteaucitron.user.analyticsPrepare();
- }
- if (tarteaucitron.user.analyticsPageView) {
- ga('send', 'pageview', tarteaucitron.user.analyticsPageView);
- } else {
- ga('send', 'pageview');
- }
- if (typeof tarteaucitron.user.analyticsMore === 'function') {
- tarteaucitron.user.analyticsMore();
- }
- });
- }
- };
- // google ads
- tarteaucitron.services.googleads = {
- "key": "googleads",
- "type": "ads",
- "name": "Google Ads",
- "uri": "https://policies.google.com/privacy",
- "needConsent": true,
- "cookies": (function () {
- var googleIdentifier = tarteaucitron.user.googleadsId,
- tagUaCookie = '_gat_gtag_' + googleIdentifier,
- tagGCookie = '_ga_' + googleIdentifier;
- tagUaCookie = tagUaCookie.replace(/-/g, '_');
- tagGCookie = tagGCookie.replace(/G-/g, '');
- return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', tagUaCookie, tagGCookie, '_gcl_au'];
- })(),
- "js": function () {
- "use strict";
- window.dataLayer = window.dataLayer || [];
- tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + tarteaucitron.user.googleadsId, '', function () {
- window.gtag = function gtag() { dataLayer.push(arguments); }
- gtag('js', new Date());
- var additional_config_info = (timeExpire !== undefined) ? {'anonymize_ip': true, 'cookie_expires': timeExpire / 1000} : {'anonymize_ip': true};
- gtag('config', tarteaucitron.user.googleadsId, additional_config_info);
- if (typeof tarteaucitron.user.googleadsMore === 'function') {
- tarteaucitron.user.googleadsMore();
- }
- });
- }
- };
- // google analytics
- tarteaucitron.services.gtag = {
- "key": "gtag",
- "type": "analytic",
- "name": "Google Analytics (GA4)",
- "uri": "https://policies.google.com/privacy",
- "needConsent": true,
- "cookies": (function () {
- var googleIdentifier = tarteaucitron.user.gtagUa,
- tagUaCookie = '_gat_gtag_' + googleIdentifier,
- tagGCookie = '_ga_' + googleIdentifier;
- tagUaCookie = tagUaCookie.replace(/-/g, '_');
- tagGCookie = tagGCookie.replace(/G-/g, '');
- return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', tagUaCookie, tagGCookie, '_gcl_au'];
- })(),
- "js": function () {
- "use strict";
- window.dataLayer = window.dataLayer || [];
- tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + tarteaucitron.user.gtagUa, '', function () {
- window.gtag = function gtag() { dataLayer.push(arguments); }
- gtag('js', new Date());
- var additional_config_info = (timeExpire !== undefined) ? {'anonymize_ip': true, 'cookie_expires': timeExpire / 1000} : {'anonymize_ip': true};
- if (tarteaucitron.user.gtagCrossdomain) {
- /**
- * https://support.google.com/analytics/answer/7476333?hl=en
- * https://developers.google.com/analytics/devguides/collection/gtagjs/cross-domain
- */
- gtag('config', tarteaucitron.user.gtagUa, additional_config_info, { linker: { domains: tarteaucitron.user.gtagCrossdomain, } });
- } else {
- gtag('config', tarteaucitron.user.gtagUa, additional_config_info);
- }
- if (typeof tarteaucitron.user.gtagMore === 'function') {
- tarteaucitron.user.gtagMore();
- }
- });
- }
- };
- tarteaucitron.services.firebase = {
- "key": "firebase",
- "type": "analytic",
- "name": "Firebase",
- "uri": "https://firebase.google.com/support/privacy",
- "needConsent": true,
- "cookies": (function () {
- var googleIdentifier = tarteaucitron.user.firebaseMeasurementId,
- tagGCookie = '_ga_' + googleIdentifier;
- tagGCookie = tagGCookie.replace(/G-/g, '');
- return ['_ga', tagGCookie];
- })(),
- "js": function () {
- "use strict";
- if (tarteaucitron.user.firebaseApiKey === undefined) {
- return;
- }
- tarteaucitron.addScript('https://www.gstatic.com/firebasejs/8.6.2/firebase-app.js', '', function () {
- tarteaucitron.addScript('https://www.gstatic.com/firebasejs/8.6.2/firebase-analytics.js', '', function () {
- var firebaseConfig = {
- apiKey: tarteaucitron.user.firebaseApiKey,
- authDomain: tarteaucitron.user.firebaseAuthDomain,
- databaseURL: tarteaucitron.user.firebaseDatabaseUrl,
- projectId: tarteaucitron.user.firebaseProjectId,
- storageBucket: tarteaucitron.user.firebaseStorageBucket,
- appId: tarteaucitron.user.firebaseAppId,
- measurementId: tarteaucitron.user.firebaseMeasurementId,
- };
- firebase.initializeApp(firebaseConfig);
- firebase.analytics();
- });
- });
- }
- };
- // genially
- tarteaucitron.services.genially = {
- "key": "genially",
- "type": "api",
- "name": "genially",
- "uri": "https://www.genial.ly/cookies",
- "needConsent": true,
- "cookies": ['_gat', '_ga', '_gid'],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['tac_genially'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'genially iframe'),
- width = x.getAttribute("width"),
- height = x.getAttribute("height"),
- geniallyid = x.getAttribute("geniallyid"),
- allowfullscreen = x.getAttribute("allowfullscreen");
- 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>';
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'genially';
- tarteaucitron.fallback(['tac_genially'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // google maps
- tarteaucitron.services.googlemaps = {
- "key": "googlemaps",
- "type": "api",
- "name": "Google Maps",
- "uri": "https://policies.google.com/privacy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- var mapOptions,
- map,
- uniqIds = [],
- i;
- if (tarteaucitron.user.mapscallback === undefined) {
- tarteaucitron.user.mapscallback = 'tac_googlemaps_callback';
- }
- // Add Google Maps libraries if any (https://developers.google.com/maps/documentation/javascript/libraries)
- var googleMapsLibraries = '';
- if (tarteaucitron.user.googlemapsLibraries) {
- googleMapsLibraries = '&libraries=' + tarteaucitron.user.googlemapsLibraries;
- }
- tarteaucitron.addScript('//maps.googleapis.com/maps/api/js?v=3.exp&key=' + tarteaucitron.user.googlemapsKey + '&callback=' + tarteaucitron.user.mapscallback + googleMapsLibraries);
- window.tac_googlemaps_callback = function () {
- tarteaucitron.fallback(['googlemaps-canvas'], function (x) {
- var uniqId = '_' + Math.random().toString(36).substr(2, 9);
- uniqIds.push(uniqId);
- 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>';
- });
- var i;
- for (i = 0; i < uniqIds.length; i += 1) {
- mapOptions = {
- zoom: parseInt(document.getElementById(uniqIds[i]).getAttribute('zoom'), 10),
- center: new google.maps.LatLng(parseFloat(document.getElementById(uniqIds[i]).getAttribute('latitude'), 10), parseFloat(document.getElementById(uniqIds[i]).getAttribute('longitude'), 10))
- };
- map = new google.maps.Map(document.getElementById(uniqIds[i]), mapOptions);
- 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 });
- }
- };
- },
- "fallback": function () {
- "use strict";
- var id = 'googlemaps';
- tarteaucitron.fallback(['googlemaps-canvas'], tarteaucitron.engage(id));
- }
- };
- // googlemaps search
- tarteaucitron.services.googlemapssearch = {
- "key": "googlemapssearch",
- "type": "api",
- "name": "Google Maps Search API",
- "uri": "https://policies.google.com/privacy",
- "needConsent": true,
- "cookies": ['nid'],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['googlemapssearch'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Google search iframe'),
- width = x.getAttribute("width"),
- height = x.getAttribute("height"),
- // url = x.getAttribute("data-url");
- query = escape(x.getAttribute("data-search")),
- key = x.getAttribute("data-api-key");
- 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> '
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'googlemapssearch';
- tarteaucitron.fallback(['googlemapssearch'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // googlemaps embed iframe
- tarteaucitron.services.googlemapsembed = {
- "key": "googlemapsembed",
- "type": "api",
- "name": "Google Maps Embed",
- "uri": "https://policies.google.com/privacy",
- "needConsent": true,
- "cookies": ['apisid', 'hsid', 'nid', 'sapisid', 'sid', 'sidcc', 'ssid', '1p_jar'],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['googlemapsembed'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Google maps iframe'),
- width = tarteaucitron.getElemWidth(x),
- height = tarteaucitron.getElemHeight(x),
- url = x.getAttribute("data-url");
- return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency allowfullscreen></iframe>';
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'googlemapsembed';
- tarteaucitron.fallback(['googlemapsembed'], function (elem) {
- elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';
- elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // openstreetmap embed iframe
- tarteaucitron.services.openstreetmap = {
- "key": "openstreetmap",
- "type": "api",
- "name": "Openstreetmap Embed",
- "uri": "https://wiki.osmfoundation.org/wiki/Privacy_Policy#Cookies",
- "needConsent": true,
- "cookies": ['apisid', 'hsid', 'nid', 'sapisid', 'sid', 'sidcc', 'ssid', '1p_jar'],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['openstreetmap'], function (x) {
- var width = tarteaucitron.getElemWidth(x),
- height = tarteaucitron.getElemHeight(x),
- url = x.getAttribute("data-url");
- return '<iframe src="' + url + '" width="' + width + '" height="' + height + '" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" allowfullscreen></iframe>';
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'openstreetmap';
- tarteaucitron.fallback(['openstreetmap'], function (elem) {
- elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';
- elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // geoportail embed iframe
- tarteaucitron.services.geoportail = {
- "key": "geoportail",
- "type": "api",
- "name": "Geoportail maps Embed",
- "uri": "https://www.ign.fr/institut/gestion-des-cookies",
- "needConsent": true,
- "cookies": ['apisid', 'hsid', 'nid', 'sapisid', 'sid', 'sidcc', 'ssid', '1p_jar'],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['geoportail'], function (x) {
- var width = tarteaucitron.getElemWidth(x),
- height = tarteaucitron.getElemHeight(x),
- url = x.getAttribute("data-url");
- 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>';
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'geoportail';
- tarteaucitron.fallback(['geoportail'], function (elem) {
- elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';
- elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // google tag manager
- tarteaucitron.services.googletagmanager = {
- "key": "googletagmanager",
- "type": "api",
- "name": "Google Tag Manager",
- "uri": "https://policies.google.com/privacy",
- "needConsent": true,
- "cookies": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '__gads', '_drt_', 'FLC', 'exchange_uid', 'id', 'fc', 'rrs', 'rds', 'rv', 'uid', 'UIDR', 'UID', 'clid', 'ipinfo', 'acs'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.googletagmanagerId === undefined) {
- return;
- }
- window.dataLayer = window.dataLayer || [];
- window.dataLayer.push({
- 'gtm.start': new Date().getTime(),
- event: 'gtm.js'
- });
- tarteaucitron.addScript('https://www.googletagmanager.com/gtm.js?id=' + tarteaucitron.user.googletagmanagerId);
- }
- };
- // google tag manager multiple
- tarteaucitron.services.multiplegoogletagmanager = {
- "key": "multiplegoogletagmanager",
- "type": "api",
- "name": "Google Tag Manager",
- "uri": "https://policies.google.com/privacy",
- "needConsent": true,
- "cookies": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '__gads', '_drt_', 'FLC', 'exchange_uid', 'id', 'fc', 'rrs', 'rds', 'rv', 'uid', 'UIDR', 'UID', 'clid', 'ipinfo', 'acs'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.multiplegoogletagmanagerId === undefined) {
- return;
- }
- window.dataLayer = window.dataLayer || [];
- window.dataLayer.push({
- 'gtm.start': new Date().getTime(),
- event: 'gtm.js'
- });
- tarteaucitron.user.multiplegoogletagmanagerId.forEach(function (id) {
- tarteaucitron.addScript('https://www.googletagmanager.com/gtm.js?id=' + id);
- });
- }
- };
- // google webfonts
- tarteaucitron.services.googlefonts = {
- "key": "googlefonts",
- "type": "api",
- "name": "Google Webfonts",
- "uri": "https://policies.google.com/privacy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.googleFonts === undefined) {
- return;
- }
- tarteaucitron.addScript('//ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js', '', function () {
- WebFont.load({
- google: {
- families: tarteaucitron.user.googleFonts
- }
- });
- });
- }
- };
- // hubspot
- tarteaucitron.services.hubspot = {
- "key": "hubspot",
- "type": "analytic",
- "name": "Hubspot",
- "uri": "https://legal.hubspot.com/privacy-policy",
- "needConsent": true,
- "cookies": ['hubspotutk', 'fr', '__hstc', '__hssrc', '__hssc', '__cfduid'],
- "js": function () {
- "use strict";
- tarteaucitron.addScript('//js.hs-scripts.com/' + tarteaucitron.user.hubspotId + '.js', 'hs-script-loader');
- }
- };
- // instagram
- tarteaucitron.services.instagram = {
- "key": "instagram",
- "type": "social",
- "name": "Instagram",
- "uri": "https://www.instagram.com/legal/privacy/",
- "needConsent": true,
- "cookies": ['shbts', 'sessionid', 'csrftoken', 'rur', 'shbid', 'mid', 'ds_usr_id', 'ig_did', 'ig_cb', 'datr'],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['instagram_post'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Instagram iframe'),
- post_id = x.getAttribute('postId'),
- post_permalink = x.getAttribute('data-instgrm-permalink'),
- embed_width = x.getAttribute('width'),
- embed_height = x.getAttribute('height'),
- frame_width,
- frame_height,
- post_frame;
- if (post_permalink != null) {
- tarteaucitron.addScript('//www.instagram.com/embed.js', 'instagram-embed');
- return '';
- }
- if (post_id === undefined) {
- return "";
- }
- if (embed_width !== undefined) {
- frame_width = 'width="' + embed_width + '" ';
- } else {
- frame_width = '"" ';
- }
- if (embed_height !== undefined) {
- frame_height = 'height="' + embed_height + '" ';
- } else {
- frame_height = '"" ';
- }
- post_frame = '<iframe title="' + frame_title + '" src="//www.instagram.com/' + post_id + '/embed" ' + frame_width + frame_height + '></iframe>';
- return post_frame;
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'instagram';
- tarteaucitron.fallback(['instagram_post'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // jsapi
- tarteaucitron.services.jsapi = {
- "key": "jsapi",
- "type": "api",
- "name": "Google jsapi",
- "uri": "https://policies.google.com/privacy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.addScript('//www.google.com/jsapi');
- }
- };
- // twitterwidgetsapi
- tarteaucitron.services.twitterwidgetsapi = {
- "key": "twitterwidgetsapi",
- "type": "api",
- "name": "Twitter Widgets API",
- "uri": "https://support.twitter.com/articles/20170514",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['tacTwitterAPI'], '');
- tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
- },
- "fallback": function () {
- "use strict";
- var id = 'twitterwidgetsapi';
- tarteaucitron.fallback(['tacTwitterAPI'], tarteaucitron.engage(id));
- }
- };
- // recaptcha
- tarteaucitron.services.recaptcha = {
- "key": "recaptcha",
- "type": "api",
- "name": "reCAPTCHA",
- "uri": "https://policies.google.com/privacy",
- "needConsent": true,
- "cookies": ['nid'],
- "js": function () {
- "use strict";
- window.tacRecaptchaOnLoad = tarteaucitron.user.recaptchaOnLoad || function () { };
- tarteaucitron.fallback(['g-recaptcha'], '');
- if (tarteaucitron.user.recaptchaapi === undefined) {
- tarteaucitron.addScript('https://www.google.com/recaptcha/api.js?onload=tacRecaptchaOnLoad');
- } else {
- tarteaucitron.addScript('https://www.google.com/recaptcha/api.js?onload=tacRecaptchaOnLoad&render=' + tarteaucitron.user.recaptchaapi);
- }
- },
- "fallback": function () {
- "use strict";
- var id = 'recaptcha';
- tarteaucitron.fallback(['g-recaptcha'], tarteaucitron.engage(id));
- }
- };
- // linkedin
- tarteaucitron.services.linkedin = {
- "key": "linkedin",
- "type": "social",
- "name": "Linkedin",
- "uri": "https://www.linkedin.com/legal/cookie_policy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['tacLinkedin'], '');
- tarteaucitron.addScript('//platform.linkedin.com/in.js');
- if (tarteaucitron.isAjax === true) {
- if (typeof IN !== "undefined") {
- IN.parse();
- }
- }
- },
- "fallback": function () {
- "use strict";
- var id = 'linkedin';
- tarteaucitron.fallback(['tacLinkedin'], tarteaucitron.engage(id));
- }
- };
- // mautic
- tarteaucitron.services.mautic = {
- "key": "mautic",
- "type": "analytic",
- "name": "Mautic",
- "uri": "https://www.mautic.org/privacy-policy/",
- "needConsent": true,
- "cookies": ['mtc_id', 'mtc_sid'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.mauticurl === undefined) {
- return;
- }
- window.MauticTrackingObject = 'mt';
- window.mt = window.mt || function () {
- window.mt.q = window.mt.q || [];
- window.mt.q.push(arguments);
- };
- tarteaucitron.addScript(tarteaucitron.user.mauticurl, '', function () {
- mt('send', 'pageview');
- });
- }
- };
- // microsoftcampaignanalytics
- tarteaucitron.services.microsoftcampaignanalytics = {
- "key": "microsoftcampaignanalytics",
- "type": "analytic",
- "name": "Microsoft Campaign Analytics",
- "uri": "https://privacy.microsoft.com/privacystatement/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.microsoftcampaignanalyticsUUID === undefined) {
- return;
- }
- tarteaucitron.addScript('//flex.atdmt.com/mstag/site/' + tarteaucitron.user.microsoftcampaignanalyticsUUID + '/mstag.js', 'mstag_tops', function () {
- window.mstag = { loadTag: function () { }, time: (new Date()).getTime() };
- window.mstag.loadTag("analytics", { dedup: "1", domainId: tarteaucitron.user.microsoftcampaignanalyticsdomainId, type: "1", actionid: tarteaucitron.user.microsoftcampaignanalyticsactionId });
- });
- }
- };
- // onesignal
- tarteaucitron.services.onesignal = {
- "key": "onesignal",
- "type": "api",
- "name": "OneSignal",
- "uri": "https://onesignal.com/privacy_policy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.onesignalAppId === undefined) {
- return;
- }
- window.OneSignal = window.OneSignal || [];
- window.OneSignal.push(function () {
- window.OneSignal.init({
- appId: tarteaucitron.user.onesignalAppId,
- });
- });
- tarteaucitron.addScript('https://cdn.onesignal.com/sdks/OneSignalSDK.js');
- }
- };
- // pinterest
- tarteaucitron.services.pinterest = {
- "key": "pinterest",
- "type": "social",
- "name": "Pinterest",
- "uri": "https://about.pinterest.com/privacy-policy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['tacPinterest'], '');
- tarteaucitron.addScript('//assets.pinterest.com/js/pinit.js');
- },
- "fallback": function () {
- "use strict";
- var id = 'pinterest';
- tarteaucitron.fallback(['tacPinterest'], tarteaucitron.engage(id));
- }
- };
- // prelinker
- tarteaucitron.services.prelinker = {
- "key": "prelinker",
- "type": "ads",
- "name": "Prelinker",
- "uri": "http://www.prelinker.com/index/index/cgu/",
- "needConsent": true,
- "cookies": ['_sp_id.32f5', '_sp_ses.32f5'],
- "js": function () {
- "use strict";
- var uniqIds = [],
- i,
- uri;
- tarteaucitron.fallback(['prelinker-canvas'], function (x) {
- var uniqId = '_' + Math.random().toString(36).substr(2, 9);
- uniqIds.push(uniqId);
- return '<div id="' + uniqId + '" siteId="' + x.getAttribute('siteId') + '" bannerId="' + x.getAttribute('bannerId') + '" defaultLanguage="' + x.getAttribute('defaultLanguage') + '" tracker="' + x.getAttribute('tracker') + '"></div>';
- });
- for (i = 0; i < uniqIds.length; i += 1) {
- uri = 'http://promo.easy-dating.org/banner/index?';
- uri += 'site_id=' + document.getElementById(uniqIds[i]).getAttribute('siteId') + '&';
- uri += 'banner_id=' + document.getElementById(uniqIds[i]).getAttribute('bannerId') + '&';
- uri += 'default_language=' + document.getElementById(uniqIds[i]).getAttribute('defaultLanguage') + '&';
- uri += 'tr4ck=' + document.getElementById(uniqIds[i]).getAttribute('trackrt');
- tarteaucitron.makeAsync.init(uri, uniqIds[i]);
- }
- },
- "fallback": function () {
- "use strict";
- var id = 'prelinker';
- tarteaucitron.fallback(['prelinker-canvas'], tarteaucitron.engage(id));
- }
- };
- // prezi
- tarteaucitron.services.prezi = {
- "key": "prezi",
- "type": "video",
- "name": "Prezi",
- "uri": "https://prezi.com/privacy-policy/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['prezi-canvas'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Prezi iframe'),
- id = x.getAttribute("data-id"),
- width = x.getAttribute("width"),
- height = x.getAttribute("height"),
- url = 'https://prezi.com/embed/' + id + '/?bgcolor=ffffff&lock_to_path=0&autoplay=0&autohide_ctrls=0';
- return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency allowfullscreen></iframe>';
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'prezi';
- tarteaucitron.fallback(['prezi-canvas'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // pubdirecte
- tarteaucitron.services.pubdirecte = {
- "key": "pubdirecte",
- "type": "ads",
- "name": "Pubdirecte",
- "uri": "http://pubdirecte.com/contact.php",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- var uniqIds = [],
- i,
- uri;
- tarteaucitron.fallback(['pubdirecte-canvas'], function (x) {
- var uniqId = '_' + Math.random().toString(36).substr(2, 9);
- uniqIds.push(uniqId);
- return '<div id="' + uniqId + '" pid="' + x.getAttribute('pid') + '" ref="' + x.getAttribute('ref') + '"></div>';
- });
- for (i = 0; i < uniqIds.length; i += 1) {
- uri = '//www.pubdirecte.com/script/banniere.php?';
- uri += 'id=' + document.getElementById(uniqIds[i]).getAttribute('pid') + '&';
- uri += 'ref=' + document.getElementById(uniqIds[i]).getAttribute('ref');
- tarteaucitron.makeAsync.init(uri, uniqIds[i]);
- }
- },
- "fallback": function () {
- "use strict";
- var id = 'pubdirecte';
- tarteaucitron.fallback(['pubdirecte-canvas'], tarteaucitron.engage(id));
- }
- };
- // purechat
- tarteaucitron.services.purechat = {
- "key": "purechat",
- "type": "support",
- "name": "PureChat",
- "uri": "https://www.purechat.com/privacy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.purechatId === undefined) {
- return;
- }
- tarteaucitron.addScript('//app.purechat.com/VisitorWidget/WidgetScript', '', function () {
- try {
- window.w = new PCWidget({ c: tarteaucitron.user.purechatId, f: true });
- } catch (e) { }
- });
- }
- };
- // Intercom
- tarteaucitron.services.intercomChat = {
- "key": "intercomChat",
- "type": "support",
- "name": "Intercom",
- "uri": "https://www.intercom.com/",
- "needConsent": true,
- "cookies": [
- "intercom-id-" + tarteaucitron.user.intercomKey,
- "intercom-session-" + tarteaucitron.user.intercomKey,
- ],
- "readmoreLink": "https://www.intercom.com/legal/privacy",
- "js": function () {
- window.intercomSettings = {
- app_id: tarteaucitron.user.intercomKey,
- };
- var w = window;
- var ic = w.Intercom;
- if (typeof ic === "function") {
- ic("reattach_activator");
- ic("update", w.intercomSettings);
- } else {
- var i = function () {
- i.c(arguments);
- };
- i.q = [];
- i.c = function (args) {
- i.q.push(args);
- };
- w.Intercom = i;
- tarteaucitron.addScript(
- "https://widget.intercom.io/widget/" + tarteaucitron.user.intercomKey,
- "",
- function () {
- // Execute callback if function `intercomChatEnable`
- // is defined
- if (typeof intercomChatEnable === 'function') {
- intercomChatEnable()
- }
- }
- );
- }
- },
- "fallback": function () {
- "use strict";
- var id = "intercomChat";
- tarteaucitron.fallback(
- ["intercom-chat"],
- function () {
- // Execute callback if function `intercomChatDisable`
- // is defined
- if (typeof intercomChatDisable === 'function') {
- intercomChatDisable()
- }
- return tarteaucitron.engage(id)
- }
- );
- },
- };
- // rumbletalk
- tarteaucitron.services.rumbletalk = {
- "key": "rumbletalk",
- "type": "social",
- "name": "RumbleTalk",
- "needConsent": true,
- "cookies": ['AWSALB'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.rumbletalkid === undefined) {
- return;
- }
- tarteaucitron.addScript('https://rumbletalk.com/client/?' + tarteaucitron.user.rumbletalkid);
- tarteaucitron.fallback(['rumbletalk'], function (x) {
- var width = tarteaucitron.getElemWidth(x),
- height = tarteaucitron.getElemHeight(x),
- id = x.getAttribute("data-id");
- return '<div style="height: ' + height + 'px; width: ' + width + 'px;"><div id="' + id + '"></div></div>';
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'rumbletalk';
- tarteaucitron.fallback(['rumbletalk'], function (elem) {
- elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';
- elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // shareaholic
- tarteaucitron.services.shareaholic = {
- "key": "shareaholic",
- "type": "social",
- "name": "Shareaholic",
- "uri": "https://shareaholic.com/privacy/choices",
- "needConsent": true,
- "cookies": ['__utma', '__utmb', '__utmc', '__utmz', '__utmt_Shareaholic%20Pageviews'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.shareaholicSiteId === undefined) {
- return;
- }
- tarteaucitron.fallback(['shareaholic-canvas'], '');
- tarteaucitron.addScript('//dsms0mj1bbhn4.cloudfront.net/assets/pub/shareaholic.js', '', function () {
- try {
- Shareaholic.init(tarteaucitron.user.shareaholicSiteId);
- } catch (e) { }
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'shareaholic';
- tarteaucitron.fallback(['shareaholic-canvas'], tarteaucitron.engage(id));
- }
- };
- // shareasale
- tarteaucitron.services.shareasale = {
- "key": "shareasale",
- "type": "ads",
- "name": "ShareASale",
- "uri": "https://www.shareasale.com/PrivacyPolicy.pdf",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- var uniqIds = [],
- i,
- uri;
- tarteaucitron.fallback(['shareasale-canvas'], function (x) {
- var uniqId = '_' + Math.random().toString(36).substr(2, 9);
- uniqIds.push(uniqId);
- 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>';
- });
- for (i = 0; i < uniqIds.length; i += 1) {
- uri = 'https://shareasale.com/sale.cfm?';
- uri += 'amount=' + document.getElementById(uniqIds[i]).getAttribute('amount') + '&';
- uri += 'tracking=' + document.getElementById(uniqIds[i]).getAttribute('tracking') + '&';
- uri += 'transtype=' + document.getElementById(uniqIds[i]).getAttribute('transtype') + '&';
- uri += 'persale=' + document.getElementById(uniqIds[i]).getAttribute('persale') + '&';
- uri += 'perlead=' + document.getElementById(uniqIds[i]).getAttribute('perlead') + '&';
- uri += 'perhit=' + document.getElementById(uniqIds[i]).getAttribute('perhit') + '&';
- uri += 'merchantID=' + document.getElementById(uniqIds[i]).getAttribute('merchantID');
- document.getElementById(uniqIds[i]).innerHTML = '<img src=\'' + uri + '\' width=\'1\' height=\'1\' />';
- }
- },
- "fallback": function () {
- "use strict";
- var id = 'shareasale';
- tarteaucitron.fallback(['shareasale-canvas'], tarteaucitron.engage(id));
- }
- };
- // sharethis
- tarteaucitron.services.sharethis = {
- "key": "sharethis",
- "type": "social",
- "name": "ShareThis",
- "uri": "http://www.sharethis.com/legal/privacy/",
- "needConsent": true,
- "cookies": ['__unam'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.sharethisPublisher === undefined) {
- return;
- }
- var switchTo5x = true,
- uri = ('https:' === document.location.protocol ? 'https://ws' : 'http://w') + '.sharethis.com/button/buttons.js';
- tarteaucitron.fallback(['tacSharethis'], '');
- tarteaucitron.addScript(uri, '', function () {
- stLight.options({ publisher: tarteaucitron.user.sharethisPublisher, doNotHash: false, doNotCopy: false, hashAddressBar: false });
- });
- if (tarteaucitron.isAjax === true) {
- if (typeof stButtons !== "undefined") {
- stButtons.locateElements();
- }
- }
- },
- "fallback": function () {
- "use strict";
- var id = 'sharethis';
- tarteaucitron.fallback(['tacSharethis'], tarteaucitron.engage(id));
- }
- };
- // slideshare
- tarteaucitron.services.slideshare = {
- "key": "slideshare",
- "type": "video",
- "name": "SlideShare",
- "uri": "https://www.linkedin.com/legal/privacy-policy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['slideshare-canvas'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Slideshare iframe'),
- id = x.getAttribute("data-id"),
- width = x.getAttribute("width"),
- height = x.getAttribute("height"),
- url = '//www.slideshare.net/slideshow/embed_code/' + id;
- return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency allowfullscreen></iframe>';
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'slideshare';
- tarteaucitron.fallback(['slideshare-canvas'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // soundcloud
- tarteaucitron.services.soundcloud = {
- key: 'soundcloud',
- type: 'video',
- name: 'SoundCloud',
- needConsent: true,
- cookies: ['sc_anonymous_id', 'sclocale'],
- js: function () {
- "use strict";
- tarteaucitron.fallback(['soundcloud_player'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Soundcloud iframe'),
- player_height = x.getAttribute('data-height'),
- frame_height = 'height="' + player_height + '" ',
- playable_id = x.getAttribute('data-playable-id'),
- playable_type = x.getAttribute('data-playable-type'),
- playable_url = x.getAttribute('data-playable-url'),
- color = x.getAttribute('data-color'),
- autoplay = x.getAttribute('data-auto-play'),
- hideRelated = x.getAttribute('data-hide-related'),
- showComments = x.getAttribute('data-show-comments'),
- showUser = x.getAttribute('data-show-user'),
- showReposts = x.getAttribute('data-show-reposts'),
- showTeaser = x.getAttribute('data-show-teaser'),
- visual = x.getAttribute('data-visual'),
- artwork = x.getAttribute('data-artwork');
- var allowAutoplay = autoplay === 'true' ? 'allow="autoplay"' : '';
- if (playable_id === undefined && playable_url === undefined) {
- return "";
- }
- // Allow to embed from API results (playable_type + playable_id)
- var qs = '?url=https%3A//api.soundcloud.com/' + playable_type + '/' + playable_id;
- // Or from raw URL from Soundcloud website
- if (playable_url && playable_url.length > 0) qs = '?url=' + escape(playable_url);
- if (hideRelated && hideRelated.length > 0) qs += '&hide_related=' + hideRelated;
- if (color && color.length > 0) qs += '&color=' + color.replace('#', '%23');
- if (autoplay && autoplay.length > 0) qs += '&auto_play=' + autoplay;
- if (showComments && showComments.length > 0) qs += '&show_comments=' + showComments;
- if (hideRelated && hideRelated.length > 0) qs += '&hide_related=' + hideRelated;
- if (showUser && showUser.length > 0) qs += '&show_user=' + showUser;
- if (showReposts && showReposts.length > 0) qs += '&show_reposts=' + showReposts;
- if (showTeaser && showTeaser.length > 0) qs += '&show_teaser=' + showTeaser;
- if (visual && visual.length > 0) qs += '&visual=' + visual;
- if (artwork && artwork.length > 0) qs += '&show_artwork=' + artwork;
- return '<iframe title="' + frame_title + '" width="100%" ' + frame_height + ' scrolling="no" ' + allowAutoplay + ' src="https://w.soundcloud.com/player/' + qs + '"></iframe>';
- });
- },
- fallback: function () {
- "use strict";
- tarteaucitron.fallback(['soundcloud_player'], function (elem) {
- elem.style.height = elem.getAttribute('data-height') + 'px';
- return tarteaucitron.engage('soundcloud');
- });
- }
- };
- // spotify
- tarteaucitron.services.spotify = {
- "key": "spotify",
- "type": "video",
- "name": "Spotify",
- "uri": "https://www.spotify.com/us/legal/privacy-policy/",
- "needConsent": true,
- "cookies": ['sp_landing', '_ga', 'sp_ab', 'sp_landingref', 'sp_t', 'sp_usid', 'OptanonConsent', 'sp_m', 'spot'],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['spotify_player'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Spotify iframe'),
- spotify_id = x.getAttribute("spotifyID"),
- spotify_width = x.getAttribute("width"),
- frame_width = 'width=',
- spotify_height = x.getAttribute("height"),
- frame_height = 'height=',
- spotify_frame;
- if (spotify_id === undefined) {
- return "";
- }
- if (spotify_width !== undefined) {
- frame_width += '"' + spotify_width + '" ';
- } else {
- frame_width += '"" ';
- }
- if (spotify_height !== undefined) {
- frame_height += '"' + spotify_height + '" ';
- } else {
- frame_height += '"" ';
- }
- spotify_frame = '<iframe title="' + frame_title + '" src="//open.spotify.com/embed/' + spotify_id + '" ' + frame_width + frame_height + ' allowfullscreen></iframe>';
- return spotify_frame;
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'spotify';
- tarteaucitron.fallback(['spotify_player'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // statcounter
- tarteaucitron.services.statcounter = {
- "key": "statcounter",
- "type": "analytic",
- "name": "StatCounter",
- "uri": "https://fr.statcounter.com/about/legal/#privacy",
- "needConsent": true,
- "cookies": ['sc_is_visitor_unique'],
- "js": function () {
- "use strict";
- var uniqIds = [],
- i,
- uri = '//statcounter.com/counter/counter.js';
- tarteaucitron.fallback(['statcounter-canvas'], function (x) {
- var uniqId = '_' + Math.random().toString(36).substr(2, 9);
- uniqIds.push(uniqId);
- return '<div id="' + uniqId + '"></div>';
- });
- for (i = 0; i < uniqIds.length; i += 1) {
- tarteaucitron.makeAsync.init(uri, uniqIds[i]);
- }
- },
- "fallback": function () {
- "use strict";
- var id = 'statcounter';
- tarteaucitron.fallback(['statcounter-canvas'], tarteaucitron.engage(id));
- }
- };
- // timelinejs
- tarteaucitron.services.timelinejs = {
- "key": "timelinejs",
- "type": "api",
- "name": "Timeline JS",
- "uri": "http://timeline.knightlab.com/#help",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['timelinejs-canvas'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Twitter iframe'),
- spreadsheet_id = x.getAttribute("spreadsheet_id"),
- width = x.getAttribute("width"),
- height = x.getAttribute("height"),
- lang = x.getAttribute("lang_2_letter"),
- font = x.getAttribute("font"),
- map = x.getAttribute("map"),
- start_at_end = x.getAttribute("start_at_end"),
- hash_bookmark = x.getAttribute("hash_bookmark"),
- start_at_slide = x.getAttribute("start_at_slide"),
- start_zoom = x.getAttribute("start_zoom"),
- 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;
- return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" allowtransparency allowfullscreen></iframe>';
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'timelinejs';
- tarteaucitron.fallback(['timelinejs-canvas'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // tagcommander
- tarteaucitron.services.tagcommander = {
- "key": "tagcommander",
- "type": "api",
- "name": "TagCommander",
- "uri": "https://www.commandersact.com/en/privacy/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.tagcommanderid === undefined) {
- return;
- }
- tarteaucitron.addScript('https://cdn.tagcommander.com/' + tarteaucitron.user.tagcommanderid + '.js');
- }
- };
- // typekit
- tarteaucitron.services.typekit = {
- "key": "typekit",
- "type": "api",
- "name": "Typekit (adobe)",
- "uri": "https://www.adobe.com/privacy.html",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.typekitId === undefined) {
- return;
- }
- tarteaucitron.addScript('//use.typekit.net/' + tarteaucitron.user.typekitId + '.js', '', function () {
- try {
- Typekit.load();
- } catch (e) { }
- });
- }
- };
- // twenga
- tarteaucitron.services.twenga = {
- "key": "twenga",
- "type": "ads",
- "name": "Twenga",
- "uri": "http://www.twenga.com/privacy.php",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.twengaId === undefined || tarteaucitron.user.twengaLocale === undefined) {
- return;
- }
- tarteaucitron.addScript('//tracker.twenga.' + tarteaucitron.user.twengaLocale + '/st/tracker_' + tarteaucitron.user.twengaId + '.js');
- }
- };
- // twitter
- tarteaucitron.services.twitter = {
- "key": "twitter",
- "type": "social",
- "name": "Twitter",
- "uri": "https://support.twitter.com/articles/20170514",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['tacTwitter'], '');
- tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
- },
- "fallback": function () {
- "use strict";
- var id = 'twitter';
- tarteaucitron.fallback(['tacTwitter'], tarteaucitron.engage(id));
- }
- };
- // twitter embed
- tarteaucitron.services.twitterembed = {
- "key": "twitterembed",
- "type": "social",
- "name": "Twitter (cards)",
- "uri": "https://support.twitter.com/articles/20170514",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- var uniqIds = [],
- i,
- e,
- html;
- tarteaucitron.fallback(['twitterembed-canvas'], function (x) {
- var uniqId = '_' + Math.random().toString(36).substr(2, 9);
- uniqIds.push(uniqId);
- html = '<div id="' + uniqId + '" ';
- html += 'tweetid="' + x.getAttribute('tweetid') + '" ';
- html += 'theme="' + x.getAttribute('theme') + '" ';
- html += 'cards="' + x.getAttribute('cards') + '" ';
- html += 'conversation="' + x.getAttribute('conversation') + '" ';
- html += 'data-width="' + x.getAttribute('data-width') + '" ';
- html += 'data-align="' + x.getAttribute('data-align') + '" ';
- html += '></div>';
- return html;
- });
- tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs', function () {
- var i;
- for (i = 0; i < uniqIds.length; i += 1) {
- e = document.getElementById(uniqIds[i]);
- twttr.widgets.createTweet(
- e.getAttribute('tweetid'),
- e,
- {
- theme: e.getAttribute('theme'),
- cards: e.getAttribute('cards'),
- conversation: e.getAttribute('conversation'),
- lang: tarteaucitron.getLanguage(),
- dnt: true,
- width: e.getAttribute('data-width'),
- align: e.getAttribute('data-align')
- }
- );
- }
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'twitterembed';
- tarteaucitron.fallback(['twitterembed-canvas'], function (elem) {
- elem.style.width = elem.getAttribute('data-width') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // twitter timeline
- tarteaucitron.services.twittertimeline = {
- "key": "twittertimeline",
- "type": "social",
- "name": "Twitter (timelines)",
- "uri": "https://support.twitter.com/articles/20170514",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['tacTwitterTimelines'], '');
- tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
- },
- "fallback": function () {
- "use strict";
- var id = 'twittertimeline';
- tarteaucitron.fallback(['tacTwitterTimelines'], tarteaucitron.engage(id));
- }
- };
- // twitter universal website tag
- tarteaucitron.services.twitteruwt = {
- "key": "twitteruwt",
- "type": "analytic",
- "name": "Twitter Universal Website Tag",
- "uri": "https://business.twitter.com/en/help/campaign-measurement-and-analytics/conversion-tracking-for-websites.html",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- window.twq = function () {
- window.twq.exe ? window.twq.exe.apply(window.twq, arguments) : window.twq.queue.push(arguments);
- }
- window.twq.version = '1.1';
- window.twq.queue = [];
- tarteaucitron.addScript('https://static.ads-twitter.com/uwt.js', '', function () {
- window.twq('init', tarteaucitron.user.twitteruwtId);
- window.twq('track', 'PageView');
- });
- }
- };
- // user voice
- tarteaucitron.services.uservoice = {
- "key": "uservoice",
- "type": "support",
- "name": "UserVoice",
- "uri": "https://www.uservoice.com/privacy/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.userVoiceApi === undefined) {
- return;
- }
- tarteaucitron.addScript('//widget.uservoice.com/' + tarteaucitron.user.userVoiceApi + '.js');
- }
- };
- // vimeo
- tarteaucitron.services.vimeo = {
- "key": "vimeo",
- "type": "video",
- "name": "Vimeo",
- "uri": "https://vimeo.com/privacy",
- "needConsent": true,
- "cookies": ['__utmt_player', '__utma', '__utmb', '__utmc', '__utmv', 'vuid', '__utmz', 'player'],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['vimeo_player'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(tarteaucitron.getElemAttr(x, "title") || 'Vimeo iframe'),
- video_width = tarteaucitron.getElemAttr(x, "width"),
- frame_width = 'width=',
- video_height = tarteaucitron.getElemAttr(x, "height"),
- frame_height = 'height=',
- video_id = tarteaucitron.getElemAttr(x, "videoID"),
- video_hash = tarteaucitron.getElemAttr(x, "data-hash") || '',
- video_allowfullscreen = tarteaucitron.getElemAttr(x, "data-allowfullscreen"),
- video_qs = "",
- attrs = ["title", "byline", "portrait", "loop", "autoplay", "autopause", "background", "color", "controls", "maxheight", "maxwidth", "muted", "playsinline", "speed", "transparent"],
- params = attrs.filter(function (a) {
- return tarteaucitron.getElemAttr(x, a) !== null;
- }).map(function (a) {
- return a + "=" + tarteaucitron.getElemAttr(x, a);
- }),
- video_frame;
- if (video_id === undefined) {
- return "";
- }
- // query params
- if (video_hash.length > 0) {
- params.push("h=" + video_hash);
- }
- if (params.length > 0) {
- video_qs = "?" + params.join("&");
- }
- // attributes
- if (video_width !== undefined) {
- frame_width += '"' + video_width + '" ';
- } else {
- frame_width += '"" ';
- }
- if (video_height !== undefined) {
- frame_height += '"' + video_height + '" ';
- } else {
- frame_height += '"" ';
- }
- 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>';
- return video_frame;
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'vimeo';
- tarteaucitron.fallback(['vimeo_player'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // visualrevenue
- tarteaucitron.services.visualrevenue = {
- "key": "visualrevenue",
- "type": "analytic",
- "name": "VisualRevenue",
- "uri": "http://www.outbrain.com/legal/privacy-713/",
- "needConsent": true,
- "cookies": ['__vrf', '__vrm', '__vrl', '__vry', '__vru', '__vrid', '__vrz'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.visualrevenueId === undefined) {
- return;
- }
- window._vrq = window._vrq || [];
- window._vrq.push(['id', tarteaucitron.user.visualrevenueId]);
- window._vrq.push(['automate', true]);
- window._vrq.push(['track', function () { }]);
- tarteaucitron.addScript('http://a.visualrevenue.com/vrs.js');
- }
- };
- // verizon dot tag
- tarteaucitron.services.verizondottag = {
- "key": "verizondottag",
- "type": "analytic",
- "name": "Verizon Dot Tag",
- "uri": "https://developer.verizonmedia.com/native/guide/audience-management/dottags/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- window.dotq = window.dotq || [];
- window.dotq.push({
- 'projectId': tarteaucitron.user.verizondottagProjectId,
- 'properties': { 'pixelId': tarteaucitron.user.verizondottagPixelId }
- });
- tarteaucitron.addScript('https://s.yimg.com/wi/ytc.js', '', function () {
- //const items = window.dotq;
- window.dotq = [];
- window.dotq.push = function (item) {
- YAHOO.ywa.I13N.fireBeacon([item])
- };
- YAHOO.ywa.I13N.fireBeacon(items)
- });
- }
- };
- // vshop
- tarteaucitron.services.vshop = {
- "key": "vshop",
- "type": "ads",
- "name": "vShop",
- "uri": "http://vshop.fr/privacy-policy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['vcashW'], '');
- tarteaucitron.addScript('//vshop.fr/js/w.js');
- },
- "fallback": function () {
- "use strict";
- var id = 'vshop';
- tarteaucitron.fallback(['vcashW'], tarteaucitron.engage(id));
- }
- };
- // wysistat
- tarteaucitron.services.wysistat = {
- "key": "wysistat",
- "type": "analytic",
- "name": "Wysistat",
- "uri": "http://wysistat.net/contact/",
- "needConsent": true,
- "cookies": ['Wysistat'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.wysistat === undefined) {
- return;
- }
- tarteaucitron.addScript('//www.wysistat.com/statistique.js', '', function () {
- 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);
- });
- }
- };
- // xiti
- tarteaucitron.services.xiti = {
- "key": "xiti",
- "type": "analytic",
- "name": "Xiti",
- "uri": "https://www.atinternet.com/rgpd-et-vie-privee/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.xitiId === undefined) {
- return;
- }
- var Xt_param = 's=' + tarteaucitron.user.xitiId + '&p=',
- Xt_r,
- Xt_h,
- Xt_i,
- Xt_s,
- div = document.createElement('div');
- try {
- Xt_r = top.document.referrer;
- } catch (e) {
- Xt_r = document.referrer;
- }
- Xt_h = new Date();
- Xt_i = '<img style="display:none" border="0" alt="" ';
- Xt_i += 'src="http://logv3.xiti.com/hit.xiti?' + Xt_param;
- Xt_i += '&hl=' + Xt_h.getHours() + 'x' + Xt_h.getMinutes() + 'x' + Xt_h.getSeconds();
- if (parseFloat(navigator.appVersion) >= 4) {
- Xt_s = screen;
- Xt_i += '&r=' + Xt_s.width + 'x' + Xt_s.height + 'x' + Xt_s.pixelDepth + 'x' + Xt_s.colorDepth;
- }
- div.innerHTML = Xt_i + '&ref=' + Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$') + '" title="Internet Audience">';
- document.getElementsByTagName('body')[0].appendChild(div.firstChild);
- if (typeof tarteaucitron.user.xitiMore === 'function') {
- tarteaucitron.user.xitiMore();
- }
- }
- };
- // AT Internet
- tarteaucitron.services.atinternet = {
- "key": "atinternet",
- "type": "analytic",
- "name": "AT Internet (privacy by design)",
- "uri": "https://www.atinternet.com/rgpd-et-vie-privee/",
- "needConsent": true,
- "safeanalytic": false,
- "cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.atLibUrl === undefined) {
- return;
- }
- if (tarteaucitron.user.atinternetAlreadyLoaded !== undefined) {
- return;
- }
- tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function () {
- window.tag = new ATInternet.Tracker.Tag();
- if (typeof window.tag.privacy !== 'undefined') {
- window.tag.privacy.setVisitorOptin();
- }
- if (typeof tarteaucitron.user.atMore === 'function') {
- tarteaucitron.user.atMore();
- }
- if (tarteaucitron.user.atinternetSendData !== false) {
- window.tag.page.send();
- }
- });
- },
- "fallback": function () {
- "use strict";
- if (tarteaucitron.user.atLibUrl === undefined) {
- return;
- }
- if (tarteaucitron.user.atNoFallback === true) {
- return;
- }
- tarteaucitron.user.atinternetAlreadyLoaded = true;
- tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function () {
- window.tag = new ATInternet.Tracker.Tag();
- if (typeof window.tag.privacy !== 'undefined') {
- var visitorMode = window.tag.privacy.getVisitorMode();
- if (visitorMode !== null && visitorMode.name !== undefined && visitorMode.name == "optout") {
- window.tag.privacy.setVisitorOptout();
- } else {
- window.tag.privacy.setVisitorMode('cnil', 'exempt');
- }
- }
- if (typeof tarteaucitron.user.atMore === 'function') {
- tarteaucitron.user.atMore();
- }
- if (tarteaucitron.user.atinternetSendData !== false) {
- window.tag.page.send();
- }
- });
- }
- };
- // AT Internet Hight Track
- tarteaucitron.services.atinternethightrack = {
- "key": "atinternethightrack",
- "type": "analytic",
- "name": "AT Internet",
- "uri": "https://www.atinternet.com/rgpd-et-vie-privee/",
- "needConsent": true,
- "cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.atLibUrl === undefined) {
- return;
- }
- tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function () {
- var tag = new ATInternet.Tracker.Tag();
- if (typeof tarteaucitron.user.atMore === 'function') {
- tarteaucitron.user.atMore();
- }
- })
- }
- };
- // youtube
- tarteaucitron.services.youtube = {
- "key": "youtube",
- "type": "video",
- "name": "YouTube",
- "uri": "https://policies.google.com/privacy",
- "needConsent": true,
- "cookies": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF', 'GEUP'],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['youtube_player'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(tarteaucitron.getElemAttr(x, "title") || 'Youtube iframe'),
- video_id = tarteaucitron.getElemAttr(x, "videoID"),
- srcdoc = tarteaucitron.getElemAttr(x, "srcdoc"),
- loading = tarteaucitron.getElemAttr(x, "loading"),
- video_width = tarteaucitron.getElemAttr(x, "width"),
- frame_width = 'width=',
- video_height = tarteaucitron.getElemAttr(x, "height"),
- frame_height = 'height=',
- video_frame,
- allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen"),
- attrs = ["theme", "rel", "controls", "showinfo", "autoplay", "mute", "start", "loop", "enablejsapi"],
- params = attrs.filter(function (a) {
- return tarteaucitron.getElemAttr(x, a) !== null;
- }).map(function (a) {
- return a + "=" + tarteaucitron.getElemAttr(x, a);
- }).join("&");
- if(tarteaucitron.getElemAttr(x, "loop") == 1) {
- params = params + "&playlist=" + video_id;
- }
- if (video_id === undefined) {
- return "";
- }
- if (video_width !== undefined) {
- frame_width += '"' + video_width + '" ';
- } else {
- frame_width += '"" ';
- }
- if (video_height !== undefined) {
- frame_height += '"' + video_height + '" ';
- } else {
- frame_height += '"" ';
- }
- if (srcdoc !== undefined && srcdoc !== null && srcdoc !== "") {
- srcdoc = 'srcdoc="' + srcdoc + '" ';
- } else {
- srcdoc = '';
- }
- if (loading !== undefined && loading !== null && loading !== "") {
- loading = 'loading ';
- } else {
- loading = '';
- }
- 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>';
- return video_frame;
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'youtube';
- tarteaucitron.fallback(['youtube_player'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // youtube playlist
- tarteaucitron.services.youtubeplaylist = {
- "key": "youtubeplaylist",
- "type": "video",
- "name": "YouTube (playlist)",
- "uri": "https://policies.google.com/privacy",
- "needConsent": true,
- "cookies": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF', 'GEUP'],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['youtube_playlist_player'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(tarteaucitron.getElemAttr(x, "title") || 'Youtube iframe'),
- playlist_id = tarteaucitron.getElemAttr(x, "playlistID"),
- video_width = tarteaucitron.getElemAttr(x, "width"),
- frame_width = 'width=',
- video_height = tarteaucitron.getElemAttr(x, "height"),
- frame_height = 'height=',
- video_frame,
- allowfullscreen = tarteaucitron.getElemAttr(x, "allowfullscreen"),
- 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");
- if (playlist_id === undefined) {
- return "";
- }
- if (video_width !== undefined) {
- frame_width += '"' + video_width + '" ';
- } else {
- frame_width += '"" ';
- }
- if (video_height !== undefined) {
- frame_height += '"' + video_height + '" ';
- } else {
- frame_height += '"" ';
- }
- 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>';
- return video_frame;
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'youtubeplaylist';
- tarteaucitron.fallback(['youtube_playlist_player'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // zopim
- tarteaucitron.services.zopim = {
- "key": "zopim",
- "type": "support",
- "name": "Zopim",
- "uri": "https://www.zopim.com/privacy",
- "needConsent": true,
- "cookies": ['__zlcid', '__zprivacy'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.zopimID === undefined) {
- return;
- }
- tarteaucitron.addScript('//v2.zopim.com/?' + tarteaucitron.user.zopimID);
- }
- };
- // kameleoon
- tarteaucitron.services.kameleoon = {
- "key": "kameleoon",
- "type": "analytic",
- "name": "Kameleoon",
- "uri": "https://www.kameleoon.com/fr/compliance/rgpd",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.kameleoon !== undefined) {
- tarteaucitron.addScript("https://" + tarteaucitron.user.kameleoon + ".kameleoon.eu/kameleoon.js");
- }
- }
- };
- // linkedin insight
- tarteaucitron.services.linkedininsighttag = {
- "key": "linkedininsighttag",
- "type": "ads",
- "name": "Linkedin Insight",
- "uri": "https://www.linkedin.com/legal/cookie_policy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.linkedininsighttag !== undefined) {
- window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
- window._linkedin_data_partner_ids.push(tarteaucitron.user.linkedininsighttag);
- }
- tarteaucitron.addScript('https://snap.licdn.com/li.lms-analytics/insight.min.js');
- }
- };
- // xiti smartTag
- tarteaucitron.services.xiti_smarttag = {
- "key": "xiti_smarttag",
- "type": "analytic",
- "name": "Xiti (SmartTag)",
- "uri": "https://www.atinternet.com/rgpd-et-vie-privee/",
- "needConsent": true,
- "cookies": ["atidvisitor", "atreman", "atredir", "atsession", "attvtreman", "attvtsession"],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.xiti_smarttagLocalPath !== undefined) {
- tarteaucitron.addScript(tarteaucitron.user.xiti_smarttagLocalPath, 'smarttag', null, null, "onload", "addTracker();");
- } else {
- var xitiSmarttagId = tarteaucitron.user.xiti_smarttagSiteId;
- if (xitiSmarttagId === undefined) {
- return;
- }
- tarteaucitron.addScript('//tag.aticdn.net/' + xitiSmarttagId + '/smarttag.js', 'smarttag', null, null, "onload", "addTracker();");
- }
- }
- };
- // facebook pixel
- tarteaucitron.services.facebookpixel = {
- "key": "facebookpixel",
- "type": "ads",
- "name": "Facebook Pixel",
- "uri": "https://www.facebook.com/policy.php",
- "needConsent": true,
- "cookies": ['datr', 'fr', 'reg_ext_ref', 'reg_fb_gate', 'reg_fb_ref', 'sb', 'wd', 'x-src', '_fbp'],
- "js": function () {
- "use strict";
- var n;
- if (window.fbq) return;
- n = window.fbq = function () { n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments) };
- if (!window._fbq) window._fbq = n;
- n.push = n;
- n.loaded = !0;
- n.version = '2.0';
- n.queue = [];
- tarteaucitron.addScript('https://connect.facebook.net/en_US/fbevents.js');
- fbq('init', tarteaucitron.user.facebookpixelId);
- fbq('track', 'PageView');
- if (typeof tarteaucitron.user.facebookpixelMore === 'function') {
- tarteaucitron.user.facebookpixelMore();
- }
- }
- };
- //Issuu
- tarteaucitron.services.issuu = {
- "key": "issuu",
- "type": "other",
- "name": "Issuu",
- "uri": "https://issuu.com/legal/privacy",
- "needConsent": true,
- "cookies": ['__qca', 'iutk', 'mc'],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['issuu_player'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Issuu iframe'),
- issuu_id = x.getAttribute("issuuID"),
- issuu_width = x.getAttribute("width"),
- frame_width = 'width=',
- issuu_height = x.getAttribute("height"),
- frame_height = 'height=',
- issuu_frame,
- issuu_embed;
- if (issuu_id === undefined) {
- return "";
- }
- if (issuu_width !== undefined) {
- frame_width += '"' + issuu_width + '" ';
- } else {
- frame_width += '"" ';
- }
- if (issuu_height !== undefined) {
- frame_height += '"' + issuu_height + '" ';
- } else {
- frame_height += '"" ';
- }
- if (issuu_id.match(/\d+\/\d+/)) { issuu_embed = '#' + issuu_id; } else if (issuu_id.match(/d=(.*)&u=(.*)/)) { issuu_embed = '?' + issuu_id; }
- issuu_frame = '<iframe title="' + frame_title + '" type="text/html" ' + frame_width + frame_height + ' src="//e.issuu.com/embed.html' + issuu_embed + '"></iframe>';
- return issuu_frame;
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'issuu';
- tarteaucitron.fallback(['issuu_player'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // webmecanik
- tarteaucitron.services.webmecanik = {
- "key": "webmecanik",
- "type": "analytic",
- "name": "Webmecanik",
- "uri": "https://webmecanik.com/tos",
- "needConsent": true,
- "cookies": ['mtc_id', 'mtc_sid'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.webmecanikurl === undefined) {
- return;
- }
- window.MauticTrackingObject = 'mt';
- window.mt = window.mt || function () {
- window.mt.q = window.mt.q || [];
- window.mt.q.push(arguments);
- };
- tarteaucitron.addScript(tarteaucitron.user.webmecanikurl, '', function () {
- mt('send', 'pageview');
- });
- }
- };
- // google analytics multiple
- tarteaucitron.services.multiplegtag = {
- "key": "multiplegtag",
- "type": "analytic",
- "name": "Google Analytics (gtag.js)",
- "uri": "https://support.google.com/analytics/answer/6004245",
- "needConsent": true,
- "cookies": (function () {
- var cookies = ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '_gcl_au'];
- if (tarteaucitron.user.multiplegtagUa !== undefined) {
- tarteaucitron.user.multiplegtagUa.forEach(function (ua) {
- cookies.push('_gat_gtag_' + ua.replace(/-/g, '_'));
- cookies.push('_ga_' + ua.replace(/G-/g, ''));
- });
- }
- return cookies;
- })(),
- "js": function () {
- "use strict";
- window.dataLayer = window.dataLayer || [];
- if (tarteaucitron.user.multiplegtagUa !== undefined) {
- tarteaucitron.user.multiplegtagUa.forEach(function (ua) {
- tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + ua, '', function () {
- window.gtag = function gtag() { dataLayer.push(arguments); }
- gtag('js', new Date());
- var additional_config_info = (timeExpire !== undefined) ? {'anonymize_ip': true, 'cookie_expires': timeExpire / 1000} : {'anonymize_ip': true};
- gtag('config', ua, additional_config_info);
- });
- });
- }
- }
- };
- // Koban
- tarteaucitron.services.koban = {
- "key": "koban",
- "type": "analytic",
- "name": "Koban",
- "uri": "https://koban.cloud/tos",
- "needConsent": true,
- "cookies": ['kbntrk'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.kobanurl === undefined) {
- return;
- }
- if (tarteaucitron.user.kobanapi === undefined) {
- return;
- }
- window.KobanObject = 'kb';
- window.kb = window.kb || function () {
- window.kb.q = window.kb.q || [];
- window.kb.q.push(arguments);
- };
- window.kb.l = new Date();
- kb('reg', tarteaucitron.user.kobanapi);
- tarteaucitron.addScript(tarteaucitron.user.kobanurl, '', function () {
- });
- }
- };
- // matomo
- /*
- 1. Set the following variable before the initialization :
- tarteaucitron.user.matomoId = YOUR_SITE_ID_FROM_MATOMO;
- tarteaucitron.user.matomoHost = "YOUR_MATOMO_URL"; //eg: https://stat.mydomain.com/
- 2. Push the service :
- (tarteaucitron.job = tarteaucitron.job || []).push('matomo'); // (or 'matomocloud' for cloud version)
- 3. HTML
- You don't need to add any html code, if the service is authorized, the javascript is added. otherwise no.
- */
- tarteaucitron.services.matomo = {
- "key": "matomo",
- "type": "analytic",
- "name": "Matomo (privacy by design)",
- "uri": "https://matomo.org/faq/general/faq_146/",
- "needConsent": false,
- "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.matomoId === undefined) {
- return;
- }
- window._paq = window._paq || [];
- window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
- window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
- window._paq.push(["setDoNotTrack", 1]);
- window._paq.push(["trackPageView"]);
- window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
- window._paq.push(["enableLinkTracking"]);
- if (typeof tarteaucitron.user.matomoMore === 'function') {
- tarteaucitron.user.matomoMore();
- }
- window._paq.push([function () {
- var self = this;
- function getOriginalVisitorCookieTimeout() {
- var now = new Date(),
- nowTs = Math.round(now.getTime() / 1000),
- visitorInfo = self.getVisitorInfo();
- var createTs = parseInt(visitorInfo[2]);
- var cookieTimeout = 33696000; // 13 mois en secondes
- var originalTimeout = createTs + cookieTimeout - nowTs;
- return originalTimeout;
- }
- this.setVisitorCookieTimeout(getOriginalVisitorCookieTimeout());
- }]);
- tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
- // waiting for piwik to be ready to check first party cookies
- var interval = setInterval(function () {
- if (typeof Piwik === 'undefined') return
- clearInterval(interval)
- // make piwik/matomo cookie accessible by getting tracker
- Piwik.getTracker();
- // looping throught cookies
- var theCookies = document.cookie.split(';');
- for (var i = 1; i <= theCookies.length; i++) {
- var cookie = theCookies[i - 1].split('=');
- var cookieName = cookie[0].trim();
- // if cookie starts like a piwik one, register it
- if (cookieName.indexOf('_pk_') === 0) {
- tarteaucitron.services.matomo.cookies.push(cookieName);
- }
- }
- }, 100)
- }
- };
- tarteaucitron.services.matomohightrack = {
- "key": "matomohightrack",
- "type": "analytic",
- "name": "Matomo",
- "uri": "https://matomo.org/faq/general/faq_146/",
- "needConsent": false,
- "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.matomoId === undefined) {
- return;
- }
- window._paq = window._paq || [];
- window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
- window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
- window._paq.push(["trackPageView"]);
- window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
- window._paq.push(["enableLinkTracking"]);
- window._paq.push([function () {
- var self = this;
- }]);
- tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
- // waiting for piwik to be ready to check first party cookies
- var interval = setInterval(function () {
- if (typeof Piwik === 'undefined') return
- clearInterval(interval)
- Piwik.getTracker();
- var theCookies = document.cookie.split(';');
- for (var i = 1; i <= theCookies.length; i++) {
- var cookie = theCookies[i - 1].split('=');
- var cookieName = cookie[0].trim();
- if (cookieName.indexOf('_pk_') === 0) {
- tarteaucitron.services.matomo.cookies.push(cookieName);
- }
- }
- }, 100)
- }
- };
- tarteaucitron.services.matomocloud = {
- "key": "matomocloud",
- "type": "analytic",
- "name": "Matomo Cloud (privacy by design)",
- "uri": "https://matomo.org/faq/general/faq_146/",
- "needConsent": false,
- "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'mtm_consent', 'matomo_ignore', 'matomo_sessid'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.matomoId === undefined) {
- return;
- }
- window._paq = window._paq || [];
- window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
- window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "matomo.php"]);
- window._paq.push(["setDoNotTrack", 1]);
- window._paq.push(["trackPageView"]);
- window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
- window._paq.push(["enableLinkTracking"]);
- window._paq.push([function () {
- var self = this;
- function getOriginalVisitorCookieTimeout() {
- var now = new Date(),
- nowTs = Math.round(now.getTime() / 1000),
- visitorInfo = self.getVisitorInfo();
- var createTs = parseInt(visitorInfo[2]);
- var cookieTimeout = 33696000; // 13 mois en secondes
- var originalTimeout = createTs + cookieTimeout - nowTs;
- return originalTimeout;
- }
- this.setVisitorCookieTimeout(getOriginalVisitorCookieTimeout());
- }]);
- if (tarteaucitron.user.matomoCustomJSPath === undefined || tarteaucitron.user.matomoCustomJSPath == '') {
- tarteaucitron.addScript('https://cdn.matomo.cloud/matomo.js', '', '', true, 'defer', true);
- } else {
- tarteaucitron.addScript(tarteaucitron.user.matomoCustomJSPath, '', '', true, 'defer', true);
- }
- // waiting for Matomo to be ready to check first party cookies
- var interval = setInterval(function () {
- if (typeof Matomo === 'undefined') return
- clearInterval(interval)
- // make Matomo cookie accessible by getting tracker
- Matomo.getTracker();
- // looping through cookies
- var theCookies = document.cookie.split(';');
- for (var i = 1; i <= theCookies.length; i++) {
- var cookie = theCookies[i - 1].split('=');
- var cookieName = cookie[0].trim();
- // if cookie starts like a matomo one, register it
- if (cookieName.indexOf('_pk_') === 0) {
- tarteaucitron.services.matomo.cookies.push(cookieName);
- }
- }
- }, 100)
- }
- };
- // matomotm
- tarteaucitron.services.matomotm = {
- "key": "matomotm",
- "type": "api",
- "name": "Matomo Tag Manager",
- "uri": "https://matomo.org/privacy/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.matomotmUrl === undefined) {
- return;
- }
- var _mtm = window._mtm = window._mtm || [];
- _mtm.push({'mtm.startTime': (new Date().getTime()), 'event': 'mtm.Start'});
- tarteaucitron.addScript(tarteaucitron.user.matomotmUrl);
- }
- };
- // Hotjar
- /*
- 1. Set the following variable before the initialization :
- tarteaucitron.user.hotjarId = YOUR_WEBSITE_ID;
- tarteaucitron.user.HotjarSv = XXXX; // Can be found in your website tracking code as "hjvs=XXXX"
- 2. Push the service :
- (tarteaucitron.job = tarteaucitron.job || []).push('hotjar');
- 3. HTML
- You don't need to add any html code, if the service is autorized, the javascript is added. otherwise no.
- */
- tarteaucitron.services.hotjar = {
- "key": "hotjar",
- "type": "analytic",
- "name": "Hotjar",
- "uri": "https://help.hotjar.com/hc/en-us/categories/115001323967-About-Hotjar",
- "needConsent": true,
- "cookies": ["hjClosedSurveyInvites", "_hjDonePolls", "_hjMinimizedPolls", "_hjDoneTestersWidgets", "_hjMinimizedTestersWidgets", "_hjDoneSurveys", "_hjIncludedInSample", "_hjShownFeedbackMessage", "_hjAbsoluteSessionInProgress", "_hjIncludeInPageviewSample", "_hjid"],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.hotjarId === undefined || tarteaucitron.user.HotjarSv === undefined) {
- return;
- }
- window.hj = window.hj || function () {
- (window.hj.q = window.hj.q || []).push(arguments)
- };
- window._hjSettings = {
- hjid: tarteaucitron.user.hotjarId,
- hjsv: tarteaucitron.user.HotjarSv
- };
- var uri = 'https://static.hotjar.com/c/hotjar-';
- var extension = '.js?sv=';
- tarteaucitron.addScript(uri + window._hjSettings.hjid + extension + window._hjSettings.hjsv);
- }
- };
- // bing ads universal event tracking
- tarteaucitron.services.bingads = {
- 'key': 'bingads',
- 'type': 'ads',
- 'name': 'Bing Ads Universal Event Tracking',
- 'uri': 'https://advertise.bingads.microsoft.com/en-us/resources/policies/personalized-ads',
- 'needConsent': true,
- 'cookies': ['_uetmsclkid', '_uetvid', '_uetsid'],
- 'js': function () {
- 'use strict';
- //var u = tarteaucitron.user.bingadsTag || 'uetq';
- window.uetq = window.uetq || [];
- tarteaucitron.addScript('https://bat.bing.com/bat.js', '', function () {
- var bingadsCreate = { ti: tarteaucitron.user.bingadsID };
- if ('bingadsStoreCookies' in tarteaucitron.user) {
- bingadsCreate['storeConvTrackCookies'] = tarteaucitron.user.bingadsStoreCookies;
- }
- bingadsCreate.q = window.uetq;
- window.uetq = new UET(bingadsCreate);
- window.uetq.push('pageLoad');
- if (typeof tarteaucitron.user.bingadsMore === 'function') {
- tarteaucitron.user.bingadsMore();
- }
- });
- }
- };
- //Matterport
- tarteaucitron.services.matterport = {
- "key": "matterport",
- "type": "other",
- "name": "Matterport",
- "uri": "https://matterport.com/es/legal/privacy-policy/",
- "needConsent": true,
- "cookies": ['__cfduid', 'ajs_anonymous_id', 'ajs_group_id', 'ajs_user_id'],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['matterport'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Matterport iframe'),
- matterport_id = x.getAttribute("matterportID"),
- matterport_width = x.getAttribute("width"),
- frame_width = 'width=',
- matterport_height = x.getAttribute("height"),
- frame_height = 'height=',
- matterport_parameters = x.getAttribute("parameters"),
- matterport_allowfullscreen = x.getAttribute('allowfullscreen'),
- matterport_frame;
- if (matterport_id === undefined) {
- return "";
- }
- if (matterport_width !== undefined) {
- frame_width += '"' + matterport_width + '" ';
- } else {
- frame_width += '"" ';
- }
- if (matterport_height !== undefined) {
- frame_height += '"' + matterport_height + '" ';
- } else {
- frame_height += '"" ';
- }
- if (matterport_parameters === undefined) {
- return "";
- }
- 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>';
- return matterport_frame;
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'matterport';
- tarteaucitron.fallback(['matterport'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // Adform
- tarteaucitron.services.adform = {
- "key": "adform",
- "type": "ads",
- "name": "Adform",
- "uri": "https://site.adform.com/privacy-center/overview/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.adformpm === undefined || tarteaucitron.user.adformpagename === undefined) {
- return;
- }
- window._adftrack = {
- pm: tarteaucitron.user.adformpm,
- divider: encodeURIComponent('|'),
- pagename: encodeURIComponent(tarteaucitron.user.adformpagename)
- };
- tarteaucitron.addScript("https://track.adform.net/serving/scripts/trackpoint/async/");
- }
- };
- // Active Campaign
- tarteaucitron.services.activecampaign = {
- "key": "activecampaign",
- "type": "ads",
- "name": "Active Campaign",
- "uri": "https://www.activecampaign.com/privacy-policy/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.actid === undefined) {
- return;
- }
- window.trackcmp_email = '';
- tarteaucitron.addScript('https://trackcmp.net/visit?actid=' + tarteaucitron.user.actid + '&e=' + encodeURIComponent(trackcmp_email) + '&r=' + encodeURIComponent(document.referrer) + '&u=' + encodeURIComponent(window.location.href));
- }
- };
- // tawk.to
- tarteaucitron.services.tawkto = {
- "key": "tawkto",
- "type": "support",
- "name": "Tawk.to chat",
- "uri": "https://www.tawk.to/data-protection/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.tawktoId === undefined) {
- return;
- }
- tarteaucitron.user.tawktoWidgetId = tarteaucitron.user.tawktoWidgetId || 'default';
- window.Tawk_API = window.Tawk_API || {};
- window.Tawk_LoadStart = new Date();
- tarteaucitron.addScript('https://embed.tawk.to/' + tarteaucitron.user.tawktoId + '/' + tarteaucitron.user.tawktoWidgetId);
- }
- };
- // getquanty
- tarteaucitron.services.getquanty = {
- "key": "getquanty",
- "type": "analytic",
- "name": "GetQuanty",
- "uri": "https://www.getquanty.com/mentions-legales/",
- "needConsent": true,
- "cookies": ['_first_pageview', 'eqy_sessionid', 'eqy_siteid', 'cluid', 'eqy_company', 'cluid', 'gq_utm', '_jsuid'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.getguanty === undefined) {
- return;
- }
- if (tarteaucitron.user.getquantyAlreadyLoaded !== undefined) {
- return;
- }
- tarteaucitron.addScript('https://get.smart-data-systems.com/gq?site_id=' + tarteaucitron.user.getguanty + '&consent=1');
- },
- "fallback": function () {
- "use strict";
- if (tarteaucitron.user.getguanty === undefined) {
- return;
- }
- tarteaucitron.user.getquantyAlreadyLoaded = true;
- tarteaucitron.addScript('https://get.smart-data-systems.com/gq?site_id=' + tarteaucitron.user.getguanty + '¬rack=1');
- }
- };
- // emolytics
- tarteaucitron.services.emolytics = {
- "key": "emolytics",
- "type": "analytic",
- "name": "Emolytics",
- "uri": "https://www.emolytics.com/main/privacy-policy.php",
- "needConsent": true,
- "cookies": ['__hssc', '__hssrc', '__hstc', '_ga', '_gid', 'hubspotutk', 'lang', 'incap_ses_', 'nlbi_', 'visid_incap_'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.emolyticsID === undefined) {
- return;
- }
- var scriptEmolytics = document.createElement('script');
- scriptEmolytics.text = 'var getsmily_id="' + tarteaucitron.user.emolyticsID + '";';
- document.getElementsByTagName('body')[0].appendChild(scriptEmolytics);
- tarteaucitron.addScript('https://cdn.emolytics.com/script/emolytics-widget.js')
- }
- };
- // youtubeapi
- tarteaucitron.services.youtubeapi = {
- "key": "youtubeapi",
- "type": "video",
- "name": "Youtube (Js API)",
- "uri": "https://policies.google.com/privacy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.addScript('https://www.youtube.com/player_api');
- }
- };
- // Facil'ITI
- tarteaucitron.services.faciliti = {
- "key": "faciliti",
- "type": "other",
- "name": "Facil'ITI",
- "uri": "https://ws.facil-iti.com/mentions-legales.html",
- "needConsent": true,
- "cookies": ['FACIL_ITI_LS'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.facilitiID === undefined) {
- return;
- }
- (function (w, d, s, f) {
- w[f] = w[f] || { conf: function () { (w[f].data = w[f].data || []).push(arguments); } };
- var l = d.createElement(s), e = d.getElementsByTagName(s)[0];
- l.async = 1; l.src = 'https://ws.facil-iti.com/tag/faciliti-tag.min.js'; e.parentNode.insertBefore(l, e);
- }(window, document, 'script', 'FACIL_ITI'));
- FACIL_ITI.conf('userId', tarteaucitron.user.facilitiID);
- }
- };
- // userlike
- tarteaucitron.services.userlike = {
- "key": "userlike",
- "type": "support",
- "name": "Userlike",
- "uri": "https://www.userlike.com/en/terms#privacy-policy",
- "needConsent": true,
- "cookies": ['uslk_s', 'uslk_e'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.userlikeKey === undefined) {
- return;
- }
- tarteaucitron.addScript('//userlike-cdn-widgets.s3-eu-west-1.amazonaws.com/' + tarteaucitron.user.userlikeKey);
- }
- };
- // adobeanalytics
- tarteaucitron.services.adobeanalytics = {
- "key": "adobeanalytics",
- "type": "analytic",
- "name": "Adobe Analytics",
- "uri": "https://www.adobe.com/privacy/policy.html",
- "needConsent": true,
- "cookies": ['s_ecid', 's_cc', 's_sq', 's_vi', 's_fid'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.adobeanalyticskey === undefined) {
- return;
- }
- tarteaucitron.addScript('//assets.adobedtm.com/launch-' + tarteaucitron.user.adobeanalyticskey + '.min.js');
- }
- };
- // woopra customer journey analytics
- tarteaucitron.services.woopra = {
- 'key': 'woopra',
- 'type': 'analytic',
- 'name': 'Woopra Customer Journey Analytics',
- 'uri': 'https://www.woopra.com/privacy',
- 'needConsent': true,
- 'cookies': ['wooTracker', 'intercom-session-erbfalba', 'intercom-id-erbfalba'],
- 'js': function () {
- 'use strict';
- //var w = tarteaucitron.user.woopraDomain;
- //window[w] = window[w] || [];
- (function () {
- 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)
- })("woopra");
- woopra.config({
- domain: tarteaucitron.user.woopraDomain
- });
- woopra.track();
- }
- };
- // ausha
- tarteaucitron.services.ausha = {
- key: "ausha",
- type: "video",
- name: "Ausha",
- uri: "https://www.ausha.co/protection-personal-data/",
- needConsent: true,
- cookies: [],
- js: function () {
- "use strict";
- tarteaucitron.fallback(['ausha_player'], function (x) {
- var player_height = x.getAttribute('data-height'),
- podcast_id = x.getAttribute('data-podcast-id'),
- player_id = x.getAttribute('data-player-id'),
- playlist = x.getAttribute('data-playlist'),
- useshowid = x.getAttribute('data-useshowid'),
- color = x.getAttribute('data-color');
- if (podcast_id === undefined) {
- return "";
- }
- var src = 'https://player.ausha.co/index.html?podcastId=' + podcast_id + '&v=3';
- if (useshowid == "1") {
- src = 'https://player.ausha.co/index.html?showId=' + podcast_id + '&v=3';
- }
- if (playlist && playlist.length > 0) src += '&playlist=' + playlist;
- if (color && color.length > 0) src += '&color=' + color.replace('#', '%23');
- if (player_id && player_id.length > 0) src += '&playerId=' + player_id;
- return '<iframe id="' + player_id + '" loading="lazy" width="100%" height="' + player_height + '" scrolling="no" frameborder="no" src="' + src + '"></iframe>';
- });
- tarteaucitron.addScript('//player.ausha.co/ausha-player.js', 'ausha-player');
- },
- fallback: function () {
- "use strict";
- tarteaucitron.fallback(['ausha_player'], function (elem) {
- elem.style.height = elem.getAttribute('data-height') + 'px';
- return tarteaucitron.engage('ausha');
- });
- }
- };
- // visiblee
- tarteaucitron.services.visiblee = {
- key: "visiblee",
- type: "analytic",
- name: "Visiblee",
- uri: "http://confidentiality.visiblee.io/fr/confidentialite",
- needConsent: true,
- cookies: ["visitor_v2", tarteaucitron.user.visibleedomain, "check", "campaign_ref_" + tarteaucitron.user.visibleedomain, "reload_" + tarteaucitron.user.visibleedomain],
- js: function () {
- "use strict";
- if (tarteaucitron.user.visibleeclientid === undefined) {
- return;
- }
- tarteaucitron.addScript('//www.link-page.info/tracking_' + tarteaucitron.user.visibleeclientid + '.js', 'visiblee');
- }
- };
- // bandcamp
- tarteaucitron.services.bandcamp = {
- key: "bandcamp",
- type: "video",
- name: "Bandcamp",
- uri: "https://bandcamp.com",
- readmoreLink: "https://bandcamp.com/privacy",
- needConsent: true,
- cookies: ['client_id', 'BACKENDID', '_comm_playlist'],
- js: function () {
- "use strict";
- tarteaucitron.fallback(['bandcamp_player'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Bandcamp iframe'),
- album_id = x.getAttribute("albumID"),
- bandcamp_width = x.getAttribute("width"),
- frame_width = 'width=',
- bandcamp_height = x.getAttribute("height"),
- frame_height = 'height=',
- attrs = ["size", "bgcol", "linkcol", "artwork", "minimal", "tracklist", "package", "transparent"],
- params = attrs.filter(function (a) {
- return x.getAttribute(a) !== null;
- }).map(function (a) {
- if (a && a.length > 0) return a + "=" + x.getAttribute(a);
- }).join("/");
- if (album_id === null) {
- return "";
- }
- if (bandcamp_width !== null || bandcamp_width !== "") {
- frame_width += '"' + bandcamp_width + '" ';
- } else {
- frame_width += '"" ';
- }
- if (bandcamp_height !== null || bandcamp_height !== "") {
- frame_height += '"' + bandcamp_height + '" ';
- } else {
- frame_height += '"" ';
- }
- var src = 'https://bandcamp.com/EmbeddedPlayer/album=' + album_id + '/' + params;
- return '<iframe title="' + frame_title + '"' + frame_width + frame_height + 'src="' + src + '" frameborder="0" allowfullscreen seamless></iframe>';
- });
- },
- fallback: function () {
- "use strict";
- tarteaucitron.fallback(['bandcamp_player'], function (elem) {
- elem.style.width = elem.getAttribute('width');
- elem.style.height = elem.getAttribute('height');
- return tarteaucitron.engage('bandcamp');
- });
- }
- };
- // Discord Widget
- tarteaucitron.services.discord = {
- "key": "discord",
- "type": "social",
- "name": "Discord (Server Widget)",
- "needConsent": true,
- "cookies": ["__cfruid", "__dcfduid", "_ga", "_gcl_au", "OptanonConsent", "locale", "_gid"],
- "uri": "https://discord.com/privacy",
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['discord_widget'], function (x) {
- var id = x.getAttribute("guildID"),
- width = x.getAttribute("width"),
- height = x.getAttribute("height")
- var widgetURL = "https://discord.com/widget?id=" + id;
- return "<iframe width=\"" + width + "\" height=\"" + height + "\" src=\"" + widgetURL + "\"></iframe>";
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'discord';
- tarteaucitron.fallback(['discord_widget'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // Google Maps
- tarteaucitron.services.maps_noapi = {
- "key": "maps_noapi",
- "type": "other",
- "name": "Google Maps",
- "needConsent": true,
- "cookies": ["NID", "OGPC", "1P_JAR", "CONSENT"],
- "uri": "https://policies.google.com/privacy",
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['googlemaps_embed'], function (x) {
- var id = x.getAttribute("id"),
- width = x.getAttribute("width"),
- height = x.getAttribute("height")
- var widgetURL = "https://www.google.com/maps/embed?pb=" + id;
- return "<iframe width=\"" + width + "\" height=\"" + height + "\" src=\"" + widgetURL + "\" style=\"border:0;\" allowfullscreen=\"\" loading=\"lazy\"></iframe>";
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'maps_noapi';
- tarteaucitron.fallback(['googlemaps_embed'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // hCaptcha
- tarteaucitron.services.hcaptcha = {
- "key": "hcaptcha",
- "type": "other",
- "name": "hCaptcha",
- "needConsent": true,
- "cookies": [],
- "uri": "https://www.hcaptcha.com/privacy",
- "js": function () {
- "use strict";
- tarteaucitron.fallback(["h-captcha"], '');
- tarteaucitron.addScript("https://hcaptcha.com/1/api.js", "hcaptcha")
- },
- "fallback": function () {
- "use strict";
- var id = "hcaptcha";
- tarteaucitron.fallback(["h-captcha"], tarteaucitron.engage(id));
- }
- };
- // France Culture
- tarteaucitron.services.fculture = {
- "key": "fculture",
- "type": "video",
- "name": "France Culture",
- "needConsent": true,
- "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"],
- "uri": "https://www.radiofrance.com/politique-d-utilisation-des-cookies-sur-les-sites-internet-du-groupe-radio-france",
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['fculture_embed'], function (x) {
- var id = x.getAttribute('id'),
- width = x.getAttribute('width'),
- height = x.getAttribute('height');
- return "<iframe src=\"https://www.franceculture.fr/player/export-reecouter?content=" + id + "\" height=\"" + height + "\" width=\"" + width + "\"></iframe>"
- });
- },
- "fallback": function () {
- "use strict";
- var id = "fculture";
- tarteaucitron.fallback(["fculture_embed"], tarteaucitron.engage(id));
- }
- };
- // Acast
- tarteaucitron.services.acast = {
- "key": "acast",
- "type": "video",
- "name": "Acast",
- "needConsent": true,
- "cookies": ["intercom-id-ayi0335i", "intercom-session-ayi0335i"],
- "uri": "https://www.acast.com/en/privacy",
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['acast_embed'], function (x) {
- var id = x.getAttribute('id1'),
- id2 = x.getAttribute('id2'),
- width = x.getAttribute('width'),
- height = x.getAttribute('height'),
- seek = x.getAttribute('seek');
- var widgetURL = "https://embed.acast.com/" + id + "/" + id2 + "?seek=" + seek;
- return "<iframe title=\"Embed Player\" width=\"" + width + "\" height=\"" + height + "\" src=\"" + widgetURL + "\" scrolling=\"no\" frameBorder=\"0\" style=\"border: none; overflow: hidden;\"></iframe>";
- });
- },
- "fallback": function () {
- "use strict";
- var id = "acast";
- tarteaucitron.fallback(["acast_embed"], tarteaucitron.engage(id));
- }
- };
- // Mixcloud
- tarteaucitron.services.mixcloud = {
- "key": "mixcloud",
- "type": "video",
- "name": "Mixcloud",
- "needConsent": true,
- "cookies": ["UID", "_gat", "__stripe_mid", "_gid", "_ga", "c", "csrftoken", "__stripe_sid", "mx_t"],
- "uri": "https://www.mixcloud.com/privacy/",
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['mixcloud_embed'], function (x) {
- var id = x.getAttribute('id'),
- hidecover = x.getAttribute('hidecover'),
- mini = x.getAttribute('mini'),
- light = x.getAttribute('light'),
- width = x.getAttribute('width'),
- height = x.getAttribute('height');
- 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>";
- });
- },
- "fallback": function () {
- "use strict";
- var id = "mixcloud";
- tarteaucitron.fallback(["mixcloud_embed"], tarteaucitron.engage(id));
- }
- };
- // Google Agenda
- tarteaucitron.services.gagenda = {
- "key": "gagenda",
- "type": "other",
- "name": "Google Agenda",
- "needConsent": true,
- "cookies": ["CONSENT", "NID"],
- "uri": "https://policies.google.com/privacy",
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['gagenda_embed'], function (x) {
- var calendar_data = x.getAttribute('data'),
- width = x.getAttribute('width'),
- height = x.getAttribute('height');
- 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>";
- });
- },
- "fallback": function () {
- "use strict";
- var id = "gagenda";
- tarteaucitron.fallback(["gagenda_embed"], tarteaucitron.engage(id));
- }
- };
- // Google Docs
- tarteaucitron.services.gdocs = {
- "key": "gdocs",
- "type": "other",
- "name": "Google Docs",
- "needConsent": true,
- "cookies": ["CONSENT", "NID"],
- "uri": "https://policies.google.com/privacy",
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['gdocs_embed'], function (x) {
- var id = x.getAttribute('id'),
- width = x.getAttribute('width'),
- height = x.getAttribute('height');
- return "<iframe width=\"" + width + "\" height=\"" + height + "\" src=\"https://docs.google.com/document/d/e/" + id + "/pub?embedded=true\"></iframe>";
- });
- },
- "fallback": function () {
- "use strict";
- var id = "gdocs";
- tarteaucitron.fallback(["gdocs_embed"], tarteaucitron.engage(id));
- }
- };
- // Google Sheets
- tarteaucitron.services.gsheets = {
- "key": "gsheets",
- "type": "other",
- "name": "Google Sheets",
- "needConsent": true,
- "cookies": ["CONSENT", "NID"],
- "uri": "https://policies.google.com/privacy",
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['gsheets_embed'], function (x) {
- var id = x.getAttribute('id'),
- width = x.getAttribute('width'),
- height = x.getAttribute('height'),
- headers = x.getAttribute('headers');
- return "<iframe width=\"" + width + "\" height=\"" + height + "\" src=\"https://docs.google.com/spreadsheets/d/e/" + id + "/pubhtml?widget=true&headers=" + headers + "\"></iframe>";
- });
- },
- "fallback": function () {
- "use strict";
- var id = "gsheets";
- tarteaucitron.fallback(["gsheets_embed"], tarteaucitron.engage(id));
- }
- };
- // Google Slides
- tarteaucitron.services.gslides = {
- "key": "gslides",
- "type": "other",
- "name": "Google Slides",
- "needConsent": true,
- "cookies": ["CONSENT", "NID"],
- "uri": "https://policies.google.com/privacy",
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['gslides_embed'], function (x) {
- var id = x.getAttribute('id'),
- width = x.getAttribute('width'),
- height = x.getAttribute('height'),
- autostart = x.getAttribute('autostart'),
- loop = x.getAttribute('loop'),
- delay = x.getAttribute('delay');
- 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>";
- });
- },
- "fallback": function () {
- "use strict";
- var id = "gslides";
- tarteaucitron.fallback(["gslides_embed"], tarteaucitron.engage(id));
- }
- };
- // Google Forms
- tarteaucitron.services.gforms = {
- "key": "gforms",
- "type": "other",
- "name": "Google Forms",
- "needConsent": true,
- "cookies": ["CONSENT", "NID"],
- "uri": "https://policies.google.com/privacy",
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['gforms_embed'], function (x) {
- var id = x.getAttribute('id'),
- width = x.getAttribute('width'),
- height = x.getAttribute('height');
- 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>";
- });
- },
- "fallback": function () {
- "use strict";
- var id = "gforms";
- tarteaucitron.fallback(['gforms_embed'], tarteaucitron.engage(id));
- }
- };
- // Google Optimize
- tarteaucitron.services.goptimize = {
- "key": "goptimize",
- "type": "other",
- "name": "Google Optimize",
- "needConsent": true,
- "cookies": ["CONSENT", "NID"],
- "uri": "https://policies.google.com/privacy",
- "js": function () {
- "use strict";
- if (tarteaucitron.user.goptimize === undefined) {
- return;
- }
- tarteaucitron.addScript('https://www.googleoptimize.com/optimize.js?id=' + tarteaucitron.user.goptimize);
- }
- };
- // Marketo munchkin
- tarteaucitron.services.marketomunchkin = {
- "key": "marketomunchkin",
- "type": "api",
- "name": "Marketo munchkin",
- "uri": "https://documents.marketo.com/legal/cookies",
- "needConsent": true,
- "cookies": ['OptAnon', '_mkto_trk'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.marketomunchkinkey === undefined) {
- return;
- }
- var didInit = false;
- function initMunchkin() {
- if (didInit === false) {
- didInit = true;
- Munchkin.init(tarteaucitron.user.marketomunchkinkey);
- }
- }
- var s = document.createElement('script');
- s.type = 'text/javascript';
- s.async = true;
- s.src = '//munchkin.marketo.net/munchkin.js';
- s.onreadystatechange = function () {
- if (this.readyState == 'complete' || this.readyState == 'loaded') {
- initMunchkin();
- }
- };
- s.onload = initMunchkin;
- document.getElementsByTagName('head')[0].appendChild(s);
- }
- };
- // outbrain
- tarteaucitron.services.outbrain = {
- "key": "outbrain",
- "type": "ads",
- "name": "Outbrain",
- "uri": "https://www.outbrain.com/fr/advertisers/guidelines/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.addScript('https://widgets.outbrain.com/outbrain.js');
- }
- };
- // affilae
- tarteaucitron.services.affilae = {
- "key": "affilae",
- "type": "ads",
- "name": "Affilae",
- "uri": "https://affilae.com/en/privacy-cookie-policy/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.affilae === undefined) {
- return;
- }
-
- window._ae = { "pid": tarteaucitron.user.affilae };
- tarteaucitron.addScript('https://static.affilae.com/ae-v3.5.js');
- }
- };
- // Canal-U.tv
- tarteaucitron.services.canalu = {
- "key": "canalu",
- "type": "video",
- "name": "Canal-U.tv",
- "uri": "https://www.canal-u.tv/conditions-generales-utilisations",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['canalu_player'], function (x) {
- var video_title = tarteaucitron.fixSelfXSS(x.getAttribute("videoTitle")),
- frame_url = 'https://www.canal-u.tv/embed/' + video_title;
- return '<div style="position:relative;padding-bottom:56.25%;padding-top:10px;height:0;overflow:hidden;">' +
- '<iframe src="' + frame_url + '?width=100%&height=100%" ' +
- 'style="position:absolute;top:0;left:0;width:100%;height: 100%;" ' +
- 'frameborder="0" ' +
- 'allowfullscreen ' +
- 'scrolling="no">' +
- '</iframe>' +
- '</div>';
- });
- },
- "fallback": function () {
- "use strict";
- tarteaucitron.fallback(['canalu_player'], function (elem) {
- return tarteaucitron.engage('canalu');
- });
- }
- };
- // WebTV Normandie Université
- tarteaucitron.services.webtvnu = {
- "key": "webtvnu",
- "type": "video",
- "name": "WebTV Normandie Université",
- "uri": "https://docs.google.com/document/d/1tpVclj4QBoAq1meSZgYrpNECwp7dbmb_IhICY3sTl9c/edit",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['webtvnu_player'], function (x) {
- var frame_url = 'https://webtv.normandie-univ.fr/permalink/' + x.getAttribute("videoID") + '/iframe/',
- width = x.getAttribute("width"),
- height = x.getAttribute("height");
- return '<iframe width="' + width + '" height="' + height + '" src="' + frame_url + '" allowfullscreen="allowfullscreen" allow="autoplay"></iframe>';
- });
- },
- "fallback": function () {
- "use strict";
- tarteaucitron.fallback(['webtvnu_player'], function (elem) {
- return tarteaucitron.engage('webtvnu');
- });
- }
- };
- // studizz
- tarteaucitron.services.studizz = {
- "key": "studizz",
- "type": "other",
- "name": "Studizz Chatbot",
- "uri": "https://group.studizz.fr/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.studizzToken === undefined) {
- return;
- }
- tarteaucitron.addScript('https://webchat.studizz.fr/webchat.js?token=' + tarteaucitron.user.studizzToken);
- }
- };
- // meteofrance
- tarteaucitron.services.meteofrance = {
- "key": "meteofrance",
- "type": "api",
- "name": "Météo France",
- "uri": "https://meteofrance.com/politique-de-confidentialite",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['tac_meteofrance'], function (x) {
- var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Météo France iframe'),
- width = x.getAttribute("width"),
- height = x.getAttribute("height"),
- insee = x.getAttribute("data-insee"),
- allowfullscreen = x.getAttribute("allowfullscreen");
- 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>';
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'meteofrance';
- tarteaucitron.fallback(['tac_meteofrance'], function (elem) {
- elem.style.width = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // m6meteo
- tarteaucitron.services.m6meteo = {
- "key": "m6meteo",
- "type": "api",
- "name": "M6 Météo",
- "uri": "https://gdpr.m6tech.net/charte-confidentialite-m6-web-meteocity.pdf",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['tac_m6meteo'], function (x) {
- var id = x.getAttribute("data-id");
- tarteaucitron.addScript('https://www.meteocity.com/widget/js/'+id);
- 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>';
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'm6meteo';
- tarteaucitron.fallback(['tac_m6meteo'], function (elem) {
- return tarteaucitron.engage(id);
- });
- }
- };
- // mtcaptcha
- tarteaucitron.services.mtcaptcha = {
- "key": "mtcaptcha",
- "type": "api",
- "name": "MTcaptcha",
- "uri": "https://www.mtcaptcha.com",
- "readmoreLink": "https://www.mtcaptcha.com/faq-cookie-declaration",
- "needConsent": true,
- "cookies": ['mtv1Pulse','mtv1ConfSum','mtv1Pong'],
- "js": function () {
- window.mtcaptchaConfig = {
- "sitekey": tarteaucitron.user.mtcaptchaSitekey
- };
- tarteaucitron.addScript('https://service.mtcaptcha.com/mtcv1/client/mtcaptcha.min.js');
- tarteaucitron.addScript('https://service2.mtcaptcha.com/mtcv1/client/mtcaptcha2.min.js');
- }
- };
- // Internet Archive / https://archive.org
- tarteaucitron.services.archive = {
- "key": "archive",
- "type": "video",
- "name": "Internet Archive",
- "uri": "https://archive.org/about/terms.php",
- "needConsent": true,
- "cookies": ['abtest-identifier','donation-identifier'],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['archive_player'], function (x) {
- var video_id = tarteaucitron.getElemAttr(x, "data-videoID"),
- video_width = tarteaucitron.getElemAttr(x, "data-width"),
- frame_width = 'width=',
- video_height = tarteaucitron.getElemAttr(x, "data-height"),
- frame_height = 'height=',
- video_frame;
- if (video_id === undefined) {
- return "";
- }
- if (video_width !== undefined) {
- frame_width += '"' + video_width + '" ';
- } else {
- frame_width += '"" ';
- }
- if (video_height !== undefined) {
- frame_height += '"' + video_height + '" ';
- } else {
- frame_height += '"" ';
- }
- video_frame = '<iframe src="https://archive.org/embed/' + video_id + '" ' + frame_width + frame_height + ' frameborder="0" webkitallowfullscreen="true" mozallowfullscreen="true" allowfullscreen></iframe>';
- return video_frame;
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'archive';
- tarteaucitron.fallback(['archive_player'], function (elem) {
- elem.style.width = elem.getAttribute('data-width') + 'px';
- elem.style.height = elem.getAttribute('data-height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // Gallica
- tarteaucitron.services.gallica = {
- "key": "gallica",
- "type": "other",
- "name": "Gallica",
- "uri": "https://gallica.bnf.fr/edit/und/conditions-dutilisation-des-contenus-de-gallica",
- "needConsent": true,
- "cookies": ['dtCookie', 'dtLatC', 'dtPC', 'dtSa', 'rxVisitor', 'rxvt', 'xtvrn'],
- "js": function () {
- "use strict";
- tarteaucitron.fallback(['gallica_player'], function (x) {
- var src = tarteaucitron.getElemAttr(x, "data-src"),
- style = tarteaucitron.getElemAttr(x, "data-style"),
- frame;
- if (src === undefined) {
- return "";
- }
- frame = '<iframe style="'+ style + '" src="' + src + '"></iframe>';
- return frame;
- });
- },
- "fallback": function () {
- "use strict";
- var id = 'gallica';
- tarteaucitron.fallback(['gallica_player'], function (elem) {
- elem.style = elem.getAttribute('data-style');
- return tarteaucitron.engage(id);
- });
- }
- };
- // crisp
- tarteaucitron.services.crisp = {
- "key": "crisp",
- "type": "other",
- "name": "Crisp Chat",
- "uri": "https://help.crisp.chat/en/article/crisp-chatbox-cookie-ip-policy-1147xor/",
- "needConsent": false,
- "cookies": ['crisp-client', '__cfduid'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.crispID === undefined) {
- return;
- }
- window.$crisp = [];
- window.CRISP_WEBSITE_ID = tarteaucitron.user.crispID;
- tarteaucitron.addScript('https://client.crisp.chat/l.js');
- }
- };
- // microanalytics
- tarteaucitron.services.microanalytics = {
- "key": "microanalytics",
- "type": "analytic",
- "name": "MicroAnalytic",
- "uri": "https://microanalytics.io/page/privacy",
- "needConsent": false,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.microanalyticsID === undefined) {
- return;
- }
- tarteaucitron.addScript('https://microanalytics.io/js/script.js', tarteaucitron.user.microanalyticsID, undefined, true, "data-host", "https://microanalytics.io");
- }
- };
- // facebookcustomerchat
- tarteaucitron.services.facebookcustomerchat = {
- "key": "facebookcustomerchat",
- "type": "social",
- "name": "Facebook (Customer Chat)",
- "uri": "https://www.facebook.com/policies/cookies/",
- "needConsent": true,
- "cookies": ['act','c_user','datr','dpr','presence','sb','wd','xs','/tr'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.facebookChatID === undefined) {
- return;
- }
- tarteaucitron.fallback(['fb-customerchat'], '');
- window.fbAsyncInit=function(){FB.init({appId:tarteaucitron.user.facebookChatID,autoLogAppEvents:!0,xfbml:!0,version:"v3.0"})};
- tarteaucitron.addScript('https://connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk/xfbml.customerchat.js', 'facebook-jssdk');
- },
- "fallback": function () {
- "use strict";
- var id = 'facebookcustomerchat';
- tarteaucitron.fallback(['fb-customerchat'], tarteaucitron.engage(id));
- }
- };
- // weborama
- tarteaucitron.services.weborama = {
- "key": "weborama",
- "type": "analytic",
- "name": "Weborama",
- "uri": "https://weborama.com/faq-cnil-avril-2021/",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.addScript('https://cstatic.weborama.fr/js/advertiserv2/adperf_conversion.js');
- }
- };
- // tiktok
- tarteaucitron.services.tiktok = {
- "key": "tiktok",
- "type": "analytic",
- "name": "Tiktok",
- "uri": "https://www.tiktok.com/legal/tiktok-website-cookies-policy",
- "needConsent": true,
- "cookies": [],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.tiktokId === undefined) {
- return;
- }
- tarteaucitron.addScript('https://analytics.tiktok.com/i18n/pixel/sdk.js?sdkid=' + tarteaucitron.user.tiktokId);
- if (typeof tarteaucitron.user.tiktokMore === 'function') {
- tarteaucitron.user.tiktokMore();
- }
- }
- };
- // Klaviyo
- tarteaucitron.services.klaviyo = {
- "key": "klaviyo",
- "type": "ads",
- "name": "Klaviyo",
- "uri": "https://help.klaviyo.com/hc/en-us/articles/360034666712-About-Cookies-in-Klaviyo",
- "needConsent": true,
- "cookies": ['__kla_id'],
- "js": function () {
- "use strict";
- if (tarteaucitron.user.klaviyoCompanyId === undefined) {
- return;
- }
- tarteaucitron.addScript('//static.klaviyo.com/onsite/js/klaviyo.js?company_id=' + tarteaucitron.user.klaviyoCompanyId);
- }
- };
- // cnzz analytics
- tarteaucitron.services.cnzz = {
- "key": "cnzz",
- "type": "analytic",
- "name": "Cnzz Analytics (z_stat.php)",
- "uri": "https://info.umeng.com/detail/2018523/1527065095508",
- "needConsent": true,
- "cookies": (function () {
- var CnzzCookie = '_cnzz_' + tarteaucitron.user.cnzz;
- CnzzCookie = CnzzCookie.replace(/-/g, '_');
- cnzz_site = (tarteaucitron.user.cnzz || '' ).split('-')[0] || [];
- cnzz_key = (tarteaucitron.user.cnzz || '' ).split('-')[1] || [];
- return ['CNZZDATA'+cnzz_key, 'UM_distinctid', CnzzCookie];
- })(),
- "js": function () {
- "use strict";
- window.dataLayer = window.dataLayer || [];
- tarteaucitron.addScript('https://s' + cnzz_site + '.cnzz.com/z_stat.php?id=' + cnzz_key + '&web_id=' + cnzz_key , '', function () {
- if (typeof tarteaucitron.user.cnzzMore === 'function') {
- tarteaucitron.user.cnzzMore();
- }
- });
- }
- };
- // baidu analytics
- tarteaucitron.services.baidu = {
- "key": "baidu",
- "type": "analytic",
- "name": "Baidu Analytics (hm.js)",
- "uri": "https://baike.baidu.com/item/%E9%80%9A%E7%94%A8%E6%95%B0%E6%8D%AE%E4%BF%9D%E6%8A%A4%E6%9D%A1%E4%BE%8B/22616576",
- "needConsent": true,
- "cookies": (function () {
-
- var BaiduCookie = '_baidu_' + tarteaucitron.user.baidu;
- BaiduCookie = BaiduCookie.replace(/-/g, '_');
- return ['Hm_lpvt_' + tarteaucitron.user.baidu, 'Hm_lvt_' + tarteaucitron.user.baidu, BaiduCookie];
- })(),
- "js": function () {
- "use strict";
- window.dataLayer = window.dataLayer || [];
- tarteaucitron.addScript('https://hm.baidu.com/hm.js?' + tarteaucitron.user.baidu , '', function () {
- if (typeof tarteaucitron.user.baiduMore === 'function') {
- tarteaucitron.user.baiduMore();
- }
- });
- }
- };
|