{"sha":"d0feaae055dee34513a09bd04a7a7ce0adcf66f9","node_id":"MDY6Q29tbWl0NDY3MDY5Njg6ZDBmZWFhZTA1NWRlZTM0NTEzYTA5YmQwNGE3YTdjZTBhZGNmNjZmOQ==","commit":{"author":{"name":"Gaël Poupard","email":"gael.poupard@orange.com","date":"2020-10-27T15:08:32Z"},"committer":{"name":"Gaël Poupard","email":"gael.poupard@orange.com","date":"2020-10-27T15:08:32Z"},"message":"docs(analytics): drop useless TAC services","tree":{"sha":"53a2ccfc17744f3193afb40a7f66e906c6245f18","url":"https://api.github.com/repos/Orange-OpenSource/Orange-Boosted-Bootstrap/git/trees/53a2ccfc17744f3193afb40a7f66e906c6245f18"},"url":"https://api.github.com/repos/Orange-OpenSource/Orange-Boosted-Bootstrap/git/commits/d0feaae055dee34513a09bd04a7a7ce0adcf66f9","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/Orange-OpenSource/Orange-Boosted-Bootstrap/commits/d0feaae055dee34513a09bd04a7a7ce0adcf66f9","html_url":"https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/commit/d0feaae055dee34513a09bd04a7a7ce0adcf66f9","comments_url":"https://api.github.com/repos/Orange-OpenSource/Orange-Boosted-Bootstrap/commits/d0feaae055dee34513a09bd04a7a7ce0adcf66f9/comments","author":{"login":"ffoodd","id":2890570,"node_id":"MDQ6VXNlcjI4OTA1NzA=","avatar_url":"https://avatars.githubusercontent.com/u/2890570?v=4","gravatar_id":"","url":"https://api.github.com/users/ffoodd","html_url":"https://github.com/ffoodd","followers_url":"https://api.github.com/users/ffoodd/followers","following_url":"https://api.github.com/users/ffoodd/following{/other_user}","gists_url":"https://api.github.com/users/ffoodd/gists{/gist_id}","starred_url":"https://api.github.com/users/ffoodd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ffoodd/subscriptions","organizations_url":"https://api.github.com/users/ffoodd/orgs","repos_url":"https://api.github.com/users/ffoodd/repos","events_url":"https://api.github.com/users/ffoodd/events{/privacy}","received_events_url":"https://api.github.com/users/ffoodd/received_events","type":"User","site_admin":false},"committer":{"login":"ffoodd","id":2890570,"node_id":"MDQ6VXNlcjI4OTA1NzA=","avatar_url":"https://avatars.githubusercontent.com/u/2890570?v=4","gravatar_id":"","url":"https://api.github.com/users/ffoodd","html_url":"https://github.com/ffoodd","followers_url":"https://api.github.com/users/ffoodd/followers","following_url":"https://api.github.com/users/ffoodd/following{/other_user}","gists_url":"https://api.github.com/users/ffoodd/gists{/gist_id}","starred_url":"https://api.github.com/users/ffoodd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ffoodd/subscriptions","organizations_url":"https://api.github.com/users/ffoodd/orgs","repos_url":"https://api.github.com/users/ffoodd/repos","events_url":"https://api.github.com/users/ffoodd/events{/privacy}","received_events_url":"https://api.github.com/users/ffoodd/received_events","type":"User","site_admin":false},"parents":[{"sha":"a20574837c318ab02f2531e8973251c77c91a3a6","url":"https://api.github.com/repos/Orange-OpenSource/Orange-Boosted-Bootstrap/commits/a20574837c318ab02f2531e8973251c77c91a3a6","html_url":"https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/commit/a20574837c318ab02f2531e8973251c77c91a3a6"}],"stats":{"total":2646,"additions":21,"deletions":2625},"files":[{"sha":"f8981738d2198a90782f8a34093111c22edd23e8","filename":"site/docs/4.5/assets/js/vendor/tarteaucitron.services.js","status":"modified","additions":21,"deletions":2625,"changes":2646,"blob_url":"https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/blob/d0feaae055dee34513a09bd04a7a7ce0adcf66f9/site%2Fdocs%2F4.5%2Fassets%2Fjs%2Fvendor%2Ftarteaucitron.services.js","raw_url":"https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/raw/d0feaae055dee34513a09bd04a7a7ce0adcf66f9/site%2Fdocs%2F4.5%2Fassets%2Fjs%2Fvendor%2Ftarteaucitron.services.js","contents_url":"https://api.github.com/repos/Orange-OpenSource/Orange-Boosted-Bootstrap/contents/site%2Fdocs%2F4.5%2Fassets%2Fjs%2Fvendor%2Ftarteaucitron.services.js?ref=d0feaae055dee34513a09bd04a7a7ce0adcf66f9","patch":"@@ -1,2627 +1,23 @@\n-/*global tarteaucitron, ga, Shareaholic, stLight, clicky, top, google, Typekit, FB, ferankReady, IN, stButtons, twttr, PCWidget*/\n-/*jslint regexp: true, nomen: true*/\n-\n-// generic iframe\n-tarteaucitron.services.iframe = {\n- \"key\": \"iframe\",\n- \"type\": \"other\",\n- \"name\": \"Web content\",\n- \"uri\": \"\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['tac_iframe'], function (x) {\n- var width = x.getAttribute(\"width\"),\n- height = x.getAttribute(\"height\"),\n- url = x.getAttribute(\"data-url\");\n-\n- return '';\n- });\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'iframe';\n- tarteaucitron.fallback(['tac_iframe'], function (elem) {\n- elem.style.width = elem.getAttribute('width') + 'px';\n- elem.style.height = elem.getAttribute('height') + 'px';\n- return tarteaucitron.engage(id);\n- });\n- }\n-};\n-\n-// addthis\n-tarteaucitron.services.addthis = {\n- \"key\": \"addthis\",\n- \"type\": \"social\",\n- \"name\": \"AddThis\",\n- \"uri\": \"https://www.addthis.com/privacy/privacy-policy#publisher-visitors\",\n- \"needConsent\": true,\n- \"cookies\": ['__atuvc', '__atuvs'],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.addthisPubId === undefined) {\n- return;\n- }\n- if (tarteaucitron.isAjax === true) {\n- window.addthis = null;\n- window._adr = null;\n- window._atc = null;\n- window._atd = null;\n- window._ate = null;\n- window._atr = null;\n- window._atw = null;\n- }\n- tarteaucitron.fallback(['addthis_sharing_toolbox'], '');\n- tarteaucitron.addScript('//s7.addthis.com/js/300/addthis_widget.js#pubid=' + tarteaucitron.user.addthisPubId);\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'addthis';\n- tarteaucitron.fallback(['addthis_sharing_toolbox'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// addtoanyfeed\n-tarteaucitron.services.addtoanyfeed = {\n- \"key\": \"addtoanyfeed\",\n- \"type\": \"social\",\n- \"name\": \"AddToAny (feed)\",\n- \"uri\": \"https://www.addtoany.com/privacy\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.addtoanyfeedUri === undefined) {\n- return;\n- }\n- tarteaucitron.user.addtoanyfeedSubscribeLink = 'https://www.addtoany.com/subscribe?linkurl=' + tarteaucitron.user.addtoanyfeedUri;\n- window.a2a_config = window.a2a_config || {};\n- window.a2a_config.linkurl = tarteaucitron.user.addtoanyfeedUri;\n- tarteaucitron.addScript('//static.addtoany.com/menu/feed.js');\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- tarteaucitron.user.addtoanyfeedSubscribeLink = 'https://www.addtoany.com/subscribe?linkurl=' + tarteaucitron.user.addtoanyfeedUri;\n- }\n-};\n-\n-// addtoanyshare\n-tarteaucitron.services.addtoanyshare = {\n- \"key\": \"addtoanyshare\",\n- \"type\": \"social\",\n- \"name\": \"AddToAny (share)\",\n- \"uri\": \"https://www.addtoany.com/privacy\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['tac_addtoanyshare'], '');\n- tarteaucitron.addScript('//static.addtoany.com/menu/page.js');\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'addtoanyshare';\n- tarteaucitron.fallback(['tac_addtoanyshare'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// aduptech ads\n-tarteaucitron.services.aduptech_ads = {\n- \"key\": \"aduptech_ads\",\n- \"type\": \"ads\",\n- \"name\": \"Ad Up Technology (ads)\",\n- \"uri\": \"https://www.adup-tech.com/datenschutz\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n-\n- var IDENTIFIER = \"aduptech_ads\",\n- API_URL = \"https://s.d.adup-tech.com/jsapi\";\n-\n- var elements = document.getElementsByClassName(IDENTIFIER);\n- if (!elements || elements.length === 0) {\n- return;\n- }\n-\n- tarteaucitron.fallback([IDENTIFIER], \"\");\n-\n- tarteaucitron.addScript(API_URL, \"\", function() {\n- for (var i = 0; i < elements.length; i++) {\n- var element = elements[i];\n-\n- if (!element.getAttribute(\"id\")) {\n- element.setAttribute(\"id\", IDENTIFIER + Math.random().toString(36).substr(2, 9));\n- }\n-\n- window.uAd.embed(element.getAttribute(\"id\"), {\n- placementKey: element.getAttribute(\"placementKey\"),\n- responsive: Boolean(element.getAttribute(\"responsive\")),\n- lazy: Boolean(element.getAttribute(\"lazy\")),\n- adtest: Boolean(element.getAttribute(\"test\")),\n- query: element.getAttribute(\"query\") || \"\",\n- minCpc: element.getAttribute(\"minCpc\") || \"\",\n- pageUrl: element.getAttribute(\"pageUrl\") || \"\",\n- skip: element.getAttribute(\"skip\") || \"\"\n- });\n- }\n- });\n-\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- tarteaucitron.fallback([\"aduptech_ads\"], tarteaucitron.engage(\"aduptech_ads\"));\n- }\n-};\n-\n-// aduptech conversion\n-tarteaucitron.services.aduptech_conversion = {\n- \"key\": \"aduptech_conversion\",\n- \"type\": \"ads\",\n- \"name\": \"Ad Up Technology (conversion)\",\n- \"uri\": \"https://www.adup-tech.com/datenschutz\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n-\n- var IDENTIFIER = \"aduptech_conversion\",\n- CONVERSION_PIXEL_BASE_URL = \"https://d.adup-tech.com/campaign/conversion\";\n-\n- var elements = document.getElementsByClassName(IDENTIFIER);\n- if (!elements || elements.length === 0) {\n- return;\n- }\n-\n- tarteaucitron.fallback([IDENTIFIER], \"\");\n-\n- for (var i = 0; i < elements.length; i++) {\n- var element = elements[i]; \n- \n- if (!element.getAttribute(\"advertiserId\") || !element.getAttribute(\"conversionCode\")) {\n- continue;\n- }\n- \n- var url = CONVERSION_PIXEL_BASE_URL + \n- \"/\" + encodeURIComponent(element.getAttribute(\"advertiserId\")) + \n- \"?t=\" + encodeURIComponent(element.getAttribute(\"conversionCode\")); \n- \n- if (element.getAttribute(\"price\")) {\n- url += \"&price=\" + encodeURIComponent(element.getAttribute(\"price\"));\n- }\n- \n- if (element.getAttribute(\"quantity\")) {\n- url += \"&quantity=\" + encodeURIComponent(element.getAttribute(\"quantity\"));\n- }\n- \n- if (element.getAttribute(\"total\")) {\n- url += \"&total=\" + encodeURIComponent(element.getAttribute(\"total\"));\n- }\n- \n- if (element.getAttribute(\"orderId\")) {\n- url += \"&order_id=\" + encodeURIComponent(element.getAttribute(\"orderId\"));\n- }\n- \n- if (element.getAttribute(\"itemNumber\")) {\n- url += \"&item_number=\" + encodeURIComponent(element.getAttribute(\"itemNumber\"));\n- }\n- \n- if (element.getAttribute(\"description\")) {\n- url += \"&description=\" + encodeURIComponent(element.getAttribute(\"description\"));\n- }\n-\n- (new Image()).src = url; \n- }\n- }\n-};\n-\n-// aduptech retargeting\n-tarteaucitron.services.aduptech_retargeting = {\n- \"key\": \"aduptech_retargeting\",\n- \"type\": \"ads\",\n- \"name\": \"Ad Up Technology (retargeting)\",\n- \"uri\": \"https://www.adup-tech.com/datenschutz\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n-\n- var IDENTIFIER = \"aduptech_retargeting\",\n- API_URL = \"https://s.d.adup-tech.com/services/retargeting.js\";\n-\n- var elements = document.getElementsByClassName(IDENTIFIER);\n- if (!elements || elements.length === 0) {\n- return;\n- }\n-\n- tarteaucitron.fallback([IDENTIFIER], \"\");\n-\n- window.AdUpRetargeting = function(api) {\n- for (var i = 0; i < elements.length; i++) {\n- var element = elements[i];\n-\n- api.init();\n-\n- api.setAccount(element.getAttribute(\"account\"));\n-\n- if (element.getAttribute(\"email\")) {\n- api.setEmail(element.getAttribute(\"email\"));\n- } else if (element.getAttribute(\"hashedEmail\")) {\n- api.setHashedEmail(element.getAttribute(\"hashedEmail\"));\n- }\n-\n- if (element.getAttribute(\"product\")) {\n- try {\n- api.setProduct(JSON.parse(element.getAttribute(\"product\")));\n- } catch (e) {\n- api.setProduct(element.getAttribute(\"product\"));\n- }\n- }\n-\n- if (element.getAttribute(\"transaction\")) {\n- try {\n- api.setTransaction(JSON.parse(element.getAttribute(\"transaction\")));\n- } catch (e) {\n- api.setTransaction(element.getAttribute(\"transaction\"));\n- }\n- }\n-\n- if (element.getAttribute(\"demarkUser\")) {\n- api.setDemarkUser();\n- } else if (element.getAttribute(\"demarkProducts\")) {\n- api.setDemarkProducts();\n- }\n-\n- if (element.getAttribute(\"conversionCode\")) {\n- api.setConversionCode(element.getAttribute(\"conversionCode\"));\n- }\n-\n- if (element.getAttribute(\"device\")) {\n- var setter = \"set\" + element.getAttribute(\"device\").charAt(0).toUpperCase() + element.getAttribute(\"device\").slice(1);\n- if (typeof api[setter] === 'function') {\n- api[setter]();\n- }\n- }\n-\n- if (element.getAttribute(\"track\")) {\n- var tracker = \"track\" + element.getAttribute(\"track\").charAt(0).toUpperCase() + element.getAttribute(\"track\").slice(1);\n- if (typeof api[tracker] === \"function\") {\n- api[tracker]();\n- } else {\n- api.trackHomepage();\n- }\n- }\n- };\n- };\n-\n- tarteaucitron.addScript(API_URL);\n- }\n-};\n-\n-// alexa\n-tarteaucitron.services.alexa = {\n- \"key\": \"alexa\",\n- \"type\": \"analytic\",\n- \"name\": \"Alexa\",\n- \"uri\": \"https://www.alexa.com/help/privacy\",\n- \"needConsent\": true,\n- \"cookies\": ['__asc', '__auc'],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.alexaAccountID === undefined) {\n- return;\n- }\n- window._atrk_opts = {\n- atrk_acct: tarteaucitron.user.alexaAccountID,\n- domain: window.location.hostname.match(/[^\\.]*\\.[^.]*$/)[0],\n- dynamic: true\n- };\n- tarteaucitron.addScript('https://d31qbv1cthcecs.cloudfront.net/atrk.js');\n- }\n-};\n-\n-// amazon\n-tarteaucitron.services.amazon = {\n- \"key\": \"amazon\",\n- \"type\": \"ads\",\n- \"name\": \"Amazon\",\n- \"uri\": \"https://www.amazon.fr/gp/help/customer/display.html?ie=UTF8&*Version*=1&*entries*=0&nodeId=201149360\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['amazon_product'], function (x) {\n- var amazonId = x.getAttribute(\"amazonid\"),\n- productId = x.getAttribute(\"productid\"),\n- url = '//ws-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=' + tarteaucitron.getLanguage().toUpperCase() + '&source=ss&ref=ss_til&ad_type=product_link&tracking_id=' + amazonId + '&marketplace=amazon®ion=' + tarteaucitron.getLanguage().toUpperCase() + '&placement=' + productId + '&asins=' + productId + '&show_border=true&link_opens_in_new_window=true',\n- iframe = '';\n-\n- return iframe;\n- });\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'amazon';\n- tarteaucitron.fallback(['amazon_product'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// calameo\n-tarteaucitron.services.calameo = {\n- \"key\": \"calameo\",\n- \"type\": \"video\",\n- \"name\": \"Calameo\",\n- \"uri\": \"https://fr.calameo.com/privacy\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['calameo-canvas'], function (x) {\n- var id = x.getAttribute(\"data-id\"),\n- width = x.getAttribute(\"width\"),\n- height = x.getAttribute(\"height\"),\n- url = '//v.calameo.com/?bkcode=' + id;\n-\n- return '';\n- });\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'calameo';\n- tarteaucitron.fallback(['calameo-canvas'], function (elem) {\n- elem.style.width = elem.getAttribute('width') + 'px';\n- elem.style.height = elem.getAttribute('height') + 'px';\n- return tarteaucitron.engage(id);\n- });\n- }\n-};\n-\n-// clicky\n-tarteaucitron.services.clicky = {\n- \"key\": \"clicky\",\n- \"type\": \"analytic\",\n- \"name\": \"Clicky\",\n- \"uri\": \"https://clicky.com/terms\",\n- \"needConsent\": true,\n- \"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],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.clickyId === undefined) {\n- return;\n- }\n- tarteaucitron.addScript('//static.getclicky.com/js', '', function () {\n- if (typeof clicky.init === 'function') {\n- clicky.init(tarteaucitron.user.clickyId);\n- }\n- if (typeof tarteaucitron.user.clickyMore === 'function') {\n- tarteaucitron.user.clickyMore();\n- }\n- });\n- }\n-};\n-\n-// clicmanager\n-tarteaucitron.services.clicmanager = {\n- \"key\": \"clicmanager\",\n- \"type\": \"ads\",\n- \"name\": \"Clicmanager\",\n- \"uri\": \"http://www.clicmanager.fr/infos_legales.php\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- var uniqIds = [],\n- i,\n- uri;\n-\n- tarteaucitron.fallback(['clicmanager-canvas'], function (x) {\n- var uniqId = '_' + Math.random().toString(36).substr(2, 9);\n- uniqIds.push(uniqId);\n- return '
';\n- });\n-\n- for (i = 0; i < uniqIds.length; i += 1) {\n- uri = '//ads.clicmanager.fr/exe.php?';\n- uri += 'c=' + document.getElementById(uniqIds[i]).getAttribute('c') + '&';\n- uri += 's=' + document.getElementById(uniqIds[i]).getAttribute('s') + '&';\n- uri += 't=' + document.getElementById(uniqIds[i]).getAttribute('t');\n-\n- tarteaucitron.makeAsync.init(uri, uniqIds[i]);\n- }\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'clicmanager';\n- tarteaucitron.fallback(['clicmanager-canvas'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// crazyegg\n-tarteaucitron.services.crazyegg = {\n- \"key\": \"crazyegg\",\n- \"type\": \"analytic\",\n- \"name\": \"Crazy Egg\",\n- \"uri\": \"https://www.crazyegg.com/privacy\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n-\n- if (tarteaucitron.user.crazyeggId === undefined) {\n- return;\n- }\n-\n- tarteaucitron.addScript('//script.crazyegg.com/pages/scripts/' + tarteaucitron.user.crazyeggId.substr(0, 4) + '/' + tarteaucitron.user.crazyeggId.substr(4, 4) + '.js');\n- }\n-};\n-\n-// criteo\n-tarteaucitron.services.criteo = {\n- \"key\": \"criteo\",\n- \"type\": \"ads\",\n- \"name\": \"Criteo\",\n- \"uri\": \"http://www.criteo.com/privacy/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- document.MAX_ct0 = '';\n- var uniqIds = [],\n- i,\n- uri;\n-\n- tarteaucitron.fallback(['criteo-canvas'], function (x) {\n- var uniqId = '_' + Math.random().toString(36).substr(2, 9);\n- uniqIds.push(uniqId);\n- return '';\n- });\n-\n- for (i = 0; i < uniqIds.length; i += 1) {\n- uri = '//cas.criteo.com/delivery/ajs.php?';\n- uri += 'zoneid=' + document.getElementById(uniqIds[i]).getAttribute('zoneid');\n- uri += '&nodis=1&cb=' + Math.floor(Math.random() * 99999999999);\n- uri += '&loc=' + encodeURI(window.location);\n- uri += (document.MAX_used !== ',') ? '&exclude=' + document.MAX_used : '';\n- uri += (document.charset !== undefined ? '&charset=' + document.charset : '');\n- uri += (document.characterSet !== undefined ? '&charset=' + document.characterSet : '');\n- uri += (document.referrer !== undefined) ? '&referer=' + encodeURI(document.referrer) : '';\n- uri += (document.context !== undefined) ? '&context=' + encodeURI(document.context) : '';\n- uri += ((document.MAX_ct0 !== undefined) && (document.MAX_ct0.substring(0, 4) === 'http')) ? '&ct0=' + encodeURI(document.MAX_ct0) : '';\n- uri += (document.mmm_fo !== undefined) ? '&mmm_fo=1' : '';\n-\n- tarteaucitron.makeAsync.init(uri, uniqIds[i]);\n- }\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'criteo';\n- tarteaucitron.fallback(['criteo-canvas'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// dailymotion\n-tarteaucitron.services.dailymotion = {\n- \"key\": \"dailymotion\",\n- \"type\": \"video\",\n- \"name\": \"Dailymotion\",\n- \"uri\": \"https://www.dailymotion.com/legal/privacy\",\n- \"needConsent\": true,\n- \"cookies\": ['ts', 'dmvk', 'hist', 'v1st', 's_vi'],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['dailymotion_player'], function (x) {\n- var video_id = x.getAttribute(\"videoID\"),\n- video_width = x.getAttribute(\"width\"),\n- frame_width = 'width=',\n- video_height = x.getAttribute(\"height\"),\n- frame_height = 'height=',\n- video_frame,\n- params = 'info=' + x.getAttribute(\"showinfo\") + '&autoPlay=' + x.getAttribute(\"autoplay\");\n-\n- if (video_id === undefined) {\n- return \"\";\n- }\n- if (video_width !== undefined) {\n- frame_width += '\"' + video_width + '\" ';\n- } else {\n- frame_width += '\"\" ';\n- }\n- if (video_height !== undefined) {\n- frame_height += '\"' + video_height + '\" ';\n- } else {\n- frame_height += '\"\" ';\n- }\n- video_frame = '';\n- return video_frame;\n- });\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'dailymotion';\n- tarteaucitron.fallback(['dailymotion_player'], function (elem) {\n- elem.style.width = elem.getAttribute('width') + 'px';\n- elem.style.height = elem.getAttribute('height') + 'px';\n- return tarteaucitron.engage(id);\n- });\n- }\n-};\n-\n-// dating affiliation\n-tarteaucitron.services.datingaffiliation = {\n- \"key\": \"datingaffiliation\",\n- \"type\": \"ads\",\n- \"name\": \"Dating Affiliation\",\n- \"uri\": \"http://www.dating-affiliation.com/conditions-generales.php\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['datingaffiliation-canvas'], function (x) {\n- var comfrom = x.getAttribute(\"data-comfrom\"),\n- r = x.getAttribute(\"data-r\"),\n- p = x.getAttribute(\"data-p\"),\n- cf0 = x.getAttribute(\"data-cf0\"),\n- langue = x.getAttribute(\"data-langue\"),\n- forward_affiliate = x.getAttribute(\"data-forwardAffiliate\"),\n- cf2 = x.getAttribute(\"data-cf2\"),\n- cfsa2 = x.getAttribute(\"data-cfsa2\"),\n- width = x.getAttribute(\"width\"),\n- height = x.getAttribute(\"height\"),\n- url = 'http://www.tools-affil2.com/rotaban/ban.php?' + comfrom;\n-\n- return '';\n- });\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'datingaffiliation';\n- tarteaucitron.fallback(['datingaffiliation-canvas'], function (elem) {\n- elem.style.width = elem.getAttribute('width') + 'px';\n- elem.style.height = elem.getAttribute('height') + 'px';\n- return tarteaucitron.engage(id);\n- });\n- }\n-};\n-\n-// dating affiliation popup\n-tarteaucitron.services.datingaffiliationpopup = {\n- \"key\": \"datingaffiliationpopup\",\n- \"type\": \"ads\",\n- \"name\": \"Dating Affiliation (Pop Up)\",\n- \"uri\": \"http://www.dating-affiliation.com/conditions-generales.php\",\n- \"needConsent\": true,\n- \"cookies\": ['__utma', '__utmb', '__utmc', '__utmt_Tools', '__utmv', '__utmz', '_ga', '_gat', '_gat_UA-65072040-17', '__da-pu-xflirt-ID-pc-o169'],\n- \"js\": function () {\n- \"use strict\";\n- var uniqIds = [],\n- i,\n- uri;\n-\n- tarteaucitron.fallback(['datingaffiliationpopup-canvas'], function (x) {\n- var uniqId = '_' + Math.random().toString(36).substr(2, 9);\n- uniqIds.push(uniqId);\n- return '';\n- });\n-\n- for (i = 0; i < uniqIds.length; i += 1) {\n- uri = 'http://www.promotools.biz/da/popunder/script.php?';\n- uri += 'comfrom=' + document.getElementById(uniqIds[i]).getAttribute('comfrom') + '&';\n- uri += 'promo=' + document.getElementById(uniqIds[i]).getAttribute('promo') + '&';\n- uri += 'product_id=' + document.getElementById(uniqIds[i]).getAttribute('productid') + '&';\n- uri += 'submitconfig=' + document.getElementById(uniqIds[i]).getAttribute('submitconfig') + '&';\n- uri += 'ur=' + document.getElementById(uniqIds[i]).getAttribute('ur') + '&';\n- uri += 'brand=' + document.getElementById(uniqIds[i]).getAttribute('brand') + '&';\n- uri += 'lang=' + document.getElementById(uniqIds[i]).getAttribute('lang') + '&';\n- uri += 'cf0=' + document.getElementById(uniqIds[i]).getAttribute('cf0') + '&';\n- uri += 'cf2=' + document.getElementById(uniqIds[i]).getAttribute('cf2') + '&';\n- uri += 'subid1=' + document.getElementById(uniqIds[i]).getAttribute('subid1') + '&';\n- uri += 'cfsa2=' + document.getElementById(uniqIds[i]).getAttribute('cfsa2') + '&';\n- uri += 'subid2=' + document.getElementById(uniqIds[i]).getAttribute('subid2') + '&';\n- uri += 'nicheId=' + document.getElementById(uniqIds[i]).getAttribute('nicheid') + '&';\n- uri += 'degreId=' + document.getElementById(uniqIds[i]).getAttribute('degreid') + '&';\n- uri += 'bt=' + document.getElementById(uniqIds[i]).getAttribute('bt') + '&';\n- uri += 'vis=' + document.getElementById(uniqIds[i]).getAttribute('vis') + '&';\n- uri += 'hid=' + document.getElementById(uniqIds[i]).getAttribute('hid') + '&';\n- uri += 'snd=' + document.getElementById(uniqIds[i]).getAttribute('snd') + '&';\n- uri += 'aabd=' + document.getElementById(uniqIds[i]).getAttribute('aabd') + '&';\n- uri += 'aabs=' + document.getElementById(uniqIds[i]).getAttribute('aabs');\n-\n- tarteaucitron.makeAsync.init(uri, uniqIds[i]);\n- }\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'datingaffiliationpopup';\n- tarteaucitron.fallback(['datingaffiliationpopup-canvas'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// disqus\n-tarteaucitron.services.disqus = {\n- \"key\": \"disqus\",\n- \"type\": \"comment\",\n- \"name\": \"Disqus\",\n- \"uri\": \"https://help.disqus.com/customer/portal/articles/466259-privacy-policy\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.disqusShortname === undefined) {\n- return;\n- }\n- tarteaucitron.addScript('//' + tarteaucitron.user.disqusShortname + '.disqus.com/embed.js');\n- tarteaucitron.addScript('//' + tarteaucitron.user.disqusShortname + '.disqus.com/count.js');\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'disqus';\n-\n- if (document.getElementById('disqus_thread')) {\n- document.getElementById('disqus_thread').innerHTML = tarteaucitron.engage(id);\n- }\n- }\n-};\n-\n-// ekomi\n-tarteaucitron.services.ekomi = {\n- \"key\": \"ekomi\",\n- \"type\": \"social\",\n- \"name\": \"eKomi\",\n- \"uri\": \"http://www.ekomi-us.com/us/privacy/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.ekomiCertId === undefined) {\n- return;\n- }\n- window.eKomiIntegrationConfig = [\n- {certId: tarteaucitron.user.ekomiCertId}\n- ];\n- tarteaucitron.addScript('//connect.ekomi.de/integration_1410173009/' + tarteaucitron.user.ekomiCertId + '.js');\n- }\n-};\n-\n-// etracker\n-tarteaucitron.services.etracker = {\n- \"key\": \"etracker\",\n- \"type\": \"analytic\",\n- \"name\": \"eTracker\",\n- \"uri\": \"https://www.etracker.com/en/data-protection.html\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.etracker === undefined) {\n- return;\n- }\n-\n- tarteaucitron.addScript('//static.etracker.com/code/e.js', '_etLoader', function () {}, true, \"data-secure-code\", tarteaucitron.user.etracker);\n- }\n-};\n-\n-// facebook\n-tarteaucitron.services.facebook = {\n- \"key\": \"facebook\",\n- \"type\": \"social\",\n- \"name\": \"Facebook\",\n- \"uri\": \"https://www.facebook.com/policies/cookies/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], '');\n- tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.0', 'facebook-jssdk');\n- if (tarteaucitron.isAjax === true) {\n- if (typeof FB !== \"undefined\") {\n- FB.XFBML.parse();\n- }\n- }\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'facebook';\n- tarteaucitron.fallback(['fb-post', 'fb-follow', 'fb-activity', 'fb-send', 'fb-share-button', 'fb-like', 'fb-video'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// facebooklikebox\n-tarteaucitron.services.facebooklikebox = {\n- \"key\": \"facebooklikebox\",\n- \"type\": \"social\",\n- \"name\": \"Facebook (like box)\",\n- \"uri\": \"https://www.facebook.com/policies/cookies/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['fb-like-box', 'fb-page'], '');\n- tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.3', 'facebook-jssdk');\n- if (tarteaucitron.isAjax === true) {\n- if (typeof FB !== \"undefined\") {\n- FB.XFBML.parse();\n- }\n- }\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'facebooklikebox';\n- tarteaucitron.fallback(['fb-like-box', 'fb-page'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// facebookcomment\n-tarteaucitron.services.facebookcomment = {\n- \"key\": \"facebookcomment\",\n- \"type\": \"comment\",\n- \"name\": \"Facebook (commentaire)\",\n- \"uri\": \"https://www.facebook.com/policies/cookies/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['fb-comments'], '');\n- tarteaucitron.addScript('//connect.facebook.net/' + tarteaucitron.getLocale() + '/sdk.js#xfbml=1&version=v2.0', 'facebook-jssdk');\n- if (tarteaucitron.isAjax === true) {\n- if (typeof FB !== \"undefined\") {\n- FB.XFBML.parse();\n- }\n- }\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'facebookcomment';\n- tarteaucitron.fallback(['fb-comments'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// ferank\n-tarteaucitron.services.ferank = {\n- \"key\": \"ferank\",\n- \"type\": \"analytic\",\n- \"name\": \"FERank\",\n- \"uri\": \"https://www.ferank.fr/respect-vie-privee/#mesureaudience\",\n- \"needConsent\": false,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.addScript('//static.ferank.fr/pixel.js', '', function () {\n- if (typeof tarteaucitron.user.ferankMore === 'function') {\n- tarteaucitron.user.ferankMore();\n- }\n- });\n- }\n-};\n-\n-// ferank pub\n-tarteaucitron.services.ferankpub = {\n- \"key\": \"ferankpub\",\n- \"type\": \"ads\",\n- \"name\": \"FERank (pub)\",\n- \"uri\": \"https://www.ferank.fr/respect-vie-privee/#regiepublicitaire\",\n- \"needConsent\": false,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.addScript('//static.ferank.fr/publicite.async.js');\n- if (tarteaucitron.isAjax === true) {\n- if (typeof ferankReady === 'function') {\n- ferankReady();\n- }\n- }\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'ferankpub';\n- tarteaucitron.fallback(['ferank-publicite'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// get+\n-tarteaucitron.services.getplus = {\n- \"key\": \"getplus\",\n- \"type\": \"analytic\",\n- \"name\": \"Get+\",\n- \"uri\": \"http://www.getplus.fr/Conditions-generales-de-vente_a226.html\",\n- \"needConsent\": true,\n- \"cookies\": ['_first_pageview', '_jsuid', 'no_trackyy_' + tarteaucitron.user.getplusId, '_eventqueue'],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.getplusId === undefined) {\n- return;\n- }\n-\n- window.webleads_site_ids = window.webleads_site_ids || [];\n- window.webleads_site_ids.push(tarteaucitron.user.getplusId);\n- tarteaucitron.addScript('//stats.webleads-tracker.com/js');\n- }\n-};\n-\n-// google+\n-tarteaucitron.services.gplus = {\n- \"key\": \"gplus\",\n- \"type\": \"social\",\n- \"name\": \"Google+\",\n- \"uri\": \"https://policies.google.com/privacy\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.addScript('https://apis.google.com/js/platform.js');\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'gplus';\n- tarteaucitron.fallback(['g-plus', 'g-plusone'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// google+ badge\n-tarteaucitron.services.gplusbadge = {\n- \"key\": \"gplusbadge\",\n- \"type\": \"social\",\n- \"name\": \"Google+ (badge)\",\n- \"uri\": \"https://policies.google.com/privacy\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.addScript('https://apis.google.com/js/platform.js');\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'gplusbadge';\n- tarteaucitron.fallback(['g-page', 'g-person'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// google adsense\n-tarteaucitron.services.adsense = {\n- \"key\": \"adsense\",\n- \"type\": \"ads\",\n- \"name\": \"Google Adsense\",\n- \"uri\": \"http://www.google.com/ads/preferences/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.addScript('https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js');\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'adsense';\n- tarteaucitron.fallback(['adsbygoogle'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// google partners badge\n-tarteaucitron.services.googlepartners = {\n- \"key\": \"googlepartners\",\n- \"type\": \"ads\",\n- \"name\": \"Google Partners Badge\",\n- \"uri\": \"http://www.google.com/ads/preferences/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.addScript('https://apis.google.com/js/platform.js');\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'googlepartners';\n- tarteaucitron.fallback(['g-partnersbadge'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// google adsense search (form)\n-tarteaucitron.services.adsensesearchform = {\n- \"key\": \"adsensesearchform\",\n- \"type\": \"ads\",\n- \"name\": \"Google Adsense Search (form)\",\n- \"uri\": \"http://www.google.com/ads/preferences/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.addScript('//www.google.com/coop/cse/brand?form=cse-search-box&lang=' + tarteaucitron.getLanguage());\n- }\n-};\n-\n-// google adsense search (result)\n-tarteaucitron.services.adsensesearchresult = {\n- \"key\": \"adsensesearchresult\",\n- \"type\": \"ads\",\n- \"name\": \"Google Adsense Search (result)\",\n- \"uri\": \"http://www.google.com/ads/preferences/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.adsensesearchresultCx === undefined) {\n- return;\n- }\n- tarteaucitron.addScript('//www.google.com/cse/cse.js?cx=' + tarteaucitron.user.adsensesearchresultCx);\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'adsensesearchresult';\n-\n- if (document.getElementById('gcse_searchresults')) {\n- document.getElementById('gcse_searchresults').innerHTML = tarteaucitron.engage(id);\n- }\n- }\n-};\n-\n-// googleadwordsconversion\n-tarteaucitron.services.googleadwordsconversion = {\n- \"key\": \"googleadwordsconversion\",\n- \"type\": \"ads\",\n- \"name\": \"Google Adwords (conversion)\",\n- \"uri\": \"https://www.google.com/settings/ads\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.adwordsconversionId === undefined) {\n- return;\n- }\n-\n- tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () {\n- window.google_trackConversion({\n- google_conversion_id: tarteaucitron.user.adwordsconversionId,\n- google_conversion_label: tarteaucitron.user.adwordsconversionLabel,\n- google_conversion_language: tarteaucitron.user.adwordsconversionLanguage,\n- google_conversion_format: tarteaucitron.user.adwordsconversionFormat,\n- google_conversion_color: tarteaucitron.user.adwordsconversionColor,\n- google_conversion_value: tarteaucitron.user.adwordsconversionValue,\n- google_conversion_currency: tarteaucitron.user.adwordsconversionCurrency,\n- google_custom_params: {\n- parameter1: tarteaucitron.user.adwordsconversionCustom1,\n- parameter2: tarteaucitron.user.adwordsconversionCustom2\n- }\n- });\n- });\n- }\n-};\n-\n-// googleadwordsremarketing\n-tarteaucitron.services.googleadwordsremarketing = {\n- \"key\": \"googleadwordsremarketing\",\n- \"type\": \"ads\",\n- \"name\": \"Google Adwords (remarketing)\",\n- \"uri\": \"https://www.google.com/settings/ads\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.adwordsremarketingId === undefined) {\n- return;\n- }\n-\n- tarteaucitron.addScript('//www.googleadservices.com/pagead/conversion_async.js', '', function () {\n- window.google_trackConversion({\n- google_conversion_id: tarteaucitron.user.adwordsremarketingId,\n- google_remarketing_only: true\n- });\n- });\n- }\n-};\n-\n-// google analytics (old)\n-tarteaucitron.services.gajs = {\n- \"key\": \"gajs\",\n- \"type\": \"analytic\",\n- \"name\": \"Google Analytics (ga.js)\",\n- \"uri\": \"https://support.google.com/analytics/answer/6004245\",\n- \"needConsent\": true,\n- \"cookies\": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz'],\n- \"js\": function () {\n- \"use strict\";\n- window._gaq = window._gaq || [];\n- window._gaq.push(['_setAccount', tarteaucitron.user.gajsUa]);\n-\n- if (tarteaucitron.user.gajsAnonymizeIp) {\n- window._gaq.push (['_gat._anonymizeIp']);\n- }\n-\n- if (tarteaucitron.user.gajsPageView) {\n- window._gaq.push(['_trackPageview, ' + tarteaucitron.user.gajsPageView]);\n- } else {\n- window._gaq.push(['_trackPageview']);\n- }\n-\n- tarteaucitron.addScript('//www.google-analytics.com/ga.js', '', function () {\n- if (typeof tarteaucitron.user.gajsMore === 'function') {\n- tarteaucitron.user.gajsMore();\n- }\n- });\n- }\n-};\n-\n-// google analytics\n-tarteaucitron.services.analytics = {\n- \"key\": \"analytics\",\n- \"type\": \"analytic\",\n- \"name\": \"Google Analytics (universal)\",\n- \"uri\": \"https://support.google.com/analytics/answer/6004245\",\n- \"needConsent\": true,\n- \"cookies\": ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz'],\n- \"js\": function () {\n- \"use strict\";\n- window.GoogleAnalyticsObject = 'ga';\n- window.ga = window.ga || function () {\n- window.ga.q = window.ga.q || [];\n- window.ga.q.push(arguments);\n- };\n- window.ga.l = new Date();\n- tarteaucitron.addScript('https://www.google-analytics.com/analytics.js', '', function () {\n- var uaCreate = {'cookieExpires': 34128000};\n- tarteaucitron.extend(uaCreate, tarteaucitron.user.analyticsUaCreate || {});\n- ga('create', tarteaucitron.user.analyticsUa, uaCreate);\n-\n- if (tarteaucitron.user.analyticsAnonymizeIp) {\n- ga('set', 'anonymizeIp', true);\n- }\n-\n- if (typeof tarteaucitron.user.analyticsPrepare === 'function') {\n- tarteaucitron.user.analyticsPrepare();\n- }\n-\n- if (tarteaucitron.user.analyticsPageView) {\n- ga('send', 'pageview', tarteaucitron.user.analyticsPageView);\n- } else {\n- ga('send', 'pageview');\n- }\n-\n- if (typeof tarteaucitron.user.analyticsMore === 'function') {\n- tarteaucitron.user.analyticsMore();\n- }\n- });\n- }\n-};\n-\n-// google analytics\n-tarteaucitron.services.gtag = {\n- \"key\": \"gtag\",\n- \"type\": \"analytic\",\n- \"name\": \"Google Analytics (gtag.js)\",\n- \"uri\": \"https://support.google.com/analytics/answer/6004245\",\n- \"needConsent\": true,\n- \"cookies\": (function () {\n- // Add _gat_gtag_UA_XXXXXXX_XX cookie to cookies array\n- var gatGtagUaCookie = '_gat_gtag_' + tarteaucitron.user.gtagUa;\n- gatGtagUaCookie = gatGtagUaCookie.replace(/-/g, '_');\n- return ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', gatGtagUaCookie];\n- })(),\n- \"js\": function () {\n- \"use strict\";\n- window.dataLayer = window.dataLayer || [];\n- tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + tarteaucitron.user.gtagUa, '', function () {\n- window.gtag = function gtag(){dataLayer.push(arguments);}\n- gtag('js', new Date());\n- gtag('config', tarteaucitron.user.gtagUa);\n-\n- if (typeof tarteaucitron.user.gtagMore === 'function') {\n- tarteaucitron.user.gtagMore();\n- }\n- });\n- }\n-};\n-\n-// google maps\n-tarteaucitron.services.googlemaps = {\n- \"key\": \"googlemaps\",\n- \"type\": \"api\",\n- \"name\": \"Google Maps\",\n- \"uri\": \"http://www.google.com/ads/preferences/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- var mapOptions,\n- map,\n- uniqIds = [],\n- i;\n-\n- if (tarteaucitron.user.mapscallback === undefined) {\n- tarteaucitron.user.mapscallback = 'tac_googlemaps_callback';\n- }\n-\n- // Add Google Maps libraries if any (https://developers.google.com/maps/documentation/javascript/libraries)\n- var googleMapsLibraries = '';\n- if (tarteaucitron.user.googlemapsLibraries) {\n- googleMapsLibraries = '&libraries=' + tarteaucitron.user.googlemapsLibraries;\n- }\n-\n- tarteaucitron.addScript('//maps.googleapis.com/maps/api/js?v=3.exp&key=' + tarteaucitron.user.googlemapsKey + '&callback='+tarteaucitron.user.mapscallback + googleMapsLibraries);\n-\n- window.tac_googlemaps_callback = function () {\n- tarteaucitron.fallback(['googlemaps-canvas'], function (x) {\n- var uniqId = '_' + Math.random().toString(36).substr(2, 9);\n- uniqIds.push(uniqId);\n- return '';\n- });\n-\n- for (i = 0; i < uniqIds.length; i += 1) {\n- mapOptions = {\n- zoom: parseInt(document.getElementById(uniqIds[i]).getAttribute('zoom'), 10),\n- center: new google.maps.LatLng(parseFloat(document.getElementById(uniqIds[i]).getAttribute('latitude'), 10), parseFloat(document.getElementById(uniqIds[i]).getAttribute('longitude'), 10))\n- };\n- map = new google.maps.Map(document.getElementById(uniqIds[i]), mapOptions);\n- }\n- };\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'googlemaps';\n- tarteaucitron.fallback(['googlemaps-canvas'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// googlemaps search\n-tarteaucitron.services.googlemapssearch = {\n- \"key\": \"googlemapssearch\",\n- \"type\": \"api\",\n- \"name\": \"Google Maps Seard API\",\n- \"uri\": \"http://www.google.com/ads/preferences/\",\n- \"needConsent\": true,\n- \"cookies\": ['nid'],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['googlemapssearch'], function (x) {\n- var width = x.getAttribute(\"width\"),\n- height = x.getAttribute(\"height\"),\n- // url = x.getAttribute(\"data-url\");\n- query = escape(x.getAttribute(\"data-search\")),\n- key = x.getAttribute(\"data-api-key\");\n- \n- // return '';\n- return ' '\n- });\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'googlemapssearch';\n- tarteaucitron.fallback(['googlemapssearch'], function (elem) {\n- elem.style.width = elem.getAttribute('width') + 'px';\n- elem.style.height = elem.getAttribute('height') + 'px';\n- return tarteaucitron.engage(id);\n- });\n- }\n-};\n-\n-// googlemaps embed iframe\n-tarteaucitron.services.googlemapsembed = {\n- \"key\": \"googlemapsembed\",\n- \"type\": \"api\",\n- \"name\": \"Google Maps Embed\",\n- \"uri\": \"http://www.google.com/ads/preferences/\",\n- \"needConsent\": true,\n- \"cookies\": ['apisid', 'hsid', 'nid', 'sapisid', 'sid', 'sidcc', 'ssid', '1p_jar'],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['googlemapsembed'], function (x) {\n- var width = tarteaucitron.getElemWidth(x),\n- height = tarteaucitron.getElemHeight(x),\n- url = x.getAttribute(\"data-url\");\n-\n- return '';\n- });\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'googlemapsembed';\n- tarteaucitron.fallback(['googlemapsembed'], function (elem) {\n- elem.style.width = tarteaucitron.getElemWidth(elem) + 'px';\n- elem.style.height = tarteaucitron.getElemHeight(elem) + 'px';\n- return tarteaucitron.engage(id);\n- });\n- }\n-};\n-\n-// google tag manager\n+/* eslint no-undef: 0 */\n+// Google Tag Manager\n tarteaucitron.services.googletagmanager = {\n- \"key\": \"googletagmanager\",\n- \"type\": \"api\",\n- \"name\": \"Google Tag Manager\",\n- \"uri\": \"http://www.google.com/ads/preferences/\",\n- \"needConsent\": true,\n- \"cookies\": ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '__gads', '_drt_', 'FLC', 'exchange_uid', 'id', 'fc', 'rrs', 'rds', 'rv', 'uid', 'UIDR', 'UID', 'clid', 'ipinfo', 'acs'],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.googletagmanagerId === undefined) {\n- return;\n- }\n- window.dataLayer = window.dataLayer || [];\n- window.dataLayer.push({\n- 'gtm.start': new Date().getTime(),\n- event: 'gtm.js'\n- });\n- tarteaucitron.addScript('//www.googletagmanager.com/gtm.js?id=' + tarteaucitron.user.googletagmanagerId);\n- }\n-};\n-\n-// hubspot\n-tarteaucitron.services.hubspot = {\n- \"key\": \"hubspot\",\n- \"type\": \"analytic\",\n- \"name\": \"Hubspot\",\n- \"uri\": \"https://legal.hubspot.com/privacy-policy\",\n- \"needConsent\": true,\n- \"cookies\": ['hubspotutk', 'fr', '__hstc', '__hssrc', '__hssc', '__cfduid'],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.addScript('//js.hs-scripts.com/' + tarteaucitron.user.hubspotId + '.js', 'hs-script-loader');\n- }\n-};\n-\n-// jsapi\n-tarteaucitron.services.jsapi = {\n- \"key\": \"jsapi\",\n- \"type\": \"api\",\n- \"name\": \"Google jsapi\",\n- \"uri\": \"http://www.google.com/policies/privacy/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.addScript('//www.google.com/jsapi');\n- }\n-};\n-\n-// twitterwidgetsapi\n-tarteaucitron.services.twitterwidgetsapi = {\n- \"key\": \"twitterwidgetsapi\",\n- \"type\": \"api\",\n- \"name\": \"Twitter Widgets API\",\n- \"uri\": \"https://support.twitter.com/articles/20170514\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['tacTwitterAPI'], '');\n- tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'twitterwidgetsapi';\n- tarteaucitron.fallback(['tacTwitterAPI'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// recaptcha\n-tarteaucitron.services.recaptcha = {\n- \"key\": \"recaptcha\",\n- \"type\": \"api\",\n- \"name\": \"reCAPTCHA\",\n- \"uri\": \"http://www.google.com/policies/privacy/\",\n- \"needConsent\": true,\n- \"cookies\": ['nid'],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['g-recaptcha'], '');\n- tarteaucitron.addScript('https://www.google.com/recaptcha/api.js');\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'recaptcha';\n- tarteaucitron.fallback(['g-recaptcha'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// linkedin\n-tarteaucitron.services.linkedin = {\n- \"key\": \"linkedin\",\n- \"type\": \"social\",\n- \"name\": \"Linkedin\",\n- \"uri\": \"https://www.linkedin.com/legal/cookie_policy\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['tacLinkedin'], '');\n- tarteaucitron.addScript('//platform.linkedin.com/in.js');\n- if (tarteaucitron.isAjax === true) {\n- if (typeof IN !== \"undefined\") {\n- IN.parse();\n- }\n- }\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'linkedin';\n- tarteaucitron.fallback(['tacLinkedin'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// mautic\n-tarteaucitron.services.mautic = {\n- \"key\": \"mautic\",\n- \"type\": \"analytic\",\n- \"name\": \"Mautic\",\n- \"uri\": \"https://www.mautic.org/privacy-policy/\",\n- \"needConsent\": true,\n- \"cookies\": ['mtc_id', 'mtc_sid'],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.mauticurl === undefined) {\n- return;\n- }\n-\n- window['MauticTrackingObject'] = 'mt';\n- window['mt'] = window['mt'] || function() {\n- (window['mt'].q = window['mt'].q || []).push(arguments);\n- };\n-\n- tarteaucitron.addScript(tarteaucitron.user.mauticurl, '', function() {\n- mt('send', 'pageview');\n- });\n- }\n-};\n-\n-// microsoftcampaignanalytics\n-tarteaucitron.services.microsoftcampaignanalytics = {\n- \"key\": \"microsoftcampaignanalytics\",\n- \"type\": \"analytic\",\n- \"name\": \"Microsoft Campaign Analytics\",\n- \"uri\": \"https://privacy.microsoft.com/privacystatement/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.microsoftcampaignanalyticsUUID === undefined) {\n- return;\n- }\n-\n- tarteaucitron.addScript('//flex.atdmt.com/mstag/site/' + tarteaucitron.user.microsoftcampaignanalyticsUUID + '/mstag.js', 'mstag_tops', function () {\n- window.mstag = {loadTag : function () {}, time : (new Date()).getTime()};\n- window.mstag.loadTag(\"analytics\", {dedup: \"1\", domainId: tarteaucitron.user.microsoftcampaignanalyticsdomainId, type: \"1\", actionid: tarteaucitron.user.microsoftcampaignanalyticsactionId});\n- });\n- }\n-};\n-\n-// pinterest\n-tarteaucitron.services.pinterest = {\n- \"key\": \"pinterest\",\n- \"type\": \"social\",\n- \"name\": \"Pinterest\",\n- \"uri\": \"https://about.pinterest.com/privacy-policy\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['tacPinterest'], '');\n- tarteaucitron.addScript('//assets.pinterest.com/js/pinit.js');\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'pinterest';\n- tarteaucitron.fallback(['tacPinterest'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// prelinker\n-tarteaucitron.services.prelinker = {\n- \"key\": \"prelinker\",\n- \"type\": \"ads\",\n- \"name\": \"Prelinker\",\n- \"uri\": \"http://www.prelinker.com/index/index/cgu/\",\n- \"needConsent\": true,\n- \"cookies\": ['_sp_id.32f5', '_sp_ses.32f5'],\n- \"js\": function () {\n- \"use strict\";\n- var uniqIds = [],\n- i,\n- uri;\n-\n- tarteaucitron.fallback(['prelinker-canvas'], function (x) {\n- var uniqId = '_' + Math.random().toString(36).substr(2, 9);\n- uniqIds.push(uniqId);\n- return '';\n- });\n-\n- for (i = 0; i < uniqIds.length; i += 1) {\n- uri = 'http://promo.easy-dating.org/banner/index?';\n- uri += 'site_id=' + document.getElementById(uniqIds[i]).getAttribute('siteId') + '&';\n- uri += 'banner_id=' + document.getElementById(uniqIds[i]).getAttribute('bannerId') + '&';\n- uri += 'default_language=' + document.getElementById(uniqIds[i]).getAttribute('defaultLanguage') + '&';\n- uri += 'tr4ck=' + document.getElementById(uniqIds[i]).getAttribute('trackrt');\n-\n- tarteaucitron.makeAsync.init(uri, uniqIds[i]);\n- }\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'prelinker';\n- tarteaucitron.fallback(['prelinker-canvas'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// prezi\n-tarteaucitron.services.prezi = {\n- \"key\": \"prezi\",\n- \"type\": \"video\",\n- \"name\": \"Prezi\",\n- \"uri\": \"https://prezi.com/privacy-policy/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['prezi-canvas'], function (x) {\n- var id = x.getAttribute(\"data-id\"),\n- width = x.getAttribute(\"width\"),\n- height = x.getAttribute(\"height\"),\n- url = 'https://prezi.com/embed/' + id + '/?bgcolor=ffffff&lock_to_path=0&autoplay=0&autohide_ctrls=0';\n-\n- return '';\n- });\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'prezi';\n- tarteaucitron.fallback(['prezi-canvas'], function (elem) {\n- elem.style.width = elem.getAttribute('width') + 'px';\n- elem.style.height = elem.getAttribute('height') + 'px';\n- return tarteaucitron.engage(id);\n- });\n- }\n-};\n-\n-// pubdirecte\n-tarteaucitron.services.pubdirecte = {\n- \"key\": \"pubdirecte\",\n- \"type\": \"ads\",\n- \"name\": \"Pubdirecte\",\n- \"uri\": \"http://pubdirecte.com/contact.php\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- var uniqIds = [],\n- i,\n- uri;\n-\n- tarteaucitron.fallback(['pubdirecte-canvas'], function (x) {\n- var uniqId = '_' + Math.random().toString(36).substr(2, 9);\n- uniqIds.push(uniqId);\n- return '';\n- });\n-\n- for (i = 0; i < uniqIds.length; i += 1) {\n- uri = '//www.pubdirecte.com/script/banniere.php?';\n- uri += 'id=' + document.getElementById(uniqIds[i]).getAttribute('pid') + '&';\n- uri += 'ref=' + document.getElementById(uniqIds[i]).getAttribute('ref');\n-\n- tarteaucitron.makeAsync.init(uri, uniqIds[i]);\n- }\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'pubdirecte';\n- tarteaucitron.fallback(['pubdirecte-canvas'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// purechat\n-tarteaucitron.services.purechat = {\n- \"key\": \"purechat\",\n- \"type\": \"support\",\n- \"name\": \"PureChat\",\n- \"uri\": \"https://www.purechat.com/privacy\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.purechatId === undefined) {\n- return;\n- }\n-\n- tarteaucitron.addScript('//app.purechat.com/VisitorWidget/WidgetScript', '', function () {\n- try {\n- window.w = new PCWidget({ c: tarteaucitron.user.purechatId, f: true });\n- } catch (e) {}\n- });\n- }\n-};\n-\n-// shareaholic\n-tarteaucitron.services.shareaholic = {\n- \"key\": \"shareaholic\",\n- \"type\": \"social\",\n- \"name\": \"Shareaholic\",\n- \"uri\": \"https://shareaholic.com/privacy/choices\",\n- \"needConsent\": true,\n- \"cookies\": ['__utma', '__utmb', '__utmc', '__utmz', '__utmt_Shareaholic%20Pageviews'],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.shareaholicSiteId === undefined) {\n- return;\n- }\n-\n- tarteaucitron.fallback(['shareaholic-canvas'], '');\n- tarteaucitron.addScript('//dsms0mj1bbhn4.cloudfront.net/assets/pub/shareaholic.js', '', function () {\n- try {\n- Shareaholic.init(tarteaucitron.user.shareaholicSiteId);\n- } catch (e) {}\n- });\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'shareaholic';\n- tarteaucitron.fallback(['shareaholic-canvas'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// shareasale\n-tarteaucitron.services.shareasale = {\n- \"key\": \"shareasale\",\n- \"type\": \"ads\",\n- \"name\": \"ShareASale\",\n- \"uri\": \"https://www.shareasale.com/PrivacyPolicy.pdf\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- var uniqIds = [],\n- i,\n- uri;\n-\n- tarteaucitron.fallback(['shareasale-canvas'], function (x) {\n- var uniqId = '_' + Math.random().toString(36).substr(2, 9);\n- uniqIds.push(uniqId);\n- return '';\n- });\n-\n- for (i = 0; i < uniqIds.length; i += 1) {\n- uri = 'https://shareasale.com/sale.cfm?';\n- uri += 'amount=' + document.getElementById(uniqIds[i]).getAttribute('amount') + '&';\n- uri += 'tracking=' + document.getElementById(uniqIds[i]).getAttribute('tracking') + '&';\n- uri += 'transtype=' + document.getElementById(uniqIds[i]).getAttribute('transtype') + '&';\n- uri += 'persale=' + document.getElementById(uniqIds[i]).getAttribute('persale') + '&';\n- uri += 'perlead=' + document.getElementById(uniqIds[i]).getAttribute('perlead') + '&';\n- uri += 'perhit=' + document.getElementById(uniqIds[i]).getAttribute('perhit') + '&';\n- uri += 'merchantID=' + document.getElementById(uniqIds[i]).getAttribute('merchantID');\n-\n- document.getElementById(uniqIds[i]).innerHTML = '';\n- }\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'shareasale';\n- tarteaucitron.fallback(['shareasale-canvas'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// sharethis\n-tarteaucitron.services.sharethis = {\n- \"key\": \"sharethis\",\n- \"type\": \"social\",\n- \"name\": \"ShareThis\",\n- \"uri\": \"http://www.sharethis.com/legal/privacy/\",\n- \"needConsent\": true,\n- \"cookies\": ['__unam'],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.sharethisPublisher === undefined) {\n- return;\n- }\n- var switchTo5x = true,\n- uri = ('https:' === document.location.protocol ? 'https://ws' : 'http://w') + '.sharethis.com/button/buttons.js';\n-\n- tarteaucitron.fallback(['tacSharethis'], '');\n- tarteaucitron.addScript(uri, '', function () {\n- stLight.options({publisher: tarteaucitron.user.sharethisPublisher, doNotHash: false, doNotCopy: false, hashAddressBar: false});\n- });\n-\n- if (tarteaucitron.isAjax === true) {\n- if (typeof stButtons !== \"undefined\") {\n- stButtons.locateElements();\n- }\n- }\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'sharethis';\n- tarteaucitron.fallback(['tacSharethis'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// slideshare\n-tarteaucitron.services.slideshare = {\n- \"key\": \"slideshare\",\n- \"type\": \"video\",\n- \"name\": \"SlideShare\",\n- \"uri\": \"https://www.linkedin.com/legal/privacy-policy\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['slideshare-canvas'], function (x) {\n- var id = x.getAttribute(\"data-id\"),\n- width = x.getAttribute(\"width\"),\n- height = x.getAttribute(\"height\"),\n- url = '//www.slideshare.net/slideshow/embed_code/' + id;\n-\n- return '';\n- });\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'slideshare';\n- tarteaucitron.fallback(['slideshare-canvas'], function (elem) {\n- elem.style.width = elem.getAttribute('width') + 'px';\n- elem.style.height = elem.getAttribute('height') + 'px';\n- return tarteaucitron.engage(id);\n- });\n- }\n-};\n-\n-// statcounter\n-tarteaucitron.services.statcounter = {\n- \"key\": \"statcounter\",\n- \"type\": \"analytic\",\n- \"name\": \"StatCounter\",\n- \"uri\": \"https://fr.statcounter.com/about/legal/#privacy\",\n- \"needConsent\": true,\n- \"cookies\": ['sc_is_visitor_unique'],\n- \"js\": function () {\n- \"use strict\";\n- var uniqIds = [],\n- i,\n- uri = '//statcounter.com/counter/counter.js';\n-\n- tarteaucitron.fallback(['statcounter-canvas'], function (x) {\n- var uniqId = '_' + Math.random().toString(36).substr(2, 9);\n- uniqIds.push(uniqId);\n- return '';\n- });\n-\n- for (i = 0; i < uniqIds.length; i += 1) {\n- tarteaucitron.makeAsync.init(uri, uniqIds[i]);\n- }\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'statcounter';\n- tarteaucitron.fallback(['statcounter-canvas'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// timelinejs\n-tarteaucitron.services.timelinejs = {\n- \"key\": \"timelinejs\",\n- \"type\": \"api\",\n- \"name\": \"Timeline JS\",\n- \"uri\": \"http://timeline.knightlab.com/#help\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['timelinejs-canvas'], function (x) {\n- var spreadsheet_id = x.getAttribute(\"spreadsheet_id\"),\n- width = x.getAttribute(\"width\"),\n- height = x.getAttribute(\"height\"),\n- lang = x.getAttribute(\"lang_2_letter\"),\n- font = x.getAttribute(\"font\"),\n- map = x.getAttribute(\"map\"),\n- start_at_end = x.getAttribute(\"start_at_end\"),\n- hash_bookmark = x.getAttribute(\"hash_bookmark\"),\n- start_at_slide = x.getAttribute(\"start_at_slide\"),\n- start_zoom = x.getAttribute(\"start_zoom\"),\n- 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;\n-\n- return '';\n- });\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'timelinejs';\n- tarteaucitron.fallback(['timelinejs-canvas'], function (elem) {\n- elem.style.width = elem.getAttribute('width') + 'px';\n- elem.style.height = elem.getAttribute('height') + 'px';\n- return tarteaucitron.engage(id);\n- });\n- }\n-};\n-\n-// tagcommander\n-tarteaucitron.services.tagcommander = {\n- \"key\": \"tagcommander\",\n- \"type\": \"api\",\n- \"name\": \"TagCommander\",\n- \"uri\": \"https://www.commandersact.com/en/privacy/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.tagcommanderid === undefined) {\n- return;\n- }\n- tarteaucitron.addScript('https://cdn.tagcommander.com/' + tarteaucitron.user.tagcommanderid + '.js');\n- }\n-};\n-\n-// typekit\n-tarteaucitron.services.typekit = {\n- \"key\": \"typekit\",\n- \"type\": \"api\",\n- \"name\": \"Typekit (adobe)\",\n- \"uri\": \"http://www.adobe.com/fr/privacy.html\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.typekitId === undefined) {\n- return;\n- }\n- tarteaucitron.addScript('//use.typekit.net/' + tarteaucitron.user.typekitId + '.js', '', function () {\n- try {\n- Typekit.load();\n- } catch (e) {}\n- });\n- }\n-};\n-\n-// twenga\n-tarteaucitron.services.twenga = {\n- \"key\": \"twenga\",\n- \"type\": \"ads\",\n- \"name\": \"Twenga\",\n- \"uri\": \"http://www.twenga.com/privacy.php\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n-\n- if (tarteaucitron.user.twengaId === undefined || tarteaucitron.user.twengaLocale === undefined) {\n- return;\n- }\n-\n- tarteaucitron.addScript('//tracker.twenga.' + tarteaucitron.user.twengaLocale + '/st/tracker_' + tarteaucitron.user.twengaId + '.js');\n- }\n-};\n-\n-// twitter\n-tarteaucitron.services.twitter = {\n- \"key\": \"twitter\",\n- \"type\": \"social\",\n- \"name\": \"Twitter\",\n- \"uri\": \"https://support.twitter.com/articles/20170514\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['tacTwitter'], '');\n- tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'twitter';\n- tarteaucitron.fallback(['tacTwitter'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// twitter embed\n-tarteaucitron.services.twitterembed = {\n- \"key\": \"twitterembed\",\n- \"type\": \"social\",\n- \"name\": \"Twitter (cards)\",\n- \"uri\": \"https://support.twitter.com/articles/20170514\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- var uniqIds = [],\n- i,\n- e,\n- html;\n-\n- tarteaucitron.fallback(['twitterembed-canvas'], function (x) {\n- var uniqId = '_' + Math.random().toString(36).substr(2, 9);\n- uniqIds.push(uniqId);\n- html = '';\n- return html;\n- });\n-\n- tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs', function () {\n- for (i = 0; i < uniqIds.length; i += 1) {\n- e = document.getElementById(uniqIds[i]);\n- twttr.widgets.createTweet(\n- e.getAttribute('tweetid'),\n- e,\n- {\n- theme: e.getAttribute('theme'),\n- cards: e.getAttribute('cards'),\n- conversation: e.getAttribute('conversation'),\n- lang: tarteaucitron.getLanguage(),\n- dnt: true,\n- width: e.getAttribute('data-width'),\n- align: e.getAttribute('data-align')\n- }\n- );\n- }\n- });\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'twitterembed';\n- tarteaucitron.fallback(['twitterembed-canvas'], function (elem) {\n- elem.style.width = elem.getAttribute('data-width') + 'px';\n- return tarteaucitron.engage(id);\n- });\n- }\n-};\n-\n-// twitter timeline\n-tarteaucitron.services.twittertimeline = {\n- \"key\": \"twittertimeline\",\n- \"type\": \"social\",\n- \"name\": \"Twitter (timelines)\",\n- \"uri\": \"https://support.twitter.com/articles/20170514\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['tacTwitterTimelines'], '');\n- tarteaucitron.addScript('//platform.twitter.com/widgets.js', 'twitter-wjs');\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'twittertimeline';\n- tarteaucitron.fallback(['tacTwitterTimelines'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// user voice\n-tarteaucitron.services.uservoice = {\n- \"key\": \"uservoice\",\n- \"type\": \"support\",\n- \"name\": \"UserVoice\",\n- \"uri\": \"https://www.uservoice.com/privacy/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.userVoiceApi === undefined) {\n- return;\n- }\n- tarteaucitron.addScript('//widget.uservoice.com/' + tarteaucitron.user.userVoiceApi + '.js');\n- }\n-};\n-\n-// vimeo\n-tarteaucitron.services.vimeo = {\n- \"key\": \"vimeo\",\n- \"type\": \"video\",\n- \"name\": \"Vimeo\",\n- \"uri\": \"http://vimeo.com/privacy\",\n- \"needConsent\": true,\n- \"cookies\": ['__utmt_player', '__utma', '__utmb', '__utmc', '__utmv', 'vuid', '__utmz', 'player'],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['vimeo_player'], function (x) {\n- var video_id = x.getAttribute(\"videoID\"),\n- video_width = x.getAttribute(\"width\"),\n- frame_width = 'width=',\n- video_height = x.getAttribute(\"height\"),\n- frame_height = 'height=',\n- video_frame;\n-\n- if (video_id === undefined) {\n- return \"\";\n- }\n- if (video_width !== undefined) {\n- frame_width += '\"' + video_width + '\" ';\n- } else {\n- frame_width += '\"\" ';\n- }\n- if (video_height !== undefined) {\n- frame_height += '\"' + video_height + '\" ';\n- } else {\n- frame_height += '\"\" ';\n- }\n- video_frame = '';\n- return video_frame;\n- });\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'vimeo';\n- tarteaucitron.fallback(['vimeo_player'], function (elem) {\n- elem.style.width = elem.getAttribute('width') + 'px';\n- elem.style.height = elem.getAttribute('height') + 'px';\n- return tarteaucitron.engage(id);\n- });\n- }\n-};\n-\n-// visualrevenue\n-tarteaucitron.services.visualrevenue = {\n- \"key\": \"visualrevenue\",\n- \"type\": \"analytic\",\n- \"name\": \"VisualRevenue\",\n- \"uri\": \"http://www.outbrain.com/legal/privacy-713/\",\n- \"needConsent\": true,\n- \"cookies\": ['__vrf', '__vrm', '__vrl', '__vry', '__vru', '__vrid', '__vrz'],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.visualrevenueId === undefined) {\n- return;\n- }\n- window._vrq = window._vrq || [];\n- window._vrq.push(['id', tarteaucitron.user.visualrevenueId]);\n- window._vrq.push(['automate', true]);\n- window._vrq.push(['track', function () {}]);\n- tarteaucitron.addScript('http://a.visualrevenue.com/vrs.js');\n- }\n-};\n-\n-// vshop\n-tarteaucitron.services.vshop = {\n- \"key\": \"vshop\",\n- \"type\": \"ads\",\n- \"name\": \"vShop\",\n- \"uri\": \"http://vshop.fr/privacy-policy\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['vcashW'], '');\n- tarteaucitron.addScript('//vshop.fr/js/w.js');\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'vshop';\n- tarteaucitron.fallback(['vcashW'], tarteaucitron.engage(id));\n- }\n-};\n-\n-// wysistat\n-tarteaucitron.services.wysistat = {\n- \"key\": \"wysistat\",\n- \"type\": \"analytic\",\n- \"name\": \"Wysistat\",\n- \"uri\": \"http://wysistat.net/contact/\",\n- \"needConsent\": true,\n- \"cookies\": ['Wysistat'],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.wysistat === undefined) {\n- return;\n- }\n- tarteaucitron.addScript('//www.wysistat.com/statistique.js', '', function () {\n- 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);\n- });\n- }\n-};\n-\n-// xiti\n-tarteaucitron.services.xiti = {\n- \"key\": \"xiti\",\n- \"type\": \"analytic\",\n- \"name\": \"Xiti\",\n- \"uri\": \"http://www.atinternet.com/politique-du-respect-de-la-vie-privee/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.xitiId === undefined) {\n- return;\n- }\n- var Xt_param = 's=' + tarteaucitron.user.xitiId + '&p=',\n- Xt_r,\n- Xt_h,\n- Xt_i,\n- Xt_s,\n- div = document.createElement('div');\n- try {\n- Xt_r = top.document.referrer;\n- } catch (e) {\n- Xt_r = document.referrer;\n- }\n- Xt_h = new Date();\n- Xt_i = '= 4) {\n- Xt_s = screen;\n- Xt_i += '&r=' + Xt_s.width + 'x' + Xt_s.height + 'x' + Xt_s.pixelDepth + 'x' + Xt_s.colorDepth;\n- }\n-\n- div.innerHTML = Xt_i + '&ref=' + Xt_r.replace(/[<>\"]/g, '').replace(/&/g, '$') + '\" title=\"Internet Audience\">';\n- document.getElementsByTagName('body')[0].appendChild(div.firstChild);\n-\n- if (typeof tarteaucitron.user.xitiMore === 'function') {\n- tarteaucitron.user.xitiMore();\n- }\n- }\n-};\n-\n-// AT Internet\n-tarteaucitron.services.atinternet = {\n- \"key\": \"atinternet\",\n- \"type\": \"analytic\",\n- \"name\": \"AT Internet\",\n- \"uri\": \"http://www.atinternet.com/politique-du-respect-de-la-vie-privee/\",\n- \"needConsent\": true,\n- \"cookies\": ['atidvisitor', 'atreman', 'atredir', 'atsession', 'atuserid'],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.atLibUrl === undefined) {\n- return;\n- }\n-\n- tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() {\n- if (typeof tarteaucitron.user.atMore === 'function') {\n- tarteaucitron.user.atMore();\n- }\n- })\n- }\n-};\n-\n-// youtube\n-tarteaucitron.services.youtube = {\n- \"key\": \"youtube\",\n- \"type\": \"video\",\n- \"name\": \"YouTube\",\n- \"uri\": \"https://www.google.fr/intl/fr/policies/privacy/\",\n- \"needConsent\": true,\n- \"cookies\": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF', 'GEUP'],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['youtube_player'], function (x) {\n- var video_id = x.getAttribute(\"videoID\"),\n- video_width = x.getAttribute(\"width\"),\n- frame_width = 'width=',\n- video_height = x.getAttribute(\"height\"),\n- frame_height = 'height=',\n- video_frame,\n- params = 'theme=' + x.getAttribute(\"theme\") + '&rel=' + x.getAttribute(\"rel\") + '&controls=' + x.getAttribute(\"controls\") + '&showinfo=' + x.getAttribute(\"showinfo\") + '&autoplay=' + x.getAttribute(\"autoplay\");\n-\n- if (video_id === undefined) {\n- return \"\";\n- }\n- if (video_width !== undefined) {\n- frame_width += '\"' + video_width + '\" ';\n- } else {\n- frame_width += '\"\" ';\n- }\n- if (video_height !== undefined) {\n- frame_height += '\"' + video_height + '\" ';\n- } else {\n- frame_height += '\"\" ';\n- }\n- video_frame = '';\n- return video_frame;\n- });\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'youtube';\n- tarteaucitron.fallback(['youtube_player'], function (elem) {\n- elem.style.width = elem.getAttribute('width') + 'px';\n- elem.style.height = elem.getAttribute('height') + 'px';\n- return tarteaucitron.engage(id);\n- });\n- }\n-};\n-\n-// youtube playlist\n-tarteaucitron.services.youtubeplaylist = {\n- \"key\": \"youtubeplaylist\",\n- \"type\": \"video\",\n- \"name\": \"YouTube (playlist)\",\n- \"uri\": \"https://www.google.fr/intl/fr/policies/privacy/\",\n- \"needConsent\": true,\n- \"cookies\": ['VISITOR_INFO1_LIVE', 'YSC', 'PREF', 'GEUP'],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['youtube_playlist_player'], function (x) {\n- var playlist_id = x.getAttribute(\"playlistID\"),\n- video_width = x.getAttribute(\"width\"),\n- frame_width = 'width=',\n- video_height = x.getAttribute(\"height\"),\n- frame_height = 'height=',\n- video_frame,\n- params = 'theme=' + x.getAttribute(\"theme\") + '&rel=' + x.getAttribute(\"rel\") + '&controls=' + x.getAttribute(\"controls\") + '&showinfo=' + x.getAttribute(\"showinfo\") + '&autoplay=' + x.getAttribute(\"autoplay\");\n-\n- if (playlist_id === undefined) {\n- return \"\";\n- }\n- if (video_width !== undefined) {\n- frame_width += '\"' + video_width + '\" ';\n- } else {\n- frame_width += '\"\" ';\n- }\n- if (video_height !== undefined) {\n- frame_height += '\"' + video_height + '\" ';\n- } else {\n- frame_height += '\"\" ';\n- }\n- video_frame = '';\n- return video_frame;\n- });\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'youtubeplaylist';\n- tarteaucitron.fallback(['youtube_playlist_player'], function (elem) {\n- elem.style.width = elem.getAttribute('width') + 'px';\n- elem.style.height = elem.getAttribute('height') + 'px';\n- return tarteaucitron.engage(id);\n- });\n- }\n-};\n-\n-// zopim\n-tarteaucitron.services.zopim = {\n- \"key\": \"zopim\",\n- \"type\": \"support\",\n- \"name\": \"Zopim\",\n- \"uri\": \"https://www.zopim.com/privacy\",\n- \"needConsent\": true,\n- \"cookies\": ['__zlcid', '__zprivacy'],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.zopimID === undefined) {\n- return;\n- }\n- tarteaucitron.addScript('//v2.zopim.com/?' + tarteaucitron.user.zopimID);\n- }\n-};\n-\n-// xiti smartTag\n-tarteaucitron.services.xiti_smarttag = {\n- \"key\": \"xiti_smarttag\",\n- \"type\": \"analytic\",\n- \"name\": \"Xiti (SmartTag)\",\n- \"uri\": \"https://www.atinternet.com/societe/protection-des-donnees/\",\n- \"needConsent\": true,\n- \"cookies\": [\"atidvisitor\", \"atreman\", \"atredir\", \"atsession\", \"atuserid\", \"attvtreman\", \"attvtsession\"],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.xiti_smarttagLocalPath !== undefined) {\n- tarteaucitron.addScript(tarteaucitron.user.xiti_smarttagLocalPath, 'smarttag', null, null, \"onload\", \"addTracker();\");\n- } else {\n- var xitiSmarttagId = tarteaucitron.user.xiti_smarttagSiteId;\n- if (xitiSmarttagId === undefined) {\n- return;\n- }\n-\n- tarteaucitron.addScript('//tag.aticdn.net/' + xitiSmarttagId + '/smarttag.js', 'smarttag', null, null, \"onload\", \"addTracker();\");\n- }\n- }\n-};\n-\n-// facebook pixel\n-tarteaucitron.services.facebookpixel = {\n- \"key\": \"facebookpixel\",\n- \"type\": \"ads\",\n- \"name\": \"Facebook Pixel\",\n- \"uri\": \"https://fr-fr.facebook.com/business/help/www/651294705016616\",\n- \"needConsent\": true,\n- \"cookies\": ['datr', 'fr', 'reg_ext_ref', 'reg_fb_gate', 'reg_fb_ref', 'sb', 'wd', 'x-src'],\n- \"js\": function () {\n- \"use strict\";\n- var n;\n- if(window.fbq)return;\n- n=window.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)} ;\n- if(!window._fbq)window._fbq=n;\n- n.push=n;\n- n.loaded=!0;\n- n.version='2.0';\n- n.queue=[];\n- tarteaucitron.addScript('https://connect.facebook.net/en_US/fbevents.js');\n- fbq('init', tarteaucitron.user.facebookpixelId);\n- fbq('track', 'PageView');\n-\n- if (typeof tarteaucitron.user.facebookpixelMore === 'function') {\n- tarteaucitron.user.facebookpixelMore();\n- }\n- }\n-};\n-\n-//Issuu\n-tarteaucitron.services.issuu = {\n- \"key\": \"issuu\",\n- \"type\": \"other\",\n- \"name\": \"Issuu\",\n- \"uri\": \"https://issuu.com/legal/privacy\",\n- \"needConsent\": true,\n- \"cookies\": ['__qca', 'iutk', 'mc'],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['issuu_player'], function (x) {\n- var issuu_id = x.getAttribute(\"issuuID\"),\n- issuu_width = x.getAttribute(\"width\"),\n- frame_width = 'width=',\n- issuu_height = x.getAttribute(\"height\"),\n- frame_height = 'height=',\n- issuu_frame;\n-\n- if (issuu_id === undefined) {\n- return \"\";\n- }\n- if (issuu_width !== undefined) {\n- frame_width += '\"' + issuu_width + '\" ';\n- } else {\n- frame_width += '\"\" ';\n- }\n- if (issuu_height !== undefined) {\n- frame_height += '\"' + issuu_height + '\" ';\n- } else {\n- frame_height += '\"\" ';\n- }\n- issuu_frame = '';\n- return issuu_frame;\n- });\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'issuu';\n- tarteaucitron.fallback(['issuu_player'], function (elem) {\n- elem.style.width = elem.getAttribute('width') + 'px';\n- elem.style.height = elem.getAttribute('height') + 'px';\n- return tarteaucitron.engage(id);\n- });\n- }\n-};\n-\n-// webmecanik\n-tarteaucitron.services.webmecanik = {\n- \"key\": \"webmecanik\",\n- \"type\": \"analytic\",\n- \"name\": \"Webmecanik\",\n- \"uri\": \"https://webmecanik.com/tos\",\n- \"needConsent\": true,\n- \"cookies\": ['mtc_id', 'mtc_sid'],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.webmecanikurl === undefined) {\n- return;\n- }\n- window['WebmecanikTrackingObject'] = 'mt';\n- window['mt'] = window['mt'] || function() {\n- (window['mt'].q = window['mt'].q || []).push(arguments);\n- };\n-\n- tarteaucitron.addScript(tarteaucitron.user.webmecanikurl, '', function() {\n- mt('send', 'pageview');\n- });\n- }\n-};\n-\n-// google analytics multiple\n-tarteaucitron.services.multiplegtag = {\n- \"key\": \"multiplegtag\",\n- \"type\": \"analytic\",\n- \"name\": \"Google Analytics (gtag.js)\",\n- \"uri\": \"https://support.google.com/analytics/answer/6004245\",\n- \"needConsent\": true,\n- \"cookies\": (function () {\n- \n- var cookies = ['_ga', '_gat', '_gid', '__utma', '__utmb', '__utmc', '__utmt', '__utmz'];\n-\n- if (tarteaucitron.user.multiplegtagUa !== undefined) {\n- tarteaucitron.user.multiplegtagUa.forEach(function(ua) {\n- cookies.push('_gat_gtag_' + ua.replace(/-/g, '_'));\n- });\n- }\n-\n- return cookies;\n- })(),\n- \"js\": function () {\n- \"use strict\";\n- window.dataLayer = window.dataLayer || [];\n-\n- tarteaucitron.user.multiplegtagUa.forEach(function(ua) {\n-\n- tarteaucitron.addScript('https://www.googletagmanager.com/gtag/js?id=' + ua, '', function () {\n- window.gtag = function gtag(){dataLayer.push(arguments);}\n- gtag('js', new Date());\n- gtag('config', ua);\n- });\n- });\n- }\n-};\n-\n-// Koban\n-tarteaucitron.services.koban = {\n- \"key\": \"koban\",\n- \"type\": \"analytic\",\n- \"name\": \"Koban\",\n- \"uri\": \"https://koban.cloud/tos\",\n- \"needConsent\": true,\n- \"cookies\": ['kbntrk'],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.kobanurl === undefined) {\n- return;\n- }\n- if (tarteaucitron.user.kobanapi === undefined) {\n- return;\n- }\n- window.KobanObject = 'kb';\n- window.kb = window.kb || function() {\n- window.kb.q = window.kb.q || [];\n- window.kb.q.push(arguments);\n- };\n- window.kb.l = new Date();\n- kb('reg', tarteaucitron.user.kobanapi);\n- tarteaucitron.addScript(tarteaucitron.user.kobanurl, '', function() {\n- });\n- }\n-};\n-\n-// matomo\n-\n-/*\n- 1. Set the following variable before the initialization :\n-\n- tarteaucitron.user.matomoId = YOUR_SITE_ID_FROM_MATOMO;\n- tarteaucitron.user.matomoHost = \"YOUR_MATOMO_URL\"; //eg: https://stat.mydomain.com/\n-\n- 2. Push the service :\n-\n- (tarteaucitron.job = tarteaucitron.job || []).push('matomo');\n-\n- 3. HTML\n- You don't need to add any html code, if the service is authorized, the javascript is added. otherwise no.\n- */\n-tarteaucitron.services.matomo = {\n- \"key\": \"matomo\",\n- \"type\": \"analytic\",\n- \"name\": \"Matomo (formerly known as Piwik)\",\n- \"uri\": \"https://matomo.org/faq/general/faq_146/\",\n- \"needConsent\": false,\n- \"cookies\": ['_pk_ref', '_pk_cvar', '_pk_id', '_pk_ses', '_pk_hsr', 'piwik_ignore', '_pk_uid'],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.matomoId === undefined) {\n- return;\n- }\n-\n- window._paq = window._paq || [];\n- window._paq.push([\"setSiteId\", tarteaucitron.user.matomoId]);\n- window._paq.push([\"setTrackerUrl\", tarteaucitron.user.matomoHost + \"piwik.php\"]);\n- window._paq.push([\"setDoNotTrack\", 1]);\n- window._paq.push([\"trackPageView\"]);\n- window._paq.push([\"setIgnoreClasses\", [\"no-tracking\", \"colorbox\"]]);\n- window._paq.push([\"enableLinkTracking\"]);\n- window._paq.push([function() {\n- var self = this;\n- function getOriginalVisitorCookieTimeout() {\n- var now = new Date(),\n- nowTs = Math.round(now.getTime() / 1000),\n- visitorInfo = self.getVisitorInfo();\n- var createTs = parseInt(visitorInfo[2]);\n- var cookieTimeout = 33696000; // 13 mois en secondes\n- var originalTimeout = createTs + cookieTimeout - nowTs;\n- return originalTimeout;\n- }\n- this.setVisitorCookieTimeout( getOriginalVisitorCookieTimeout() );\n- }]);\n-\n- tarteaucitron.addScript(tarteaucitron.user.matomoHost + 'piwik.js', '', '', true, 'defer', true);\n- }\n-};\n-\n-// Hotjar\n- /*\n- 1. Set the following variable before the initialization :\n- tarteaucitron.user.hotjarId = YOUR_WEBSITE_ID;\n- tarteaucitron.user.HotjarSv = XXXX; // Can be found in your website tracking code as \"hjvs=XXXX\"\n- 2. Push the service :\n- (tarteaucitron.job = tarteaucitron.job || []).push('hotjar');\n- 3. HTML\n- You don't need to add any html code, if the service is authorized, the javascript is added. otherwise no.\n- */\n-tarteaucitron.services.hotjar = {\n- \"key\": \"hotjar\",\n- \"type\": \"analytic\",\n- \"name\": \"Hotjar\",\n- \"uri\": \"https://help.hotjar.com/hc/en-us/categories/115001323967-About-Hotjar\",\n- \"needConsent\": true,\n- \"cookies\": [\"hjClosedSurveyInvites\", \"_hjDonePolls\", \"_hjMinimizedPolls\", \"_hjDoneTestersWidgets\", \"_hjMinimizedTestersWidgets\", \"_hjDoneSurveys\", \"_hjIncludedInSample\", \"_hjShownFeedbackMessage\"],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.hotjarId === undefined || tarteaucitron.user.HotjarSv === undefined) {\n- return;\n- }\n- window.hj = window.hj || function() {\n- (window.hj.q = window.hj.q || []).push(arguments)\n- };\n- window._hjSettings = {\n- hjid: tarteaucitron.user.hotjarId,\n- hjsv: tarteaucitron.user.HotjarSv\n- };\n- var uri = 'https://static.hotjar.com/c/hotjar-';\n- var extension = '.js?sv=';\n- tarteaucitron.addScript(uri + window._hjSettings.hjid + extension + window._hjSettings.hjsv);\n- }\n-};\n-\n-// bing ads universal event tracking\n-tarteaucitron.services.bingads = {\n- 'key': 'bingads',\n- 'type': 'ads',\n- 'name': 'Bing Ads Universal Event Tracking',\n- 'uri': 'https://advertise.bingads.microsoft.com/en-us/resources/policies/personalized-ads',\n- 'needConsent': true,\n- 'cookies': ['_uetmsclkid'],\n- 'js': function () {\n- 'use strict';\n- var u = tarteaucitron.user.bingadsTag || 'uetq';\n- window[u] = window[u] || [];\n-\n- tarteaucitron.addScript('https://bat.bing.com/bat.js', '', function () {\n- var bingadsCreate = {ti: tarteaucitron.user.bingadsID};\n-\n- if ('bingadsStoreCookies' in tarteaucitron.user) {\n- bingadsCreate['storeConvTrackCookies'] = tarteaucitron.user.bingadsStoreCookies;\n- }\n-\n- bingadsCreate.q = window[u];\n- window[u] = new UET(bingadsCreate);\n- window[u].push('pageload');\n- });\n- }\n-};\n-\n-//Matterport\n-/*\n-SERVICE INIT\n- (tarteaucitron.job = tarteaucitron.job || []).push('matterport');\n-\n-HTML TAG\n- \n-\n-DELETE IFRAME\n- '\n- */\n-tarteaucitron.services.matterport = {\n- \"key\": \"matterport\",\n- \"type\": \"other\",\n- \"name\": \"Matterport\",\n- \"uri\": \"https://matterport.com/es/legal/privacy-policy/\",\n- \"needConsent\": true,\n- \"cookies\": ['__cfduid', 'ajs_anonymous_id', 'ajs_group_id', 'ajs_user_id'],\n- \"js\": function () {\n- \"use strict\";\n- tarteaucitron.fallback(['matterport'], function (x) {\n- var matterport_id = x.getAttribute(\"matterportID\"),\n- matterport_width = x.getAttribute(\"width\"),\n- frame_width = 'width=',\n- matterport_height = x.getAttribute(\"height\"),\n- frame_height = 'height=',\n- matterport_parameters = x.getAttribute(\"parameters\"),\n- matterport_frame;\n-\n- if (matterport_id === undefined) {\n- return \"\";\n- }\n- if (matterport_width !== undefined) {\n- frame_width += '\"' + matterport_width + '\" ';\n- } else {\n- frame_width += '\"\" ';\n- }\n- if (matterport_height !== undefined) {\n- frame_height += '\"' + matterport_height + '\" ';\n- } else {\n- frame_height += '\"\" ';\n- }\n- if (matterport_parameters === undefined) {\n- return \"\";\n- }\n-\n- matterport_frame = '';\n- return matterport_frame;\n- });\n- },\n- \"fallback\": function () {\n- \"use strict\";\n- var id = 'matterport';\n- tarteaucitron.fallback(['matterport'], function (elem) {\n- elem.style.width = elem.getAttribute('width') + 'px';\n- elem.style.height = elem.getAttribute('height') + 'px';\n- return tarteaucitron.engage(id);\n- });\n+ key: 'googletagmanager',\n+ type: 'api',\n+ name: 'Google Tag Manager',\n+ uri: 'http://www.google.com/ads/preferences/',\n+ needConsent: true,\n+ cookies: ['_ga', '_gat', '__utma', '__utmb', '__utmc', '__utmt', '__utmz', '__gads', '_drt_', 'FLC', 'exchange_uid', 'id', 'fc', 'rrs', 'rds', 'rv', 'uid', 'UIDR', 'UID', 'clid', 'ipinfo', 'acs'],\n+ js: function () {\n+ 'use strict'\n+ if (tarteaucitron.user.googletagmanagerId === undefined) {\n+ return\n+ }\n+\n+ window.dataLayer = window.dataLayer || []\n+ window.dataLayer.push({\n+ 'gtm.start': new Date().getTime(),\n+ event: 'gtm.js'\n+ })\n+ tarteaucitron.addScript('//www.googletagmanager.com/gtm.js?id=' + tarteaucitron.user.googletagmanagerId)\n }\n-};\n-\n-// Adform\n-tarteaucitron.services.adform = {\n- \"key\": \"adform\",\n- \"type\": \"ads\",\n- \"name\": \"Adform\",\n- \"uri\": \"https://site.adform.com/privacy-center/overview/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n-\n- if (tarteaucitron.user.adformpm === undefined || tarteaucitron.user.adformpagename === undefined) {\n- return;\n- }\n-\n- window._adftrack = {\n- pm: tarteaucitron.user.adformpm,\n- divider: encodeURIComponent('|'),\n- pagename: encodeURIComponent(tarteaucitron.user.adformpagename)\n- };\n-\n- tarteaucitron.addScript(\"https://track.adform.net/serving/scripts/trackpoint/async/\");\n- }\n-};\n-\n-// Active Campaign\n-tarteaucitron.services.activecampaign = {\n- \"key\": \"activecampaign\",\n- \"type\": \"ads\",\n- \"name\": \"Active Campaign\",\n- \"uri\": \"https://www.activecampaign.com/privacy-policy/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.actid === undefined) {\n- return;\n- }\n-\n- window.trackcmp_email = '';\n-\n- tarteaucitron.addScript('https://trackcmp.net/visit?actid='+tarteaucitron.user.actid+'&e='+encodeURIComponent(trackcmp_email)+'&r='+encodeURIComponent(document.referrer)+'&u='+encodeURIComponent(window.location.href));\n- }\n-};\n-\n-// tawk.to\n-tarteaucitron.services.tawkto = {\n- \"key\": \"tawkto\",\n- \"type\": \"support\",\n- \"name\": \"Tawk.to chat\",\n- \"uri\": \"https://www.tawk.to/data-protection/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.tawktoId === undefined) {\n- return;\n- }\n-\n- window.Tawk_API=window.Tawk_API||{};\n- window.Tawk_LoadStart=new Date();\n-\n- tarteaucitron.addScript('https://embed.tawk.to/' + tarteaucitron.user.tawktoId + '/default');\n- } \n- \n-};\n-\n-// getquanty\n-tarteaucitron.services.getquanty = {\n- \"key\": \"getquanty\",\n- \"type\": \"analytic\",\n- \"name\": \"GetQuanty\",\n- \"uri\": \"https://www.getquanty.com/mentions-legales/\",\n- \"needConsent\": true,\n- \"cookies\": [],\n- \"js\": function () {\n- \"use strict\";\n- if (tarteaucitron.user.getguanty === undefined) {\n- return;\n- }\n-\n- window.webleads_site_ids = window.webleads_site_ids || [];\n- window.webleads_site_ids.push(tarteaucitron.user.getguanty);\n-\n- tarteaucitron.addScript('https://stats.webleads-tracker.com/js');\n- tarteaucitron.addScript('https://get.smart-data-systems.com/track?site_id=' + tarteaucitron.user.getguanty);\n- }\n-};\n+}"}]}