tarteaucitron.services.js 140 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917
  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. embed_width = x.getAttribute("width"),
  1670. frame_width = 'width=',
  1671. embed_height = x.getAttribute("height"),
  1672. frame_height = 'height=',
  1673. post_frame;
  1674. if (post_id === undefined) {
  1675. return "";
  1676. }
  1677. if (embed_width !== undefined) {
  1678. frame_width += '"' + embed_width + '" ';
  1679. } else {
  1680. frame_width += '"" ';
  1681. }
  1682. if (embed_height !== undefined) {
  1683. frame_height += '"' + embed_height + '" ';
  1684. } else {
  1685. frame_height += '"" ';
  1686. }
  1687. post_frame = '<iframe title="' + frame_title + '" src="//www.instagram.com/' + post_id + '/embed" ' + frame_width + frame_height + '></iframe>';
  1688. return post_frame;
  1689. });
  1690. },
  1691. "fallback": function () {
  1692. "use strict";
  1693. var id = 'instagram';
  1694. tarteaucitron.fallback(['instagram_post'], function (elem) {
  1695. elem.style.width = elem.getAttribute('width') + 'px';
  1696. elem.style.height = elem.getAttribute('height') + 'px';
  1697. return tarteaucitron.engage(id);
  1698. });
  1699. }
  1700. };
  1701. // jsapi
  1702. tarteaucitron.services.jsapi = {
  1703. "key": "jsapi",
  1704. "type": "api",
  1705. "name": "Google jsapi",
  1706. "uri": "https://policies.google.com/privacy",
  1707. "needConsent": true,
  1708. "cookies": [],
  1709. "js": function () {
  1710. "use strict";
  1711. tarteaucitron.addScript('//www.google.com/jsapi');
  1712. }
  1713. };
  1714. // twitterwidgetsapi
  1715. tarteaucitron.services.twitterwidgetsapi = {
  1716. "key": "twitterwidgetsapi",
  1717. "type": "api",
  1718. "name": "Twitter Widgets API",
  1719. "uri": "https://support.twitter.com/articles/20170514",
  1720. "needConsent": true,
  1721. "cookies": [],
  1722. "js": function () {
  1723. "use strict";
  1724. tarteaucitron.fallback(['tacTwitterAPI'], '');
  1725. tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
  1726. },
  1727. "fallback": function () {
  1728. "use strict";
  1729. var id = 'twitterwidgetsapi';
  1730. tarteaucitron.fallback(['tacTwitterAPI'], tarteaucitron.engage(id));
  1731. }
  1732. };
  1733. // recaptcha
  1734. tarteaucitron.services.recaptcha = {
  1735. "key": "recaptcha",
  1736. "type": "api",
  1737. "name": "reCAPTCHA",
  1738. "uri": "https://policies.google.com/privacy",
  1739. "needConsent": true,
  1740. "cookies": ['nid'],
  1741. "js": function () {
  1742. "use strict";
  1743. window.tacRecaptchaOnLoad = tarteaucitron.user.recaptchaOnLoad || function() {};
  1744. tarteaucitron.fallback(['g-recaptcha'], '');
  1745. if (tarteaucitron.user.recaptchaapi === undefined) {
  1746. tarteaucitron.addScript('https://www.google.com/recaptcha/api.js?onload=tacRecaptchaOnLoad');
  1747. } else {
  1748. tarteaucitron.addScript('https://www.google.com/recaptcha/api.js?onload=tacRecaptchaOnLoad&render=' + tarteaucitron.user.recaptchaapi);
  1749. }
  1750. },
  1751. "fallback": function () {
  1752. "use strict";
  1753. var id = 'recaptcha';
  1754. tarteaucitron.fallback(['g-recaptcha'], tarteaucitron.engage(id));
  1755. }
  1756. };
  1757. // linkedin
  1758. tarteaucitron.services.linkedin = {
  1759. "key": "linkedin",
  1760. "type": "social",
  1761. "name": "Linkedin",
  1762. "uri": "https://www.linkedin.com/legal/cookie_policy",
  1763. "needConsent": true,
  1764. "cookies": [],
  1765. "js": function () {
  1766. "use strict";
  1767. tarteaucitron.fallback(['tacLinkedin'], '');
  1768. tarteaucitron.addScript('//platform.linkedin.com/in.js');
  1769. if (tarteaucitron.isAjax === true) {
  1770. if (typeof IN !== "undefined") {
  1771. IN.parse();
  1772. }
  1773. }
  1774. },
  1775. "fallback": function () {
  1776. "use strict";
  1777. var id = 'linkedin';
  1778. tarteaucitron.fallback(['tacLinkedin'], tarteaucitron.engage(id));
  1779. }
  1780. };
  1781. // mautic
  1782. tarteaucitron.services.mautic = {
  1783. "key": "mautic",
  1784. "type": "analytic",
  1785. "name": "Mautic",
  1786. "uri": "https://www.mautic.org/privacy-policy/",
  1787. "needConsent": true,
  1788. "cookies": ['mtc_id', 'mtc_sid'],
  1789. "js": function () {
  1790. "use strict";
  1791. if (tarteaucitron.user.mauticurl === undefined) {
  1792. return;
  1793. }
  1794. window.MauticTrackingObject = 'mt';
  1795. window.mt = window.mt || function () {
  1796. window.mt.q = window.mt.q || [];
  1797. window.mt.q.push(arguments);
  1798. };
  1799. tarteaucitron.addScript(tarteaucitron.user.mauticurl, '', function() {
  1800. mt('send', 'pageview');
  1801. });
  1802. }
  1803. };
  1804. // microsoftcampaignanalytics
  1805. tarteaucitron.services.microsoftcampaignanalytics = {
  1806. "key": "microsoftcampaignanalytics",
  1807. "type": "analytic",
  1808. "name": "Microsoft Campaign Analytics",
  1809. "uri": "https://privacy.microsoft.com/privacystatement/",
  1810. "needConsent": true,
  1811. "cookies": [],
  1812. "js": function () {
  1813. "use strict";
  1814. if (tarteaucitron.user.microsoftcampaignanalyticsUUID === undefined) {
  1815. return;
  1816. }
  1817. tarteaucitron.addScript('//flex.atdmt.com/mstag/site/' + tarteaucitron.user.microsoftcampaignanalyticsUUID + '/mstag.js', 'mstag_tops', function () {
  1818. window.mstag = {loadTag : function () {}, time : (new Date()).getTime()};
  1819. window.mstag.loadTag("analytics", {dedup: "1", domainId: tarteaucitron.user.microsoftcampaignanalyticsdomainId, type: "1", actionid: tarteaucitron.user.microsoftcampaignanalyticsactionId});
  1820. });
  1821. }
  1822. };
  1823. // onesignal
  1824. tarteaucitron.services.onesignal = {
  1825. "key": "onesignal",
  1826. "type": "api",
  1827. "name": "OneSignal",
  1828. "uri": "https://onesignal.com/privacy_policy",
  1829. "needConsent": true,
  1830. "cookies": [],
  1831. "js": function () {
  1832. "use strict";
  1833. if (tarteaucitron.user.onesignalAppId === undefined) {
  1834. return;
  1835. }
  1836. window.OneSignal = window.OneSignal || [];
  1837. window.OneSignal.push(function() {
  1838. window.OneSignal.init({
  1839. appId: tarteaucitron.user.onesignalAppId,
  1840. });
  1841. });
  1842. tarteaucitron.addScript('https://cdn.onesignal.com/sdks/OneSignalSDK.js');
  1843. }
  1844. };
  1845. // pinterest
  1846. tarteaucitron.services.pinterest = {
  1847. "key": "pinterest",
  1848. "type": "social",
  1849. "name": "Pinterest",
  1850. "uri": "https://about.pinterest.com/privacy-policy",
  1851. "needConsent": true,
  1852. "cookies": [],
  1853. "js": function () {
  1854. "use strict";
  1855. tarteaucitron.fallback(['tacPinterest'], '');
  1856. tarteaucitron.addScript('//assets.pinterest.com/js/pinit.js');
  1857. },
  1858. "fallback": function () {
  1859. "use strict";
  1860. var id = 'pinterest';
  1861. tarteaucitron.fallback(['tacPinterest'], tarteaucitron.engage(id));
  1862. }
  1863. };
  1864. // prelinker
  1865. tarteaucitron.services.prelinker = {
  1866. "key": "prelinker",
  1867. "type": "ads",
  1868. "name": "Prelinker",
  1869. "uri": "http://www.prelinker.com/index/index/cgu/",
  1870. "needConsent": true,
  1871. "cookies": ['_sp_id.32f5', '_sp_ses.32f5'],
  1872. "js": function () {
  1873. "use strict";
  1874. var uniqIds = [],
  1875. i,
  1876. uri;
  1877. tarteaucitron.fallback(['prelinker-canvas'], function (x) {
  1878. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  1879. uniqIds.push(uniqId);
  1880. return '<div id="' + uniqId + '" siteId="' + x.getAttribute('siteId') + '" bannerId="' + x.getAttribute('bannerId') + '" defaultLanguage="' + x.getAttribute('defaultLanguage') + '" tracker="' + x.getAttribute('tracker') + '"></div>';
  1881. });
  1882. for (i = 0; i < uniqIds.length; i += 1) {
  1883. uri = 'http://promo.easy-dating.org/banner/index?';
  1884. uri += 'site_id=' + document.getElementById(uniqIds[i]).getAttribute('siteId') + '&';
  1885. uri += 'banner_id=' + document.getElementById(uniqIds[i]).getAttribute('bannerId') + '&';
  1886. uri += 'default_language=' + document.getElementById(uniqIds[i]).getAttribute('defaultLanguage') + '&';
  1887. uri += 'tr4ck=' + document.getElementById(uniqIds[i]).getAttribute('trackrt');
  1888. tarteaucitron.makeAsync.init(uri, uniqIds[i]);
  1889. }
  1890. },
  1891. "fallback": function () {
  1892. "use strict";
  1893. var id = 'prelinker';
  1894. tarteaucitron.fallback(['prelinker-canvas'], tarteaucitron.engage(id));
  1895. }
  1896. };
  1897. // prezi
  1898. tarteaucitron.services.prezi = {
  1899. "key": "prezi",
  1900. "type": "video",
  1901. "name": "Prezi",
  1902. "uri": "https://prezi.com/privacy-policy/",
  1903. "needConsent": true,
  1904. "cookies": [],
  1905. "js": function () {
  1906. "use strict";
  1907. tarteaucitron.fallback(['prezi-canvas'], function (x) {
  1908. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Prezi iframe'),
  1909. id = x.getAttribute("data-id"),
  1910. width = x.getAttribute("width"),
  1911. height = x.getAttribute("height"),
  1912. url = 'https://prezi.com/embed/' + id + '/?bgcolor=ffffff&amp;lock_to_path=0&amp;autoplay=0&amp;autohide_ctrls=0';
  1913. return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency allowfullscreen></iframe>';
  1914. });
  1915. },
  1916. "fallback": function () {
  1917. "use strict";
  1918. var id = 'prezi';
  1919. tarteaucitron.fallback(['prezi-canvas'], function (elem) {
  1920. elem.style.width = elem.getAttribute('width') + 'px';
  1921. elem.style.height = elem.getAttribute('height') + 'px';
  1922. return tarteaucitron.engage(id);
  1923. });
  1924. }
  1925. };
  1926. // pubdirecte
  1927. tarteaucitron.services.pubdirecte = {
  1928. "key": "pubdirecte",
  1929. "type": "ads",
  1930. "name": "Pubdirecte",
  1931. "uri": "http://pubdirecte.com/contact.php",
  1932. "needConsent": true,
  1933. "cookies": [],
  1934. "js": function () {
  1935. "use strict";
  1936. var uniqIds = [],
  1937. i,
  1938. uri;
  1939. tarteaucitron.fallback(['pubdirecte-canvas'], function (x) {
  1940. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  1941. uniqIds.push(uniqId);
  1942. return '<div id="' + uniqId + '" pid="' + x.getAttribute('pid') + '" ref="' + x.getAttribute('ref') + '"></div>';
  1943. });
  1944. for (i = 0; i < uniqIds.length; i += 1) {
  1945. uri = '//www.pubdirecte.com/script/banniere.php?';
  1946. uri += 'id=' + document.getElementById(uniqIds[i]).getAttribute('pid') + '&';
  1947. uri += 'ref=' + document.getElementById(uniqIds[i]).getAttribute('ref');
  1948. tarteaucitron.makeAsync.init(uri, uniqIds[i]);
  1949. }
  1950. },
  1951. "fallback": function () {
  1952. "use strict";
  1953. var id = 'pubdirecte';
  1954. tarteaucitron.fallback(['pubdirecte-canvas'], tarteaucitron.engage(id));
  1955. }
  1956. };
  1957. // purechat
  1958. tarteaucitron.services.purechat = {
  1959. "key": "purechat",
  1960. "type": "support",
  1961. "name": "PureChat",
  1962. "uri": "https://www.purechat.com/privacy",
  1963. "needConsent": true,
  1964. "cookies": [],
  1965. "js": function () {
  1966. "use strict";
  1967. if (tarteaucitron.user.purechatId === undefined) {
  1968. return;
  1969. }
  1970. tarteaucitron.addScript('//app.purechat.com/VisitorWidget/WidgetScript', '', function () {
  1971. try {
  1972. window.w = new PCWidget({ c: tarteaucitron.user.purechatId, f: true });
  1973. } catch (e) {}
  1974. });
  1975. }
  1976. };
  1977. // rumbletalk
  1978. tarteaucitron.services.rumbletalk = {
  1979. "key": "rumbletalk",
  1980. "type": "social",
  1981. "name": "RumbleTalk",
  1982. "needConsent": true,
  1983. "cookies": ['AWSALB'],
  1984. "js": function () {
  1985. "use strict";
  1986. if (tarteaucitron.user.rumbletalkid === undefined) {
  1987. return;
  1988. }
  1989. tarteaucitron.addScript('https://rumbletalk.com/client/?' + tarteaucitron.user.rumbletalkid);
  1990. tarteaucitron.fallback(['rumbletalk'], function (x) {
  1991. var width = tarteaucitron.getElemWidth(x),
  1992. height = tarteaucitron.getElemHeight(x),
  1993. id = x.getAttribute("data-id");
  1994. return '<div style="height: ' + height + 'px; width: ' + width + 'px;"><div id="' + id + '"></div></div>';
  1995. });
  1996. },
  1997. "fallback": function () {
  1998. "use strict";
  1999. var id = 'rumbletalk';
  2000. tarteaucitron.fallback(['rumbletalk'], function (elem) {
  2001. elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';
  2002. elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';
  2003. return tarteaucitron.engage(id);
  2004. });
  2005. }
  2006. };
  2007. // shareaholic
  2008. tarteaucitron.services.shareaholic = {
  2009. "key": "shareaholic",
  2010. "type": "social",
  2011. "name": "Shareaholic",
  2012. "uri": "https://shareaholic.com/privacy/choices",
  2013. "needConsent": true,
  2014. "cookies": ['__utma', '__utmb', '__utmc', '__utmz', '__utmt_Shareaholic%20Pageviews'],
  2015. "js": function () {
  2016. "use strict";
  2017. if (tarteaucitron.user.shareaholicSiteId === undefined) {
  2018. return;
  2019. }
  2020. tarteaucitron.fallback(['shareaholic-canvas'], '');
  2021. tarteaucitron.addScript('//dsms0mj1bbhn4.cloudfront.net/assets/pub/shareaholic.js', '', function () {
  2022. try {
  2023. Shareaholic.init(tarteaucitron.user.shareaholicSiteId);
  2024. } catch (e) {}
  2025. });
  2026. },
  2027. "fallback": function () {
  2028. "use strict";
  2029. var id = 'shareaholic';
  2030. tarteaucitron.fallback(['shareaholic-canvas'], tarteaucitron.engage(id));
  2031. }
  2032. };
  2033. // shareasale
  2034. tarteaucitron.services.shareasale = {
  2035. "key": "shareasale",
  2036. "type": "ads",
  2037. "name": "ShareASale",
  2038. "uri": "https://www.shareasale.com/PrivacyPolicy.pdf",
  2039. "needConsent": true,
  2040. "cookies": [],
  2041. "js": function () {
  2042. "use strict";
  2043. var uniqIds = [],
  2044. i,
  2045. uri;
  2046. tarteaucitron.fallback(['shareasale-canvas'], function (x) {
  2047. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  2048. uniqIds.push(uniqId);
  2049. 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>';
  2050. });
  2051. for (i = 0; i < uniqIds.length; i += 1) {
  2052. uri = 'https://shareasale.com/sale.cfm?';
  2053. uri += 'amount=' + document.getElementById(uniqIds[i]).getAttribute('amount') + '&';
  2054. uri += 'tracking=' + document.getElementById(uniqIds[i]).getAttribute('tracking') + '&';
  2055. uri += 'transtype=' + document.getElementById(uniqIds[i]).getAttribute('transtype') + '&';
  2056. uri += 'persale=' + document.getElementById(uniqIds[i]).getAttribute('persale') + '&';
  2057. uri += 'perlead=' + document.getElementById(uniqIds[i]).getAttribute('perlead') + '&';
  2058. uri += 'perhit=' + document.getElementById(uniqIds[i]).getAttribute('perhit') + '&';
  2059. uri += 'merchantID=' + document.getElementById(uniqIds[i]).getAttribute('merchantID');
  2060. document.getElementById(uniqIds[i]).innerHTML = '<img src=\'' + uri + '\' width=\'1\' height=\'1\' />';
  2061. }
  2062. },
  2063. "fallback": function () {
  2064. "use strict";
  2065. var id = 'shareasale';
  2066. tarteaucitron.fallback(['shareasale-canvas'], tarteaucitron.engage(id));
  2067. }
  2068. };
  2069. // sharethis
  2070. tarteaucitron.services.sharethis = {
  2071. "key": "sharethis",
  2072. "type": "social",
  2073. "name": "ShareThis",
  2074. "uri": "http://www.sharethis.com/legal/privacy/",
  2075. "needConsent": true,
  2076. "cookies": ['__unam'],
  2077. "js": function () {
  2078. "use strict";
  2079. if (tarteaucitron.user.sharethisPublisher === undefined) {
  2080. return;
  2081. }
  2082. var switchTo5x = true,
  2083. uri = ('https:' === document.location.protocol ? 'https://ws' : 'http://w') + '.sharethis.com/button/buttons.js';
  2084. tarteaucitron.fallback(['tacSharethis'], '');
  2085. tarteaucitron.addScript(uri, '', function () {
  2086. stLight.options({publisher: tarteaucitron.user.sharethisPublisher, doNotHash: false, doNotCopy: false, hashAddressBar: false});
  2087. });
  2088. if (tarteaucitron.isAjax === true) {
  2089. if (typeof stButtons !== "undefined") {
  2090. stButtons.locateElements();
  2091. }
  2092. }
  2093. },
  2094. "fallback": function () {
  2095. "use strict";
  2096. var id = 'sharethis';
  2097. tarteaucitron.fallback(['tacSharethis'], tarteaucitron.engage(id));
  2098. }
  2099. };
  2100. // slideshare
  2101. tarteaucitron.services.slideshare = {
  2102. "key": "slideshare",
  2103. "type": "video",
  2104. "name": "SlideShare",
  2105. "uri": "https://www.linkedin.com/legal/privacy-policy",
  2106. "needConsent": true,
  2107. "cookies": [],
  2108. "js": function () {
  2109. "use strict";
  2110. tarteaucitron.fallback(['slideshare-canvas'], function (x) {
  2111. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Slideshare iframe'),
  2112. id = x.getAttribute("data-id"),
  2113. width = x.getAttribute("width"),
  2114. height = x.getAttribute("height"),
  2115. url = '//www.slideshare.net/slideshow/embed_code/' + id;
  2116. return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" scrolling="no" allowtransparency allowfullscreen></iframe>';
  2117. });
  2118. },
  2119. "fallback": function () {
  2120. "use strict";
  2121. var id = 'slideshare';
  2122. tarteaucitron.fallback(['slideshare-canvas'], function (elem) {
  2123. elem.style.width = elem.getAttribute('width') + 'px';
  2124. elem.style.height = elem.getAttribute('height') + 'px';
  2125. return tarteaucitron.engage(id);
  2126. });
  2127. }
  2128. };
  2129. // soundcloud
  2130. tarteaucitron.services.soundcloud = {
  2131. key: 'soundcloud',
  2132. type: 'video',
  2133. name: 'SoundCloud',
  2134. needConsent: true,
  2135. cookies: ['sc_anonymous_id'],
  2136. js: function () {
  2137. "use strict";
  2138. tarteaucitron.fallback(['soundcloud_player'], function (x) {
  2139. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Soundcloud iframe'),
  2140. player_height = x.getAttribute('data-height'),
  2141. frame_height = 'height="' + player_height + '" ',
  2142. playable_id = x.getAttribute('data-playable-id'),
  2143. playable_type = x.getAttribute('data-playable-type'),
  2144. color = x.getAttribute('data-color'),
  2145. autoplay = x.getAttribute('data-auto-play'),
  2146. hideRelated = x.getAttribute('data-hide-related'),
  2147. showComments = x.getAttribute('data-show-comments'),
  2148. showUser = x.getAttribute('data-show-user'),
  2149. showReposts = x.getAttribute('data-show-reposts'),
  2150. showTeaser = x.getAttribute('data-show-teaser'),
  2151. visual = x.getAttribute('data-visual'),
  2152. artwork = x.getAttribute('data-artwork');
  2153. var allowAutoplay = autoplay === 'true' ? 'allow="autoplay"' : '';
  2154. if (playable_id === undefined) {
  2155. return "";
  2156. }
  2157. var qs = '?url=https%3A//api.soundcloud.com/' + playable_type + '/' + playable_id;
  2158. if (hideRelated && hideRelated.length > 0) qs += '&hide_related=' + hideRelated;
  2159. if (color && color.length > 0) qs += '&color=' + color.replace('#', '%23');
  2160. if (autoplay && autoplay.length > 0) qs += '&auto_play=' + autoplay;
  2161. if (showComments && showComments.length > 0) qs += '&show_comments=' + showComments;
  2162. if (hideRelated && hideRelated.length > 0) qs += '&hide_related=' + hideRelated;
  2163. if (showUser && showUser.length > 0) qs += '&show_user=' + showUser;
  2164. if (showReposts && showReposts.length > 0) qs += '&show_reposts=' + showReposts;
  2165. if (showTeaser && showTeaser.length > 0) qs += '&show_teaser=' + showTeaser;
  2166. if (visual && visual.length > 0) qs += '&visual=' + visual;
  2167. if (artwork && artwork.length > 0) qs += '&show_artwork=' + artwork;
  2168. return '<iframe title="' + frame_title + '" width="100%" ' + frame_height + ' scrolling="no" ' + allowAutoplay + ' src="https://w.soundcloud.com/player/' + qs + '"></iframe>';
  2169. });
  2170. },
  2171. fallback: function () {
  2172. "use strict";
  2173. tarteaucitron.fallback(['soundcloud_player'], function (elem) {
  2174. elem.style.height = elem.getAttribute('data-height') + 'px';
  2175. return tarteaucitron.engage('soundcloud');
  2176. });
  2177. }
  2178. };
  2179. // spotify
  2180. tarteaucitron.services.spotify = {
  2181. "key": "spotify",
  2182. "type": "video",
  2183. "name": "Spotify",
  2184. "uri": "https://www.spotify.com/us/legal/privacy-policy/",
  2185. "needConsent": true,
  2186. "cookies": ['sp_landing', '_ga', 'sp_ab', 'sp_landingref', 'sp_t', 'sp_usid', 'OptanonConsent', 'sp_m', 'spot'],
  2187. "js": function () {
  2188. "use strict";
  2189. tarteaucitron.fallback(['spotify_player'], function (x) {
  2190. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Spotify iframe'),
  2191. spotify_id = x.getAttribute("spotifyID"),
  2192. spotify_width = x.getAttribute("width"),
  2193. frame_width = 'width=',
  2194. spotify_height = x.getAttribute("height"),
  2195. frame_height = 'height=',
  2196. spotify_frame;
  2197. if (spotify_id === undefined) {
  2198. return "";
  2199. }
  2200. if (spotify_width !== undefined) {
  2201. frame_width += '"' + spotify_width + '" ';
  2202. } else {
  2203. frame_width += '"" ';
  2204. }
  2205. if (spotify_height !== undefined) {
  2206. frame_height += '"' + spotify_height + '" ';
  2207. } else {
  2208. frame_height += '"" ';
  2209. }
  2210. spotify_frame = '<iframe title="' + frame_title + '" src="//open.spotify.com/embed/' + spotify_id + '" ' + frame_width + frame_height + ' allowfullscreen></iframe>';
  2211. return spotify_frame;
  2212. });
  2213. },
  2214. "fallback": function () {
  2215. "use strict";
  2216. var id = 'spotify';
  2217. tarteaucitron.fallback(['spotify_player'], function (elem) {
  2218. elem.style.width = elem.getAttribute('width') + 'px';
  2219. elem.style.height = elem.getAttribute('height') + 'px';
  2220. return tarteaucitron.engage(id);
  2221. });
  2222. }
  2223. };
  2224. // statcounter
  2225. tarteaucitron.services.statcounter = {
  2226. "key": "statcounter",
  2227. "type": "analytic",
  2228. "name": "StatCounter",
  2229. "uri": "https://fr.statcounter.com/about/legal/#privacy",
  2230. "needConsent": true,
  2231. "cookies": ['sc_is_visitor_unique'],
  2232. "js": function () {
  2233. "use strict";
  2234. var uniqIds = [],
  2235. i,
  2236. uri = '//statcounter.com/counter/counter.js';
  2237. tarteaucitron.fallback(['statcounter-canvas'], function (x) {
  2238. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  2239. uniqIds.push(uniqId);
  2240. return '<div id="' + uniqId + '"></div>';
  2241. });
  2242. for (i = 0; i < uniqIds.length; i += 1) {
  2243. tarteaucitron.makeAsync.init(uri, uniqIds[i]);
  2244. }
  2245. },
  2246. "fallback": function () {
  2247. "use strict";
  2248. var id = 'statcounter';
  2249. tarteaucitron.fallback(['statcounter-canvas'], tarteaucitron.engage(id));
  2250. }
  2251. };
  2252. // timelinejs
  2253. tarteaucitron.services.timelinejs = {
  2254. "key": "timelinejs",
  2255. "type": "api",
  2256. "name": "Timeline JS",
  2257. "uri": "http://timeline.knightlab.com/#help",
  2258. "needConsent": true,
  2259. "cookies": [],
  2260. "js": function () {
  2261. "use strict";
  2262. tarteaucitron.fallback(['timelinejs-canvas'], function (x) {
  2263. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Twitter iframe'),
  2264. spreadsheet_id = x.getAttribute("spreadsheet_id"),
  2265. width = x.getAttribute("width"),
  2266. height = x.getAttribute("height"),
  2267. lang = x.getAttribute("lang_2_letter"),
  2268. font = x.getAttribute("font"),
  2269. map = x.getAttribute("map"),
  2270. start_at_end = x.getAttribute("start_at_end"),
  2271. hash_bookmark = x.getAttribute("hash_bookmark"),
  2272. start_at_slide = x.getAttribute("start_at_slide"),
  2273. start_zoom = x.getAttribute("start_zoom"),
  2274. 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;
  2275. return '<iframe title="' + frame_title + '" src="' + url + '" width="' + width + '" height="' + height + '" allowtransparency allowfullscreen></iframe>';
  2276. });
  2277. },
  2278. "fallback": function () {
  2279. "use strict";
  2280. var id = 'timelinejs';
  2281. tarteaucitron.fallback(['timelinejs-canvas'], function (elem) {
  2282. elem.style.width = elem.getAttribute('width') + 'px';
  2283. elem.style.height = elem.getAttribute('height') + 'px';
  2284. return tarteaucitron.engage(id);
  2285. });
  2286. }
  2287. };
  2288. // tagcommander
  2289. tarteaucitron.services.tagcommander = {
  2290. "key": "tagcommander",
  2291. "type": "api",
  2292. "name": "TagCommander",
  2293. "uri": "https://www.commandersact.com/en/privacy/",
  2294. "needConsent": true,
  2295. "cookies": [],
  2296. "js": function () {
  2297. "use strict";
  2298. if (tarteaucitron.user.tagcommanderid === undefined) {
  2299. return;
  2300. }
  2301. tarteaucitron.addScript('https://cdn.tagcommander.com/' + tarteaucitron.user.tagcommanderid + '.js');
  2302. }
  2303. };
  2304. // typekit
  2305. tarteaucitron.services.typekit = {
  2306. "key": "typekit",
  2307. "type": "api",
  2308. "name": "Typekit (adobe)",
  2309. "uri": "https://www.adobe.com/privacy.html",
  2310. "needConsent": true,
  2311. "cookies": [],
  2312. "js": function () {
  2313. "use strict";
  2314. if (tarteaucitron.user.typekitId === undefined) {
  2315. return;
  2316. }
  2317. tarteaucitron.addScript('//use.typekit.net/' + tarteaucitron.user.typekitId + '.js', '', function () {
  2318. try {
  2319. Typekit.load();
  2320. } catch (e) {}
  2321. });
  2322. }
  2323. };
  2324. // twenga
  2325. tarteaucitron.services.twenga = {
  2326. "key": "twenga",
  2327. "type": "ads",
  2328. "name": "Twenga",
  2329. "uri": "http://www.twenga.com/privacy.php",
  2330. "needConsent": true,
  2331. "cookies": [],
  2332. "js": function () {
  2333. "use strict";
  2334. if (tarteaucitron.user.twengaId === undefined || tarteaucitron.user.twengaLocale === undefined) {
  2335. return;
  2336. }
  2337. tarteaucitron.addScript('//tracker.twenga.' + tarteaucitron.user.twengaLocale + '/st/tracker_' + tarteaucitron.user.twengaId + '.js');
  2338. }
  2339. };
  2340. // twitter
  2341. tarteaucitron.services.twitter = {
  2342. "key": "twitter",
  2343. "type": "social",
  2344. "name": "Twitter",
  2345. "uri": "https://support.twitter.com/articles/20170514",
  2346. "needConsent": true,
  2347. "cookies": [],
  2348. "js": function () {
  2349. "use strict";
  2350. tarteaucitron.fallback(['tacTwitter'], '');
  2351. tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
  2352. },
  2353. "fallback": function () {
  2354. "use strict";
  2355. var id = 'twitter';
  2356. tarteaucitron.fallback(['tacTwitter'], tarteaucitron.engage(id));
  2357. }
  2358. };
  2359. // twitter embed
  2360. tarteaucitron.services.twitterembed = {
  2361. "key": "twitterembed",
  2362. "type": "social",
  2363. "name": "Twitter (cards)",
  2364. "uri": "https://support.twitter.com/articles/20170514",
  2365. "needConsent": true,
  2366. "cookies": [],
  2367. "js": function () {
  2368. "use strict";
  2369. var uniqIds = [],
  2370. i,
  2371. e,
  2372. html;
  2373. tarteaucitron.fallback(['twitterembed-canvas'], function (x) {
  2374. var uniqId = '_' + Math.random().toString(36).substr(2, 9);
  2375. uniqIds.push(uniqId);
  2376. html = '<div id="' + uniqId + '" ';
  2377. html += 'tweetid="' + x.getAttribute('tweetid') + '" ';
  2378. html += 'theme="' + x.getAttribute('theme') + '" ';
  2379. html += 'cards="' + x.getAttribute('cards') + '" ';
  2380. html += 'conversation="' + x.getAttribute('conversation') + '" ';
  2381. html += 'data-width="' + x.getAttribute('data-width') + '" ';
  2382. html += 'data-align="' + x.getAttribute('data-align') + '" ';
  2383. html += '></div>';
  2384. return html;
  2385. });
  2386. tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs', function () {
  2387. for (i = 0; i < uniqIds.length; i += 1) {
  2388. e = document.getElementById(uniqIds[i]);
  2389. twttr.widgets.createTweet(
  2390. e.getAttribute('tweetid'),
  2391. e,
  2392. {
  2393. theme: e.getAttribute('theme'),
  2394. cards: e.getAttribute('cards'),
  2395. conversation: e.getAttribute('conversation'),
  2396. lang: tarteaucitron.getLanguage(),
  2397. dnt: true,
  2398. width: e.getAttribute('data-width'),
  2399. align: e.getAttribute('data-align')
  2400. }
  2401. );
  2402. }
  2403. });
  2404. },
  2405. "fallback": function () {
  2406. "use strict";
  2407. var id = 'twitterembed';
  2408. tarteaucitron.fallback(['twitterembed-canvas'], function (elem) {
  2409. elem.style.width = elem.getAttribute('data-width') + 'px';
  2410. return tarteaucitron.engage(id);
  2411. });
  2412. }
  2413. };
  2414. // twitter timeline
  2415. tarteaucitron.services.twittertimeline = {
  2416. "key": "twittertimeline",
  2417. "type": "social",
  2418. "name": "Twitter (timelines)",
  2419. "uri": "https://support.twitter.com/articles/20170514",
  2420. "needConsent": true,
  2421. "cookies": [],
  2422. "js": function () {
  2423. "use strict";
  2424. tarteaucitron.fallback(['tacTwitterTimelines'], '');
  2425. tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');
  2426. },
  2427. "fallback": function () {
  2428. "use strict";
  2429. var id = 'twittertimeline';
  2430. tarteaucitron.fallback(['tacTwitterTimelines'], tarteaucitron.engage(id));
  2431. }
  2432. };
  2433. // twitter universal website tag
  2434. tarteaucitron.services.twitteruwt = {
  2435. "key": "twitteruwt",
  2436. "type": "analytic",
  2437. "name": "Twitter Universal Website Tag",
  2438. "uri": "https://business.twitter.com/en/help/campaign-measurement-and-analytics/conversion-tracking-for-websites.html",
  2439. "needConsent": true,
  2440. "cookies": [],
  2441. "js": function () {
  2442. "use strict";
  2443. window.twq = function () {
  2444. window.twq.exe ? window.twq.exe.apply(window.twq, arguments) : window.twq.queue.push(arguments);
  2445. }
  2446. window.twq.version = '1.1';
  2447. window.twq.queue = [];
  2448. tarteaucitron.addScript('https://static.ads-twitter.com/uwt.js', '', function () {
  2449. window.twq('init', tarteaucitron.user.twitteruwtId);
  2450. window.twq('track', 'PageView');
  2451. });
  2452. }
  2453. };
  2454. // user voice
  2455. tarteaucitron.services.uservoice = {
  2456. "key": "uservoice",
  2457. "type": "support",
  2458. "name": "UserVoice",
  2459. "uri": "https://www.uservoice.com/privacy/",
  2460. "needConsent": true,
  2461. "cookies": [],
  2462. "js": function () {
  2463. "use strict";
  2464. if (tarteaucitron.user.userVoiceApi === undefined) {
  2465. return;
  2466. }
  2467. tarteaucitron.addScript('//widget.uservoice.com/' + tarteaucitron.user.userVoiceApi + '.js');
  2468. }
  2469. };
  2470. // vimeo
  2471. tarteaucitron.services.vimeo = {
  2472. "key": "vimeo",
  2473. "type": "video",
  2474. "name": "Vimeo",
  2475. "uri": "https://vimeo.com/privacy",
  2476. "needConsent": true,
  2477. "cookies": ['__utmt_player', '__utma', '__utmb', '__utmc', '__utmv', 'vuid', '__utmz', 'player'],
  2478. "js": function () {
  2479. "use strict";
  2480. tarteaucitron.fallback(['vimeo_player'], function (x) {
  2481. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("data-title") || x.getAttribute("title") || 'Vimeo iframe'),
  2482. video_width = x.getAttribute("data-width") || x.getAttribute("width"),
  2483. frame_width = 'width=',
  2484. video_height = x.getAttribute("data-height") || x.getAttribute("height"),
  2485. frame_height = 'height=',
  2486. video_id = x.getAttribute("data-videoID") || x.getAttribute("videoID"),
  2487. video_autopause = x.getAttribute("data-autopause") || '',
  2488. video_autoplay = x.getAttribute("data-autoplay") || x.getAttribute("autoplay") || '',
  2489. video_background = x.getAttribute("data-background") || '',
  2490. video_byline = x.getAttribute("data-byline") || x.getAttribute("byline") || '',
  2491. video_color = x.getAttribute("data-color") || '',
  2492. video_controls = x.getAttribute("data-controls") || '',
  2493. video_loop = x.getAttribute("data-loop") || x.getAttribute("loop") || '',
  2494. video_maxheight = x.getAttribute("data-maxheight") || '',
  2495. video_maxwidth = x.getAttribute("data-maxwidth") || '',
  2496. video_muted = x.getAttribute("data-muted") || '',
  2497. video_playsinline = x.getAttribute("data-playsinline") || '',
  2498. video_portrait = x.getAttribute("data-portrait") || x.getAttribute("portrait") || '',
  2499. video_speed = x.getAttribute("data-speed") || '',
  2500. video_title = x.getAttribute("data-title") || x.getAttribute("title") || '',
  2501. video_transparent = x.getAttribute("data-transparent") || '',
  2502. video_frame;
  2503. if (video_id === undefined) {
  2504. return "";
  2505. }
  2506. if (video_width !== undefined) {
  2507. frame_width += '"' + video_width + '" ';
  2508. } else {
  2509. frame_width += '"" ';
  2510. }
  2511. if (video_height !== undefined) {
  2512. frame_height += '"' + video_height + '" ';
  2513. } else {
  2514. frame_height += '"" ';
  2515. }
  2516. var video_qs = "?";
  2517. if (video_title.length > 0) {
  2518. video_qs += "title=" + video_title;
  2519. }
  2520. if (video_byline.length > 0) {
  2521. if (video_qs.length > 0) {
  2522. video_qs += "&";
  2523. }
  2524. video_qs += "byline=" + video_byline;
  2525. }
  2526. if (video_portrait.length > 0) {
  2527. if (video_qs.length > 0) {
  2528. video_qs += "&";
  2529. }
  2530. video_qs += "portrait=" + video_portrait;
  2531. }
  2532. if (video_loop.length > 0) {
  2533. if (video_qs.length > 0) {
  2534. video_qs += "&";
  2535. }
  2536. video_qs += "loop=" + video_loop;
  2537. }
  2538. if (video_autoplay.length > 0) {
  2539. if (video_qs.length > 0) {
  2540. video_qs += "&";
  2541. }
  2542. video_qs += "autoplay=" + video_autoplay;
  2543. }
  2544. if (video_autopause.length > 0) {
  2545. if (video_qs.length > 0) {
  2546. video_qs += "&";
  2547. }
  2548. video_qs += "autopause=" + video_autopause;
  2549. }
  2550. if (video_background.length > 0) {
  2551. if (video_qs.length > 0) {
  2552. video_qs += "&";
  2553. }
  2554. video_qs += "background=" + video_background;
  2555. }
  2556. if (video_color.length > 0) {
  2557. if (video_qs.length > 0) {
  2558. video_qs += "&";
  2559. }
  2560. video_qs += "color=" + video_color;
  2561. }
  2562. if (video_controls.length > 0) {
  2563. if (video_qs.length > 0) {
  2564. video_qs += "&";
  2565. }
  2566. video_qs += "controls=" + video_controls;
  2567. }
  2568. if (video_maxheight.length > 0) {
  2569. if (video_qs.length > 0) {
  2570. video_qs += "&";
  2571. }
  2572. video_qs += "maxheight=" + video_maxheight;
  2573. }
  2574. if (video_maxwidth.length > 0) {
  2575. if (video_qs.length > 0) {
  2576. video_qs += "&";
  2577. }
  2578. video_qs += "maxwidth=" + video_maxwidth;
  2579. }
  2580. if (video_muted.length > 0) {
  2581. if (video_qs.length > 0) {
  2582. video_qs += "&";
  2583. }
  2584. video_qs += "muted=" + video_muted;
  2585. }
  2586. if (video_playsinline.length > 0) {
  2587. if (video_qs.length > 0) {
  2588. video_qs += "&";
  2589. }
  2590. video_qs += "playsinline=" + video_playsinline;
  2591. }
  2592. if (video_speed.length > 0) {
  2593. if (video_qs.length > 0) {
  2594. video_qs += "&";
  2595. }
  2596. video_qs += "speed=" + video_speed;
  2597. }
  2598. if (video_transparent.length > 0) {
  2599. if (video_qs.length > 0) {
  2600. video_qs += "&";
  2601. }
  2602. video_qs += "transparent=" + video_transparent;
  2603. }
  2604. if (video_qs === "?") {
  2605. video_qs = "";
  2606. }
  2607. video_frame = '<iframe title="' + frame_title + '" src="//player.vimeo.com/video/' + video_id + video_qs + '" ' + frame_width + frame_height + ' webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>';
  2608. return video_frame;
  2609. });
  2610. },
  2611. "fallback": function () {
  2612. "use strict";
  2613. var id = 'vimeo';
  2614. tarteaucitron.fallback(['vimeo_player'], function (elem) {
  2615. elem.style.width = elem.getAttribute('width') + 'px';
  2616. elem.style.height = elem.getAttribute('height') + 'px';
  2617. return tarteaucitron.engage(id);
  2618. });
  2619. }
  2620. };
  2621. // visualrevenue
  2622. tarteaucitron.services.visualrevenue = {
  2623. "key": "visualrevenue",
  2624. "type": "analytic",
  2625. "name": "VisualRevenue",
  2626. "uri": "http://www.outbrain.com/legal/privacy-713/",
  2627. "needConsent": true,
  2628. "cookies": ['__vrf', '__vrm', '__vrl', '__vry', '__vru', '__vrid', '__vrz'],
  2629. "js": function () {
  2630. "use strict";
  2631. if (tarteaucitron.user.visualrevenueId === undefined) {
  2632. return;
  2633. }
  2634. window._vrq = window._vrq || [];
  2635. window._vrq.push(['id', tarteaucitron.user.visualrevenueId]);
  2636. window._vrq.push(['automate', true]);
  2637. window._vrq.push(['track', function () {}]);
  2638. tarteaucitron.addScript('http://a.visualrevenue.com/vrs.js');
  2639. }
  2640. };
  2641. // verizon dot tag
  2642. tarteaucitron.services.verizondottag = {
  2643. "key": "verizondottag",
  2644. "type": "analytic",
  2645. "name": "Verizon Dot Tag",
  2646. "uri": "https://developer.verizonmedia.com/native/guide/audience-management/dottags/",
  2647. "needConsent": true,
  2648. "cookies": [],
  2649. "js": function () {
  2650. "use strict";
  2651. window.dotq = window.dotq || [];
  2652. window.dotq.push({
  2653. 'projectId': tarteaucitron.user.verizondottagProjectId,
  2654. 'properties': {'pixelId': tarteaucitron.user.verizondottagPixelId}
  2655. });
  2656. tarteaucitron.addScript('https://s.yimg.com/wi/ytc.js', '', function () {
  2657. const items = window.dotq;
  2658. window.dotq = [];
  2659. window.dotq.push = function (item) {
  2660. YAHOO.ywa.I13N.fireBeacon([item])
  2661. };
  2662. YAHOO.ywa.I13N.fireBeacon(items)
  2663. });
  2664. }
  2665. };
  2666. // vshop
  2667. tarteaucitron.services.vshop = {
  2668. "key": "vshop",
  2669. "type": "ads",
  2670. "name": "vShop",
  2671. "uri": "http://vshop.fr/privacy-policy",
  2672. "needConsent": true,
  2673. "cookies": [],
  2674. "js": function () {
  2675. "use strict";
  2676. tarteaucitron.fallback(['vcashW'], '');
  2677. tarteaucitron.addScript('//vshop.fr/js/w.js');
  2678. },
  2679. "fallback": function () {
  2680. "use strict";
  2681. var id = 'vshop';
  2682. tarteaucitron.fallback(['vcashW'], tarteaucitron.engage(id));
  2683. }
  2684. };
  2685. // wysistat
  2686. tarteaucitron.services.wysistat = {
  2687. "key": "wysistat",
  2688. "type": "analytic",
  2689. "name": "Wysistat",
  2690. "uri": "http://wysistat.net/contact/",
  2691. "needConsent": true,
  2692. "cookies": ['Wysistat'],
  2693. "js": function () {
  2694. "use strict";
  2695. if (tarteaucitron.user.wysistat === undefined) {
  2696. return;
  2697. }
  2698. tarteaucitron.addScript('//www.wysistat.com/statistique.js', '', function () {
  2699. 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);
  2700. });
  2701. }
  2702. };
  2703. // xiti
  2704. tarteaucitron.services.xiti = {
  2705. "key": "xiti",
  2706. "type": "analytic",
  2707. "name": "Xiti",
  2708. "uri": "https://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
  2709. "needConsent": true,
  2710. "cookies": [],
  2711. "js": function () {
  2712. "use strict";
  2713. if (tarteaucitron.user.xitiId === undefined) {
  2714. return;
  2715. }
  2716. var Xt_param = 's=' + tarteaucitron.user.xitiId + '&p=',
  2717. Xt_r,
  2718. Xt_h,
  2719. Xt_i,
  2720. Xt_s,
  2721. div = document.createElement('div');
  2722. try {
  2723. Xt_r = top.document.referrer;
  2724. } catch (e) {
  2725. Xt_r = document.referrer;
  2726. }
  2727. Xt_h = new Date();
  2728. Xt_i = '<img style="display:none" border="0" alt="" ';
  2729. Xt_i += 'src="http://logv3.xiti.com/hit.xiti?' + Xt_param;
  2730. Xt_i += '&hl=' + Xt_h.getHours() + 'x' + Xt_h.getMinutes() + 'x' + Xt_h.getSeconds();
  2731. if (parseFloat(navigator.appVersion) >= 4) {
  2732. Xt_s = screen;
  2733. Xt_i += '&r=' + Xt_s.width + 'x' + Xt_s.height + 'x' + Xt_s.pixelDepth + 'x' + Xt_s.colorDepth;
  2734. }
  2735. div.innerHTML = Xt_i + '&ref=' + Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$') + '" title="Internet Audience">';
  2736. document.getElementsByTagName('body')[0].appendChild(div.firstChild);
  2737. if (typeof tarteaucitron.user.xitiMore === 'function') {
  2738. tarteaucitron.user.xitiMore();
  2739. }
  2740. }
  2741. };
  2742. // AT Internet
  2743. tarteaucitron.services.atinternet = {
  2744. "key": "atinternet",
  2745. "type": "analytic",
  2746. "name": "AT Internet (privacy by design)",
  2747. "uri": "https://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
  2748. "needConsent": true,
  2749. "safeanalytic": false,
  2750. "cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession', 'atuserid'],
  2751. "js": function () {
  2752. "use strict";
  2753. if (tarteaucitron.user.atLibUrl === undefined) {
  2754. return;
  2755. }
  2756. tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() {
  2757. window.tag = new ATInternet.Tracker.Tag();
  2758. if (typeof tarteaucitron.user.atMore === 'function') {
  2759. tarteaucitron.user.atMore();
  2760. }
  2761. if (typeof window.tag.privacy !== 'undefined') {
  2762. window.tag.privacy.setVisitorOptin();
  2763. }
  2764. window.tag.page.send();
  2765. });
  2766. },
  2767. "fallback": function () {
  2768. "use strict";
  2769. if (tarteaucitron.user.atLibUrl === undefined) {
  2770. return;
  2771. }
  2772. tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() {
  2773. window.tag = new ATInternet.Tracker.Tag();
  2774. if (typeof tarteaucitron.user.atMore === 'function') {
  2775. tarteaucitron.user.atMore();
  2776. }
  2777. if (typeof window.tag.privacy !== 'undefined') {
  2778. window.tag.privacy.setVisitorMode('cnil', 'exempt');
  2779. }
  2780. window.tag.page.send();
  2781. });
  2782. }
  2783. };
  2784. // AT Internet
  2785. tarteaucitron.services.atinternethightrack = {
  2786. "key": "atinternethightrack",
  2787. "type": "analytic",
  2788. "name": "AT Internet",
  2789. "uri": "https://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
  2790. "needConsent": true,
  2791. "cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession', 'atuserid'],
  2792. "js": function () {
  2793. "use strict";
  2794. if (tarteaucitron.user.atLibUrl === undefined) {
  2795. return;
  2796. }
  2797. tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() {
  2798. var tag = new ATInternet.Tracker.Tag();
  2799. if (typeof tarteaucitron.user.atMore === 'function') {
  2800. tarteaucitron.user.atMore();
  2801. }
  2802. })
  2803. }
  2804. };
  2805. // youtube
  2806. tarteaucitron.services.youtube = {
  2807. "key": "youtube",
  2808. "type": "video",
  2809. "name": "YouTube",
  2810. "uri": "https://policies.google.com/privacy",
  2811. "needConsent": true,
  2812. "cookies": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF', 'GEUP'],
  2813. "js": function () {
  2814. "use strict";
  2815. tarteaucitron.fallback(['youtube_player'], function (x) {
  2816. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Youtube iframe'),
  2817. video_id = x.getAttribute("videoID"),
  2818. video_width = x.getAttribute("width"),
  2819. frame_width = 'width=',
  2820. video_height = x.getAttribute("height"),
  2821. frame_height = 'height=',
  2822. video_frame,
  2823. 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");
  2824. if (video_id === undefined) {
  2825. return "";
  2826. }
  2827. if (video_width !== undefined) {
  2828. frame_width += '"' + video_width + '" ';
  2829. } else {
  2830. frame_width += '"" ';
  2831. }
  2832. if (video_height !== undefined) {
  2833. frame_height += '"' + video_height + '" ';
  2834. } else {
  2835. frame_height += '"" ';
  2836. }
  2837. video_frame = '<iframe title="' + frame_title + '" type="text/html" ' + frame_width + frame_height + ' src="//www.youtube-nocookie.com/embed/' + video_id + '?' + params + '" allowfullscreen></iframe>';
  2838. return video_frame;
  2839. });
  2840. },
  2841. "fallback": function () {
  2842. "use strict";
  2843. var id = 'youtube';
  2844. tarteaucitron.fallback(['youtube_player'], function (elem) {
  2845. elem.style.width = elem.getAttribute('width') + 'px';
  2846. elem.style.height = elem.getAttribute('height') + 'px';
  2847. return tarteaucitron.engage(id);
  2848. });
  2849. }
  2850. };
  2851. // youtube playlist
  2852. tarteaucitron.services.youtubeplaylist = {
  2853. "key": "youtubeplaylist",
  2854. "type": "video",
  2855. "name": "YouTube (playlist)",
  2856. "uri": "https://policies.google.com/privacy",
  2857. "needConsent": true,
  2858. "cookies": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF', 'GEUP'],
  2859. "js": function () {
  2860. "use strict";
  2861. tarteaucitron.fallback(['youtube_playlist_player'], function (x) {
  2862. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Youtube iframe'),
  2863. playlist_id = x.getAttribute("playlistID"),
  2864. video_width = x.getAttribute("width"),
  2865. frame_width = 'width=',
  2866. video_height = x.getAttribute("height"),
  2867. frame_height = 'height=',
  2868. video_frame,
  2869. 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");
  2870. if (playlist_id === undefined) {
  2871. return "";
  2872. }
  2873. if (video_width !== undefined) {
  2874. frame_width += '"' + video_width + '" ';
  2875. } else {
  2876. frame_width += '"" ';
  2877. }
  2878. if (video_height !== undefined) {
  2879. frame_height += '"' + video_height + '" ';
  2880. } else {
  2881. frame_height += '"" ';
  2882. }
  2883. 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>';
  2884. return video_frame;
  2885. });
  2886. },
  2887. "fallback": function () {
  2888. "use strict";
  2889. var id = 'youtubeplaylist';
  2890. tarteaucitron.fallback(['youtube_playlist_player'], function (elem) {
  2891. elem.style.width = elem.getAttribute('width') + 'px';
  2892. elem.style.height = elem.getAttribute('height') + 'px';
  2893. return tarteaucitron.engage(id);
  2894. });
  2895. }
  2896. };
  2897. // zopim
  2898. tarteaucitron.services.zopim = {
  2899. "key": "zopim",
  2900. "type": "support",
  2901. "name": "Zopim",
  2902. "uri": "https://www.zopim.com/privacy",
  2903. "needConsent": true,
  2904. "cookies": ['__zlcid', '__zprivacy'],
  2905. "js": function () {
  2906. "use strict";
  2907. if (tarteaucitron.user.zopimID === undefined) {
  2908. return;
  2909. }
  2910. tarteaucitron.addScript('//v2.zopim.com/?' + tarteaucitron.user.zopimID);
  2911. }
  2912. };
  2913. // kameleoon
  2914. tarteaucitron.services.kameleoon = {
  2915. "key": "kameleoon",
  2916. "type": "analytic",
  2917. "name": "Kameleoon",
  2918. "uri": "https://www.kameleoon.com/fr/compliance/rgpd",
  2919. "needConsent": true,
  2920. "cookies": [],
  2921. "js": function () {
  2922. "use strict";
  2923. if (tarteaucitron.user.kameleoon !== undefined) {
  2924. tarteaucitron.addScript("https://" + tarteaucitron.user.kameleoon + ".kameleoon.eu/kameleoon.js");
  2925. }
  2926. }
  2927. };
  2928. // linkedin insight
  2929. tarteaucitron.services.linkedininsighttag = {
  2930. "key": "linkedininsighttag",
  2931. "type": "ads",
  2932. "name": "Linkedin Insight",
  2933. "uri": "https://www.linkedin.com/legal/cookie_policy",
  2934. "needConsent": true,
  2935. "cookies": [],
  2936. "js": function () {
  2937. "use strict";
  2938. if (tarteaucitron.user.linkedininsighttag !== undefined) {
  2939. window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
  2940. window._linkedin_data_partner_ids.push(tarteaucitron.user.linkedininsighttag);
  2941. }
  2942. tarteaucitron.addScript('https://snap.licdn.com/li.lms-analytics/insight.min.js');
  2943. }
  2944. };
  2945. // xiti smartTag
  2946. tarteaucitron.services.xiti_smarttag = {
  2947. "key": "xiti_smarttag",
  2948. "type": "analytic",
  2949. "name": "Xiti (SmartTag)",
  2950. "uri": "https://helpcentre.atinternet-solutions.com/hc/fr/categories/360002439300-Privacy-Centre",
  2951. "needConsent": true,
  2952. "cookies": ["atidvisitor", "atreman", "atredir", "atsession", "atuserid", "attvtreman", "attvtsession"],
  2953. "js": function () {
  2954. "use strict";
  2955. if (tarteaucitron.user.xiti_smarttagLocalPath !== undefined) {
  2956. tarteaucitron.addScript(tarteaucitron.user.xiti_smarttagLocalPath, 'smarttag', null, null, "onload", "addTracker();");
  2957. } else {
  2958. var xitiSmarttagId = tarteaucitron.user.xiti_smarttagSiteId;
  2959. if (xitiSmarttagId === undefined) {
  2960. return;
  2961. }
  2962. tarteaucitron.addScript('//tag.aticdn.net/' + xitiSmarttagId + '/smarttag.js', 'smarttag', null, null, "onload", "addTracker();");
  2963. }
  2964. }
  2965. };
  2966. // facebook pixel
  2967. tarteaucitron.services.facebookpixel = {
  2968. "key": "facebookpixel",
  2969. "type": "ads",
  2970. "name": "Facebook Pixel",
  2971. "uri": "https://www.facebook.com/policy.php",
  2972. "needConsent": true,
  2973. "cookies": ['datr', 'fr', 'reg_ext_ref', 'reg_fb_gate', 'reg_fb_ref', 'sb', 'wd', 'x-src'],
  2974. "js": function () {
  2975. "use strict";
  2976. var n;
  2977. if(window.fbq)return;
  2978. n=window.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)} ;
  2979. if(!window._fbq)window._fbq=n;
  2980. n.push=n;
  2981. n.loaded=!0;
  2982. n.version='2.0';
  2983. n.queue=[];
  2984. tarteaucitron.addScript('https://connect.facebook.net/en_US/fbevents.js');
  2985. fbq('init', tarteaucitron.user.facebookpixelId);
  2986. fbq('track', 'PageView');
  2987. if (typeof tarteaucitron.user.facebookpixelMore === 'function') {
  2988. tarteaucitron.user.facebookpixelMore();
  2989. }
  2990. }
  2991. };
  2992. //Issuu
  2993. tarteaucitron.services.issuu = {
  2994. "key": "issuu",
  2995. "type": "other",
  2996. "name": "Issuu",
  2997. "uri": "https://issuu.com/legal/privacy",
  2998. "needConsent": true,
  2999. "cookies": ['__qca', 'iutk', 'mc'],
  3000. "js": function () {
  3001. "use strict";
  3002. tarteaucitron.fallback(['issuu_player'], function (x) {
  3003. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Issuu iframe'),
  3004. issuu_id = x.getAttribute("issuuID"),
  3005. issuu_width = x.getAttribute("width"),
  3006. frame_width = 'width=',
  3007. issuu_height = x.getAttribute("height"),
  3008. frame_height = 'height=',
  3009. issuu_frame,
  3010. issuu_embed;
  3011. if (issuu_id === undefined) {
  3012. return "";
  3013. }
  3014. if (issuu_width !== undefined) {
  3015. frame_width += '"' + issuu_width + '" ';
  3016. } else {
  3017. frame_width += '"" ';
  3018. }
  3019. if (issuu_height !== undefined) {
  3020. frame_height += '"' + issuu_height + '" ';
  3021. } else {
  3022. frame_height += '"" ';
  3023. }
  3024. if (issuu_id.match(/\d+\/\d+/)) { issuu_embed = '#' + issuu_id; } else if (issuu_id.match(/d=(.*)&u=(.*)/)) { issuu_embed = '?' + issuu_id; }
  3025. issuu_frame = '<iframe title="' + frame_title + '" type="text/html" ' + frame_width + frame_height + ' src="//e.issuu.com/embed.html' + issuu_embed + '"></iframe>';
  3026. return issuu_frame;
  3027. });
  3028. },
  3029. "fallback": function () {
  3030. "use strict";
  3031. var id = 'issuu';
  3032. tarteaucitron.fallback(['issuu_player'], function (elem) {
  3033. elem.style.width = elem.getAttribute('width') + 'px';
  3034. elem.style.height = elem.getAttribute('height') + 'px';
  3035. return tarteaucitron.engage(id);
  3036. });
  3037. }
  3038. };
  3039. // webmecanik
  3040. tarteaucitron.services.webmecanik = {
  3041. "key": "webmecanik",
  3042. "type": "analytic",
  3043. "name": "Webmecanik",
  3044. "uri": "https://webmecanik.com/tos",
  3045. "needConsent": true,
  3046. "cookies": ['mtc_id', 'mtc_sid'],
  3047. "js": function () {
  3048. "use strict";
  3049. if (tarteaucitron.user.webmecanikurl === undefined) {
  3050. return;
  3051. }
  3052. window.MauticTrackingObject = 'mt';
  3053. window.mt = window.mt || function () {
  3054. window.mt.q = window.mt.q || [];
  3055. window.mt.q.push(arguments);
  3056. };
  3057. tarteaucitron.addScript(tarteaucitron.user.webmecanikurl, '', function() {
  3058. mt('send', 'pageview');
  3059. });
  3060. }
  3061. };
  3062. // google analytics multiple
  3063. tarteaucitron.services.multiplegtag = {
  3064. "key": "multiplegtag",
  3065. "type": "analytic",
  3066. "name": "Google Analytics (gtag.js)",
  3067. "uri": "https://support.google.com/analytics/answer/6004245",
  3068. "needConsent": true,
  3069. "cookies": (function () {
  3070. var cookies = ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz'];
  3071. if (tarteaucitron.user.multiplegtagUa !== undefined) {
  3072. tarteaucitron.user.multiplegtagUa.forEach(function(ua) {
  3073. cookies.push('_gat_gtag_' + ua.replace(/-/g, '_'));
  3074. cookies.push('_ga_' + ua.replace(/G-/g, ''));
  3075. });
  3076. }
  3077. return cookies;
  3078. })(),
  3079. "js": function () {
  3080. "use strict";
  3081. window.dataLayer = window.dataLayer || [];
  3082. if (tarteaucitron.user.multiplegtagUa !== undefined) {
  3083. tarteaucitron.user.multiplegtagUa.forEach(function(ua) {
  3084. tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + ua, '', function () {
  3085. window.gtag = function gtag(){dataLayer.push(arguments);}
  3086. gtag('js', new Date());
  3087. gtag('config', ua);
  3088. });
  3089. });
  3090. }
  3091. }
  3092. };
  3093. // Koban
  3094. tarteaucitron.services.koban = {
  3095. "key": "koban",
  3096. "type": "analytic",
  3097. "name": "Koban",
  3098. "uri": "https://koban.cloud/tos",
  3099. "needConsent": true,
  3100. "cookies": ['kbntrk'],
  3101. "js": function () {
  3102. "use strict";
  3103. if (tarteaucitron.user.kobanurl === undefined) {
  3104. return;
  3105. }
  3106. if (tarteaucitron.user.kobanapi === undefined) {
  3107. return;
  3108. }
  3109. window.KobanObject = 'kb';
  3110. window.kb = window.kb || function() {
  3111. window.kb.q = window.kb.q || [];
  3112. window.kb.q.push(arguments);
  3113. };
  3114. window.kb.l = new Date();
  3115. kb('reg', tarteaucitron.user.kobanapi);
  3116. tarteaucitron.addScript(tarteaucitron.user.kobanurl, '', function() {
  3117. });
  3118. }
  3119. };
  3120. // matomo
  3121. /*
  3122. 1. Set the following variable before the initialization :
  3123. tarteaucitron.user.matomoId = YOUR_SITE_ID_FROM_MATOMO;
  3124. tarteaucitron.user.matomoHost = "YOUR_MATOMO_URL"; //eg: https://stat.mydomain.com/
  3125. 2. Push the service :
  3126. (tarteaucitron.job = tarteaucitron.job || []).push('matomo');
  3127. 3. HTML
  3128. You don't need to add any html code, if the service is autorized, the javascript is added. otherwise no.
  3129. */
  3130. tarteaucitron.services.matomo = {
  3131. "key": "matomo",
  3132. "type": "analytic",
  3133. "name": "Matomo (privacy by design)",
  3134. "uri": "https://matomo.org/faq/general/faq_146/",
  3135. "needConsent": false,
  3136. "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
  3137. "js": function () {
  3138. "use strict";
  3139. if (tarteaucitron.user.matomoId === undefined) {
  3140. return;
  3141. }
  3142. window._paq = window._paq || [];
  3143. window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
  3144. window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
  3145. window._paq.push(["setDoNotTrack", 1]);
  3146. window._paq.push(["trackPageView"]);
  3147. window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
  3148. window._paq.push(["enableLinkTracking"]);
  3149. window._paq.push([function() {
  3150. var self = this;
  3151. function getOriginalVisitorCookieTimeout() {
  3152. var now = new Date(),
  3153. nowTs = Math.round(now.getTime() / 1000),
  3154. visitorInfo = self.getVisitorInfo();
  3155. var createTs = parseInt(visitorInfo[2]);
  3156. var cookieTimeout = 33696000; // 13 mois en secondes
  3157. var originalTimeout = createTs + cookieTimeout - nowTs;
  3158. return originalTimeout;
  3159. }
  3160. this.setVisitorCookieTimeout( getOriginalVisitorCookieTimeout() );
  3161. }]);
  3162. tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
  3163. // waiting for piwik to be ready to check first party cookies
  3164. var interval = setInterval(function() {
  3165. if (typeof Piwik === 'undefined') return
  3166. clearInterval(interval)
  3167. // make piwik/matomo cookie accessible by getting tracker
  3168. Piwik.getTracker();
  3169. // looping throught cookies
  3170. var theCookies = document.cookie.split(';');
  3171. for (var i = 1 ; i <= theCookies.length; i++) {
  3172. var cookie = theCookies[i-1].split('=');
  3173. var cookieName = cookie[0].trim();
  3174. // if cookie starts like a piwik one, register it
  3175. if (cookieName.indexOf('_pk_') === 0) {
  3176. tarteaucitron.services.matomo.cookies.push(cookieName);
  3177. }
  3178. }
  3179. }, 100)
  3180. }
  3181. };
  3182. tarteaucitron.services.matomohightrack = {
  3183. "key": "matomohightrack",
  3184. "type": "analytic",
  3185. "name": "Matomo",
  3186. "uri": "https://matomo.org/faq/general/faq_146/",
  3187. "needConsent": false,
  3188. "cookies": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],
  3189. "js": function () {
  3190. "use strict";
  3191. if (tarteaucitron.user.matomoId === undefined) {
  3192. return;
  3193. }
  3194. window._paq = window._paq || [];
  3195. window._paq.push(["setSiteId", tarteaucitron.user.matomoId]);
  3196. window._paq.push(["setTrackerUrl", tarteaucitron.user.matomoHost + "piwik.php"]);
  3197. window._paq.push(["trackPageView"]);
  3198. window._paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]);
  3199. window._paq.push(["enableLinkTracking"]);
  3200. window._paq.push([function() {
  3201. var self = this;
  3202. }]);
  3203. tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);
  3204. // waiting for piwik to be ready to check first party cookies
  3205. var interval = setInterval(function() {
  3206. if (typeof Piwik === 'undefined') return
  3207. clearInterval(interval)
  3208. Piwik.getTracker();
  3209. var theCookies = document.cookie.split(';');
  3210. for (var i = 1 ; i <= theCookies.length; i++) {
  3211. var cookie = theCookies[i-1].split('=');
  3212. var cookieName = cookie[0].trim();
  3213. if (cookieName.indexOf('_pk_') === 0) {
  3214. tarteaucitron.services.matomo.cookies.push(cookieName);
  3215. }
  3216. }
  3217. }, 100)
  3218. }
  3219. };
  3220. // Hotjar
  3221. /*
  3222. 1. Set the following variable before the initialization :
  3223. tarteaucitron.user.hotjarId = YOUR_WEBSITE_ID;
  3224. tarteaucitron.user.HotjarSv = XXXX; // Can be found in your website tracking code as "hjvs=XXXX"
  3225. 2. Push the service :
  3226. (tarteaucitron.job = tarteaucitron.job || []).push('hotjar');
  3227. 3. HTML
  3228. You don't need to add any html code, if the service is autorized, the javascript is added. otherwise no.
  3229. */
  3230. tarteaucitron.services.hotjar = {
  3231. "key": "hotjar",
  3232. "type": "analytic",
  3233. "name": "Hotjar",
  3234. "uri": "https://help.hotjar.com/hc/en-us/categories/115001323967-About-Hotjar",
  3235. "needConsent": true,
  3236. "cookies": ["hjClosedSurveyInvites", "_hjDonePolls", "_hjMinimizedPolls", "_hjDoneTestersWidgets", "_hjMinimizedTestersWidgets", "_hjDoneSurveys", "_hjIncludedInSample", "_hjShownFeedbackMessage", "_hjAbsoluteSessionInProgress", "_hjIncludeInPageviewSample", "_hjid"],
  3237. "js": function () {
  3238. "use strict";
  3239. if (tarteaucitron.user.hotjarId === undefined || tarteaucitron.user.HotjarSv === undefined) {
  3240. return;
  3241. }
  3242. window.hj = window.hj || function() {
  3243. (window.hj.q = window.hj.q || []).push(arguments)
  3244. };
  3245. window._hjSettings = {
  3246. hjid: tarteaucitron.user.hotjarId,
  3247. hjsv: tarteaucitron.user.HotjarSv
  3248. };
  3249. var uri = 'https://static.hotjar.com/c/hotjar-';
  3250. var extension = '.js?sv=';
  3251. tarteaucitron.addScript(uri + window._hjSettings.hjid + extension + window._hjSettings.hjsv);
  3252. }
  3253. };
  3254. // bing ads universal event tracking
  3255. tarteaucitron.services.bingads = {
  3256. 'key': 'bingads',
  3257. 'type': 'ads',
  3258. 'name': 'Bing Ads Universal Event Tracking',
  3259. 'uri': 'https://advertise.bingads.microsoft.com/en-us/resources/policies/personalized-ads',
  3260. 'needConsent': true,
  3261. 'cookies': ['_uetmsclkid', '_uetvid', '_uetsid'],
  3262. 'js': function () {
  3263. 'use strict';
  3264. //var u = tarteaucitron.user.bingadsTag || 'uetq';
  3265. window.uetq = window.uetq || [];
  3266. tarteaucitron.addScript('https://bat.bing.com/bat.js', '', function () {
  3267. var bingadsCreate = {ti: tarteaucitron.user.bingadsID};
  3268. if ('bingadsStoreCookies' in tarteaucitron.user) {
  3269. bingadsCreate['storeConvTrackCookies'] = tarteaucitron.user.bingadsStoreCookies;
  3270. }
  3271. bingadsCreate.q = window.uetq;
  3272. window.uetq = new UET(bingadsCreate);
  3273. window.uetq.push('pageLoad');
  3274. });
  3275. }
  3276. };
  3277. //Matterport
  3278. tarteaucitron.services.matterport = {
  3279. "key": "matterport",
  3280. "type": "other",
  3281. "name": "Matterport",
  3282. "uri": "https://matterport.com/es/legal/privacy-policy/",
  3283. "needConsent": true,
  3284. "cookies": ['__cfduid', 'ajs_anonymous_id', 'ajs_group_id', 'ajs_user_id'],
  3285. "js": function () {
  3286. "use strict";
  3287. tarteaucitron.fallback(['matterport'], function (x) {
  3288. var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title") || 'Matterport iframe'),
  3289. matterport_id = x.getAttribute("matterportID"),
  3290. matterport_width = x.getAttribute("width"),
  3291. frame_width = 'width=',
  3292. matterport_height = x.getAttribute("height"),
  3293. frame_height = 'height=',
  3294. matterport_parameters = x.getAttribute("parameters"),
  3295. matterport_frame;
  3296. if (matterport_id === undefined) {
  3297. return "";
  3298. }
  3299. if (matterport_width !== undefined) {
  3300. frame_width += '"' + matterport_width + '" ';
  3301. } else {
  3302. frame_width += '"" ';
  3303. }
  3304. if (matterport_height !== undefined) {
  3305. frame_height += '"' + matterport_height + '" ';
  3306. } else {
  3307. frame_height += '"" ';
  3308. }
  3309. if (matterport_parameters === undefined) {
  3310. return "";
  3311. }
  3312. 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>';
  3313. return matterport_frame;
  3314. });
  3315. },
  3316. "fallback": function () {
  3317. "use strict";
  3318. var id = 'matterport';
  3319. tarteaucitron.fallback(['matterport'], function (elem) {
  3320. elem.style.width = elem.getAttribute('width') + 'px';
  3321. elem.style.height = elem.getAttribute('height') + 'px';
  3322. return tarteaucitron.engage(id);
  3323. });
  3324. }
  3325. };
  3326. // Adform
  3327. tarteaucitron.services.adform = {
  3328. "key": "adform",
  3329. "type": "ads",
  3330. "name": "Adform",
  3331. "uri": "https://site.adform.com/privacy-center/overview/",
  3332. "needConsent": true,
  3333. "cookies": [],
  3334. "js": function () {
  3335. "use strict";
  3336. if (tarteaucitron.user.adformpm === undefined || tarteaucitron.user.adformpagename === undefined) {
  3337. return;
  3338. }
  3339. window._adftrack = {
  3340. pm: tarteaucitron.user.adformpm,
  3341. divider: encodeURIComponent('|'),
  3342. pagename: encodeURIComponent(tarteaucitron.user.adformpagename)
  3343. };
  3344. tarteaucitron.addScript("https://track.adform.net/serving/scripts/trackpoint/async/");
  3345. }
  3346. };
  3347. // Active Campaign
  3348. tarteaucitron.services.activecampaign = {
  3349. "key": "activecampaign",
  3350. "type": "ads",
  3351. "name": "Active Campaign",
  3352. "uri": "https://www.activecampaign.com/privacy-policy/",
  3353. "needConsent": true,
  3354. "cookies": [],
  3355. "js": function () {
  3356. "use strict";
  3357. if (tarteaucitron.user.actid === undefined) {
  3358. return;
  3359. }
  3360. window.trackcmp_email = '';
  3361. tarteaucitron.addScript('https://trackcmp.net/visit?actid='+tarteaucitron.user.actid+'&e='+encodeURIComponent(trackcmp_email)+'&r='+encodeURIComponent(document.referrer)+'&u='+encodeURIComponent(window.location.href));
  3362. }
  3363. };
  3364. // tawk.to
  3365. tarteaucitron.services.tawkto = {
  3366. "key": "tawkto",
  3367. "type": "support",
  3368. "name": "Tawk.to chat",
  3369. "uri": "https://www.tawk.to/data-protection/",
  3370. "needConsent": true,
  3371. "cookies": [],
  3372. "js": function () {
  3373. "use strict";
  3374. if (tarteaucitron.user.tawktoId === undefined) {
  3375. return;
  3376. }
  3377. window.Tawk_API=window.Tawk_API||{};
  3378. window.Tawk_LoadStart=new Date();
  3379. tarteaucitron.addScript('https://embed.tawk.to/' + tarteaucitron.user.tawktoId + '/default');
  3380. }
  3381. };
  3382. // getquanty
  3383. tarteaucitron.services.getquanty = {
  3384. "key": "getquanty",
  3385. "type": "analytic",
  3386. "name": "GetQuanty",
  3387. "uri": "https://www.getquanty.com/mentions-legales/",
  3388. "needConsent": true,
  3389. "cookies": ['_first_pageview', 'eqy_sessionid', 'eqy_siteid','cluid','eqy_company', 'cluid', 'gq_utm', '_jsuid'],
  3390. "js": function () {
  3391. "use strict";
  3392. if (tarteaucitron.user.getguanty === undefined) {
  3393. return;
  3394. }
  3395. tarteaucitron.addScript('https://get.smart-data-systems.com/gq?site_id=' + tarteaucitron.user.getguanty + '&consent=1');
  3396. },
  3397. "fallback": function () {
  3398. "use strict";
  3399. if (tarteaucitron.user.getguanty === undefined) {
  3400. return;
  3401. }
  3402. tarteaucitron.addScript('https://get.smart-data-systems.com/gq?site_id=' + tarteaucitron.user.getguanty + '&notrack=1');
  3403. }
  3404. };
  3405. // emolytics
  3406. tarteaucitron.services.emolytics = {
  3407. "key": "emolytics",
  3408. "type": "analytic",
  3409. "name": "Emolytics",
  3410. "uri": "https://www.emolytics.com/main/privacy-policy.php",
  3411. "needConsent": true,
  3412. "cookies": ['__hssc', '__hssrc', '__hstc', '_ga', '_gid', 'hubspotutk', 'lang', 'incap_ses_', 'nlbi_', 'visid_incap_'],
  3413. "js": function () {
  3414. "use strict";
  3415. if (tarteaucitron.user.emolyticsID === undefined) {
  3416. return;
  3417. }
  3418. var scriptEmolytics = document.createElement('script');
  3419. scriptEmolytics.text = 'var getsmily_id="'+tarteaucitron.user.emolyticsID+'";';
  3420. document.getElementsByTagName('body')[0].appendChild(scriptEmolytics);
  3421. tarteaucitron.addScript('https://cdn.emolytics.com/script/emolytics-widget.js')
  3422. }
  3423. };
  3424. // youtubeapi
  3425. tarteaucitron.services.youtubeapi = {
  3426. "key": "youtubeapi",
  3427. "type": "video",
  3428. "name": "Youtube (Js API)",
  3429. "uri": "https://policies.google.com/privacy/",
  3430. "needConsent": true,
  3431. "cookies": [],
  3432. "js": function () {
  3433. "use strict";
  3434. tarteaucitron.addScript('https://www.youtube.com/player_api');
  3435. }
  3436. };
  3437. // Facil'ITI
  3438. tarteaucitron.services.faciliti = {
  3439. "key": "faciliti",
  3440. "type": "other",
  3441. "name": "Facil'ITI",
  3442. "uri": "https://ws.facil-iti.com/mentions-legales.html",
  3443. "needConsent": true,
  3444. "cookies": ['FACIL_ITI_LS'],
  3445. "js": function () {
  3446. "use strict";
  3447. if (tarteaucitron.user.facilitiID === undefined) {
  3448. return;
  3449. }
  3450. (function(w, d, s, f) {
  3451. w[f] = w[f] || {conf: function () { (w[f].data = w[f].data || []).push(arguments);}};
  3452. var l = d.createElement(s), e = d.getElementsByTagName(s)[0];
  3453. l.async = 1; l.src = 'https://ws.facil-iti.com/tag/faciliti-tag.min.js'; e.parentNode.insertBefore(l, e);
  3454. }(window, document, 'script', 'FACIL_ITI'));
  3455. FACIL_ITI.conf('userId', tarteaucitron.user.facilitiID);
  3456. }
  3457. };
  3458. // userlike
  3459. tarteaucitron.services.userlike = {
  3460. "key": "userlike",
  3461. "type": "support",
  3462. "name": "Userlike",
  3463. "uri": "https://www.userlike.com/en/terms#privacy-policy",
  3464. "needConsent": true,
  3465. "cookies": ['uslk_s', 'uslk_e'],
  3466. "js": function () {
  3467. "use strict";
  3468. if (tarteaucitron.user.userlikeKey === undefined) {
  3469. return;
  3470. }
  3471. tarteaucitron.addScript('//userlike-cdn-widgets.s3-eu-west-1.amazonaws.com/' + tarteaucitron.user.userlikeKey);
  3472. }
  3473. };
  3474. // adobeanalytics
  3475. tarteaucitron.services.adobeanalytics = {
  3476. "key": "adobeanalytics",
  3477. "type": "analytic",
  3478. "name": "Adobe Analytics",
  3479. "uri": "https://www.adobe.com/privacy/policy.html",
  3480. "needConsent": true,
  3481. "cookies": ['s_ecid', 's_cc', 's_sq', 's_vi', 's_fid'],
  3482. "js": function () {
  3483. "use strict";
  3484. if (tarteaucitron.user.adobeanalyticskey === undefined) {
  3485. return;
  3486. }
  3487. tarteaucitron.addScript('//assets.adobedtm.com/launch-' + tarteaucitron.user.adobeanalyticskey + '.min.js');
  3488. }
  3489. };
  3490. // woopra customer journey analytics
  3491. tarteaucitron.services.woopra = {
  3492. 'key': 'woopra',
  3493. 'type': 'analytic',
  3494. 'name': 'Woopra Customer Journey Analytics',
  3495. 'uri': 'https://www.woopra.com/privacy',
  3496. 'needConsent': true,
  3497. 'cookies': ['wooTracker', 'intercom-session-erbfalba', 'intercom-id-erbfalba'],
  3498. 'js': function () {
  3499. 'use strict';
  3500. //var w = tarteaucitron.user.woopraDomain;
  3501. //window[w] = window[w] || [];
  3502. (function(){
  3503. 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)
  3504. })("woopra");
  3505. woopra.config({
  3506. domain: tarteaucitron.user.woopraDomain
  3507. });
  3508. woopra.track();
  3509. }
  3510. };
  3511. // ausha
  3512. tarteaucitron.services.ausha = {
  3513. key: "ausha",
  3514. type: "video",
  3515. name: "Ausha",
  3516. uri: "https://www.ausha.co/protection-personal-data/",
  3517. needConsent: true,
  3518. cookies: [],
  3519. js: function () {
  3520. "use strict";
  3521. tarteaucitron.fallback(['ausha_player'], function (x) {
  3522. var player_height = x.getAttribute('data-height'),
  3523. podcast_id = x.getAttribute('data-podcast-id'),
  3524. player_id = x.getAttribute('data-player-id'),
  3525. playlist = x.getAttribute('data-playlist'),
  3526. color = x.getAttribute('data-color');
  3527. if (podcast_id === undefined) {
  3528. return "";
  3529. }
  3530. var src = 'https://player.ausha.co/index.html?podcastId=' + podcast_id + '&v=3';
  3531. if (playlist && playlist.length > 0) src += '&playlist=' + playlist;
  3532. if (color && color.length > 0) src += '&color=' + color.replace('#', '%23');
  3533. if (player_id && player_id.length > 0) src += '&playerId=' + player_id;
  3534. return '<iframe id="' + player_id + '" loading="lazy" width="100%" height="' + player_height + '" scrolling="no" frameborder="no" src="' + src + '"></iframe>';
  3535. });
  3536. tarteaucitron.addScript('//player.ausha.co/ausha-player.js', 'ausha-player');
  3537. },
  3538. fallback: function () {
  3539. "use strict";
  3540. tarteaucitron.fallback(['ausha_player'], function (elem) {
  3541. elem.style.height = elem.getAttribute('data-height') + 'px';
  3542. return tarteaucitron.engage('ausha');
  3543. });
  3544. }
  3545. };