diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index 437f1a2..6bc52c8 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -75,6 +75,25 @@ tarteaucitron.services.leadforensics = { } }; +// ubib +tarteaucitron.services.ubib = { + "key": "ubib", + "type": "other", + "name": "Ubib Chatbot", + "uri": "https://ubib.libanswers.com/", + "needConsent": true, + "cookies": [], + "js": function () { + "use strict"; + + if (tarteaucitron.user.ubibId === undefined || tarteaucitron.user.ubibHash === undefined) { + return; + } + + tarteaucitron.addScript('https://' + tarteaucitron.user.ubibId + '.libanswers.com/load_chat.php?hash=' + tarteaucitron.user.ubibHash); + } +}; + // trustpilot tarteaucitron.services.trustpilot = { "key": "trustpilot",