From 158952b42eb2dc1fc8672fd8794171790b823ebc Mon Sep 17 00:00:00 2001 From: Bastien DUMONT <bdumont@grandlyon.com> Date: Tue, 6 Dec 2022 12:59:24 +0000 Subject: [PATCH] fix(matomo): disable outlinks --- src/utils/matomoTracker.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils/matomoTracker.ts b/src/utils/matomoTracker.ts index 5de0aad9e..db9cb656c 100644 --- a/src/utils/matomoTracker.ts +++ b/src/utils/matomoTracker.ts @@ -1,5 +1,5 @@ -import { History, Location, UnregisterCallback } from 'history' import { readCozyDataFromDOM } from 'cozy-ui/transpiled/react/helpers/appDataset' +import { History, Location, UnregisterCallback } from 'history' interface InitSettings { cozyUrl: string @@ -52,7 +52,6 @@ export default class MatomoTracker { MatomoTracker.push(['setSiteId', this.siteId]) MatomoTracker.push(['setReferrerUrl', 'https://ecolyo.com']) MatomoTracker.push(['setTrackerUrl', `${this.url + this.phpFilename}`]) - MatomoTracker.push(['enableLinkTracking']) } return { push: MatomoTracker.push, -- GitLab