diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index de763aa..6cbf277 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -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",