Add smartsupp
This commit is contained in:
parent
d33736f398
commit
ef29a87e4e
|
|
@ -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
|
// sharpspring
|
||||||
tarteaucitron.services.sharpspring = {
|
tarteaucitron.services.sharpspring = {
|
||||||
"key": "sharpspring",
|
"key": "sharpspring",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue