tarteaucitron.services.js 140 KB

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