diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-02-14 00:05:23 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-02-14 00:05:23 +0100 |
| commit | b79a46e6c2dc4b6df0a8e4c1a28ecf9178af965e (patch) | |
| tree | d9dc62383271b636748de2f1a1001cd5376d856a /src/utils/helpers/matomo.ts | |
| parent | ab80c9b59a26e7316178bc7d3779b33ddc1747f1 (diff) | |
chore(matomo): use another dependency to track page views
I though the previous package would track all visits with the provided
but it seems that I need to add trackPageView on all pages. So I
decided to use another package.
Diffstat (limited to 'src/utils/helpers/matomo.ts')
| -rw-r--r-- | src/utils/helpers/matomo.ts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/utils/helpers/matomo.ts b/src/utils/helpers/matomo.ts deleted file mode 100644 index 6930196..0000000 --- a/src/utils/helpers/matomo.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { createInstance } from '@datapunt/matomo-tracker-react'; - -export const instance = createInstance({ - urlBase: process.env.NEXT_PUBLIC_MATOMO_URL || '', - siteId: Number(process.env.NEXT_PUBLIC_MATOMO_SITE_ID) || 0, - linkTracking: true, -}); |
