From 9f265c69498f72088f798a3ce169a4fa24598865 Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Wed, 24 Oct 2018 15:59:43 +0200 Subject: [PATCH] Add TagCommander --- tarteaucitron.services.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index 5995fed..502abd4 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -1725,6 +1725,23 @@ tarteaucitron.services.timelinejs = { } }; +// tagcommander +tarteaucitron.services.tagcommander = { + "key": "tagcommander", + "type": "api", + "name": "TagCommander", + "uri": "https://www.commandersact.com/en/privacy/", + "needConsent": true, + "cookies": [], + "js": function () { + "use strict"; + if (tarteaucitron.user.tagcommanderid === undefined) { + return; + } + tarteaucitron.addScript('https://cdn.tagcommander.com/' + tarteaucitron.user.tagcommanderid + '.js'); + } +}; + // typekit tarteaucitron.services.typekit = { "key": "typekit",