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",