From 780083d143bc727a0e7d4a4bd860094b140de7d0 Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Mon, 3 Apr 2023 11:00:44 +0200 Subject: [PATCH] Add Zoho Pagesense --- tarteaucitron.services.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index 7682137..01e3323 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -37,6 +37,24 @@ tarteaucitron.services.iframe = { } }; +// zohopagesense +tarteaucitron.services.zohopagesense = { + "key": "zohopagesense", + "type": "analytic", + "name": "Zoho PageSense", + "uri": "https://www.zoho.com/pagesense/cookie-policy.html", + "needConsent": true, + "cookies": ["zab_g_", "zabUserID", "zabVisitID", "zabSplit", "zabBucket", "zabHMBucket", "zpsfa_", "zfa", "zsr", "zabme", "zsd", "ps_payloadSeqId", "zabPZBucket", "zPersonalization", "zia_", "zpc", "zps_permission_status", "zps-tgr-dts", "zpspolls_", "zpsPollsBucket", "zpspb", "zpsPopupBucket", "zpssr", "zab_g_", "zab_", "zPersonalization"], + "js": function () { + "use strict"; + + if (tarteaucitron.user.zohoPageSenseProjectId === undefined || tarteaucitron.user.zohoPageSenseScriptHash === undefined) { + return; + } + tarteaucitron.addScript('https://cdn-eu.pagesense.io/js/' + tarteaucitron.user.zohoPageSenseProjectId + '/' + tarteaucitron.user.zohoPageSenseScriptHash + '.js'); + } +}; + // leadinfo tarteaucitron.services.leadinfo = { "key": "leadinfo",