Add contentsquare

This commit is contained in:
Amauri CHAMPEAUX 2019-10-30 09:10:33 +01:00 committed by GitHub
parent b292403656
commit b7f5e579d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

View File

@ -454,6 +454,23 @@ tarteaucitron.services.clicmanager = {
}
};
// contentsquare
tarteaucitron.services.contentsquare = {
"key": "contentsquare",
"type": "api",
"name": "ContentSquare",
"uri": "https://docs.contentsquare.com/uxa-en/#collected-data",
"needConsent": true,
"cookies": ['_cs_id', '_cs_s', '_cs_vars', '_cs_ex', '_cs_c', '_cs_optout'],
"js": function () {
"use strict";
if (tarteaucitron.user.contentsquareID === undefined) {
return;
}
tarteaucitron.addScript('//t.contentsquare.net/uxa/'+tarteaucitron.user.contentsquareID+'.js');
}
};
// crazyegg
tarteaucitron.services.crazyegg = {
"key": "crazyegg",