Add smartsupp

This commit is contained in:
Amauri CHAMPEAUX 2021-05-08 10:32:51 +02:00
parent d33736f398
commit ef29a87e4e
1 changed files with 29 additions and 0 deletions

View File

@ -66,6 +66,35 @@ tarteaucitron.services.plezi = {
}
};
// smartsupp
tarteaucitron.services.smartsupp = {
"key": "smartsupp",
"type": "support",
"name": "Smartsupp",
"uri": "https://www.smartsupp.com/help/privacy/",
"needConsent": true,
"cookies": ['ssupp.vid', 'ssupp.visits', 'AWSALB', 'AWSALBCORS'],
"js": function () {
"use strict";
if (tarteaucitron.user.smartsuppKey === undefined) {
return;
}
window._smartsupp = _smartsupp || {};
window._smartsupp.key = tarteaucitron.user.smartsuppKey;
window.smartsupp = function() {
window.smartsupp._.push(arguments)
};
window.smartsupp._ = [];
tarteaucitron.addScript('https://www.smartsuppchat.com/loader.js');
}
};
// sharpspring
tarteaucitron.services.sharpspring = {
"key": "sharpspring",