From 3b3701520ee3c4aba93f4ce9f791aef6f8aa2113 Mon Sep 17 00:00:00 2001 From: SebastienReuiller Date: Fri, 20 Oct 2023 18:17:37 +0200 Subject: [PATCH] Suppression de Hotjar (#950) * remove useless hotjar * update readmorelink --- config/settings/base.py | 1 - .../includes/_tracker_tarteaucitron.html | 51 +------------------ lemarche/templates/siaes/detail.html | 10 ---- lemarche/utils/settings_context_processors.py | 1 - 4 files changed, 2 insertions(+), 61 deletions(-) diff --git a/config/settings/base.py b/config/settings/base.py index 709f14c89..73b378912 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -603,7 +603,6 @@ # ------------------------------------------------------------------------------ GOOGLE_TAG_MANAGER_ID = env.str("GOOGLE_TAG_MANAGER_ID", "") -HOTJAR_ID = int(env.str("HOTJAR_ID", 0)) MATOMO_SITE_ID = int(env.str("MATOMO_SITE_ID", 0)) MATOMO_HOST = env.str("MATOMO_HOST", "") MATOMO_TAG_MANAGER_CONTAINER_ID = env.str("MATOMO_TAG_MANAGER_CONTAINER_ID", "") diff --git a/lemarche/templates/includes/_tracker_tarteaucitron.html b/lemarche/templates/includes/_tracker_tarteaucitron.html index f9dd4bba6..3ad53cf03 100644 --- a/lemarche/templates/includes/_tracker_tarteaucitron.html +++ b/lemarche/templates/includes/_tracker_tarteaucitron.html @@ -29,7 +29,7 @@ "useExternalCss": true, /* If false, the tarteaucitron.css file will be loaded */ "useExternalJs": false, /* If false, the tarteaucitron.js file will be loaded */ //"cookieDomain": ".my-multisite-domaine.fr", /* Shared cookie for multisite */ - "readmoreLink": "https://doc.inclusion.beta.gouv.fr/mentions/protection-des-donnees", /* Change the default readmore link */ + "readmoreLink": "https://storage.crisp.chat/public/documents/Crisp Privacy Policy FR.pdf", /* Change the default readmore link */ "mandatory": true, /* Show a message about mandatory cookies */ "mandatoryCta": true, /* Show the disabled accept button when mandatory on */ "forceLanguage": "fr", @@ -39,11 +39,6 @@ tarteaucitron.user.googletagmanagerId = "{{ GOOGLE_TAG_MANAGER_ID }}"; (tarteaucitron.job = tarteaucitron.job || []).push('googletagmanager'); -// Hotjar -tarteaucitron.user.hotjarId = {{ HOTJAR_ID }}; -tarteaucitron.user.HotjarSv = 6; -(tarteaucitron.job = tarteaucitron.job || []).push('hotjar'); - // Crisp (voir plus bas) tarteaucitron.user.cripsWebsiteId = "{{ CRISP_ID }}"; tarteaucitron.user.cripsMore = function () { @@ -57,48 +52,6 @@ (tarteaucitron.job = tarteaucitron.job || []).push('matomo'); - - - - - - - - -