1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375 |
- /*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.fixSelfXSS(x.getAttribute("title")),
- width = x.getAttribute("width"),
- height = x.getAttribute("height"),
- allowfullscreen = x.getAttribute("allowfullscreen"),
- url = x.getAttribute("data-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 = elem.getAttribute('width') + 'px';
- elem.style.height = elem.getAttribute('height') + 'px';
- return tarteaucitron.engage(id);
- });
- }
- };
- // 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");
- return '<iframe title="' + frame_title + '" src="https://www.facebook.com/plugins/post.php?href=' + encodeURIComponent(url) + '&width=' + width + '&show_text=false&appId=' + appId + '&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'], '');
- 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);
- }
- };
- // 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));
- }
- };
- // 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(x.getAttribute("title") || 'Dailymotion iframe'),
- video_id = x.getAttribute("videoID"),
- video_width = x.getAttribute("width"),
- frame_width = 'width=',
- video_height = x.getAttribute("height"),
- frame_height = 'height=',
- video_frame,
- embed_type = x.getAttribute("embedType"),
- allowfullscreen = x.getAttribute("allowfullscreen"),
- params = 'info=' + x.getAttribute("showinfo") + '&autoPlay=' + x.getAttribute("autoplay");
- 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,
- "cookies": [],
- "js": function () {
- "use strict";
- tarteaucitron.addScript('https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js');
- },
- "fallback": function () {
- "use strict";
- var id = 'adsense';
- tarteaucitron.fallback(['adsbygoogle'], 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];
- })(),
- "js": function () {
- "use strict";
- window._gaq = window._gaq || [];
- window._gaq.push(['_setAccount', tarteaucitron.user.gajsUa]);
- 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];
- })(),
- "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': 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 analytics
- tarteaucitron.services.gtag = {
- "key": "gtag",
- "type": "analytic",
- "name": "Google Analytics (gtag.js)",
- "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];
- })(),
- "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());
- 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,{ 'anonymize_ip': true },{linker: {domains: tarteaucitron.user.gtagCrossdomain,}});
- } else {
- gtag('config', tarteaucitron.user.gtagUa, { 'anonymize_ip': true });
- }
- 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);
- });
- }
- };
- // 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) {}
- });
- }
- };
- // 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(x.getAttribute("data-title") || x.getAttribute("title") || 'Vimeo iframe'),
- video_width = x.getAttribute("data-width") || x.getAttribute("width"),
- frame_width = 'width=',
- video_height = x.getAttribute("data-height") || x.getAttribute("height"),
- frame_height = 'height=',
- video_id = x.getAttribute("data-videoID") || x.getAttribute("videoID"),
- video_allowfullscreen = x.getAttribute("data-allowfullscreen"),
- video_autopause = x.getAttribute("data-autopause") || '',
- video_autoplay = x.getAttribute("data-autoplay") || x.getAttribute("autoplay") || '',
- video_background = x.getAttribute("data-background") || '',
- video_byline = x.getAttribute("data-byline") || x.getAttribute("byline") || '',
- video_color = x.getAttribute("data-color") || '',
- video_controls = x.getAttribute("data-controls") || '',
- video_loop = x.getAttribute("data-loop") || x.getAttribute("loop") || '',
- video_maxheight = x.getAttribute("data-maxheight") || '',
- video_maxwidth = x.getAttribute("data-maxwidth") || '',
- video_muted = x.getAttribute("data-muted") || '',
- video_playsinline = x.getAttribute("data-playsinline") || '',
- video_portrait = x.getAttribute("data-portrait") || x.getAttribute("portrait") || '',
- video_speed = x.getAttribute("data-speed") || '',
- video_title = x.getAttribute("data-title") || x.getAttribute("title") || '',
- video_transparent = x.getAttribute("data-transparent") || '',
- 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 += '"" ';
- }
- var video_qs = "?";
- if (video_title.length > 0) {
- video_qs += "title=" + video_title;
- }
- if (video_byline.length > 0) {
- if (video_qs.length > 0) {
- video_qs += "&";
- }
- video_qs += "byline=" + video_byline;
- }
- if (video_portrait.length > 0) {
- if (video_qs.length > 0) {
- video_qs += "&";
- }
- video_qs += "portrait=" + video_portrait;
- }
- if (video_loop.length > 0) {
- if (video_qs.length > 0) {
- video_qs += "&";
- }
- video_qs += "loop=" + video_loop;
- }
- if (video_autoplay.length > 0) {
- if (video_qs.length > 0) {
- video_qs += "&";
- }
- video_qs += "autoplay=" + video_autoplay;
- }
- if (video_autopause.length > 0) {
- if (video_qs.length > 0) {
- video_qs += "&";
- }
- video_qs += "autopause=" + video_autopause;
- }
- if (video_background.length > 0) {
- if (video_qs.length > 0) {
- video_qs += "&";
- }
- video_qs += "background=" + video_background;
- }
- if (video_color.length > 0) {
- if (video_qs.length > 0) {
- video_qs += "&";
- }
- video_qs += "color=" + video_color;
- }
- if (video_controls.length > 0) {
- if (video_qs.length > 0) {
- video_qs += "&";
- }
- video_qs += "controls=" + video_controls;
- }
- if (video_maxheight.length > 0) {
- if (video_qs.length > 0) {
- video_qs += "&";
- }
- video_qs += "maxheight=" + video_maxheight;
- }
- if (video_maxwidth.length > 0) {
- if (video_qs.length > 0) {
- video_qs += "&";
- }
- video_qs += "maxwidth=" + video_maxwidth;
- }
- if (video_muted.length > 0) {
- if (video_qs.length > 0) {
- video_qs += "&";
- }
- video_qs += "muted=" + video_muted;
- }
- if (video_playsinline.length > 0) {
- if (video_qs.length > 0) {
- video_qs += "&";
- }
- video_qs += "playsinline=" + video_playsinline;
- }
- if (video_speed.length > 0) {
- if (video_qs.length > 0) {
- video_qs += "&";
- }
- video_qs += "speed=" + video_speed;
- }
- if (video_transparent.length > 0) {
- if (video_qs.length > 0) {
- video_qs += "&";
- }
- video_qs += "transparent=" + video_transparent;
- }
- if (video_qs === "?") {
- video_qs = "";
- }
- 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://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
- "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://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
- "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 tarteaucitron.user.atMore === 'function') {
- tarteaucitron.user.atMore();
- }
- if (typeof window.tag.privacy !== 'undefined') {
- window.tag.privacy.setVisitorOptin();
- }
- if (tarteaucitron.user.atinternetSendData !== false) {
- window.tag.page.send();
- }
- });
- },
- "fallback": function () {
- "use strict";
- if (tarteaucitron.user.atLibUrl === undefined) {
- return;
- }
- tarteaucitron.user.atinternetAlreadyLoaded = true;
- tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() {
- window.tag = new ATInternet.Tracker.Tag();
- if (typeof tarteaucitron.user.atMore === 'function') {
- tarteaucitron.user.atMore();
- }
- 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 (tarteaucitron.user.atinternetSendData !== false) {
- window.tag.page.send();
- }
- });
- }
- };
- // AT Internet
- tarteaucitron.services.atinternethightrack = {
- "key": "atinternethightrack",
- "type": "analytic",
- "name": "AT Internet",
- "uri": "https://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
- "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(x.getAttribute("title") || 'Youtube iframe'),
- video_id = x.getAttribute("videoID"),
- srcdoc = x.getAttribute("srcdoc"),
- loading = x.getAttribute("loading"),
- video_width = x.getAttribute("width"),
- frame_width = 'width=',
- video_height = x.getAttribute("height"),
- frame_height = 'height=',
- video_frame,
- allowfullscreen = x.getAttribute("allowfullscreen"),
- attrs = ["theme", "rel", "controls", "showinfo", "autoplay", "mute", "start", "loop"],
- params = attrs.filter(function (a) {
- return x.getAttribute(a) !== null;
- }).map(function (a) {
- return a + "=" + x.getAttribute(a);
- }).join("&");
- 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(x.getAttribute("title") || 'Youtube iframe'),
- playlist_id = x.getAttribute("playlistID"),
- video_width = x.getAttribute("width"),
- frame_width = 'width=',
- video_height = x.getAttribute("height"),
- frame_height = 'height=',
- video_frame,
- allowfullscreen = x.getAttribute("allowfullscreen"),
- params = 'theme=' + x.getAttribute("theme") + '&rel=' + x.getAttribute("rel") + '&controls=' + x.getAttribute("controls") + '&showinfo=' + x.getAttribute("showinfo") + '&autoplay=' + x.getAttribute("autoplay") + '&mute=' + x.getAttribute("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://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
- "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'],
- "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'];
- 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());
- gtag('config', ua, { 'anonymize_ip': true });
- });
- });
- }
- }
- };
- // 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');
- 3. HTML
- You don't need to add any html code, if the service is autorized, 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"]);
- 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)
- }
- };
- // 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;
- }
- window.Tawk_API=window.Tawk_API||{};
- window.Tawk_LoadStart=new Date();
- tarteaucitron.addScript('https://embed.tawk.to/' + tarteaucitron.user.tawktoId + '/default');
- }
- };
- // 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'),
- color = x.getAttribute('data-color');
- if (podcast_id === undefined) {
- return "";
- }
- var src = 'https://player.ausha.co/index.html?podcastId=' + 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');
- });
- }
- };
|