From b29240365683a8fb949549d793c71f0de0c8823e Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Wed, 30 Oct 2019 09:03:13 +0100 Subject: [PATCH] Add ABTasty --- tarteaucitron.services.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index d52b510..de763aa 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -30,6 +30,23 @@ tarteaucitron.services.iframe = { } }; +// abtasty +tarteaucitron.services.abtasty = { + "key": "abtasty", + "type": "api", + "name": "ABTasty", + "uri": "https://www.abtasty.com/terms-of-use/", + "needConsent": true, + "cookies": ['ABTasty', 'ABTastySession'], + "js": function () { + "use strict"; + if (tarteaucitron.user.abtastyID === undefined) { + return; + } + tarteaucitron.addScript('//try.abtasty.com/'+tarteaucitron.user.abtastyID+'.js'); + } +}; + // addthis tarteaucitron.services.addthis = { "key": "addthis",