Add Crisp #906
This commit is contained in:
parent
7759f5f8e0
commit
f7d906a8a8
|
|
@ -5095,3 +5095,25 @@ tarteaucitron.services.gallica = {
|
|||
}
|
||||
};
|
||||
|
||||
// crisp
|
||||
tarteaucitron.services.crisp = {
|
||||
"key": "crisp",
|
||||
"type": "other",
|
||||
"name": "Crisp Chat",
|
||||
"uri": "https://help.crisp.chat/en/article/crisp-chatbox-cookie-ip-policy-1147xor/",
|
||||
"needConsent": false,
|
||||
"cookies": ['crisp-client', '__cfduid'],
|
||||
"js": function () {
|
||||
"use strict";
|
||||
|
||||
if (tarteaucitron.user.crispID === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
window.$crisp = [];
|
||||
window.CRISP_WEBSITE_ID = tarteaucitron.user.crispID;
|
||||
|
||||
tarteaucitron.addScript('https://client.crisp.chat/l.js');
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue