From b79a46e6c2dc4b6df0a8e4c1a28ecf9178af965e Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 14 Feb 2022 00:05:23 +0100 Subject: 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. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index f6d4c80..760deb2 100644 --- a/package.json +++ b/package.json @@ -33,11 +33,11 @@ "test:watch": "jest --watch" }, "dependencies": { - "@datapunt/matomo-tracker-react": "^0.5.1", "@mdx-js/loader": "^2.0.0-rc.2", "@mdx-js/react": "^2.0.0-rc.2", "@next/bundle-analyzer": "^12.0.10", "@next/mdx": "^12.0.7", + "@socialgouv/matomo-next": "^1.2.2", "@types/mdx": "^2.0.1", "@types/prismjs": "^1.16.6", "babel-plugin-formatjs": "^10.3.17", -- cgit v1.2.3