tarteaucitron.services.js 140 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927
  1. /*global tarteaucitron, ga, Shareaholic, stLight, clicky, top, google, Typekit, FB, ferankReady, IN, stButtons, twttr, PCWidget*/
  2. /*jslint regexp: true, nomen: true*/
  3. // generic iframe
  4. tarteaucitron.services.iframe = {
  5. "key": "iframe",
  6. "type": "other",
  7. "name": "Web content",
  8. "uri": "",
  9. "needConsent": true,
  10. "cookies": [],
  11. "js": function () {
  12. "use strict";
  13. tarteaucitron.fallback(['tac_iframe'], function (x) {
  14. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title")),
  15. width = x.getAttribute("width"),
  16. height = x.getAttribute("height"),
  17. url = x.getAttribute("data-url");
  18. return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency allowfullscreen></iframe>';
  19. });
  20. },
  21. "fallback": function () {
  22. "use strict";
  23. var id = 'iframe';
  24. tarteaucitron.fallback(['tac_iframe'], function (elem) {
  25. elem.style.width = elem.getAttribute('width') + 'px';
  26. elem.style.height = elem.getAttribute('height') + 'px';
  27. return tarteaucitron.engage(id);
  28. });
  29. }
  30. };
  31. // pardot
  32. tarteaucitron.services.pardot = {
  33. "key": "pardot",
  34. "type": "analytic",
  35. "name": "Pardot",
  36. "uri": "https://www.salesforce.com/company/privacy/full_privacy/",
  37. "needConsent": true,
  38. "cookies": ['visitor_id'],
  39. "js": function () {
  40. "use strict";
  41. if (tarteaucitron.user.piAId === undefined || tarteaucitron.user.piCId === undefined) {
  42. return;
  43. }
  44. window.piAId = tarteaucitron.user.piAId;
  45. window.piCId = tarteaucitron.user.piCId;
  46. window.piHostname = 'pi.pardot.com';
  47. tarteaucitron.addScript('https://pi.pardot.com/pd.js');
  48. }
  49. };
  50. // xandr
  51. tarteaucitron.services.xandr = {
  52. "key": "xandr",
  53. "type": "ads",
  54. "name": "Xandr",
  55. "uri": "https://www.xandr.com/privacy/cookie-policy/",
  56. "needConsent": true,
  57. "cookies": ['uuid2', 'uids', 'sess', 'icu', 'anj', 'usersync'],
  58. "js": function () {
  59. "use strict";
  60. if (tarteaucitron.user.xandrId === undefined) {
  61. return;
  62. }
  63. if (!window.pixie) {
  64. var n = window.pixie = function(e, i, a) {
  65. n.actionQueue.push({
  66. action: e,
  67. actionValue: i,
  68. params: a
  69. })
  70. };
  71. n.actionQueue = [];
  72. }
  73. tarteaucitron.addScript('https://acdn.adnxs.com/dmp/up/pixie.js', '', function() {
  74. window.pixie('init', tarteaucitron.user.xandrId);
  75. window.pixie('event', 'PageView');
  76. });
  77. }
  78. };
  79. // helloasso
  80. tarteaucitron.services.helloasso = {
  81. "key": "helloasso",
  82. "type": "api",
  83. "name": "HelloAsso",
  84. "uri": "https://www.helloasso.com/confidentialite",
  85. "needConsent": true,
  86. "cookies": [],
  87. "js": function () {
  88. "use strict";
  89. tarteaucitron.fallback(['tac_helloasso'], function (x) {
  90. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'HelloAsso iframe'),
  91. width = x.getAttribute("width"),
  92. height = x.getAttribute("height"),
  93. url = x.getAttribute("data-url");
  94. return '<iframe title="' + frame_title + '" id="haWidget" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency allowfullscreen></iframe>';
  95. });
  96. },
  97. "fallback": function () {
  98. "use strict";
  99. var id = 'helloasso';
  100. tarteaucitron.fallback(['tac_helloasso'], function (elem) {
  101. elem.style.width = elem.getAttribute('width') + 'px';
  102. elem.style.height = elem.getAttribute('height') + 'px';
  103. return tarteaucitron.engage(id);
  104. });
  105. }
  106. };
  107. // podcloud
  108. tarteaucitron.services.podcloud = {
  109. "key": "podcloud",
  110. "type": "video",
  111. "name": "podCloud",
  112. "uri": "https://podcloud.fr/privacy",
  113. "needConsent": true,
  114. "cookies": [],
  115. "js": function () {
  116. "use strict";
  117. tarteaucitron.fallback(['tac_podcloud'], function (x) {
  118. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'podCloud iframe'),
  119. width = x.getAttribute("width"),
  120. height = x.getAttribute("height"),
  121. url = x.getAttribute("data-url");
  122. return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency allowfullscreen></iframe>';
  123. });
  124. },
  125. "fallback": function () {
  126. "use strict";
  127. var id = 'podcloud';
  128. tarteaucitron.fallback(['tac_podcloud'], function (elem) {
  129. elem.style.width = elem.getAttribute('width') + 'px';
  130. elem.style.height = elem.getAttribute('height') + 'px';
  131. return tarteaucitron.engage(id);
  132. });
  133. }
  134. };
  135. // facebookpost
  136. tarteaucitron.services.facebookpost = {
  137. "key": "facebookpost",
  138. "type": "social",
  139. "name": "Facebook (post)",
  140. "uri": "https://www.facebook.com/policy.php",
  141. "needConsent": true,
  142. "cookies": [],
  143. "js": function () {
  144. "use strict";
  145. tarteaucitron.fallback(['tac_facebookpost'], function (x) {
  146. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Facebook iframe'),
  147. width = x.getAttribute("width"),
  148. height = x.getAttribute("height"),
  149. url = x.getAttribute("data-url"),
  150. appId = x.getAttribute("data-appid");
  151. return '<iframe title="' + frame_title + '" src="https://www.facebook.com/plugins/post.php?href=' + encodeURIComponent(url) + '&amp;width=' + width + '&amp;show_text=false&amp;appId=' + appId + '&amp;height=' + height + '" width="' + width + '" height="' + height + '" scrolling="auto" allowtransparency allowfullscreen></iframe>';
  152. });
  153. },
  154. "fallback": function () {
  155. "use strict";
  156. var id = 'facebookpost';
  157. tarteaucitron.fallback(['tac_facebookpost'], function (elem) {
  158. elem.style.width = elem.getAttribute('width') + 'px';
  159. elem.style.height = elem.getAttribute('height') + 'px';
  160. return tarteaucitron.engage(id);
  161. });
  162. }
  163. };
  164. // amplitude
  165. tarteaucitron.services.amplitude = {
  166. "key": "amplitude",
  167. "type": "analytic",
  168. "name": "Amplitude",
  169. "uri": "https://amplitude.com/privacy",
  170. "needConsent": true,
  171. "cookies": [],
  172. "js": function () {
  173. "use strict";
  174. if (tarteaucitron.user.amplitude === undefined) {
  175. return;
  176. }
  177. tarteaucitron.addScript('https://cdn.amplitude.com/libs/amplitude-5.8.0-min.gz.js', '', function() {
  178. window.amplitude = {
  179. _q: [],
  180. _iq: {}
  181. };
  182. function s(e,t){e.prototype[t]=function(){this._q.push([t].concat(Array.prototype.slice.call(arguments,0)));return this}}
  183. var o=function(){this._q=[];return this};
  184. var a=["add","append","clearAll","prepend","set","setOnce","unset"];
  185. for(var u=0;u<a.length;u++){s(o,a[u])}
  186. amplitude.Identify=o;
  187. var c=function(){this._q=[];return this};
  188. var l=["setProductId","setQuantity","setPrice","setRevenueType","setEventProperties"];
  189. for(var p=0;p<l.length;p++){s(c,l[p])}
  190. amplitude.Revenue=c;
  191. var d=["init","logEvent","logRevenue","setUserId","setUserProperties","setOptOut","setVersionName","setDomain","setDeviceId","enableTracking","setGlobalUserProperties","identify","clearUserProperties","setGroup","logRevenueV2","regenerateDeviceId","groupIdentify","onInit","logEventWithTimestamp","logEventWithGroups","setSessionId","resetSessionId"];
  192. 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])}}
  193. v(amplitude);
  194. 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]};
  195. amplitude.getInstance().init(tarteaucitron.user.amplitude);
  196. });
  197. }
  198. };
  199. // abtasty
  200. tarteaucitron.services.abtasty = {
  201. "key": "abtasty",
  202. "type": "api",
  203. "name": "ABTasty",
  204. "uri": "https://www.abtasty.com/terms-of-use/",
  205. "needConsent": true,
  206. "cookies": ['ABTasty', 'ABTastySession'],
  207. "js": function () {
  208. "use strict";
  209. if (tarteaucitron.user.abtastyID === undefined) {
  210. return;
  211. }
  212. tarteaucitron.addScript('//try.abtasty.com/'+tarteaucitron.user.abtastyID+'.js');
  213. }
  214. };
  215. // yandex metrica
  216. tarteaucitron.services.metrica = {
  217. "key": "metrica",
  218. "type": "analytic",
  219. "name": "Yandex Metrica",
  220. "uri": "https://yandex.com/legal/confidential/",
  221. "needConsent": true,
  222. "cookies": ['_ym_metrika_enabled','_ym_isad', '_ym_uid', '_ym_d','yabs-sid','_ym_debug','_ym_mp2_substs','_ym_hostIndex','_ym_mp2_track','yandexuid','usst'],
  223. "js": function () {
  224. "use strict";
  225. if (tarteaucitron.user.yandexmetrica === undefined) {
  226. return;
  227. }
  228. tarteaucitron.addScript('https://mc.yandex.ru/metrika/tag.js', '', function() {
  229. (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
  230. 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)})
  231. (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");
  232. ym(tarteaucitron.user.yandexmetrica, "init", {
  233. clickmap:true,
  234. trackLinks:true,
  235. accurateTrackBounce:true,
  236. webvisor:true,
  237. ecommerce:"dataLayer"
  238. });
  239. });
  240. }
  241. };
  242. // addthis
  243. tarteaucitron.services.addthis = {
  244. "key": "addthis",
  245. "type": "social",
  246. "name": "AddThis",
  247. "uri": "https://www.addthis.com/privacy/privacy-policy#publisher-visitors",
  248. "needConsent": true,
  249. "cookies": ['__atuvc', '__atuvs'],
  250. "js": function () {
  251. "use strict";
  252. if (tarteaucitron.user.addthisPubId === undefined) {
  253. return;
  254. }
  255. if (tarteaucitron.isAjax === true) {
  256. window.addthis = null;
  257. window._adr = null;
  258. window._atc = null;
  259. window._atd = null;
  260. window._ate = null;
  261. window._atr = null;
  262. window._atw = null;
  263. }
  264. tarteaucitron.fallback(['addthis_inline_share_toolbox'], '');
  265. tarteaucitron.addScript('//s7.addthis.com/js/300/addthis_widget.js#pubid=' + tarteaucitron.user.addthisPubId);
  266. },
  267. "fallback": function () {
  268. "use strict";
  269. var id = 'addthis';
  270. tarteaucitron.fallback(['addthis_inline_share_toolbox'], tarteaucitron.engage(id));
  271. }
  272. };
  273. // addtoanyfeed
  274. tarteaucitron.services.addtoanyfeed = {
  275. "key": "addtoanyfeed",
  276. "type": "social",
  277. "name": "AddToAny (feed)",
  278. "uri": "https://www.addtoany.com/privacy",
  279. "needConsent": true,
  280. "cookies": [],
  281. "js": function () {
  282. "use strict";
  283. if (tarteaucitron.user.addtoanyfeedUri === undefined) {
  284. return;
  285. }
  286. tarteaucitron.user.addtoanyfeedSubscribeLink = 'https://www.addtoany.com/subscribe?linkurl=' + tarteaucitron.user.addtoanyfeedUri;
  287. window.a2a_config = window.a2a_config || {};
  288. window.a2a_config.linkurl = tarteaucitron.user.addtoanyfeedUri;
  289. tarteaucitron.addScript('//static.addtoany.com/menu/feed.js');
  290. },
  291. "fallback": function () {
  292. "use strict";
  293. tarteaucitron.user.addtoanyfeedSubscribeLink = 'https://www.addtoany.com/subscribe?linkurl=' + tarteaucitron.user.addtoanyfeedUri;
  294. }
  295. };
  296. // addtoanyshare
  297. tarteaucitron.services.addtoanyshare = {
  298. "key": "addtoanyshare",
  299. "type": "social",
  300. "name": "AddToAny (share)",
  301. "uri": "https://www.addtoany.com/privacy",
  302. "needConsent": true,
  303. "cookies": [],
  304. "js": function () {
  305. "use strict";
  306. tarteaucitron.fallback(['tac_addtoanyshare'], '');
  307. tarteaucitron.addScript('//static.addtoany.com/menu/page.js');
  308. },
  309. "fallback": function () {
  310. "use strict";
  311. var id = 'addtoanyshare';
  312. tarteaucitron.fallback(['tac_addtoanyshare'], tarteaucitron.engage(id));
  313. }
  314. };
  315. // aduptech ads
  316. tarteaucitron.services.aduptech_ads = {
  317. "key": "aduptech_ads",
  318. "type": "ads",
  319. "name": "Ad Up Technology (ads)",
  320. "uri": "https://www.adup-tech.com/datenschutz",
  321. "needConsent": true,
  322. "cookies": [],
  323. "js": function () {
  324. "use strict";
  325. var IDENTIFIER = "aduptech_ads",
  326. API_URL = "https://s.d.adup-tech.com/jsapi";
  327. var elements = document.getElementsByClassName(IDENTIFIER);
  328. if (!elements || elements.length === 0) {
  329. return;
  330. }
  331. tarteaucitron.fallback([IDENTIFIER], "");
  332. tarteaucitron.addScript(API_URL, "", function() {
  333. for (var i = 0; i < elements.length; i++) {
  334. var element = elements[i];
  335. if (!element.getAttribute("id")) {
  336. element.setAttribute("id", IDENTIFIER + Math.random().toString(36).substr(2, 9));
  337. }
  338. window.uAd.embed(element.getAttribute("id"), {
  339. placementKey: element.getAttribute("placementKey"),
  340. responsive: Boolean(element.getAttribute("responsive")),
  341. lazy: Boolean(element.getAttribute("lazy")),
  342. adtest: Boolean(element.getAttribute("test")),
  343. query: element.getAttribute("query") || "",
  344. minCpc: element.getAttribute("minCpc") || "",
  345. pageUrl: element.getAttribute("pageUrl") || "",
  346. skip: element.getAttribute("skip") || ""
  347. });
  348. }
  349. });
  350. },
  351. "fallback": function () {
  352. "use strict";
  353. tarteaucitron.fallback(["aduptech_ads"], tarteaucitron.engage("aduptech_ads"));
  354. }
  355. };
  356. // aduptech conversion
  357. tarteaucitron.services.aduptech_conversion = {
  358. "key": "aduptech_conversion",
  359. "type": "ads",
  360. "name": "Ad Up Technology (conversion)",
  361. "uri": "https://www.adup-tech.com/datenschutz",
  362. "needConsent": true,
  363. "cookies": [],
  364. "js": function () {
  365. "use strict";
  366. var IDENTIFIER = "aduptech_conversion",
  367. CONVERSION_PIXEL_BASE_URL = "https://d.adup-tech.com/campaign/conversion";
  368. var elements = document.getElementsByClassName(IDENTIFIER);
  369. if (!elements || elements.length === 0) {
  370. return;
  371. }
  372. tarteaucitron.fallback([IDENTIFIER], "");
  373. for (var i = 0; i < elements.length; i++) {
  374. var element = elements[i];
  375. if (!element.getAttribute("advertiserId") || !element.getAttribute("conversionCode")) {
  376. continue;
  377. }
  378. var url = CONVERSION_PIXEL_BASE_URL +
  379. "/" + encodeURIComponent(element.getAttribute("advertiserId")) +
  380. "?t=" + encodeURIComponent(element.getAttribute("conversionCode"));
  381. if (element.getAttribute("price")) {
  382. url += "&price=" + encodeURIComponent(element.getAttribute("price"));
  383. }
  384. if (element.getAttribute("quantity")) {
  385. url += "&quantity=" + encodeURIComponent(element.getAttribute("quantity"));
  386. }
  387. if (element.getAttribute("total")) {
  388. url += "&total=" + encodeURIComponent(element.getAttribute("total"));
  389. }
  390. if (element.getAttribute("orderId")) {
  391. url += "&order_id=" + encodeURIComponent(element.getAttribute("orderId"));
  392. }
  393. if (element.getAttribute("itemNumber")) {
  394. url += "&item_number=" + encodeURIComponent(element.getAttribute("itemNumber"));
  395. }
  396. if (element.getAttribute("description")) {
  397. url += "&description=" + encodeURIComponent(element.getAttribute("description"));
  398. }
  399. (new Image()).src = url;
  400. }
  401. }
  402. };
  403. // aduptech retargeting
  404. tarteaucitron.services.aduptech_retargeting = {
  405. "key": "aduptech_retargeting",
  406. "type": "ads",
  407. "name": "Ad Up Technology (retargeting)",
  408. "uri": "https://www.adup-tech.com/datenschutz",
  409. "needConsent": true,
  410. "cookies": [],
  411. "js": function () {
  412. "use strict";
  413. var IDENTIFIER = "aduptech_retargeting",
  414. API_URL = "https://s.d.adup-tech.com/services/retargeting.js";
  415. var elements = document.getElementsByClassName(IDENTIFIER);
  416. if (!elements || elements.length === 0) {
  417. return;
  418. }
  419. tarteaucitron.fallback([IDENTIFIER], "");
  420. window.AdUpRetargeting = function(api) {
  421. for (var i = 0; i < elements.length; i++) {
  422. var element = elements[i];
  423. api.init();
  424. api.setAccount(element.getAttribute("account"));
  425. if (element.getAttribute("email")) {
  426. api.setEmail(element.getAttribute("email"));
  427. } else if (element.getAttribute("hashedEmail")) {
  428. api.setHashedEmail(element.getAttribute("hashedEmail"));
  429. }
  430. if (element.getAttribute("product")) {
  431. try {
  432. api.setProduct(JSON.parse(element.getAttribute("product")));
  433. } catch (e) {
  434. api.setProduct(element.getAttribute("product"));
  435. }
  436. }
  437. if (element.getAttribute("transaction")) {
  438. try {
  439. api.setTransaction(JSON.parse(element.getAttribute("transaction")));
  440. } catch (e) {
  441. api.setTransaction(element.getAttribute("transaction"));
  442. }
  443. }
  444. if (element.getAttribute("demarkUser")) {
  445. api.setDemarkUser();
  446. } else if (element.getAttribute("demarkProducts")) {
  447. api.setDemarkProducts();
  448. }
  449. if (element.getAttribute("conversionCode")) {
  450. api.setConversionCode(element.getAttribute("conversionCode"));
  451. }
  452. if (element.getAttribute("device")) {
  453. var setter = "set" + element.getAttribute("device").charAt(0).toUpperCase() + element.getAttribute("device").slice(1);
  454. if (typeof api[setter] === 'function') {
  455. api[setter]();
  456. }
  457. }
  458. if (element.getAttribute("track")) {
  459. var tracker = "track" + element.getAttribute("track").charAt(0).toUpperCase() + element.getAttribute("track").slice(1);
  460. if (typeof api[tracker] === "function") {
  461. api[tracker]();
  462. } else {
  463. api.trackHomepage();
  464. }
  465. }
  466. };
  467. };
  468. tarteaucitron.addScript(API_URL);
  469. }
  470. };
  471. // alexa
  472. tarteaucitron.services.alexa = {
  473. "key": "alexa",
  474. "type": "analytic",
  475. "name": "Alexa",
  476. "uri": "https://www.alexa.com/help/privacy",
  477. "needConsent": true,
  478. "cookies": ['__asc', '__auc'],
  479. "js": function () {
  480. "use strict";
  481. if (tarteaucitron.user.alexaAccountID === undefined) {
  482. return;
  483. }
  484. window._atrk_opts = {
  485. atrk_acct: tarteaucitron.user.alexaAccountID,
  486. domain: window.location.hostname.match(/[^\.]*\.[^.]*$/)[0],
  487. dynamic: true
  488. };
  489. tarteaucitron.addScript('https://d31qbv1cthcecs.cloudfront.net/atrk.js');
  490. }
  491. };
  492. // amazon
  493. tarteaucitron.services.amazon = {
  494. "key": "amazon",
  495. "type": "ads",
  496. "name": "Amazon",
  497. "uri": "https://www.amazon.com/gp/help/customer/display.html/ref=help_search_1-1?ie=UTF8&nodeId=201909010&qid=1544617177&sr=1-1",
  498. "needConsent": true,
  499. "cookies": [],
  500. "js": function () {
  501. "use strict";
  502. tarteaucitron.fallback(['amazon_product'], function (x) {
  503. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Amazon iframe'),
  504. amazonId = x.getAttribute("amazonid"),
  505. productId = x.getAttribute("productid"),
  506. url = '//ws-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=' + tarteaucitron.getLanguage().toUpperCase() + '&source=ss&ref=ss_til&ad_type=product_link&tracking_id=' + amazonId + '&marketplace=amazon&region=' + tarteaucitron.getLanguage().toUpperCase() + '&placement=' + productId + '&asins=' + productId + '&show_border=true&link_opens_in_new_window=true',
  507. iframe = '<iframe title="' + frame_title + '" style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" src="' + url + '"></iframe>';
  508. return iframe;
  509. });
  510. },
  511. "fallback": function () {
  512. "use strict";
  513. var id = 'amazon';
  514. tarteaucitron.fallback(['amazon_product'], tarteaucitron.engage(id));
  515. }
  516. };
  517. // calameo
  518. tarteaucitron.services.calameo = {
  519. "key": "calameo",
  520. "type": "video",
  521. "name": "Calameo",
  522. "uri": "https://fr.calameo.com/privacy",
  523. "needConsent": true,
  524. "cookies": [],
  525. "js": function () {
  526. "use strict";
  527. tarteaucitron.fallback(['calameo-canvas'], function (x) {
  528. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Calameo iframe'),
  529. id = x.getAttribute("data-id"),
  530. width = x.getAttribute("width"),
  531. height = x.getAttribute("height"),
  532. url = '//v.calameo.com/?bkcode=' + id;
  533. return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency allowfullscreen></iframe>';
  534. });
  535. },
  536. "fallback": function () {
  537. "use strict";
  538. var id = 'calameo';
  539. tarteaucitron.fallback(['calameo-canvas'], function (elem) {
  540. elem.style.width = elem.getAttribute('width') + 'px';
  541. elem.style.height = elem.getAttribute('height') + 'px';
  542. return tarteaucitron.engage(id);
  543. });
  544. }
  545. };
  546. // clicky
  547. tarteaucitron.services.clicky = {
  548. "key": "clicky",
  549. "type": "analytic",
  550. "name": "Clicky",
  551. "uri": "https://clicky.com/terms",
  552. "needConsent": true,
  553. "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],
  554. "js": function () {
  555. "use strict";
  556. if (tarteaucitron.user.clickyId === undefined) {
  557. return;
  558. }
  559. tarteaucitron.addScript('//static.getclicky.com/js', '', function () {
  560. if (typeof clicky.init === 'function') {
  561. clicky.init(tarteaucitron.user.clickyId);
  562. }
  563. if (typeof tarteaucitron.user.clickyMore === 'function') {
  564. tarteaucitron.user.clickyMore();
  565. }
  566. });
  567. }
  568. };
  569. // clicmanager
  570. tarteaucitron.services.clicmanager = {
  571. "key": "clicmanager",
  572. "type": "ads",
  573. "name": "Clicmanager",
  574. "uri": "http://www.clicmanager.fr/infos_legales.php",
  575. "needConsent": true,
  576. "cookies": [],
  577. "js": function () {
  578. "use strict";
  579. var uniqIds = [],
  580. i,
  581. uri;
  582. tarteaucitron.fallback(['clicmanager-canvas'], function (x) {
  583. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  584. uniqIds.push(uniqId);
  585. return '<div id="' + uniqId + '" c="' + x.getAttribute('c') + '" s="' + x.getAttribute('s') + '" t="' + x.getAttribute('t') + '"></div>';
  586. });
  587. for (i = 0; i < uniqIds.length; i += 1) {
  588. uri = '//ads.clicmanager.fr/exe.php?';
  589. uri += 'c=' + document.getElementById(uniqIds[i]).getAttribute('c') + '&';
  590. uri += 's=' + document.getElementById(uniqIds[i]).getAttribute('s') + '&';
  591. uri += 't=' + document.getElementById(uniqIds[i]).getAttribute('t');
  592. tarteaucitron.makeAsync.init(uri, uniqIds[i]);
  593. }
  594. },
  595. "fallback": function () {
  596. "use strict";
  597. var id = 'clicmanager';
  598. tarteaucitron.fallback(['clicmanager-canvas'], tarteaucitron.engage(id));
  599. }
  600. };
  601. // compteur
  602. tarteaucitron.services.compteur = {
  603. "key": "compteur",
  604. "type": "analytic",
  605. "name": "Compteur.fr",
  606. "uri": "https://www.compteur.fr/help_privacy_policy.htm",
  607. "needConsent": true,
  608. "cookies": [],
  609. "js": function () {
  610. "use strict";
  611. if (tarteaucitron.user.compteurID === undefined) {
  612. return;
  613. }
  614. tarteaucitron.addScript('https://server2.compteur.fr/log7.js', '', function() {wtslog7(tarteaucitron.user.compteurID,1);});
  615. }
  616. };
  617. // contentsquare
  618. tarteaucitron.services.contentsquare = {
  619. "key": "contentsquare",
  620. "type": "api",
  621. "name": "ContentSquare",
  622. "uri": "https://docs.contentsquare.com/uxa-en/#collected-data",
  623. "needConsent": true,
  624. "cookies": ['_cs_id', '_cs_s', '_cs_vars', '_cs_ex', '_cs_c', '_cs_optout'],
  625. "js": function () {
  626. "use strict";
  627. if (tarteaucitron.user.contentsquareID === undefined) {
  628. return;
  629. }
  630. tarteaucitron.addScript('//t.contentsquare.net/uxa/'+tarteaucitron.user.contentsquareID+'.js');
  631. }
  632. };
  633. // crazyegg
  634. tarteaucitron.services.crazyegg = {
  635. "key": "crazyegg",
  636. "type": "analytic",
  637. "name": "Crazy Egg",
  638. "uri": "https://www.crazyegg.com/privacy",
  639. "needConsent": true,
  640. "cookies": [],
  641. "js": function () {
  642. "use strict";
  643. if (tarteaucitron.user.crazyeggId === undefined) {
  644. return;
  645. }
  646. tarteaucitron.addScript('//script.crazyegg.com/pages/scripts/' + tarteaucitron.user.crazyeggId.substr(0, 4) + '/' + tarteaucitron.user.crazyeggId.substr(4, 4) + '.js');
  647. }
  648. };
  649. // clarity
  650. tarteaucitron.services.clarity = {
  651. "key": "clarity",
  652. "type": "analytic",
  653. "name": "Clarity",
  654. "uri": "https://clarity.microsoft.com/",
  655. "needConsent": true,
  656. "cookies": [],
  657. "js": function () {
  658. "use strict";
  659. window["clarity"]= window["clarity"]||function(){(window["clarity"].q= window["clarity"].q||[]).push(arguments)};
  660. tarteaucitron.addScript('https://www.clarity.ms/tag/' + tarteaucitron.user.clarity);
  661. }
  662. };
  663. // criteo
  664. tarteaucitron.services.criteo = {
  665. "key": "criteo",
  666. "type": "ads",
  667. "name": "Criteo",
  668. "uri": "http://www.criteo.com/privacy/",
  669. "needConsent": true,
  670. "cookies": [],
  671. "js": function () {
  672. "use strict";
  673. document.MAX_ct0 = '';
  674. var uniqIds = [],
  675. i,
  676. uri;
  677. tarteaucitron.fallback(['criteo-canvas'], function (x) {
  678. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  679. uniqIds.push(uniqId);
  680. return '<div id="' + uniqId + '" zoneid="' + x.getAttribute('zoneid') + '"></div>';
  681. });
  682. for (i = 0; i < uniqIds.length; i += 1) {
  683. uri = '//cas.criteo.com/delivery/ajs.php?';
  684. uri += 'zoneid=' + document.getElementById(uniqIds[i]).getAttribute('zoneid');
  685. uri += '&nodis=1&cb=' + Math.floor(Math.random() * 99999999999);
  686. uri += '&loc=' + encodeURI(window.location);
  687. uri += (document.MAX_used !== ',') ? '&exclude=' + document.MAX_used : '';
  688. uri += (document.charset !== undefined ? '&charset=' + document.charset : '');
  689. uri += (document.characterSet !== undefined ? '&charset=' + document.characterSet : '');
  690. uri += (document.referrer !== undefined) ? '&referer=' + encodeURI(document.referrer) : '';
  691. uri += (document.context !== undefined) ? '&context=' + encodeURI(document.context) : '';
  692. uri += ((document.MAX_ct0 !== undefined) && (document.MAX_ct0.substring(0, 4) === 'http')) ? '&ct0=' + encodeURI(document.MAX_ct0) : '';
  693. uri += (document.mmm_fo !== undefined) ? '&mmm_fo=1' : '';
  694. tarteaucitron.makeAsync.init(uri, uniqIds[i]);
  695. }
  696. },
  697. "fallback": function () {
  698. "use strict";
  699. var id = 'criteo';
  700. tarteaucitron.fallback(['criteo-canvas'], tarteaucitron.engage(id));
  701. }
  702. };
  703. // artetv
  704. tarteaucitron.services.artetv = {
  705. "key": "artetv",
  706. "type": "video",
  707. "name": "Arte.tv",
  708. "uri": "https://www.arte.tv/sites/fr/corporate/donnees-personnelles/",
  709. "needConsent": true,
  710. "cookies": [],
  711. "js": function () {
  712. "use strict";
  713. tarteaucitron.fallback(['artetv_player'], function (x) {
  714. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Arte.tv iframe'),
  715. video_json = x.getAttribute("json"),
  716. video_width = x.getAttribute("width"),
  717. video_height = x.getAttribute("height"),
  718. video_frame;
  719. if (video_json === undefined) {
  720. return "";
  721. }
  722. 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" allowfullscreen="allowfullscreen"></iframe>';
  723. return video_frame;
  724. });
  725. },
  726. "fallback": function () {
  727. "use strict";
  728. var id = 'artetv';
  729. tarteaucitron.fallback(['artetv_player'], function (elem) {
  730. elem.style.width = elem.getAttribute('width') + 'px';
  731. elem.style.height = elem.getAttribute('height') + 'px';
  732. return tarteaucitron.engage(id);
  733. });
  734. }
  735. };
  736. // dailymotion
  737. tarteaucitron.services.dailymotion = {
  738. "key": "dailymotion",
  739. "type": "video",
  740. "name": "Dailymotion",
  741. "uri": "https://www.dailymotion.com/legal/privacy",
  742. "needConsent": true,
  743. "cookies": ['ts', 'dmvk', 'hist', 'v1st', 's_vi'],
  744. "js": function () {
  745. "use strict";
  746. tarteaucitron.fallback(['dailymotion_player'], function (x) {
  747. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Dailymotion iframe'),
  748. video_id = x.getAttribute("videoID"),
  749. video_width = x.getAttribute("width"),
  750. frame_width = 'width=',
  751. video_height = x.getAttribute("height"),
  752. frame_height = 'height=',
  753. video_frame,
  754. embed_type = x.getAttribute("embedType"),
  755. params = 'info=' + x.getAttribute("showinfo") + '&autoPlay=' + x.getAttribute("autoplay");
  756. if (video_id === undefined) {
  757. return "";
  758. }
  759. if (video_width !== undefined) {
  760. frame_width += '"' + video_width + '" ';
  761. } else {
  762. frame_width += '"" ';
  763. }
  764. if (video_height !== undefined) {
  765. frame_height += '"' + video_height + '" ';
  766. } else {
  767. frame_height += '"" ';
  768. }
  769. if (embed_type === undefined || !['video', 'playlist'].includes(embed_type) ) {
  770. embed_type = "video";
  771. }
  772. video_frame = '<iframe title="' + frame_title + '" src="//www.dailymotion.com/embed/' + embed_type + '/' + video_id + '?' + params + '" ' + frame_width + frame_height + ' allowfullscreen></iframe>';
  773. return video_frame;
  774. });
  775. },
  776. "fallback": function () {
  777. "use strict";
  778. var id = 'dailymotion';
  779. tarteaucitron.fallback(['dailymotion_player'], function (elem) {
  780. elem.style.width = elem.getAttribute('width') + 'px';
  781. elem.style.height = elem.getAttribute('height') + 'px';
  782. return tarteaucitron.engage(id);
  783. });
  784. }
  785. };
  786. // dating affiliation
  787. tarteaucitron.services.datingaffiliation = {
  788. "key": "datingaffiliation",
  789. "type": "ads",
  790. "name": "Dating Affiliation",
  791. "uri": "http://www.dating-affiliation.com/conditions-generales.php",
  792. "needConsent": true,
  793. "cookies": [],
  794. "js": function () {
  795. "use strict";
  796. tarteaucitron.fallback(['datingaffiliation-canvas'], function (x) {
  797. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Dating Affiliation iframe'),
  798. comfrom = x.getAttribute("data-comfrom"),
  799. r = x.getAttribute("data-r"),
  800. p = x.getAttribute("data-p"),
  801. cf0 = x.getAttribute("data-cf0"),
  802. langue = x.getAttribute("data-langue"),
  803. forward_affiliate = x.getAttribute("data-forwardAffiliate"),
  804. cf2 = x.getAttribute("data-cf2"),
  805. cfsa2 = x.getAttribute("data-cfsa2"),
  806. width = x.getAttribute("width"),
  807. height = x.getAttribute("height"),
  808. url = 'http://www.tools-affil2.com/rotaban/ban.php?' + comfrom;
  809. 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>';
  810. });
  811. },
  812. "fallback": function () {
  813. "use strict";
  814. var id = 'datingaffiliation';
  815. tarteaucitron.fallback(['datingaffiliation-canvas'], function (elem) {
  816. elem.style.width = elem.getAttribute('width') + 'px';
  817. elem.style.height = elem.getAttribute('height') + 'px';
  818. return tarteaucitron.engage(id);
  819. });
  820. }
  821. };
  822. // dating affiliation popup
  823. tarteaucitron.services.datingaffiliationpopup = {
  824. "key": "datingaffiliationpopup",
  825. "type": "ads",
  826. "name": "Dating Affiliation (Pop Up)",
  827. "uri": "http://www.dating-affiliation.com/conditions-generales.php",
  828. "needConsent": true,
  829. "cookies": ['__utma', '__utmb', '__utmc', '__utmt_Tools', '__utmv', '__utmz', '_ga', '_gat', '_gat_UA-65072040-17', '__da-pu-xflirt-ID-pc-o169'],
  830. "js": function () {
  831. "use strict";
  832. var uniqIds = [],
  833. i,
  834. uri;
  835. tarteaucitron.fallback(['datingaffiliationpopup-canvas'], function (x) {
  836. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  837. uniqIds.push(uniqId);
  838. 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>';
  839. });
  840. for (i = 0; i < uniqIds.length; i += 1) {
  841. uri = 'http://www.promotools.biz/da/popunder/script.php?';
  842. uri += 'comfrom=' + document.getElementById(uniqIds[i]).getAttribute('comfrom') + '&';
  843. uri += 'promo=' + document.getElementById(uniqIds[i]).getAttribute('promo') + '&';
  844. uri += 'product_id=' + document.getElementById(uniqIds[i]).getAttribute('productid') + '&';
  845. uri += 'submitconfig=' + document.getElementById(uniqIds[i]).getAttribute('submitconfig') + '&';
  846. uri += 'ur=' + document.getElementById(uniqIds[i]).getAttribute('ur') + '&';
  847. uri += 'brand=' + document.getElementById(uniqIds[i]).getAttribute('brand') + '&';
  848. uri += 'lang=' + document.getElementById(uniqIds[i]).getAttribute('lang') + '&';
  849. uri += 'cf0=' + document.getElementById(uniqIds[i]).getAttribute('cf0') + '&';
  850. uri += 'cf2=' + document.getElementById(uniqIds[i]).getAttribute('cf2') + '&';
  851. uri += 'subid1=' + document.getElementById(uniqIds[i]).getAttribute('subid1') + '&';
  852. uri += 'cfsa2=' + document.getElementById(uniqIds[i]).getAttribute('cfsa2') + '&';
  853. uri += 'subid2=' + document.getElementById(uniqIds[i]).getAttribute('subid2') + '&';
  854. uri += 'nicheId=' + document.getElementById(uniqIds[i]).getAttribute('nicheid') + '&';
  855. uri += 'degreId=' + document.getElementById(uniqIds[i]).getAttribute('degreid') + '&';
  856. uri += 'bt=' + document.getElementById(uniqIds[i]).getAttribute('bt') + '&';
  857. uri += 'vis=' + document.getElementById(uniqIds[i]).getAttribute('vis') + '&';
  858. uri += 'hid=' + document.getElementById(uniqIds[i]).getAttribute('hid') + '&';
  859. uri += 'snd=' + document.getElementById(uniqIds[i]).getAttribute('snd') + '&';
  860. uri += 'aabd=' + document.getElementById(uniqIds[i]).getAttribute('aabd') + '&';
  861. uri += 'aabs=' + document.getElementById(uniqIds[i]).getAttribute('aabs');
  862. tarteaucitron.makeAsync.init(uri, uniqIds[i]);
  863. }
  864. },
  865. "fallback": function () {
  866. "use strict";
  867. var id = 'datingaffiliationpopup';
  868. tarteaucitron.fallback(['datingaffiliationpopup-canvas'], tarteaucitron.engage(id));
  869. }
  870. };
  871. // deezer
  872. tarteaucitron.services.deezer = {
  873. "key": "deezer",
  874. "type": "video",
  875. "name": "Deezer",
  876. "uri": "https://www.deezer.com/legal/personal-datas",
  877. "needConsent": true,
  878. "cookies": [],
  879. "js": function () {
  880. "use strict";
  881. tarteaucitron.fallback(['deezer_player'], function (x) {
  882. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Deezer iframe'),
  883. deezer_id = x.getAttribute("deezerID"),
  884. deezer_width = x.getAttribute("width"),
  885. frame_width = 'width=',
  886. deezer_height = x.getAttribute("height"),
  887. frame_height = 'height=',
  888. deezer_frame,
  889. embed_theme = x.getAttribute("theme"),
  890. embed_type = x.getAttribute("embedType"),
  891. radius = x.getAttribute("radius"),
  892. tracklist = x.getAttribute("tracklist"),
  893. params;
  894. if (deezer_id === undefined) {
  895. return "";
  896. }
  897. if (deezer_width !== undefined) {
  898. frame_width += '"' + deezer_width + '" ';
  899. } else {
  900. frame_width += '"" ';
  901. }
  902. if (deezer_height !== undefined) {
  903. frame_height += '"' + deezer_height + '" ';
  904. } else {
  905. frame_height += '"" ';
  906. }
  907. if (embed_theme === undefined || !['auto', 'light', 'dark'].includes(embed_theme) ) {
  908. embed_theme = "auto";
  909. }
  910. if (embed_type === undefined || !['album', 'track', 'playlist'].includes(embed_type) ) {
  911. embed_type = "album";
  912. }
  913. if (radius === undefined || !['true', 'false'].includes(radius) ) {
  914. radius = "true";
  915. }
  916. if (tracklist === undefined || !['true', 'false'].includes(tracklist) ) {
  917. tracklist = "true";
  918. }
  919. params = 'tracklist=' + tracklist + '&radius=' + radius;
  920. deezer_frame = '<iframe title="' + frame_title + '" src="//widget.deezer.com/widget/' + embed_theme + '/' + embed_type + '/' + deezer_id + '?' + params + '" ' + frame_width + frame_height + ' allowfullscreen></iframe>';
  921. return deezer_frame;
  922. });
  923. },
  924. "fallback": function () {
  925. "use strict";
  926. var id = 'deezer';
  927. tarteaucitron.fallback(['deezer_player'], function (elem) {
  928. elem.style.width = elem.getAttribute('width') + 'px';
  929. elem.style.height = elem.getAttribute('height') + 'px';
  930. return tarteaucitron.engage(id);
  931. });
  932. }
  933. };
  934. // leadforensics
  935. tarteaucitron.services.leadforensics = {
  936. "key": "leadforensics",
  937. "type": "analytic",
  938. "name": "LeadForensics",
  939. "uri": "https://www.leadforensics.com/privacy-policy/",
  940. "needConsent": true,
  941. "cookies": ['trackalyzer'],
  942. "js": function () {
  943. "use strict";
  944. if (tarteaucitron.user.leadforensicsSf14gv === undefined ||
  945. tarteaucitron.user.leadforensicsIidentifier === undefined) {
  946. return;
  947. }
  948. window.sf14gv = tarteaucitron.user.leadforensicsSf14gv;
  949. (function() {
  950. var sf14g = document.createElement('script'); sf14g.async = true;
  951. sf14g.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 't.sf14g.com/sf14g.js';
  952. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(sf14g, s);
  953. })();
  954. tarteaucitron.addScript('//secure.leadforensics.com/js/' + tarteaucitron.user.leadforensicsIidentifier + '.js');
  955. }
  956. };
  957. // disqus
  958. tarteaucitron.services.disqus = {
  959. "key": "disqus",
  960. "type": "comment",
  961. "name": "Disqus",
  962. "uri": "https://help.disqus.com/customer/portal/articles/466259-privacy-policy",
  963. "needConsent": true,
  964. "cookies": [],
  965. "js": function () {
  966. "use strict";
  967. if (tarteaucitron.user.disqusShortname === undefined) {
  968. return;
  969. }
  970. tarteaucitron.addScript('//' + tarteaucitron.user.disqusShortname + '.disqus.com/embed.js');
  971. tarteaucitron.addScript('//' + tarteaucitron.user.disqusShortname + '.disqus.com/count.js');
  972. },
  973. "fallback": function () {
  974. "use strict";
  975. var id = 'disqus';
  976. if (document.getElementById('disqus_thread')) {
  977. document.getElementById('disqus_thread').innerHTML = tarteaucitron.engage(id);
  978. }
  979. }
  980. };
  981. // ekomi
  982. tarteaucitron.services.ekomi = {
  983. "key": "ekomi",
  984. "type": "social",
  985. "name": "eKomi",
  986. "uri": "http://www.ekomi-us.com/us/privacy/",
  987. "needConsent": true,
  988. "cookies": [],
  989. "js": function () {
  990. "use strict";
  991. if (tarteaucitron.user.ekomiCertId === undefined) {
  992. return;
  993. }
  994. window.eKomiIntegrationConfig = [
  995. {certId: tarteaucitron.user.ekomiCertId}
  996. ];
  997. tarteaucitron.addScript('//connect.ekomi.de/integration_1410173009/' + tarteaucitron.user.ekomiCertId + '.js');
  998. }
  999. };
  1000. // etracker
  1001. tarteaucitron.services.etracker = {
  1002. "key": "etracker",
  1003. "type": "analytic",
  1004. "name": "eTracker",
  1005. "uri": "https://www.etracker.com/en/data-protection.html",
  1006. "needConsent": true,
  1007. "cookies": [],
  1008. "js": function () {
  1009. "use strict";
  1010. if (tarteaucitron.user.etracker === undefined) {
  1011. return;
  1012. }
  1013. tarteaucitron.addScript('//static.etracker.com/code/e.js', '_etLoader', function () {}, true, "data-secure-code", tarteaucitron.user.etracker);
  1014. }
  1015. };
  1016. // facebook
  1017. tarteaucitron.services.facebook = {
  1018. "key": "facebook",
  1019. "type": "social",
  1020. "name": "Facebook",
  1021. "uri": "https://www.facebook.com/policy.php",
  1022. "needConsent": true,
  1023. "cookies": [],
  1024. "js": function () {
  1025. "use strict";
  1026. tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], '');
  1027. tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.0', 'facebook-jssdk');
  1028. if (tarteaucitron.isAjax === true) {
  1029. if (typeof FB !== "undefined") {
  1030. FB.XFBML.parse();
  1031. }
  1032. }
  1033. },
  1034. "fallback": function () {
  1035. "use strict";
  1036. var id = 'facebook';
  1037. tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], tarteaucitron.engage(id));
  1038. }
  1039. };
  1040. // facebooklikebox
  1041. tarteaucitron.services.facebooklikebox = {
  1042. "key": "facebooklikebox",
  1043. "type": "social",
  1044. "name": "Facebook (like box)",
  1045. "uri": "https://www.facebook.com/policy.php",
  1046. "needConsent": true,
  1047. "cookies": [],
  1048. "js": function () {
  1049. "use strict";
  1050. tarteaucitron.fallback(['fb-like-box', 'fb-page'], '');
  1051. tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.3', 'facebook-jssdk');
  1052. if (tarteaucitron.isAjax === true) {
  1053. if (typeof FB !== "undefined") {
  1054. FB.XFBML.parse();
  1055. }
  1056. }
  1057. },
  1058. "fallback": function () {
  1059. "use strict";
  1060. var id = 'facebooklikebox';
  1061. tarteaucitron.fallback(['fb-like-box', 'fb-page'], tarteaucitron.engage(id));
  1062. }
  1063. };
  1064. // facebookcomment
  1065. tarteaucitron.services.facebookcomment = {
  1066. "key": "facebookcomment",
  1067. "type": "comment",
  1068. "name": "Facebook (commentaire)",
  1069. "uri": "https://www.facebook.com/policy.php",
  1070. "needConsent": true,
  1071. "cookies": [],
  1072. "js": function () {
  1073. "use strict";
  1074. tarteaucitron.fallback(['fb-comments'], '');
  1075. tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.0', 'facebook-jssdk');
  1076. if (tarteaucitron.isAjax === true) {
  1077. if (typeof FB !== "undefined") {
  1078. FB.XFBML.parse();
  1079. }
  1080. }
  1081. },
  1082. "fallback": function () {
  1083. "use strict";
  1084. var id = 'facebookcomment';
  1085. tarteaucitron.fallback(['fb-comments'], tarteaucitron.engage(id));
  1086. }
  1087. };
  1088. // ferank
  1089. tarteaucitron.services.ferank = {
  1090. "key": "ferank",
  1091. "type": "analytic",
  1092. "name": "FERank",
  1093. "uri": "https://www.ferank.fr/respect-vie-privee/#mesureaudience",
  1094. "needConsent": false,
  1095. "cookies": [],
  1096. "js": function () {
  1097. "use strict";
  1098. tarteaucitron.addScript('//static.ferank.fr/pixel.js', '', function () {
  1099. if (typeof tarteaucitron.user.ferankMore === 'function') {
  1100. tarteaucitron.user.ferankMore();
  1101. }
  1102. });
  1103. }
  1104. };
  1105. // pingdom
  1106. tarteaucitron.services.pingdom = {
  1107. "key": "pingdom",
  1108. "type": "api",
  1109. "name": "Pingdom",
  1110. "uri": "https://www.solarwinds.com/general-data-protection-regulation-cloud",
  1111. "needConsent": true,
  1112. "cookies": [],
  1113. "js": function () {
  1114. "use strict";
  1115. if (tarteaucitron.user.pingdomId === undefined) {
  1116. return;
  1117. }
  1118. window._prum = [['id', tarteaucitron.user.pingdomId], ['mark', 'firstbyte', (new Date()).getTime()]];
  1119. tarteaucitron.addScript('https://rum-static.pingdom.net/prum.min.js');
  1120. }
  1121. };
  1122. // simpleanalytics
  1123. tarteaucitron.services.simpleanalytics = {
  1124. "key": "simpleanalytics",
  1125. "type": "analytic",
  1126. "name": "Simple Analytics",
  1127. "uri": "https://docs.simpleanalytics.com/what-we-collect",
  1128. "needConsent": false,
  1129. "cookies": [],
  1130. "js": function () {
  1131. "use strict";
  1132. tarteaucitron.addScript('https://scripts.simpleanalyticscdn.com/latest.js');
  1133. }
  1134. };
  1135. // stonly
  1136. tarteaucitron.services.stonly = {
  1137. "key": "stonly",
  1138. "type": "api",
  1139. "name": "Stonly",
  1140. "uri": "https://stonly.com/privacy",
  1141. "needConsent": true,
  1142. "cookies": [],
  1143. "js": function () {
  1144. "use strict";
  1145. if (tarteaucitron.user.stonlyId === undefined) {
  1146. return;
  1147. }
  1148. window.STONLY_WID = tarteaucitron.user.stonlyId;
  1149. window.StonlyWidget || ((window.w = window.StonlyWidget = function() {
  1150. window.w._api ? window.w._api.apply(window.w, arguments) : window.w.queue.push(arguments)
  1151. }).queue = []);
  1152. tarteaucitron.addScript('https://stonly.com/js/widget/v2/stonly-widget.js?v=' + Date.now());
  1153. }
  1154. };
  1155. // stripe
  1156. /*tarteaucitron.services.stripe = {
  1157. "key": "stripe",
  1158. "type": "api",
  1159. "name": "Stripe",
  1160. "uri": "https://stripe.com/cookies-policy/legal",
  1161. "needConsent": true,
  1162. "cookies": [],
  1163. "js": function () {
  1164. "use strict";
  1165. tarteaucitron.addScript('https://js.stripe.com/v3/');
  1166. }
  1167. };*/
  1168. // ferank pub
  1169. tarteaucitron.services.ferankpub = {
  1170. "key": "ferankpub",
  1171. "type": "ads",
  1172. "name": "FERank (pub)",
  1173. "uri": "https://www.ferank.fr/respect-vie-privee/#regiepublicitaire",
  1174. "needConsent": false,
  1175. "cookies": [],
  1176. "js": function () {
  1177. "use strict";
  1178. tarteaucitron.addScript('//static.ferank.fr/publicite.async.js');
  1179. if (tarteaucitron.isAjax === true) {
  1180. if (typeof ferankReady === 'function') {
  1181. ferankReady();
  1182. }
  1183. }
  1184. },
  1185. "fallback": function () {
  1186. "use strict";
  1187. var id = 'ferankpub';
  1188. tarteaucitron.fallback(['ferank-publicite'], tarteaucitron.engage(id));
  1189. }
  1190. };
  1191. // get+
  1192. tarteaucitron.services.getplus = {
  1193. "key": "getplus",
  1194. "type": "analytic",
  1195. "name": "Get+",
  1196. "uri": "http://www.getplus.fr/Conditions-generales-de-vente_a226.html",
  1197. "needConsent": true,
  1198. "cookies": ['_first_pageview', '_jsuid', 'no_trackyy_' + tarteaucitron.user.getplusId, '_eventqueue'],
  1199. "js": function () {
  1200. "use strict";
  1201. if (tarteaucitron.user.getplusId === undefined) {
  1202. return;
  1203. }
  1204. window.webleads_site_ids = window.webleads_site_ids || [];
  1205. window.webleads_site_ids.push(tarteaucitron.user.getplusId);
  1206. tarteaucitron.addScript('//stats.webleads-tracker.com/js');
  1207. }
  1208. };
  1209. // google+
  1210. tarteaucitron.services.gplus = {
  1211. "key": "gplus",
  1212. "type": "social",
  1213. "name": "Google+",
  1214. "uri": "https://policies.google.com/privacy",
  1215. "needConsent": true,
  1216. "cookies": [],
  1217. "js": function () {
  1218. "use strict";
  1219. tarteaucitron.addScript('https://apis.google.com/js/platform.js');
  1220. },
  1221. "fallback": function () {
  1222. "use strict";
  1223. var id = 'gplus';
  1224. tarteaucitron.fallback(['g-plus', 'g-plusone'], tarteaucitron.engage(id));
  1225. }
  1226. };
  1227. // google+ badge
  1228. tarteaucitron.services.gplusbadge = {
  1229. "key": "gplusbadge",
  1230. "type": "social",
  1231. "name": "Google+ (badge)",
  1232. "uri": "https://policies.google.com/privacy",
  1233. "needConsent": true,
  1234. "cookies": [],
  1235. "js": function () {
  1236. "use strict";
  1237. tarteaucitron.addScript('https://apis.google.com/js/platform.js');
  1238. },
  1239. "fallback": function () {
  1240. "use strict";
  1241. var id = 'gplusbadge';
  1242. tarteaucitron.fallback(['g-page', 'g-person'], tarteaucitron.engage(id));
  1243. }
  1244. };
  1245. // google adsense
  1246. tarteaucitron.services.adsense = {
  1247. "key": "adsense",
  1248. "type": "ads",
  1249. "name": "Google Adsense",
  1250. "uri": "https://adssettings.google.com/",
  1251. "needConsent": true,
  1252. "cookies": [],
  1253. "js": function () {
  1254. "use strict";
  1255. tarteaucitron.addScript('https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js');
  1256. },
  1257. "fallback": function () {
  1258. "use strict";
  1259. var id = 'adsense';
  1260. tarteaucitron.fallback(['adsbygoogle'], tarteaucitron.engage(id));
  1261. }
  1262. };
  1263. // google partners badge
  1264. tarteaucitron.services.googlepartners = {
  1265. "key": "googlepartners",
  1266. "type": "ads",
  1267. "name": "Google Partners Badge",
  1268. "uri": "https://adssettings.google.com/",
  1269. "needConsent": true,
  1270. "cookies": [],
  1271. "js": function () {
  1272. "use strict";
  1273. tarteaucitron.addScript('https://apis.google.com/js/platform.js');
  1274. },
  1275. "fallback": function () {
  1276. "use strict";
  1277. var id = 'googlepartners';
  1278. tarteaucitron.fallback(['g-partnersbadge'], tarteaucitron.engage(id));
  1279. }
  1280. };
  1281. // google adsense search (form)
  1282. tarteaucitron.services.adsensesearchform = {
  1283. "key": "adsensesearchform",
  1284. "type": "ads",
  1285. "name": "Google Adsense Search (form)",
  1286. "uri": "https://adssettings.google.com/",
  1287. "needConsent": true,
  1288. "cookies": [],
  1289. "js": function () {
  1290. "use strict";
  1291. tarteaucitron.addScript('//www.google.com/coop/cse/brand?form=cse-search-box&lang=' + tarteaucitron.getLanguage());
  1292. }
  1293. };
  1294. // google adsense search (result)
  1295. tarteaucitron.services.adsensesearchresult = {
  1296. "key": "adsensesearchresult",
  1297. "type": "ads",
  1298. "name": "Google Adsense Search (result)",
  1299. "uri": "https://adssettings.google.com/",
  1300. "needConsent": true,
  1301. "cookies": [],
  1302. "js": function () {
  1303. "use strict";
  1304. if (tarteaucitron.user.adsensesearchresultCx === undefined) {
  1305. return;
  1306. }
  1307. tarteaucitron.addScript('//www.google.com/cse/cse.js?cx=' + tarteaucitron.user.adsensesearchresultCx);
  1308. },
  1309. "fallback": function () {
  1310. "use strict";
  1311. var id = 'adsensesearchresult';
  1312. if (document.getElementById('gcse_searchresults')) {
  1313. document.getElementById('gcse_searchresults').innerHTML = tarteaucitron.engage(id);
  1314. }
  1315. }
  1316. };
  1317. // googleadwordsconversion
  1318. tarteaucitron.services.googleadwordsconversion = {
  1319. "key": "googleadwordsconversion",
  1320. "type": "ads",
  1321. "name": "Google Adwords (conversion)",
  1322. "uri": "https://www.google.com/settings/ads",
  1323. "needConsent": true,
  1324. "cookies": [],
  1325. "js": function () {
  1326. "use strict";
  1327. if (tarteaucitron.user.adwordsconversionId === undefined) {
  1328. return;
  1329. }
  1330. tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () {
  1331. window.google_trackConversion({
  1332. google_conversion_id: tarteaucitron.user.adwordsconversionId,
  1333. google_conversion_label: tarteaucitron.user.adwordsconversionLabel,
  1334. google_conversion_language: tarteaucitron.user.adwordsconversionLanguage,
  1335. google_conversion_format: tarteaucitron.user.adwordsconversionFormat,
  1336. google_conversion_color: tarteaucitron.user.adwordsconversionColor,
  1337. google_conversion_value: tarteaucitron.user.adwordsconversionValue,
  1338. google_conversion_currency: tarteaucitron.user.adwordsconversionCurrency,
  1339. google_custom_params: {
  1340. parameter1: tarteaucitron.user.adwordsconversionCustom1,
  1341. parameter2: tarteaucitron.user.adwordsconversionCustom2
  1342. }
  1343. });
  1344. });
  1345. }
  1346. };
  1347. // googleadwordsremarketing
  1348. tarteaucitron.services.googleadwordsremarketing = {
  1349. "key": "googleadwordsremarketing",
  1350. "type": "ads",
  1351. "name": "Google Adwords (remarketing)",
  1352. "uri": "https://www.google.com/settings/ads",
  1353. "needConsent": true,
  1354. "cookies": [],
  1355. "js": function () {
  1356. "use strict";
  1357. if (tarteaucitron.user.adwordsremarketingId === undefined) {
  1358. return;
  1359. }
  1360. tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () {
  1361. window.google_trackConversion({
  1362. google_conversion_id: tarteaucitron.user.adwordsremarketingId,
  1363. google_remarketing_only: true
  1364. });
  1365. });
  1366. }
  1367. };
  1368. // google analytics (old)
  1369. tarteaucitron.services.gajs = {
  1370. "key": "gajs",
  1371. "type": "analytic",
  1372. "name": "Google Analytics (ga.js)",
  1373. "uri": "https://policies.google.com/privacy",
  1374. "needConsent": true,
  1375. "cookies": (function () {
  1376. var googleIdentifier = tarteaucitron.user.gajsUa,
  1377. tagUaCookie = '_gat_gtag_' + googleIdentifier,
  1378. tagGCookie = '_ga_' + googleIdentifier;
  1379. tagUaCookie = tagUaCookie.replace(/-/g, '_');
  1380. tagGCookie = tagGCookie.replace(/G-/g, '');
  1381. return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', tagUaCookie, tagGCookie];
  1382. })(),
  1383. "js": function () {
  1384. "use strict";
  1385. window._gaq = window._gaq || [];
  1386. window._gaq.push(['_setAccount', tarteaucitron.user.gajsUa]);
  1387. if (tarteaucitron.user.gajsAnonymizeIp) {
  1388. window._gaq.push (['_gat._anonymizeIp']);
  1389. }
  1390. if (tarteaucitron.user.gajsPageView) {
  1391. window._gaq.push(['_trackPageview, ' + tarteaucitron.user.gajsPageView]);
  1392. } else {
  1393. window._gaq.push(['_trackPageview']);
  1394. }
  1395. tarteaucitron.addScript('//www.google-analytics.com/ga.js', '', function () {
  1396. if (typeof tarteaucitron.user.gajsMore === 'function') {
  1397. tarteaucitron.user.gajsMore();
  1398. }
  1399. });
  1400. }
  1401. };
  1402. // google analytics
  1403. tarteaucitron.services.analytics = {
  1404. "key": "analytics",
  1405. "type": "analytic",
  1406. "name": "Google Analytics (universal)",
  1407. "uri": "https://policies.google.com/privacy",
  1408. "needConsent": true,
  1409. "cookies": (function () {
  1410. var googleIdentifier = tarteaucitron.user.analyticsUa,
  1411. tagUaCookie = '_gat_gtag_' + googleIdentifier,
  1412. tagGCookie = '_ga_' + googleIdentifier;
  1413. tagUaCookie = tagUaCookie.replace(/-/g, '_');
  1414. tagGCookie = tagGCookie.replace(/G-/g, '');
  1415. return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', tagUaCookie, tagGCookie];
  1416. })(),
  1417. "js": function () {
  1418. "use strict";
  1419. window.GoogleAnalyticsObject = 'ga';
  1420. window.ga = window.ga || function () {
  1421. window.ga.q = window.ga.q || [];
  1422. window.ga.q.push(arguments);
  1423. };
  1424. window.ga.l = new Date();
  1425. tarteaucitron.addScript('https://www.google-analytics.com/analytics.js', '', function () {
  1426. var uaCreate = {'cookieExpires': 34128000};
  1427. tarteaucitron.extend(uaCreate, tarteaucitron.user.analyticsUaCreate || {});
  1428. ga('create', tarteaucitron.user.analyticsUa, uaCreate);
  1429. if (tarteaucitron.user.analyticsAnonymizeIp) {
  1430. ga('set', 'anonymizeIp', true);
  1431. }
  1432. if (typeof tarteaucitron.user.analyticsPrepare === 'function') {
  1433. tarteaucitron.user.analyticsPrepare();
  1434. }
  1435. if (tarteaucitron.user.analyticsPageView) {
  1436. ga('send', 'pageview', tarteaucitron.user.analyticsPageView);
  1437. } else {
  1438. ga('send', 'pageview');
  1439. }
  1440. if (typeof tarteaucitron.user.analyticsMore === 'function') {
  1441. tarteaucitron.user.analyticsMore();
  1442. }
  1443. });
  1444. }
  1445. };
  1446. // google analytics
  1447. tarteaucitron.services.gtag = {
  1448. "key": "gtag",
  1449. "type": "analytic",
  1450. "name": "Google Analytics (gtag.js)",
  1451. "uri": "https://policies.google.com/privacy",
  1452. "needConsent": true,
  1453. "cookies": (function () {
  1454. var googleIdentifier = tarteaucitron.user.gtagUa,
  1455. tagUaCookie = '_gat_gtag_' + googleIdentifier,
  1456. tagGCookie = '_ga_' + googleIdentifier;
  1457. tagUaCookie = tagUaCookie.replace(/-/g, '_');
  1458. tagGCookie = tagGCookie.replace(/G-/g, '');
  1459. return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', tagUaCookie, tagGCookie];
  1460. })(),
  1461. "js": function () {
  1462. "use strict";
  1463. window.dataLayer = window.dataLayer || [];
  1464. tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + tarteaucitron.user.gtagUa, '', function () {
  1465. window.gtag = function gtag(){dataLayer.push(arguments);}
  1466. gtag('js', new Date());
  1467. gtag('config', tarteaucitron.user.gtagUa, { 'anonymize_ip': true });
  1468. if (typeof tarteaucitron.user.gtagMore === 'function') {
  1469. tarteaucitron.user.gtagMore();
  1470. }
  1471. });
  1472. }
  1473. };
  1474. // google maps
  1475. tarteaucitron.services.googlemaps = {
  1476. "key": "googlemaps",
  1477. "type": "api",
  1478. "name": "Google Maps",
  1479. "uri": "https://policies.google.com/privacy",
  1480. "needConsent": true,
  1481. "cookies": [],
  1482. "js": function () {
  1483. "use strict";
  1484. var mapOptions,
  1485. map,
  1486. uniqIds = [],
  1487. i;
  1488. if (tarteaucitron.user.mapscallback === undefined) {
  1489. tarteaucitron.user.mapscallback = 'tac_googlemaps_callback';
  1490. }
  1491. // Add Google Maps libraries if any (https://developers.google.com/maps/documentation/javascript/libraries)
  1492. var googleMapsLibraries = '';
  1493. if (tarteaucitron.user.googlemapsLibraries) {
  1494. googleMapsLibraries = '&libraries=' + tarteaucitron.user.googlemapsLibraries;
  1495. }
  1496. tarteaucitron.addScript('//maps.googleapis.com/maps/api/js?v=3.exp&key=' + tarteaucitron.user.googlemapsKey + '&callback='+tarteaucitron.user.mapscallback + googleMapsLibraries);
  1497. window.tac_googlemaps_callback = function () {
  1498. tarteaucitron.fallback(['googlemaps-canvas'], function (x) {
  1499. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  1500. uniqIds.push(uniqId);
  1501. 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>';
  1502. });
  1503. for (i = 0; i < uniqIds.length; i += 1) {
  1504. mapOptions = {
  1505. zoom: parseInt(document.getElementById(uniqIds[i]).getAttribute('zoom'), 10),
  1506. center: new google.maps.LatLng(parseFloat(document.getElementById(uniqIds[i]).getAttribute('latitude'), 10), parseFloat(document.getElementById(uniqIds[i]).getAttribute('longitude'), 10))
  1507. };
  1508. map = new google.maps.Map(document.getElementById(uniqIds[i]), mapOptions);
  1509. 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});
  1510. }
  1511. };
  1512. },
  1513. "fallback": function () {
  1514. "use strict";
  1515. var id = 'googlemaps';
  1516. tarteaucitron.fallback(['googlemaps-canvas'], tarteaucitron.engage(id));
  1517. }
  1518. };
  1519. // googlemaps search
  1520. tarteaucitron.services.googlemapssearch = {
  1521. "key": "googlemapssearch",
  1522. "type": "api",
  1523. "name": "Google Maps Search API",
  1524. "uri": "https://policies.google.com/privacy",
  1525. "needConsent": true,
  1526. "cookies": ['nid'],
  1527. "js": function () {
  1528. "use strict";
  1529. tarteaucitron.fallback(['googlemapssearch'], function (x) {
  1530. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Google search iframe'),
  1531. width = x.getAttribute("width"),
  1532. height = x.getAttribute("height"),
  1533. // url = x.getAttribute("data-url");
  1534. query = escape(x.getAttribute("data-search")),
  1535. key = x.getAttribute("data-api-key");
  1536. 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> '
  1537. });
  1538. },
  1539. "fallback": function () {
  1540. "use strict";
  1541. var id = 'googlemapssearch';
  1542. tarteaucitron.fallback(['googlemapssearch'], function (elem) {
  1543. elem.style.width = elem.getAttribute('width') + 'px';
  1544. elem.style.height = elem.getAttribute('height') + 'px';
  1545. return tarteaucitron.engage(id);
  1546. });
  1547. }
  1548. };
  1549. // googlemaps embed iframe
  1550. tarteaucitron.services.googlemapsembed = {
  1551. "key": "googlemapsembed",
  1552. "type": "api",
  1553. "name": "Google Maps Embed",
  1554. "uri": "https://policies.google.com/privacy",
  1555. "needConsent": true,
  1556. "cookies": ['apisid', 'hsid', 'nid', 'sapisid', 'sid', 'sidcc', 'ssid', '1p_jar'],
  1557. "js": function () {
  1558. "use strict";
  1559. tarteaucitron.fallback(['googlemapsembed'], function (x) {
  1560. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Google maps iframe'),
  1561. width = tarteaucitron.getElemWidth(x),
  1562. height = tarteaucitron.getElemHeight(x),
  1563. url = x.getAttribute("data-url");
  1564. return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency allowfullscreen></iframe>';
  1565. });
  1566. },
  1567. "fallback": function () {
  1568. "use strict";
  1569. var id = 'googlemapsembed';
  1570. tarteaucitron.fallback(['googlemapsembed'], function (elem) {
  1571. elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';
  1572. elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';
  1573. return tarteaucitron.engage(id);
  1574. });
  1575. }
  1576. };
  1577. // google tag manager
  1578. tarteaucitron.services.googletagmanager = {
  1579. "key": "googletagmanager",
  1580. "type": "api",
  1581. "name": "Google Tag Manager",
  1582. "uri": "https://policies.google.com/privacy",
  1583. "needConsent": true,
  1584. "cookies": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '__gads', '_drt_', 'FLC', 'exchange_uid', 'id', 'fc', 'rrs', 'rds', 'rv', 'uid', 'UIDR', 'UID', 'clid', 'ipinfo', 'acs'],
  1585. "js": function () {
  1586. "use strict";
  1587. if (tarteaucitron.user.googletagmanagerId === undefined) {
  1588. return;
  1589. }
  1590. window.dataLayer = window.dataLayer || [];
  1591. window.dataLayer.push({
  1592. 'gtm.start': new Date().getTime(),
  1593. event: 'gtm.js'
  1594. });
  1595. tarteaucitron.addScript('https://www.googletagmanager.com/gtm.js?id=' + tarteaucitron.user.googletagmanagerId);
  1596. }
  1597. };
  1598. // google tag manager multiple
  1599. tarteaucitron.services.multiplegoogletagmanager = {
  1600. "key": "multiplegoogletagmanager",
  1601. "type": "api",
  1602. "name": "Google Tag Manager",
  1603. "uri": "https://policies.google.com/privacy",
  1604. "needConsent": true,
  1605. "cookies": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '__gads', '_drt_', 'FLC', 'exchange_uid', 'id', 'fc', 'rrs', 'rds', 'rv', 'uid', 'UIDR', 'UID', 'clid', 'ipinfo', 'acs'],
  1606. "js": function () {
  1607. "use strict";
  1608. if (tarteaucitron.user.multiplegoogletagmanagerId === undefined) {
  1609. return;
  1610. }
  1611. window.dataLayer = window.dataLayer || [];
  1612. window.dataLayer.push({
  1613. 'gtm.start': new Date().getTime(),
  1614. event: 'gtm.js'
  1615. });
  1616. tarteaucitron.user.multiplegoogletagmanagerId.forEach(function (id) {
  1617. tarteaucitron.addScript('https://www.googletagmanager.com/gtm.js?id=' + id);
  1618. });
  1619. }
  1620. };
  1621. // google webfonts
  1622. tarteaucitron.services.googlefonts = {
  1623. "key": "googlefonts",
  1624. "type": "api",
  1625. "name": "Google Webfonts",
  1626. "uri": "https://policies.google.com/privacy",
  1627. "needConsent": true,
  1628. "cookies": [],
  1629. "js": function () {
  1630. "use strict";
  1631. if (tarteaucitron.user.googleFonts === undefined) {
  1632. return;
  1633. }
  1634. tarteaucitron.addScript('//ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js', '', function () {
  1635. WebFont.load({
  1636. google: {
  1637. families: tarteaucitron.user.googleFonts
  1638. }
  1639. });
  1640. });
  1641. }
  1642. };
  1643. // hubspot
  1644. tarteaucitron.services.hubspot = {
  1645. "key": "hubspot",
  1646. "type": "analytic",
  1647. "name": "Hubspot",
  1648. "uri": "https://legal.hubspot.com/privacy-policy",
  1649. "needConsent": true,
  1650. "cookies": ['hubspotutk', 'fr', '__hstc', '__hssrc', '__hssc', '__cfduid'],
  1651. "js": function () {
  1652. "use strict";
  1653. tarteaucitron.addScript('//js.hs-scripts.com/' + tarteaucitron.user.hubspotId + '.js', 'hs-script-loader');
  1654. }
  1655. };
  1656. // instagram
  1657. tarteaucitron.services.instagram = {
  1658. "key": "instagram",
  1659. "type": "social",
  1660. "name": "Instagram",
  1661. "uri": "https://www.instagram.com/legal/privacy/",
  1662. "needConsent": true,
  1663. "cookies": ['shbts', 'sessionid', 'csrftoken', 'rur', 'shbid', 'mid', 'ds_usr_id', 'ig_did', 'ig_cb', 'datr'],
  1664. "js": function () {
  1665. "use strict";
  1666. tarteaucitron.fallback(['instagram_post'], function (x) {
  1667. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Instagram iframe'),
  1668. post_id = x.getAttribute('postId'),
  1669. post_permalink = x.getAttribute('data-instgrm-permalink'),
  1670. embed_width = x.getAttribute('width'),
  1671. embed_height = x.getAttribute('height'),
  1672. frame_width,
  1673. frame_height,
  1674. post_frame;
  1675. if (post_permalink != null) {
  1676. tarteaucitron.addScript('//www.instagram.com/embed.js', 'instagram-embed');
  1677. return '';
  1678. }
  1679. if (post_id === undefined) {
  1680. return "";
  1681. }
  1682. if (embed_width !== undefined) {
  1683. frame_width = 'width="' + embed_width + '" ';
  1684. } else {
  1685. frame_width = '"" ';
  1686. }
  1687. if (embed_height !== undefined) {
  1688. frame_height = 'height="' + embed_height + '" ';
  1689. } else {
  1690. frame_height = '"" ';
  1691. }
  1692. post_frame = '<iframe title="' + frame_title + '" src="//www.instagram.com/' + post_id + '/embed" ' + frame_width + frame_height + '></iframe>';
  1693. return post_frame;
  1694. });
  1695. },
  1696. "fallback": function () {
  1697. "use strict";
  1698. var id = 'instagram';
  1699. tarteaucitron.fallback(['instagram_post'], function (elem) {
  1700. elem.style.width = elem.getAttribute('width') + 'px';
  1701. elem.style.height = elem.getAttribute('height') + 'px';
  1702. return tarteaucitron.engage(id);
  1703. });
  1704. }
  1705. };
  1706. // jsapi
  1707. tarteaucitron.services.jsapi = {
  1708. "key": "jsapi",
  1709. "type": "api",
  1710. "name": "Google jsapi",
  1711. "uri": "https://policies.google.com/privacy",
  1712. "needConsent": true,
  1713. "cookies": [],
  1714. "js": function () {
  1715. "use strict";
  1716. tarteaucitron.addScript('//www.google.com/jsapi');
  1717. }
  1718. };
  1719. // twitterwidgetsapi
  1720. tarteaucitron.services.twitterwidgetsapi = {
  1721. "key": "twitterwidgetsapi",
  1722. "type": "api",
  1723. "name": "Twitter Widgets API",
  1724. "uri": "https://support.twitter.com/articles/20170514",
  1725. "needConsent": true,
  1726. "cookies": [],
  1727. "js": function () {
  1728. "use strict";
  1729. tarteaucitron.fallback(['tacTwitterAPI'], '');
  1730. tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
  1731. },
  1732. "fallback": function () {
  1733. "use strict";
  1734. var id = 'twitterwidgetsapi';
  1735. tarteaucitron.fallback(['tacTwitterAPI'], tarteaucitron.engage(id));
  1736. }
  1737. };
  1738. // recaptcha
  1739. tarteaucitron.services.recaptcha = {
  1740. "key": "recaptcha",
  1741. "type": "api",
  1742. "name": "reCAPTCHA",
  1743. "uri": "https://policies.google.com/privacy",
  1744. "needConsent": true,
  1745. "cookies": ['nid'],
  1746. "js": function () {
  1747. "use strict";
  1748. window.tacRecaptchaOnLoad = tarteaucitron.user.recaptchaOnLoad || function() {};
  1749. tarteaucitron.fallback(['g-recaptcha'], '');
  1750. if (tarteaucitron.user.recaptchaapi === undefined) {
  1751. tarteaucitron.addScript('https://www.google.com/recaptcha/api.js?onload=tacRecaptchaOnLoad');
  1752. } else {
  1753. tarteaucitron.addScript('https://www.google.com/recaptcha/api.js?onload=tacRecaptchaOnLoad&render=' + tarteaucitron.user.recaptchaapi);
  1754. }
  1755. },
  1756. "fallback": function () {
  1757. "use strict";
  1758. var id = 'recaptcha';
  1759. tarteaucitron.fallback(['g-recaptcha'], tarteaucitron.engage(id));
  1760. }
  1761. };
  1762. // linkedin
  1763. tarteaucitron.services.linkedin = {
  1764. "key": "linkedin",
  1765. "type": "social",
  1766. "name": "Linkedin",
  1767. "uri": "https://www.linkedin.com/legal/cookie_policy",
  1768. "needConsent": true,
  1769. "cookies": [],
  1770. "js": function () {
  1771. "use strict";
  1772. tarteaucitron.fallback(['tacLinkedin'], '');
  1773. tarteaucitron.addScript('//platform.linkedin.com/in.js');
  1774. if (tarteaucitron.isAjax === true) {
  1775. if (typeof IN !== "undefined") {
  1776. IN.parse();
  1777. }
  1778. }
  1779. },
  1780. "fallback": function () {
  1781. "use strict";
  1782. var id = 'linkedin';
  1783. tarteaucitron.fallback(['tacLinkedin'], tarteaucitron.engage(id));
  1784. }
  1785. };
  1786. // mautic
  1787. tarteaucitron.services.mautic = {
  1788. "key": "mautic",
  1789. "type": "analytic",
  1790. "name": "Mautic",
  1791. "uri": "https://www.mautic.org/privacy-policy/",
  1792. "needConsent": true,
  1793. "cookies": ['mtc_id', 'mtc_sid'],
  1794. "js": function () {
  1795. "use strict";
  1796. if (tarteaucitron.user.mauticurl === undefined) {
  1797. return;
  1798. }
  1799. window.MauticTrackingObject = 'mt';
  1800. window.mt = window.mt || function () {
  1801. window.mt.q = window.mt.q || [];
  1802. window.mt.q.push(arguments);
  1803. };
  1804. tarteaucitron.addScript(tarteaucitron.user.mauticurl, '', function() {
  1805. mt('send', 'pageview');
  1806. });
  1807. }
  1808. };
  1809. // microsoftcampaignanalytics
  1810. tarteaucitron.services.microsoftcampaignanalytics = {
  1811. "key": "microsoftcampaignanalytics",
  1812. "type": "analytic",
  1813. "name": "Microsoft Campaign Analytics",
  1814. "uri": "https://privacy.microsoft.com/privacystatement/",
  1815. "needConsent": true,
  1816. "cookies": [],
  1817. "js": function () {
  1818. "use strict";
  1819. if (tarteaucitron.user.microsoftcampaignanalyticsUUID === undefined) {
  1820. return;
  1821. }
  1822. tarteaucitron.addScript('//flex.atdmt.com/mstag/site/' + tarteaucitron.user.microsoftcampaignanalyticsUUID + '/mstag.js', 'mstag_tops', function () {
  1823. window.mstag = {loadTag : function () {}, time : (new Date()).getTime()};
  1824. window.mstag.loadTag("analytics", {dedup: "1", domainId: tarteaucitron.user.microsoftcampaignanalyticsdomainId, type: "1", actionid: tarteaucitron.user.microsoftcampaignanalyticsactionId});
  1825. });
  1826. }
  1827. };
  1828. // onesignal
  1829. tarteaucitron.services.onesignal = {
  1830. "key": "onesignal",
  1831. "type": "api",
  1832. "name": "OneSignal",
  1833. "uri": "https://onesignal.com/privacy_policy",
  1834. "needConsent": true,
  1835. "cookies": [],
  1836. "js": function () {
  1837. "use strict";
  1838. if (tarteaucitron.user.onesignalAppId === undefined) {
  1839. return;
  1840. }
  1841. window.OneSignal = window.OneSignal || [];
  1842. window.OneSignal.push(function() {
  1843. window.OneSignal.init({
  1844. appId: tarteaucitron.user.onesignalAppId,
  1845. });
  1846. });
  1847. tarteaucitron.addScript('https://cdn.onesignal.com/sdks/OneSignalSDK.js');
  1848. }
  1849. };
  1850. // pinterest
  1851. tarteaucitron.services.pinterest = {
  1852. "key": "pinterest",
  1853. "type": "social",
  1854. "name": "Pinterest",
  1855. "uri": "https://about.pinterest.com/privacy-policy",
  1856. "needConsent": true,
  1857. "cookies": [],
  1858. "js": function () {
  1859. "use strict";
  1860. tarteaucitron.fallback(['tacPinterest'], '');
  1861. tarteaucitron.addScript('//assets.pinterest.com/js/pinit.js');
  1862. },
  1863. "fallback": function () {
  1864. "use strict";
  1865. var id = 'pinterest';
  1866. tarteaucitron.fallback(['tacPinterest'], tarteaucitron.engage(id));
  1867. }
  1868. };
  1869. // prelinker
  1870. tarteaucitron.services.prelinker = {
  1871. "key": "prelinker",
  1872. "type": "ads",
  1873. "name": "Prelinker",
  1874. "uri": "http://www.prelinker.com/index/index/cgu/",
  1875. "needConsent": true,
  1876. "cookies": ['_sp_id.32f5', '_sp_ses.32f5'],
  1877. "js": function () {
  1878. "use strict";
  1879. var uniqIds = [],
  1880. i,
  1881. uri;
  1882. tarteaucitron.fallback(['prelinker-canvas'], function (x) {
  1883. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  1884. uniqIds.push(uniqId);
  1885. return '<div id="' + uniqId + '" siteId="' + x.getAttribute('siteId') + '" bannerId="' + x.getAttribute('bannerId') + '" defaultLanguage="' + x.getAttribute('defaultLanguage') + '" tracker="' + x.getAttribute('tracker') + '"></div>';
  1886. });
  1887. for (i = 0; i < uniqIds.length; i += 1) {
  1888. uri = 'http://promo.easy-dating.org/banner/index?';
  1889. uri += 'site_id=' + document.getElementById(uniqIds[i]).getAttribute('siteId') + '&';
  1890. uri += 'banner_id=' + document.getElementById(uniqIds[i]).getAttribute('bannerId') + '&';
  1891. uri += 'default_language=' + document.getElementById(uniqIds[i]).getAttribute('defaultLanguage') + '&';
  1892. uri += 'tr4ck=' + document.getElementById(uniqIds[i]).getAttribute('trackrt');
  1893. tarteaucitron.makeAsync.init(uri, uniqIds[i]);
  1894. }
  1895. },
  1896. "fallback": function () {
  1897. "use strict";
  1898. var id = 'prelinker';
  1899. tarteaucitron.fallback(['prelinker-canvas'], tarteaucitron.engage(id));
  1900. }
  1901. };
  1902. // prezi
  1903. tarteaucitron.services.prezi = {
  1904. "key": "prezi",
  1905. "type": "video",
  1906. "name": "Prezi",
  1907. "uri": "https://prezi.com/privacy-policy/",
  1908. "needConsent": true,
  1909. "cookies": [],
  1910. "js": function () {
  1911. "use strict";
  1912. tarteaucitron.fallback(['prezi-canvas'], function (x) {
  1913. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Prezi iframe'),
  1914. id = x.getAttribute("data-id"),
  1915. width = x.getAttribute("width"),
  1916. height = x.getAttribute("height"),
  1917. url = 'https://prezi.com/embed/' + id + '/?bgcolor=ffffff&amp;lock_to_path=0&amp;autoplay=0&amp;autohide_ctrls=0';
  1918. return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency allowfullscreen></iframe>';
  1919. });
  1920. },
  1921. "fallback": function () {
  1922. "use strict";
  1923. var id = 'prezi';
  1924. tarteaucitron.fallback(['prezi-canvas'], function (elem) {
  1925. elem.style.width = elem.getAttribute('width') + 'px';
  1926. elem.style.height = elem.getAttribute('height') + 'px';
  1927. return tarteaucitron.engage(id);
  1928. });
  1929. }
  1930. };
  1931. // pubdirecte
  1932. tarteaucitron.services.pubdirecte = {
  1933. "key": "pubdirecte",
  1934. "type": "ads",
  1935. "name": "Pubdirecte",
  1936. "uri": "http://pubdirecte.com/contact.php",
  1937. "needConsent": true,
  1938. "cookies": [],
  1939. "js": function () {
  1940. "use strict";
  1941. var uniqIds = [],
  1942. i,
  1943. uri;
  1944. tarteaucitron.fallback(['pubdirecte-canvas'], function (x) {
  1945. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  1946. uniqIds.push(uniqId);
  1947. return '<div id="' + uniqId + '" pid="' + x.getAttribute('pid') + '" ref="' + x.getAttribute('ref') + '"></div>';
  1948. });
  1949. for (i = 0; i < uniqIds.length; i += 1) {
  1950. uri = '//www.pubdirecte.com/script/banniere.php?';
  1951. uri += 'id=' + document.getElementById(uniqIds[i]).getAttribute('pid') + '&';
  1952. uri += 'ref=' + document.getElementById(uniqIds[i]).getAttribute('ref');
  1953. tarteaucitron.makeAsync.init(uri, uniqIds[i]);
  1954. }
  1955. },
  1956. "fallback": function () {
  1957. "use strict";
  1958. var id = 'pubdirecte';
  1959. tarteaucitron.fallback(['pubdirecte-canvas'], tarteaucitron.engage(id));
  1960. }
  1961. };
  1962. // purechat
  1963. tarteaucitron.services.purechat = {
  1964. "key": "purechat",
  1965. "type": "support",
  1966. "name": "PureChat",
  1967. "uri": "https://www.purechat.com/privacy",
  1968. "needConsent": true,
  1969. "cookies": [],
  1970. "js": function () {
  1971. "use strict";
  1972. if (tarteaucitron.user.purechatId === undefined) {
  1973. return;
  1974. }
  1975. tarteaucitron.addScript('//app.purechat.com/VisitorWidget/WidgetScript', '', function () {
  1976. try {
  1977. window.w = new PCWidget({ c: tarteaucitron.user.purechatId, f: true });
  1978. } catch (e) {}
  1979. });
  1980. }
  1981. };
  1982. // rumbletalk
  1983. tarteaucitron.services.rumbletalk = {
  1984. "key": "rumbletalk",
  1985. "type": "social",
  1986. "name": "RumbleTalk",
  1987. "needConsent": true,
  1988. "cookies": ['AWSALB'],
  1989. "js": function () {
  1990. "use strict";
  1991. if (tarteaucitron.user.rumbletalkid === undefined) {
  1992. return;
  1993. }
  1994. tarteaucitron.addScript('https://rumbletalk.com/client/?' + tarteaucitron.user.rumbletalkid);
  1995. tarteaucitron.fallback(['rumbletalk'], function (x) {
  1996. var width = tarteaucitron.getElemWidth(x),
  1997. height = tarteaucitron.getElemHeight(x),
  1998. id = x.getAttribute("data-id");
  1999. return '<div style="height: ' + height + 'px; width: ' + width + 'px;"><div id="' + id + '"></div></div>';
  2000. });
  2001. },
  2002. "fallback": function () {
  2003. "use strict";
  2004. var id = 'rumbletalk';
  2005. tarteaucitron.fallback(['rumbletalk'], function (elem) {
  2006. elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';
  2007. elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';
  2008. return tarteaucitron.engage(id);
  2009. });
  2010. }
  2011. };
  2012. // shareaholic
  2013. tarteaucitron.services.shareaholic = {
  2014. "key": "shareaholic",
  2015. "type": "social",
  2016. "name": "Shareaholic",
  2017. "uri": "https://shareaholic.com/privacy/choices",
  2018. "needConsent": true,
  2019. "cookies": ['__utma', '__utmb', '__utmc', '__utmz', '__utmt_Shareaholic%20Pageviews'],
  2020. "js": function () {
  2021. "use strict";
  2022. if (tarteaucitron.user.shareaholicSiteId === undefined) {
  2023. return;
  2024. }
  2025. tarteaucitron.fallback(['shareaholic-canvas'], '');
  2026. tarteaucitron.addScript('//dsms0mj1bbhn4.cloudfront.net/assets/pub/shareaholic.js', '', function () {
  2027. try {
  2028. Shareaholic.init(tarteaucitron.user.shareaholicSiteId);
  2029. } catch (e) {}
  2030. });
  2031. },
  2032. "fallback": function () {
  2033. "use strict";
  2034. var id = 'shareaholic';
  2035. tarteaucitron.fallback(['shareaholic-canvas'], tarteaucitron.engage(id));
  2036. }
  2037. };
  2038. // shareasale
  2039. tarteaucitron.services.shareasale = {
  2040. "key": "shareasale",
  2041. "type": "ads",
  2042. "name": "ShareASale",
  2043. "uri": "https://www.shareasale.com/PrivacyPolicy.pdf",
  2044. "needConsent": true,
  2045. "cookies": [],
  2046. "js": function () {
  2047. "use strict";
  2048. var uniqIds = [],
  2049. i,
  2050. uri;
  2051. tarteaucitron.fallback(['shareasale-canvas'], function (x) {
  2052. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  2053. uniqIds.push(uniqId);
  2054. 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>';
  2055. });
  2056. for (i = 0; i < uniqIds.length; i += 1) {
  2057. uri = 'https://shareasale.com/sale.cfm?';
  2058. uri += 'amount=' + document.getElementById(uniqIds[i]).getAttribute('amount') + '&';
  2059. uri += 'tracking=' + document.getElementById(uniqIds[i]).getAttribute('tracking') + '&';
  2060. uri += 'transtype=' + document.getElementById(uniqIds[i]).getAttribute('transtype') + '&';
  2061. uri += 'persale=' + document.getElementById(uniqIds[i]).getAttribute('persale') + '&';
  2062. uri += 'perlead=' + document.getElementById(uniqIds[i]).getAttribute('perlead') + '&';
  2063. uri += 'perhit=' + document.getElementById(uniqIds[i]).getAttribute('perhit') + '&';
  2064. uri += 'merchantID=' + document.getElementById(uniqIds[i]).getAttribute('merchantID');
  2065. document.getElementById(uniqIds[i]).innerHTML = '<img src=\'' + uri + '\' width=\'1\' height=\'1\' />';
  2066. }
  2067. },
  2068. "fallback": function () {
  2069. "use strict";
  2070. var id = 'shareasale';
  2071. tarteaucitron.fallback(['shareasale-canvas'], tarteaucitron.engage(id));
  2072. }
  2073. };
  2074. // sharethis
  2075. tarteaucitron.services.sharethis = {
  2076. "key": "sharethis",
  2077. "type": "social",
  2078. "name": "ShareThis",
  2079. "uri": "http://www.sharethis.com/legal/privacy/",
  2080. "needConsent": true,
  2081. "cookies": ['__unam'],
  2082. "js": function () {
  2083. "use strict";
  2084. if (tarteaucitron.user.sharethisPublisher === undefined) {
  2085. return;
  2086. }
  2087. var switchTo5x = true,
  2088. uri = ('https:' === document.location.protocol ? 'https://ws' : 'http://w') + '.sharethis.com/button/buttons.js';
  2089. tarteaucitron.fallback(['tacSharethis'], '');
  2090. tarteaucitron.addScript(uri, '', function () {
  2091. stLight.options({publisher: tarteaucitron.user.sharethisPublisher, doNotHash: false, doNotCopy: false, hashAddressBar: false});
  2092. });
  2093. if (tarteaucitron.isAjax === true) {
  2094. if (typeof stButtons !== "undefined") {
  2095. stButtons.locateElements();
  2096. }
  2097. }
  2098. },
  2099. "fallback": function () {
  2100. "use strict";
  2101. var id = 'sharethis';
  2102. tarteaucitron.fallback(['tacSharethis'], tarteaucitron.engage(id));
  2103. }
  2104. };
  2105. // slideshare
  2106. tarteaucitron.services.slideshare = {
  2107. "key": "slideshare",
  2108. "type": "video",
  2109. "name": "SlideShare",
  2110. "uri": "https://www.linkedin.com/legal/privacy-policy",
  2111. "needConsent": true,
  2112. "cookies": [],
  2113. "js": function () {
  2114. "use strict";
  2115. tarteaucitron.fallback(['slideshare-canvas'], function (x) {
  2116. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Slideshare iframe'),
  2117. id = x.getAttribute("data-id"),
  2118. width = x.getAttribute("width"),
  2119. height = x.getAttribute("height"),
  2120. url = '//www.slideshare.net/slideshow/embed_code/' + id;
  2121. return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency allowfullscreen></iframe>';
  2122. });
  2123. },
  2124. "fallback": function () {
  2125. "use strict";
  2126. var id = 'slideshare';
  2127. tarteaucitron.fallback(['slideshare-canvas'], function (elem) {
  2128. elem.style.width = elem.getAttribute('width') + 'px';
  2129. elem.style.height = elem.getAttribute('height') + 'px';
  2130. return tarteaucitron.engage(id);
  2131. });
  2132. }
  2133. };
  2134. // soundcloud
  2135. tarteaucitron.services.soundcloud = {
  2136. key: 'soundcloud',
  2137. type: 'video',
  2138. name: 'SoundCloud',
  2139. needConsent: true,
  2140. cookies: ['sc_anonymous_id'],
  2141. js: function () {
  2142. "use strict";
  2143. tarteaucitron.fallback(['soundcloud_player'], function (x) {
  2144. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Soundcloud iframe'),
  2145. player_height = x.getAttribute('data-height'),
  2146. frame_height = 'height="' + player_height + '" ',
  2147. playable_id = x.getAttribute('data-playable-id'),
  2148. playable_type = x.getAttribute('data-playable-type'),
  2149. color = x.getAttribute('data-color'),
  2150. autoplay = x.getAttribute('data-auto-play'),
  2151. hideRelated = x.getAttribute('data-hide-related'),
  2152. showComments = x.getAttribute('data-show-comments'),
  2153. showUser = x.getAttribute('data-show-user'),
  2154. showReposts = x.getAttribute('data-show-reposts'),
  2155. showTeaser = x.getAttribute('data-show-teaser'),
  2156. visual = x.getAttribute('data-visual'),
  2157. artwork = x.getAttribute('data-artwork');
  2158. var allowAutoplay = autoplay === 'true' ? 'allow="autoplay"' : '';
  2159. if (playable_id === undefined) {
  2160. return "";
  2161. }
  2162. var qs = '?url=https%3A//api.soundcloud.com/' + playable_type + '/' + playable_id;
  2163. if (hideRelated && hideRelated.length > 0) qs += '&hide_related=' + hideRelated;
  2164. if (color && color.length > 0) qs += '&color=' + color.replace('#', '%23');
  2165. if (autoplay && autoplay.length > 0) qs += '&auto_play=' + autoplay;
  2166. if (showComments && showComments.length > 0) qs += '&show_comments=' + showComments;
  2167. if (hideRelated && hideRelated.length > 0) qs += '&hide_related=' + hideRelated;
  2168. if (showUser && showUser.length > 0) qs += '&show_user=' + showUser;
  2169. if (showReposts && showReposts.length > 0) qs += '&show_reposts=' + showReposts;
  2170. if (showTeaser && showTeaser.length > 0) qs += '&show_teaser=' + showTeaser;
  2171. if (visual && visual.length > 0) qs += '&visual=' + visual;
  2172. if (artwork && artwork.length > 0) qs += '&show_artwork=' + artwork;
  2173. return '<iframe title="' + frame_title + '" width="100%" ' + frame_height + ' scrolling="no" ' + allowAutoplay + ' src="https://w.soundcloud.com/player/' + qs + '"></iframe>';
  2174. });
  2175. },
  2176. fallback: function () {
  2177. "use strict";
  2178. tarteaucitron.fallback(['soundcloud_player'], function (elem) {
  2179. elem.style.height = elem.getAttribute('data-height') + 'px';
  2180. return tarteaucitron.engage('soundcloud');
  2181. });
  2182. }
  2183. };
  2184. // spotify
  2185. tarteaucitron.services.spotify = {
  2186. "key": "spotify",
  2187. "type": "video",
  2188. "name": "Spotify",
  2189. "uri": "https://www.spotify.com/us/legal/privacy-policy/",
  2190. "needConsent": true,
  2191. "cookies": ['sp_landing', '_ga', 'sp_ab', 'sp_landingref', 'sp_t', 'sp_usid', 'OptanonConsent', 'sp_m', 'spot'],
  2192. "js": function () {
  2193. "use strict";
  2194. tarteaucitron.fallback(['spotify_player'], function (x) {
  2195. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Spotify iframe'),
  2196. spotify_id = x.getAttribute("spotifyID"),
  2197. spotify_width = x.getAttribute("width"),
  2198. frame_width = 'width=',
  2199. spotify_height = x.getAttribute("height"),
  2200. frame_height = 'height=',
  2201. spotify_frame;
  2202. if (spotify_id === undefined) {
  2203. return "";
  2204. }
  2205. if (spotify_width !== undefined) {
  2206. frame_width += '"' + spotify_width + '" ';
  2207. } else {
  2208. frame_width += '"" ';
  2209. }
  2210. if (spotify_height !== undefined) {
  2211. frame_height += '"' + spotify_height + '" ';
  2212. } else {
  2213. frame_height += '"" ';
  2214. }
  2215. spotify_frame = '<iframe title="' + frame_title + '" src="//open.spotify.com/embed/' + spotify_id + '" ' + frame_width + frame_height + ' allowfullscreen></iframe>';
  2216. return spotify_frame;
  2217. });
  2218. },
  2219. "fallback": function () {
  2220. "use strict";
  2221. var id = 'spotify';
  2222. tarteaucitron.fallback(['spotify_player'], function (elem) {
  2223. elem.style.width = elem.getAttribute('width') + 'px';
  2224. elem.style.height = elem.getAttribute('height') + 'px';
  2225. return tarteaucitron.engage(id);
  2226. });
  2227. }
  2228. };
  2229. // statcounter
  2230. tarteaucitron.services.statcounter = {
  2231. "key": "statcounter",
  2232. "type": "analytic",
  2233. "name": "StatCounter",
  2234. "uri": "https://fr.statcounter.com/about/legal/#privacy",
  2235. "needConsent": true,
  2236. "cookies": ['sc_is_visitor_unique'],
  2237. "js": function () {
  2238. "use strict";
  2239. var uniqIds = [],
  2240. i,
  2241. uri = '//statcounter.com/counter/counter.js';
  2242. tarteaucitron.fallback(['statcounter-canvas'], function (x) {
  2243. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  2244. uniqIds.push(uniqId);
  2245. return '<div id="' + uniqId + '"></div>';
  2246. });
  2247. for (i = 0; i < uniqIds.length; i += 1) {
  2248. tarteaucitron.makeAsync.init(uri, uniqIds[i]);
  2249. }
  2250. },
  2251. "fallback": function () {
  2252. "use strict";
  2253. var id = 'statcounter';
  2254. tarteaucitron.fallback(['statcounter-canvas'], tarteaucitron.engage(id));
  2255. }
  2256. };
  2257. // timelinejs
  2258. tarteaucitron.services.timelinejs = {
  2259. "key": "timelinejs",
  2260. "type": "api",
  2261. "name": "Timeline JS",
  2262. "uri": "http://timeline.knightlab.com/#help",
  2263. "needConsent": true,
  2264. "cookies": [],
  2265. "js": function () {
  2266. "use strict";
  2267. tarteaucitron.fallback(['timelinejs-canvas'], function (x) {
  2268. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Twitter iframe'),
  2269. spreadsheet_id = x.getAttribute("spreadsheet_id"),
  2270. width = x.getAttribute("width"),
  2271. height = x.getAttribute("height"),
  2272. lang = x.getAttribute("lang_2_letter"),
  2273. font = x.getAttribute("font"),
  2274. map = x.getAttribute("map"),
  2275. start_at_end = x.getAttribute("start_at_end"),
  2276. hash_bookmark = x.getAttribute("hash_bookmark"),
  2277. start_at_slide = x.getAttribute("start_at_slide"),
  2278. start_zoom = x.getAttribute("start_zoom"),
  2279. 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;
  2280. return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" allowtransparency allowfullscreen></iframe>';
  2281. });
  2282. },
  2283. "fallback": function () {
  2284. "use strict";
  2285. var id = 'timelinejs';
  2286. tarteaucitron.fallback(['timelinejs-canvas'], function (elem) {
  2287. elem.style.width = elem.getAttribute('width') + 'px';
  2288. elem.style.height = elem.getAttribute('height') + 'px';
  2289. return tarteaucitron.engage(id);
  2290. });
  2291. }
  2292. };
  2293. // tagcommander
  2294. tarteaucitron.services.tagcommander = {
  2295. "key": "tagcommander",
  2296. "type": "api",
  2297. "name": "TagCommander",
  2298. "uri": "https://www.commandersact.com/en/privacy/",
  2299. "needConsent": true,
  2300. "cookies": [],
  2301. "js": function () {
  2302. "use strict";
  2303. if (tarteaucitron.user.tagcommanderid === undefined) {
  2304. return;
  2305. }
  2306. tarteaucitron.addScript('https://cdn.tagcommander.com/' + tarteaucitron.user.tagcommanderid + '.js');
  2307. }
  2308. };
  2309. // typekit
  2310. tarteaucitron.services.typekit = {
  2311. "key": "typekit",
  2312. "type": "api",
  2313. "name": "Typekit (adobe)",
  2314. "uri": "https://www.adobe.com/privacy.html",
  2315. "needConsent": true,
  2316. "cookies": [],
  2317. "js": function () {
  2318. "use strict";
  2319. if (tarteaucitron.user.typekitId === undefined) {
  2320. return;
  2321. }
  2322. tarteaucitron.addScript('//use.typekit.net/' + tarteaucitron.user.typekitId + '.js', '', function () {
  2323. try {
  2324. Typekit.load();
  2325. } catch (e) {}
  2326. });
  2327. }
  2328. };
  2329. // twenga
  2330. tarteaucitron.services.twenga = {
  2331. "key": "twenga",
  2332. "type": "ads",
  2333. "name": "Twenga",
  2334. "uri": "http://www.twenga.com/privacy.php",
  2335. "needConsent": true,
  2336. "cookies": [],
  2337. "js": function () {
  2338. "use strict";
  2339. if (tarteaucitron.user.twengaId === undefined || tarteaucitron.user.twengaLocale === undefined) {
  2340. return;
  2341. }
  2342. tarteaucitron.addScript('//tracker.twenga.' + tarteaucitron.user.twengaLocale + '/st/tracker_' + tarteaucitron.user.twengaId + '.js');
  2343. }
  2344. };
  2345. // twitter
  2346. tarteaucitron.services.twitter = {
  2347. "key": "twitter",
  2348. "type": "social",
  2349. "name": "Twitter",
  2350. "uri": "https://support.twitter.com/articles/20170514",
  2351. "needConsent": true,
  2352. "cookies": [],
  2353. "js": function () {
  2354. "use strict";
  2355. tarteaucitron.fallback(['tacTwitter'], '');
  2356. tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
  2357. },
  2358. "fallback": function () {
  2359. "use strict";
  2360. var id = 'twitter';
  2361. tarteaucitron.fallback(['tacTwitter'], tarteaucitron.engage(id));
  2362. }
  2363. };
  2364. // twitter embed
  2365. tarteaucitron.services.twitterembed = {
  2366. "key": "twitterembed",
  2367. "type": "social",
  2368. "name": "Twitter (cards)",
  2369. "uri": "https://support.twitter.com/articles/20170514",
  2370. "needConsent": true,
  2371. "cookies": [],
  2372. "js": function () {
  2373. "use strict";
  2374. var uniqIds = [],
  2375. i,
  2376. e,
  2377. html;
  2378. tarteaucitron.fallback(['twitterembed-canvas'], function (x) {
  2379. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  2380. uniqIds.push(uniqId);
  2381. html = '<div id="' + uniqId + '" ';
  2382. html += 'tweetid="' + x.getAttribute('tweetid') + '" ';
  2383. html += 'theme="' + x.getAttribute('theme') + '" ';
  2384. html += 'cards="' + x.getAttribute('cards') + '" ';
  2385. html += 'conversation="' + x.getAttribute('conversation') + '" ';
  2386. html += 'data-width="' + x.getAttribute('data-width') + '" ';
  2387. html += 'data-align="' + x.getAttribute('data-align') + '" ';
  2388. html += '></div>';
  2389. return html;
  2390. });
  2391. tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs', function () {
  2392. for (i = 0; i < uniqIds.length; i += 1) {
  2393. e = document.getElementById(uniqIds[i]);
  2394. twttr.widgets.createTweet(
  2395. e.getAttribute('tweetid'),
  2396. e,
  2397. {
  2398. theme: e.getAttribute('theme'),
  2399. cards: e.getAttribute('cards'),
  2400. conversation: e.getAttribute('conversation'),
  2401. lang: tarteaucitron.getLanguage(),
  2402. dnt: true,
  2403. width: e.getAttribute('data-width'),
  2404. align: e.getAttribute('data-align')
  2405. }
  2406. );
  2407. }
  2408. });
  2409. },
  2410. "fallback": function () {
  2411. "use strict";
  2412. var id = 'twitterembed';
  2413. tarteaucitron.fallback(['twitterembed-canvas'], function (elem) {
  2414. elem.style.width = elem.getAttribute('data-width') + 'px';
  2415. return tarteaucitron.engage(id);
  2416. });
  2417. }
  2418. };
  2419. // twitter timeline
  2420. tarteaucitron.services.twittertimeline = {
  2421. "key": "twittertimeline",
  2422. "type": "social",
  2423. "name": "Twitter (timelines)",
  2424. "uri": "https://support.twitter.com/articles/20170514",
  2425. "needConsent": true,
  2426. "cookies": [],
  2427. "js": function () {
  2428. "use strict";
  2429. tarteaucitron.fallback(['tacTwitterTimelines'], '');
  2430. tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
  2431. },
  2432. "fallback": function () {
  2433. "use strict";
  2434. var id = 'twittertimeline';
  2435. tarteaucitron.fallback(['tacTwitterTimelines'], tarteaucitron.engage(id));
  2436. }
  2437. };
  2438. // twitter universal website tag
  2439. tarteaucitron.services.twitteruwt = {
  2440. "key": "twitteruwt",
  2441. "type": "analytic",
  2442. "name": "Twitter Universal Website Tag",
  2443. "uri": "https://business.twitter.com/en/help/campaign-measurement-and-analytics/conversion-tracking-for-websites.html",
  2444. "needConsent": true,
  2445. "cookies": [],
  2446. "js": function () {
  2447. "use strict";
  2448. window.twq = function () {
  2449. window.twq.exe ? window.twq.exe.apply(window.twq, arguments) : window.twq.queue.push(arguments);
  2450. }
  2451. window.twq.version = '1.1';
  2452. window.twq.queue = [];
  2453. tarteaucitron.addScript('https://static.ads-twitter.com/uwt.js', '', function () {
  2454. window.twq('init', tarteaucitron.user.twitteruwtId);
  2455. window.twq('track', 'PageView');
  2456. });
  2457. }
  2458. };
  2459. // user voice
  2460. tarteaucitron.services.uservoice = {
  2461. "key": "uservoice",
  2462. "type": "support",
  2463. "name": "UserVoice",
  2464. "uri": "https://www.uservoice.com/privacy/",
  2465. "needConsent": true,
  2466. "cookies": [],
  2467. "js": function () {
  2468. "use strict";
  2469. if (tarteaucitron.user.userVoiceApi === undefined) {
  2470. return;
  2471. }
  2472. tarteaucitron.addScript('//widget.uservoice.com/' + tarteaucitron.user.userVoiceApi + '.js');
  2473. }
  2474. };
  2475. // vimeo
  2476. tarteaucitron.services.vimeo = {
  2477. "key": "vimeo",
  2478. "type": "video",
  2479. "name": "Vimeo",
  2480. "uri": "https://vimeo.com/privacy",
  2481. "needConsent": true,
  2482. "cookies": ['__utmt_player', '__utma', '__utmb', '__utmc', '__utmv', 'vuid', '__utmz', 'player'],
  2483. "js": function () {
  2484. "use strict";
  2485. tarteaucitron.fallback(['vimeo_player'], function (x) {
  2486. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("data-title") || x.getAttribute("title") || 'Vimeo iframe'),
  2487. video_width = x.getAttribute("data-width") || x.getAttribute("width"),
  2488. frame_width = 'width=',
  2489. video_height = x.getAttribute("data-height") || x.getAttribute("height"),
  2490. frame_height = 'height=',
  2491. video_id = x.getAttribute("data-videoID") || x.getAttribute("videoID"),
  2492. video_autopause = x.getAttribute("data-autopause") || '',
  2493. video_autoplay = x.getAttribute("data-autoplay") || x.getAttribute("autoplay") || '',
  2494. video_background = x.getAttribute("data-background") || '',
  2495. video_byline = x.getAttribute("data-byline") || x.getAttribute("byline") || '',
  2496. video_color = x.getAttribute("data-color") || '',
  2497. video_controls = x.getAttribute("data-controls") || '',
  2498. video_loop = x.getAttribute("data-loop") || x.getAttribute("loop") || '',
  2499. video_maxheight = x.getAttribute("data-maxheight") || '',
  2500. video_maxwidth = x.getAttribute("data-maxwidth") || '',
  2501. video_muted = x.getAttribute("data-muted") || '',
  2502. video_playsinline = x.getAttribute("data-playsinline") || '',
  2503. video_portrait = x.getAttribute("data-portrait") || x.getAttribute("portrait") || '',
  2504. video_speed = x.getAttribute("data-speed") || '',
  2505. video_title = x.getAttribute("data-title") || x.getAttribute("title") || '',
  2506. video_transparent = x.getAttribute("data-transparent") || '',
  2507. video_frame;
  2508. if (video_id === undefined) {
  2509. return "";
  2510. }
  2511. if (video_width !== undefined) {
  2512. frame_width += '"' + video_width + '" ';
  2513. } else {
  2514. frame_width += '"" ';
  2515. }
  2516. if (video_height !== undefined) {
  2517. frame_height += '"' + video_height + '" ';
  2518. } else {
  2519. frame_height += '"" ';
  2520. }
  2521. var video_qs = "?";
  2522. if (video_title.length > 0) {
  2523. video_qs += "title=" + video_title;
  2524. }
  2525. if (video_byline.length > 0) {
  2526. if (video_qs.length > 0) {
  2527. video_qs += "&";
  2528. }
  2529. video_qs += "byline=" + video_byline;
  2530. }
  2531. if (video_portrait.length > 0) {
  2532. if (video_qs.length > 0) {
  2533. video_qs += "&";
  2534. }
  2535. video_qs += "portrait=" + video_portrait;
  2536. }
  2537. if (video_loop.length > 0) {
  2538. if (video_qs.length > 0) {
  2539. video_qs += "&";
  2540. }
  2541. video_qs += "loop=" + video_loop;
  2542. }
  2543. if (video_autoplay.length > 0) {
  2544. if (video_qs.length > 0) {
  2545. video_qs += "&";
  2546. }
  2547. video_qs += "autoplay=" + video_autoplay;
  2548. }
  2549. if (video_autopause.length > 0) {
  2550. if (video_qs.length > 0) {
  2551. video_qs += "&";
  2552. }
  2553. video_qs += "autopause=" + video_autopause;
  2554. }
  2555. if (video_background.length > 0) {
  2556. if (video_qs.length > 0) {
  2557. video_qs += "&";
  2558. }
  2559. video_qs += "background=" + video_background;
  2560. }
  2561. if (video_color.length > 0) {
  2562. if (video_qs.length > 0) {
  2563. video_qs += "&";
  2564. }
  2565. video_qs += "color=" + video_color;
  2566. }
  2567. if (video_controls.length > 0) {
  2568. if (video_qs.length > 0) {
  2569. video_qs += "&";
  2570. }
  2571. video_qs += "controls=" + video_controls;
  2572. }
  2573. if (video_maxheight.length > 0) {
  2574. if (video_qs.length > 0) {
  2575. video_qs += "&";
  2576. }
  2577. video_qs += "maxheight=" + video_maxheight;
  2578. }
  2579. if (video_maxwidth.length > 0) {
  2580. if (video_qs.length > 0) {
  2581. video_qs += "&";
  2582. }
  2583. video_qs += "maxwidth=" + video_maxwidth;
  2584. }
  2585. if (video_muted.length > 0) {
  2586. if (video_qs.length > 0) {
  2587. video_qs += "&";
  2588. }
  2589. video_qs += "muted=" + video_muted;
  2590. }
  2591. if (video_playsinline.length > 0) {
  2592. if (video_qs.length > 0) {
  2593. video_qs += "&";
  2594. }
  2595. video_qs += "playsinline=" + video_playsinline;
  2596. }
  2597. if (video_speed.length > 0) {
  2598. if (video_qs.length > 0) {
  2599. video_qs += "&";
  2600. }
  2601. video_qs += "speed=" + video_speed;
  2602. }
  2603. if (video_transparent.length > 0) {
  2604. if (video_qs.length > 0) {
  2605. video_qs += "&";
  2606. }
  2607. video_qs += "transparent=" + video_transparent;
  2608. }
  2609. if (video_qs === "?") {
  2610. video_qs = "";
  2611. }
  2612. video_frame = '<iframe title="' + frame_title + '" src="//player.vimeo.com/video/' + video_id + video_qs + '" ' + frame_width + frame_height + ' webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>';
  2613. return video_frame;
  2614. });
  2615. },
  2616. "fallback": function () {
  2617. "use strict";
  2618. var id = 'vimeo';
  2619. tarteaucitron.fallback(['vimeo_player'], function (elem) {
  2620. elem.style.width = elem.getAttribute('width') + 'px';
  2621. elem.style.height = elem.getAttribute('height') + 'px';
  2622. return tarteaucitron.engage(id);
  2623. });
  2624. }
  2625. };
  2626. // visualrevenue
  2627. tarteaucitron.services.visualrevenue = {
  2628. "key": "visualrevenue",
  2629. "type": "analytic",
  2630. "name": "VisualRevenue",
  2631. "uri": "http://www.outbrain.com/legal/privacy-713/",
  2632. "needConsent": true,
  2633. "cookies": ['__vrf', '__vrm', '__vrl', '__vry', '__vru', '__vrid', '__vrz'],
  2634. "js": function () {
  2635. "use strict";
  2636. if (tarteaucitron.user.visualrevenueId === undefined) {
  2637. return;
  2638. }
  2639. window._vrq = window._vrq || [];
  2640. window._vrq.push(['id', tarteaucitron.user.visualrevenueId]);
  2641. window._vrq.push(['automate', true]);
  2642. window._vrq.push(['track', function () {}]);
  2643. tarteaucitron.addScript('http://a.visualrevenue.com/vrs.js');
  2644. }
  2645. };
  2646. // verizon dot tag
  2647. tarteaucitron.services.verizondottag = {
  2648. "key": "verizondottag",
  2649. "type": "analytic",
  2650. "name": "Verizon Dot Tag",
  2651. "uri": "https://developer.verizonmedia.com/native/guide/audience-management/dottags/",
  2652. "needConsent": true,
  2653. "cookies": [],
  2654. "js": function () {
  2655. "use strict";
  2656. window.dotq = window.dotq || [];
  2657. window.dotq.push({
  2658. 'projectId': tarteaucitron.user.verizondottagProjectId,
  2659. 'properties': {'pixelId': tarteaucitron.user.verizondottagPixelId}
  2660. });
  2661. tarteaucitron.addScript('https://s.yimg.com/wi/ytc.js', '', function () {
  2662. const items = window.dotq;
  2663. window.dotq = [];
  2664. window.dotq.push = function (item) {
  2665. YAHOO.ywa.I13N.fireBeacon([item])
  2666. };
  2667. YAHOO.ywa.I13N.fireBeacon(items)
  2668. });
  2669. }
  2670. };
  2671. // vshop
  2672. tarteaucitron.services.vshop = {
  2673. "key": "vshop",
  2674. "type": "ads",
  2675. "name": "vShop",
  2676. "uri": "http://vshop.fr/privacy-policy",
  2677. "needConsent": true,
  2678. "cookies": [],
  2679. "js": function () {
  2680. "use strict";
  2681. tarteaucitron.fallback(['vcashW'], '');
  2682. tarteaucitron.addScript('//vshop.fr/js/w.js');
  2683. },
  2684. "fallback": function () {
  2685. "use strict";
  2686. var id = 'vshop';
  2687. tarteaucitron.fallback(['vcashW'], tarteaucitron.engage(id));
  2688. }
  2689. };
  2690. // wysistat
  2691. tarteaucitron.services.wysistat = {
  2692. "key": "wysistat",
  2693. "type": "analytic",
  2694. "name": "Wysistat",
  2695. "uri": "http://wysistat.net/contact/",
  2696. "needConsent": true,
  2697. "cookies": ['Wysistat'],
  2698. "js": function () {
  2699. "use strict";
  2700. if (tarteaucitron.user.wysistat === undefined) {
  2701. return;
  2702. }
  2703. tarteaucitron.addScript('//www.wysistat.com/statistique.js', '', function () {
  2704. 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);
  2705. });
  2706. }
  2707. };
  2708. // xiti
  2709. tarteaucitron.services.xiti = {
  2710. "key": "xiti",
  2711. "type": "analytic",
  2712. "name": "Xiti",
  2713. "uri": "https://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
  2714. "needConsent": true,
  2715. "cookies": [],
  2716. "js": function () {
  2717. "use strict";
  2718. if (tarteaucitron.user.xitiId === undefined) {
  2719. return;
  2720. }
  2721. var Xt_param = 's=' + tarteaucitron.user.xitiId + '&p=',
  2722. Xt_r,
  2723. Xt_h,
  2724. Xt_i,
  2725. Xt_s,
  2726. div = document.createElement('div');
  2727. try {
  2728. Xt_r = top.document.referrer;
  2729. } catch (e) {
  2730. Xt_r = document.referrer;
  2731. }
  2732. Xt_h = new Date();
  2733. Xt_i = '<img style="display:none" border="0" alt="" ';
  2734. Xt_i += 'src="http://logv3.xiti.com/hit.xiti?' + Xt_param;
  2735. Xt_i += '&hl=' + Xt_h.getHours() + 'x' + Xt_h.getMinutes() + 'x' + Xt_h.getSeconds();
  2736. if (parseFloat(navigator.appVersion) >= 4) {
  2737. Xt_s = screen;
  2738. Xt_i += '&r=' + Xt_s.width + 'x' + Xt_s.height + 'x' + Xt_s.pixelDepth + 'x' + Xt_s.colorDepth;
  2739. }
  2740. div.innerHTML = Xt_i + '&ref=' + Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$') + '" title="Internet Audience">';
  2741. document.getElementsByTagName('body')[0].appendChild(div.firstChild);
  2742. if (typeof tarteaucitron.user.xitiMore === 'function') {
  2743. tarteaucitron.user.xitiMore();
  2744. }
  2745. }
  2746. };
  2747. // AT Internet
  2748. tarteaucitron.services.atinternet = {
  2749. "key": "atinternet",
  2750. "type": "analytic",
  2751. "name": "AT Internet (privacy by design)",
  2752. "uri": "https://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
  2753. "needConsent": true,
  2754. "safeanalytic": false,
  2755. "cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession', 'atuserid'],
  2756. "js": function () {
  2757. "use strict";
  2758. if (tarteaucitron.user.atLibUrl === undefined) {
  2759. return;
  2760. }
  2761. tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() {
  2762. window.tag = new ATInternet.Tracker.Tag();
  2763. if (typeof tarteaucitron.user.atMore === 'function') {
  2764. tarteaucitron.user.atMore();
  2765. }
  2766. if (typeof window.tag.privacy !== 'undefined') {
  2767. window.tag.privacy.setVisitorOptin();
  2768. }
  2769. window.tag.page.send();
  2770. });
  2771. },
  2772. "fallback": function () {
  2773. "use strict";
  2774. if (tarteaucitron.user.atLibUrl === undefined) {
  2775. return;
  2776. }
  2777. tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() {
  2778. window.tag = new ATInternet.Tracker.Tag();
  2779. if (typeof tarteaucitron.user.atMore === 'function') {
  2780. tarteaucitron.user.atMore();
  2781. }
  2782. if (typeof window.tag.privacy !== 'undefined') {
  2783. window.tag.privacy.setVisitorMode('cnil', 'exempt');
  2784. }
  2785. window.tag.page.send();
  2786. });
  2787. }
  2788. };
  2789. // AT Internet
  2790. tarteaucitron.services.atinternethightrack = {
  2791. "key": "atinternethightrack",
  2792. "type": "analytic",
  2793. "name": "AT Internet",
  2794. "uri": "https://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
  2795. "needConsent": true,
  2796. "cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession', 'atuserid'],
  2797. "js": function () {
  2798. "use strict";
  2799. if (tarteaucitron.user.atLibUrl === undefined) {
  2800. return;
  2801. }
  2802. tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() {
  2803. var tag = new ATInternet.Tracker.Tag();
  2804. if (typeof tarteaucitron.user.atMore === 'function') {
  2805. tarteaucitron.user.atMore();
  2806. }
  2807. })
  2808. }
  2809. };
  2810. // youtube
  2811. tarteaucitron.services.youtube = {
  2812. "key": "youtube",
  2813. "type": "video",
  2814. "name": "YouTube",
  2815. "uri": "https://policies.google.com/privacy",
  2816. "needConsent": true,
  2817. "cookies": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF', 'GEUP'],
  2818. "js": function () {
  2819. "use strict";
  2820. tarteaucitron.fallback(['youtube_player'], function (x) {
  2821. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Youtube iframe'),
  2822. video_id = x.getAttribute("videoID"),
  2823. video_width = x.getAttribute("width"),
  2824. frame_width = 'width=',
  2825. video_height = x.getAttribute("height"),
  2826. frame_height = 'height=',
  2827. video_frame,
  2828. 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");
  2829. if (video_id === undefined) {
  2830. return "";
  2831. }
  2832. if (video_width !== undefined) {
  2833. frame_width += '"' + video_width + '" ';
  2834. } else {
  2835. frame_width += '"" ';
  2836. }
  2837. if (video_height !== undefined) {
  2838. frame_height += '"' + video_height + '" ';
  2839. } else {
  2840. frame_height += '"" ';
  2841. }
  2842. video_frame = '<iframe title="' + frame_title + '" type="text/html" ' + frame_width + frame_height + ' src="//www.youtube-nocookie.com/embed/' + video_id + '?' + params + '" allowfullscreen></iframe>';
  2843. return video_frame;
  2844. });
  2845. },
  2846. "fallback": function () {
  2847. "use strict";
  2848. var id = 'youtube';
  2849. tarteaucitron.fallback(['youtube_player'], function (elem) {
  2850. elem.style.width = elem.getAttribute('width') + 'px';
  2851. elem.style.height = elem.getAttribute('height') + 'px';
  2852. return tarteaucitron.engage(id);
  2853. });
  2854. }
  2855. };
  2856. // youtube playlist
  2857. tarteaucitron.services.youtubeplaylist = {
  2858. "key": "youtubeplaylist",
  2859. "type": "video",
  2860. "name": "YouTube (playlist)",
  2861. "uri": "https://policies.google.com/privacy",
  2862. "needConsent": true,
  2863. "cookies": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF', 'GEUP'],
  2864. "js": function () {
  2865. "use strict";
  2866. tarteaucitron.fallback(['youtube_playlist_player'], function (x) {
  2867. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Youtube iframe'),
  2868. playlist_id = x.getAttribute("playlistID"),
  2869. video_width = x.getAttribute("width"),
  2870. frame_width = 'width=',
  2871. video_height = x.getAttribute("height"),
  2872. frame_height = 'height=',
  2873. video_frame,
  2874. 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");
  2875. if (playlist_id === undefined) {
  2876. return "";
  2877. }
  2878. if (video_width !== undefined) {
  2879. frame_width += '"' + video_width + '" ';
  2880. } else {
  2881. frame_width += '"" ';
  2882. }
  2883. if (video_height !== undefined) {
  2884. frame_height += '"' + video_height + '" ';
  2885. } else {
  2886. frame_height += '"" ';
  2887. }
  2888. 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></iframe>';
  2889. return video_frame;
  2890. });
  2891. },
  2892. "fallback": function () {
  2893. "use strict";
  2894. var id = 'youtubeplaylist';
  2895. tarteaucitron.fallback(['youtube_playlist_player'], function (elem) {
  2896. elem.style.width = elem.getAttribute('width') + 'px';
  2897. elem.style.height = elem.getAttribute('height') + 'px';
  2898. return tarteaucitron.engage(id);
  2899. });
  2900. }
  2901. };
  2902. // zopim
  2903. tarteaucitron.services.zopim = {
  2904. "key": "zopim",
  2905. "type": "support",
  2906. "name": "Zopim",
  2907. "uri": "https://www.zopim.com/privacy",
  2908. "needConsent": true,
  2909. "cookies": ['__zlcid', '__zprivacy'],
  2910. "js": function () {
  2911. "use strict";
  2912. if (tarteaucitron.user.zopimID === undefined) {
  2913. return;
  2914. }
  2915. tarteaucitron.addScript('//v2.zopim.com/?' + tarteaucitron.user.zopimID);
  2916. }
  2917. };
  2918. // kameleoon
  2919. tarteaucitron.services.kameleoon = {
  2920. "key": "kameleoon",
  2921. "type": "analytic",
  2922. "name": "Kameleoon",
  2923. "uri": "https://www.kameleoon.com/fr/compliance/rgpd",
  2924. "needConsent": true,
  2925. "cookies": [],
  2926. "js": function () {
  2927. "use strict";
  2928. if (tarteaucitron.user.kameleoon !== undefined) {
  2929. tarteaucitron.addScript("https://" + tarteaucitron.user.kameleoon + ".kameleoon.eu/kameleoon.js");
  2930. }
  2931. }
  2932. };
  2933. // linkedin insight
  2934. tarteaucitron.services.linkedininsighttag = {
  2935. "key": "linkedininsighttag",
  2936. "type": "ads",
  2937. "name": "Linkedin Insight",
  2938. "uri": "https://www.linkedin.com/legal/cookie_policy",
  2939. "needConsent": true,
  2940. "cookies": [],
  2941. "js": function () {
  2942. "use strict";
  2943. if (tarteaucitron.user.linkedininsighttag !== undefined) {
  2944. window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
  2945. window._linkedin_data_partner_ids.push(tarteaucitron.user.linkedininsighttag);
  2946. }
  2947. tarteaucitron.addScript('https://snap.licdn.com/li.lms-analytics/insight.min.js');
  2948. }
  2949. };
  2950. // xiti smartTag
  2951. tarteaucitron.services.xiti_smarttag = {
  2952. "key": "xiti_smarttag",
  2953. "type": "analytic",
  2954. "name": "Xiti (SmartTag)",
  2955. "uri": "https://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
  2956. "needConsent": true,
  2957. "cookies": ["atidvisitor", "atreman", "atredir", "atsession", "atuserid", "attvtreman", "attvtsession"],
  2958. "js": function () {
  2959. "use strict";
  2960. if (tarteaucitron.user.xiti_smarttagLocalPath !== undefined) {
  2961. tarteaucitron.addScript(tarteaucitron.user.xiti_smarttagLocalPath, 'smarttag', null, null, "onload", "addTracker();");
  2962. } else {
  2963. var xitiSmarttagId = tarteaucitron.user.xiti_smarttagSiteId;
  2964. if (xitiSmarttagId === undefined) {
  2965. return;
  2966. }
  2967. tarteaucitron.addScript('//tag.aticdn.net/' + xitiSmarttagId + '/smarttag.js', 'smarttag', null, null, "onload", "addTracker();");
  2968. }
  2969. }
  2970. };
  2971. // facebook pixel
  2972. tarteaucitron.services.facebookpixel = {
  2973. "key": "facebookpixel",
  2974. "type": "ads",
  2975. "name": "Facebook Pixel",
  2976. "uri": "https://www.facebook.com/policy.php",
  2977. "needConsent": true,
  2978. "cookies": ['datr', 'fr', 'reg_ext_ref', 'reg_fb_gate', 'reg_fb_ref', 'sb', 'wd', 'x-src'],
  2979. "js": function () {
  2980. "use strict";
  2981. var n;
  2982. if(window.fbq)return;
  2983. n=window.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)} ;
  2984. if(!window._fbq)window._fbq=n;
  2985. n.push=n;
  2986. n.loaded=!0;
  2987. n.version='2.0';
  2988. n.queue=[];
  2989. tarteaucitron.addScript('https://connect.facebook.net/en_US/fbevents.js');
  2990. fbq('init', tarteaucitron.user.facebookpixelId);
  2991. fbq('track', 'PageView');
  2992. if (typeof tarteaucitron.user.facebookpixelMore === 'function') {
  2993. tarteaucitron.user.facebookpixelMore();
  2994. }
  2995. }
  2996. };
  2997. //Issuu
  2998. tarteaucitron.services.issuu = {
  2999. "key": "issuu",
  3000. "type": "other",
  3001. "name": "Issuu",
  3002. "uri": "https://issuu.com/legal/privacy",
  3003. "needConsent": true,
  3004. "cookies": ['__qca', 'iutk', 'mc'],
  3005. "js": function () {
  3006. "use strict";
  3007. tarteaucitron.fallback(['issuu_player'], function (x) {
  3008. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Issuu iframe'),
  3009. issuu_id = x.getAttribute("issuuID"),
  3010. issuu_width = x.getAttribute("width"),
  3011. frame_width = 'width=',
  3012. issuu_height = x.getAttribute("height"),
  3013. frame_height = 'height=',
  3014. issuu_frame,
  3015. issuu_embed;
  3016. if (issuu_id === undefined) {
  3017. return "";
  3018. }
  3019. if (issuu_width !== undefined) {
  3020. frame_width += '"' + issuu_width + '" ';
  3021. } else {
  3022. frame_width += '"" ';
  3023. }
  3024. if (issuu_height !== undefined) {
  3025. frame_height += '"' + issuu_height + '" ';
  3026. } else {
  3027. frame_height += '"" ';
  3028. }
  3029. if (issuu_id.match(/\d+\/\d+/)) { issuu_embed = '#' + issuu_id; } else if (issuu_id.match(/d=(.*)&u=(.*)/)) { issuu_embed = '?' + issuu_id; }
  3030. issuu_frame = '<iframe title="' + frame_title + '" type="text/html" ' + frame_width + frame_height + ' src="//e.issuu.com/embed.html' + issuu_embed + '"></iframe>';
  3031. return issuu_frame;
  3032. });
  3033. },
  3034. "fallback": function () {
  3035. "use strict";
  3036. var id = 'issuu';
  3037. tarteaucitron.fallback(['issuu_player'], function (elem) {
  3038. elem.style.width = elem.getAttribute('width') + 'px';
  3039. elem.style.height = elem.getAttribute('height') + 'px';
  3040. return tarteaucitron.engage(id);
  3041. });
  3042. }
  3043. };
  3044. // webmecanik
  3045. tarteaucitron.services.webmecanik = {
  3046. "key": "webmecanik",
  3047. "type": "analytic",
  3048. "name": "Webmecanik",
  3049. "uri": "https://webmecanik.com/tos",
  3050. "needConsent": true,
  3051. "cookies": ['mtc_id', 'mtc_sid'],
  3052. "js": function () {
  3053. "use strict";
  3054. if (tarteaucitron.user.webmecanikurl === undefined) {
  3055. return;
  3056. }
  3057. window.MauticTrackingObject = 'mt';
  3058. window.mt = window.mt || function () {
  3059. window.mt.q = window.mt.q || [];
  3060. window.mt.q.push(arguments);
  3061. };
  3062. tarteaucitron.addScript(tarteaucitron.user.webmecanikurl, '', function() {
  3063. mt('send', 'pageview');
  3064. });
  3065. }
  3066. };
  3067. // google analytics multiple
  3068. tarteaucitron.services.multiplegtag = {
  3069. "key": "multiplegtag",
  3070. "type": "analytic",
  3071. "name": "Google Analytics (gtag.js)",
  3072. "uri": "https://support.google.com/analytics/answer/6004245",
  3073. "needConsent": true,
  3074. "cookies": (function () {
  3075. var cookies = ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz'];
  3076. if (tarteaucitron.user.multiplegtagUa !== undefined) {
  3077. tarteaucitron.user.multiplegtagUa.forEach(function(ua) {
  3078. cookies.push('_gat_gtag_' + ua.replace(/-/g, '_'));
  3079. cookies.push('_ga_' + ua.replace(/G-/g, ''));
  3080. });
  3081. }
  3082. return cookies;
  3083. })(),
  3084. "js": function () {
  3085. "use strict";
  3086. window.dataLayer = window.dataLayer || [];
  3087. if (tarteaucitron.user.multiplegtagUa !== undefined) {
  3088. tarteaucitron.user.multiplegtagUa.forEach(function(ua) {
  3089. tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + ua, '', function () {
  3090. window.gtag = function gtag(){dataLayer.push(arguments);}
  3091. gtag('js', new Date());
  3092. gtag('config', ua);
  3093. });
  3094. });
  3095. }
  3096. }
  3097. };
  3098. // Koban
  3099. tarteaucitron.services.koban = {
  3100. "key": "koban",
  3101. "type": "analytic",
  3102. "name": "Koban",
  3103. "uri": "https://koban.cloud/tos",
  3104. "needConsent": true,
  3105. "cookies": ['kbntrk'],
  3106. "js": function () {
  3107. "use strict";
  3108. if (tarteaucitron.user.kobanurl === undefined) {
  3109. return;
  3110. }
  3111. if (tarteaucitron.user.kobanapi === undefined) {
  3112. return;
  3113. }
  3114. window.KobanObject = 'kb';
  3115. window.kb = window.kb || function() {
  3116. window.kb.q = window.kb.q || [];
  3117. window.kb.q.push(arguments);
  3118. };
  3119. window.kb.l = new Date();
  3120. kb('reg', tarteaucitron.user.kobanapi);
  3121. tarteaucitron.addScript(tarteaucitron.user.kobanurl, '', function() {
  3122. });
  3123. }
  3124. };
  3125. // matomo
  3126. /*
  3127. 1. Set the following variable before the initialization :
  3128. tarteaucitron.user.matomoId = YOUR_SITE_ID_FROM_MATOMO;
  3129. tarteaucitron.user.matomoHost = "YOUR_MATOMO_URL"; //eg: https://stat.mydomain.com/
  3130. 2. Push the service :
  3131. (tarteaucitron.job = tarteaucitron.job || []).push('matomo');
  3132. 3. HTML
  3133. You don't need to add any html code, if the service is autorized, the javascript is added. otherwise no.
  3134. */
  3135. tarteaucitron.services.matomo = {
  3136. "key": "matomo",
  3137. "type": "analytic",
  3138. "name": "Matomo (privacy by design)",
  3139. "uri": "https://matomo.org/faq/general/faq_146/",
  3140. "needConsent": false,
  3141. "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
  3142. "js": function () {
  3143. "use strict";
  3144. if (tarteaucitron.user.matomoId === undefined) {
  3145. return;
  3146. }
  3147. window._paq = window._paq || [];
  3148. window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
  3149. window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
  3150. window._paq.push(["setDoNotTrack", 1]);
  3151. window._paq.push(["trackPageView"]);
  3152. window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
  3153. window._paq.push(["enableLinkTracking"]);
  3154. window._paq.push([function() {
  3155. var self = this;
  3156. function getOriginalVisitorCookieTimeout() {
  3157. var now = new Date(),
  3158. nowTs = Math.round(now.getTime() / 1000),
  3159. visitorInfo = self.getVisitorInfo();
  3160. var createTs = parseInt(visitorInfo[2]);
  3161. var cookieTimeout = 33696000; // 13 mois en secondes
  3162. var originalTimeout = createTs + cookieTimeout - nowTs;
  3163. return originalTimeout;
  3164. }
  3165. this.setVisitorCookieTimeout( getOriginalVisitorCookieTimeout() );
  3166. }]);
  3167. tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
  3168. // waiting for piwik to be ready to check first party cookies
  3169. var interval = setInterval(function() {
  3170. if (typeof Piwik === 'undefined') return
  3171. clearInterval(interval)
  3172. // make piwik/matomo cookie accessible by getting tracker
  3173. Piwik.getTracker();
  3174. // looping throught cookies
  3175. var theCookies = document.cookie.split(';');
  3176. for (var i = 1 ; i <= theCookies.length; i++) {
  3177. var cookie = theCookies[i-1].split('=');
  3178. var cookieName = cookie[0].trim();
  3179. // if cookie starts like a piwik one, register it
  3180. if (cookieName.indexOf('_pk_') === 0) {
  3181. tarteaucitron.services.matomo.cookies.push(cookieName);
  3182. }
  3183. }
  3184. }, 100)
  3185. }
  3186. };
  3187. tarteaucitron.services.matomohightrack = {
  3188. "key": "matomohightrack",
  3189. "type": "analytic",
  3190. "name": "Matomo",
  3191. "uri": "https://matomo.org/faq/general/faq_146/",
  3192. "needConsent": false,
  3193. "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
  3194. "js": function () {
  3195. "use strict";
  3196. if (tarteaucitron.user.matomoId === undefined) {
  3197. return;
  3198. }
  3199. window._paq = window._paq || [];
  3200. window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
  3201. window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
  3202. window._paq.push(["trackPageView"]);
  3203. window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
  3204. window._paq.push(["enableLinkTracking"]);
  3205. window._paq.push([function() {
  3206. var self = this;
  3207. }]);
  3208. tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
  3209. // waiting for piwik to be ready to check first party cookies
  3210. var interval = setInterval(function() {
  3211. if (typeof Piwik === 'undefined') return
  3212. clearInterval(interval)
  3213. Piwik.getTracker();
  3214. var theCookies = document.cookie.split(';');
  3215. for (var i = 1 ; i <= theCookies.length; i++) {
  3216. var cookie = theCookies[i-1].split('=');
  3217. var cookieName = cookie[0].trim();
  3218. if (cookieName.indexOf('_pk_') === 0) {
  3219. tarteaucitron.services.matomo.cookies.push(cookieName);
  3220. }
  3221. }
  3222. }, 100)
  3223. }
  3224. };
  3225. // Hotjar
  3226. /*
  3227. 1. Set the following variable before the initialization :
  3228. tarteaucitron.user.hotjarId = YOUR_WEBSITE_ID;
  3229. tarteaucitron.user.HotjarSv = XXXX; // Can be found in your website tracking code as "hjvs=XXXX"
  3230. 2. Push the service :
  3231. (tarteaucitron.job = tarteaucitron.job || []).push('hotjar');
  3232. 3. HTML
  3233. You don't need to add any html code, if the service is autorized, the javascript is added. otherwise no.
  3234. */
  3235. tarteaucitron.services.hotjar = {
  3236. "key": "hotjar",
  3237. "type": "analytic",
  3238. "name": "Hotjar",
  3239. "uri": "https://help.hotjar.com/hc/en-us/categories/115001323967-About-Hotjar",
  3240. "needConsent": true,
  3241. "cookies": ["hjClosedSurveyInvites", "_hjDonePolls", "_hjMinimizedPolls", "_hjDoneTestersWidgets", "_hjMinimizedTestersWidgets", "_hjDoneSurveys", "_hjIncludedInSample", "_hjShownFeedbackMessage", "_hjAbsoluteSessionInProgress", "_hjIncludeInPageviewSample", "_hjid"],
  3242. "js": function () {
  3243. "use strict";
  3244. if (tarteaucitron.user.hotjarId === undefined || tarteaucitron.user.HotjarSv === undefined) {
  3245. return;
  3246. }
  3247. window.hj = window.hj || function() {
  3248. (window.hj.q = window.hj.q || []).push(arguments)
  3249. };
  3250. window._hjSettings = {
  3251. hjid: tarteaucitron.user.hotjarId,
  3252. hjsv: tarteaucitron.user.HotjarSv
  3253. };
  3254. var uri = 'https://static.hotjar.com/c/hotjar-';
  3255. var extension = '.js?sv=';
  3256. tarteaucitron.addScript(uri + window._hjSettings.hjid + extension + window._hjSettings.hjsv);
  3257. }
  3258. };
  3259. // bing ads universal event tracking
  3260. tarteaucitron.services.bingads = {
  3261. 'key': 'bingads',
  3262. 'type': 'ads',
  3263. 'name': 'Bing Ads Universal Event Tracking',
  3264. 'uri': 'https://advertise.bingads.microsoft.com/en-us/resources/policies/personalized-ads',
  3265. 'needConsent': true,
  3266. 'cookies': ['_uetmsclkid', '_uetvid', '_uetsid'],
  3267. 'js': function () {
  3268. 'use strict';
  3269. //var u = tarteaucitron.user.bingadsTag || 'uetq';
  3270. window.uetq = window.uetq || [];
  3271. tarteaucitron.addScript('https://bat.bing.com/bat.js', '', function () {
  3272. var bingadsCreate = {ti: tarteaucitron.user.bingadsID};
  3273. if ('bingadsStoreCookies' in tarteaucitron.user) {
  3274. bingadsCreate['storeConvTrackCookies'] = tarteaucitron.user.bingadsStoreCookies;
  3275. }
  3276. bingadsCreate.q = window.uetq;
  3277. window.uetq = new UET(bingadsCreate);
  3278. window.uetq.push('pageLoad');
  3279. });
  3280. }
  3281. };
  3282. //Matterport
  3283. tarteaucitron.services.matterport = {
  3284. "key": "matterport",
  3285. "type": "other",
  3286. "name": "Matterport",
  3287. "uri": "https://matterport.com/es/legal/privacy-policy/",
  3288. "needConsent": true,
  3289. "cookies": ['__cfduid', 'ajs_anonymous_id', 'ajs_group_id', 'ajs_user_id'],
  3290. "js": function () {
  3291. "use strict";
  3292. tarteaucitron.fallback(['matterport'], function (x) {
  3293. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Matterport iframe'),
  3294. matterport_id = x.getAttribute("matterportID"),
  3295. matterport_width = x.getAttribute("width"),
  3296. frame_width = 'width=',
  3297. matterport_height = x.getAttribute("height"),
  3298. frame_height = 'height=',
  3299. matterport_parameters = x.getAttribute("parameters"),
  3300. matterport_frame;
  3301. if (matterport_id === undefined) {
  3302. return "";
  3303. }
  3304. if (matterport_width !== undefined) {
  3305. frame_width += '"' + matterport_width + '" ';
  3306. } else {
  3307. frame_width += '"" ';
  3308. }
  3309. if (matterport_height !== undefined) {
  3310. frame_height += '"' + matterport_height + '" ';
  3311. } else {
  3312. frame_height += '"" ';
  3313. }
  3314. if (matterport_parameters === undefined) {
  3315. return "";
  3316. }
  3317. 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 + '" allowfullscreen="allowfullscreen"></iframe>';
  3318. return matterport_frame;
  3319. });
  3320. },
  3321. "fallback": function () {
  3322. "use strict";
  3323. var id = 'matterport';
  3324. tarteaucitron.fallback(['matterport'], function (elem) {
  3325. elem.style.width = elem.getAttribute('width') + 'px';
  3326. elem.style.height = elem.getAttribute('height') + 'px';
  3327. return tarteaucitron.engage(id);
  3328. });
  3329. }
  3330. };
  3331. // Adform
  3332. tarteaucitron.services.adform = {
  3333. "key": "adform",
  3334. "type": "ads",
  3335. "name": "Adform",
  3336. "uri": "https://site.adform.com/privacy-center/overview/",
  3337. "needConsent": true,
  3338. "cookies": [],
  3339. "js": function () {
  3340. "use strict";
  3341. if (tarteaucitron.user.adformpm === undefined || tarteaucitron.user.adformpagename === undefined) {
  3342. return;
  3343. }
  3344. window._adftrack = {
  3345. pm: tarteaucitron.user.adformpm,
  3346. divider: encodeURIComponent('|'),
  3347. pagename: encodeURIComponent(tarteaucitron.user.adformpagename)
  3348. };
  3349. tarteaucitron.addScript("https://track.adform.net/serving/scripts/trackpoint/async/");
  3350. }
  3351. };
  3352. // Active Campaign
  3353. tarteaucitron.services.activecampaign = {
  3354. "key": "activecampaign",
  3355. "type": "ads",
  3356. "name": "Active Campaign",
  3357. "uri": "https://www.activecampaign.com/privacy-policy/",
  3358. "needConsent": true,
  3359. "cookies": [],
  3360. "js": function () {
  3361. "use strict";
  3362. if (tarteaucitron.user.actid === undefined) {
  3363. return;
  3364. }
  3365. window.trackcmp_email = '';
  3366. tarteaucitron.addScript('https://trackcmp.net/visit?actid='+tarteaucitron.user.actid+'&e='+encodeURIComponent(trackcmp_email)+'&r='+encodeURIComponent(document.referrer)+'&u='+encodeURIComponent(window.location.href));
  3367. }
  3368. };
  3369. // tawk.to
  3370. tarteaucitron.services.tawkto = {
  3371. "key": "tawkto",
  3372. "type": "support",
  3373. "name": "Tawk.to chat",
  3374. "uri": "https://www.tawk.to/data-protection/",
  3375. "needConsent": true,
  3376. "cookies": [],
  3377. "js": function () {
  3378. "use strict";
  3379. if (tarteaucitron.user.tawktoId === undefined) {
  3380. return;
  3381. }
  3382. window.Tawk_API=window.Tawk_API||{};
  3383. window.Tawk_LoadStart=new Date();
  3384. tarteaucitron.addScript('https://embed.tawk.to/' + tarteaucitron.user.tawktoId + '/default');
  3385. }
  3386. };
  3387. // getquanty
  3388. tarteaucitron.services.getquanty = {
  3389. "key": "getquanty",
  3390. "type": "analytic",
  3391. "name": "GetQuanty",
  3392. "uri": "https://www.getquanty.com/mentions-legales/",
  3393. "needConsent": true,
  3394. "cookies": ['_first_pageview', 'eqy_sessionid', 'eqy_siteid','cluid','eqy_company', 'cluid', 'gq_utm', '_jsuid'],
  3395. "js": function () {
  3396. "use strict";
  3397. if (tarteaucitron.user.getguanty === undefined) {
  3398. return;
  3399. }
  3400. tarteaucitron.addScript('https://get.smart-data-systems.com/gq?site_id=' + tarteaucitron.user.getguanty + '&consent=1');
  3401. },
  3402. "fallback": function () {
  3403. "use strict";
  3404. if (tarteaucitron.user.getguanty === undefined) {
  3405. return;
  3406. }
  3407. tarteaucitron.addScript('https://get.smart-data-systems.com/gq?site_id=' + tarteaucitron.user.getguanty + '&notrack=1');
  3408. }
  3409. };
  3410. // emolytics
  3411. tarteaucitron.services.emolytics = {
  3412. "key": "emolytics",
  3413. "type": "analytic",
  3414. "name": "Emolytics",
  3415. "uri": "https://www.emolytics.com/main/privacy-policy.php",
  3416. "needConsent": true,
  3417. "cookies": ['__hssc', '__hssrc', '__hstc', '_ga', '_gid', 'hubspotutk', 'lang', 'incap_ses_', 'nlbi_', 'visid_incap_'],
  3418. "js": function () {
  3419. "use strict";
  3420. if (tarteaucitron.user.emolyticsID === undefined) {
  3421. return;
  3422. }
  3423. var scriptEmolytics = document.createElement('script');
  3424. scriptEmolytics.text = 'var getsmily_id="'+tarteaucitron.user.emolyticsID+'";';
  3425. document.getElementsByTagName('body')[0].appendChild(scriptEmolytics);
  3426. tarteaucitron.addScript('https://cdn.emolytics.com/script/emolytics-widget.js')
  3427. }
  3428. };
  3429. // youtubeapi
  3430. tarteaucitron.services.youtubeapi = {
  3431. "key": "youtubeapi",
  3432. "type": "video",
  3433. "name": "Youtube (Js API)",
  3434. "uri": "https://policies.google.com/privacy/",
  3435. "needConsent": true,
  3436. "cookies": [],
  3437. "js": function () {
  3438. "use strict";
  3439. tarteaucitron.addScript('https://www.youtube.com/player_api');
  3440. }
  3441. };
  3442. // Facil'ITI
  3443. tarteaucitron.services.faciliti = {
  3444. "key": "faciliti",
  3445. "type": "other",
  3446. "name": "Facil'ITI",
  3447. "uri": "https://ws.facil-iti.com/mentions-legales.html",
  3448. "needConsent": true,
  3449. "cookies": ['FACIL_ITI_LS'],
  3450. "js": function () {
  3451. "use strict";
  3452. if (tarteaucitron.user.facilitiID === undefined) {
  3453. return;
  3454. }
  3455. (function(w, d, s, f) {
  3456. w[f] = w[f] || {conf: function () { (w[f].data = w[f].data || []).push(arguments);}};
  3457. var l = d.createElement(s), e = d.getElementsByTagName(s)[0];
  3458. l.async = 1; l.src = 'https://ws.facil-iti.com/tag/faciliti-tag.min.js'; e.parentNode.insertBefore(l, e);
  3459. }(window, document, 'script', 'FACIL_ITI'));
  3460. FACIL_ITI.conf('userId', tarteaucitron.user.facilitiID);
  3461. }
  3462. };
  3463. // userlike
  3464. tarteaucitron.services.userlike = {
  3465. "key": "userlike",
  3466. "type": "support",
  3467. "name": "Userlike",
  3468. "uri": "https://www.userlike.com/en/terms#privacy-policy",
  3469. "needConsent": true,
  3470. "cookies": ['uslk_s', 'uslk_e'],
  3471. "js": function () {
  3472. "use strict";
  3473. if (tarteaucitron.user.userlikeKey === undefined) {
  3474. return;
  3475. }
  3476. tarteaucitron.addScript('//userlike-cdn-widgets.s3-eu-west-1.amazonaws.com/' + tarteaucitron.user.userlikeKey);
  3477. }
  3478. };
  3479. // adobeanalytics
  3480. tarteaucitron.services.adobeanalytics = {
  3481. "key": "adobeanalytics",
  3482. "type": "analytic",
  3483. "name": "Adobe Analytics",
  3484. "uri": "https://www.adobe.com/privacy/policy.html",
  3485. "needConsent": true,
  3486. "cookies": ['s_ecid', 's_cc', 's_sq', 's_vi', 's_fid'],
  3487. "js": function () {
  3488. "use strict";
  3489. if (tarteaucitron.user.adobeanalyticskey === undefined) {
  3490. return;
  3491. }
  3492. tarteaucitron.addScript('//assets.adobedtm.com/launch-' + tarteaucitron.user.adobeanalyticskey + '.min.js');
  3493. }
  3494. };
  3495. // woopra customer journey analytics
  3496. tarteaucitron.services.woopra = {
  3497. 'key': 'woopra',
  3498. 'type': 'analytic',
  3499. 'name': 'Woopra Customer Journey Analytics',
  3500. 'uri': 'https://www.woopra.com/privacy',
  3501. 'needConsent': true,
  3502. 'cookies': ['wooTracker', 'intercom-session-erbfalba', 'intercom-id-erbfalba'],
  3503. 'js': function () {
  3504. 'use strict';
  3505. //var w = tarteaucitron.user.woopraDomain;
  3506. //window[w] = window[w] || [];
  3507. (function(){
  3508. 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)
  3509. })("woopra");
  3510. woopra.config({
  3511. domain: tarteaucitron.user.woopraDomain
  3512. });
  3513. woopra.track();
  3514. }
  3515. };
  3516. // ausha
  3517. tarteaucitron.services.ausha = {
  3518. key: "ausha",
  3519. type: "video",
  3520. name: "Ausha",
  3521. uri: "https://www.ausha.co/protection-personal-data/",
  3522. needConsent: true,
  3523. cookies: [],
  3524. js: function () {
  3525. "use strict";
  3526. tarteaucitron.fallback(['ausha_player'], function (x) {
  3527. var player_height = x.getAttribute('data-height'),
  3528. podcast_id = x.getAttribute('data-podcast-id'),
  3529. player_id = x.getAttribute('data-player-id'),
  3530. playlist = x.getAttribute('data-playlist'),
  3531. color = x.getAttribute('data-color');
  3532. if (podcast_id === undefined) {
  3533. return "";
  3534. }
  3535. var src = 'https://player.ausha.co/index.html?podcastId=' + podcast_id + '&v=3';
  3536. if (playlist && playlist.length > 0) src += '&playlist=' + playlist;
  3537. if (color && color.length > 0) src += '&color=' + color.replace('#', '%23');
  3538. if (player_id && player_id.length > 0) src += '&playerId=' + player_id;
  3539. return '<iframe id="' + player_id + '" loading="lazy" width="100%" height="' + player_height + '" scrolling="no" frameborder="no" src="' + src + '"></iframe>';
  3540. });
  3541. tarteaucitron.addScript('//player.ausha.co/ausha-player.js', 'ausha-player');
  3542. },
  3543. fallback: function () {
  3544. "use strict";
  3545. tarteaucitron.fallback(['ausha_player'], function (elem) {
  3546. elem.style.height = elem.getAttribute('data-height') + 'px';
  3547. return tarteaucitron.engage('ausha');
  3548. });
  3549. }
  3550. };