From 4c2d0bd68cf2ae78d8ea37b7d552d84448c6b6ba Mon Sep 17 00:00:00 2001 From: BenDz Date: Wed, 10 Oct 2018 10:24:44 +0200 Subject: [PATCH] First AT Internet SmartTag integration --- tarteaucitron.services.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index 0402745..52ba899 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -1994,6 +1994,28 @@ tarteaucitron.services.xiti = { } }; +// AT Internet +tarteaucitron.services.atinternet = { + "key": "atinternet", + "type": "analytic", + "name": "AT Internet", + "uri": "http://www.atinternet.com/politique-du-respect-de-la-vie-privee/", + "needConsent": true, + "cookies": ['atidvisitor', 'atreman', 'atredir', 'atsession', 'atuserid'], + "js": function () { + "use strict"; + if (tarteaucitron.user.atLibUrl === undefined) { + return; + } + + tarteaucitron.addScript(tarteaucitron.user.atLibUrl, '', function() { + if (typeof tarteaucitron.user.atMore === 'function') { + tarteaucitron.user.atMore(); + } + }) + } +}; + // youtube tarteaucitron.services.youtube = { "key": "youtube",