From daaca60b2bb6c8b55335b8f254ccc45e7e86dd23 Mon Sep 17 00:00:00 2001 From: Louis Date: Sun, 10 Sep 2023 19:36:45 +0200 Subject: [PATCH] feat: :sparkles: Add Matomo plugin --- gatsby-config.js | 8 ++++++++ package.json | 1 + yarn.lock | 5 +++++ 3 files changed, 14 insertions(+) diff --git a/gatsby-config.js b/gatsby-config.js index 58bf38d..de3f25a 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -25,5 +25,13 @@ module.exports = { // } }, }, + { + resolve: 'gatsby-plugin-matomo', + options: { + siteId: '3', + matomoUrl: 'https://analytics.louisgallet.fr', + siteUrl: 'https://louisgallet.fr' + } + } ], }; diff --git a/package.json b/package.json index 36e7de5..3b87acb 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ }, "dependencies": { "gatsby": "^5.0.1", + "gatsby-plugin-matomo": "^0.16.1", "gatsby-theme-portfolio-minimal": "latest", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/yarn.lock b/yarn.lock index ed13ca8..02f397b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5548,6 +5548,11 @@ gatsby-plugin-manifest@^4.18.1: semver "^7.3.7" sharp "^0.30.7" +gatsby-plugin-matomo@^0.16.1: + version "0.16.1" + resolved "https://registry.yarnpkg.com/gatsby-plugin-matomo/-/gatsby-plugin-matomo-0.16.1.tgz#53424ab558e17b115ecef5dacb293fabd361aa49" + integrity sha512-WP1m8ruakNQK1y/LvPDFjsEYbtSYFKY5OJLe9xt/wEiDO/icEgfwtaomlnWxAj58/MdwY4znVuqcarEQiwo23A== + gatsby-plugin-offline@^6.0.0: version "6.12.0" resolved "https://registry.yarnpkg.com/gatsby-plugin-offline/-/gatsby-plugin-offline-6.12.0.tgz#c09bc2f0028df445aa2a463f1fbe4b9bcc87975d"