From d33736f398c13147ce12ea65d80035a79ebd9696 Mon Sep 17 00:00:00 2001 From: Amauri CHAMPEAUX Date: Sat, 8 May 2021 10:26:19 +0200 Subject: [PATCH] add plezi --- tarteaucitron.services.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index e40a99a..aac7ec8 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -47,6 +47,25 @@ tarteaucitron.services.elfsight = { } }; +// plezi +tarteaucitron.services.plezi = { + "key": "plezi", + "type": "analytic", + "name": "Plezi", + "uri": "https://www.plezi.co/fr/mentions-legales/", + "needConsent": true, + "cookies": [], + "js": function () { + "use strict"; + + if (tarteaucitron.user.pleziTenant === undefined || tarteaucitron.user.pleziTw === undefined) { + return; + } + + tarteaucitron.addScript('https://app.plezi.co/scripts/ossleads_analytics.js?tenant=' + tarteaucitron.user.pleziTenant + '&tw=' + tarteaucitron.user.pleziTw); + } +}; + // sharpspring tarteaucitron.services.sharpspring = { "key": "sharpspring",