From c8b4206674c0c64e303ecb7a70ca7aed6c6fc005 Mon Sep 17 00:00:00 2001 From: YoanRos Date: Tue, 9 Jan 2024 16:38:00 +0100 Subject: [PATCH] fix: useless push --- components/Footer.js | 19 ++----------------- components/Navigation.js | 6 ------ pages/blog/[blog].js | 15 ++------------- pages/index.js | 19 ++----------------- 4 files changed, 6 insertions(+), 53 deletions(-) diff --git a/components/Footer.js b/components/Footer.js index 8b6253e..30f1ef5 100644 --- a/components/Footer.js +++ b/components/Footer.js @@ -9,7 +9,6 @@ import { LINKEDIN_URL, } from "../constants" import ContactPopup from "./ContactPopup" -import { push } from "@socialgouv/matomo-next" export default function Footer() { const [showContactPopup, setShowContactPopup] = useState(false) @@ -103,28 +102,14 @@ export default function Footer() {
- - push(["trackEvent", "Download", "Android", "Footer"]) - } - > + Disponible sur Google Play - - push(["trackEvent", "Download", "iOS", "Footer"]) - } - > + { tabIndex={1} target="_blank" rel="noopener noreferrer" - onClick={() => - push(["trackEvent", "Download", "android", "Modale"]) - } > { tabIndex={1} target="_blank" rel="noopener noreferrer" - onClick={() => push(["trackEvent", "Download", "iOS", "Modale"])} > { const [showPopup, setShowPopup] = useState(false) @@ -20,24 +19,14 @@ const Blog = ({ mdxSource, data }) => { const components = { DownloadButtons: () => (
- push(["trackEvent", "Download", "Android", "Blog"])} - > + télécharger dans Google Play - push(["trackEvent", "Download", "iOS", "Blog"])} - > +
- - push(["trackEvent", "Download", "android", "MainPage"]) - } - > + disponible sur google play - - push(["trackEvent", "Download", "iOS", "MainPage"]) - } - > +