add matomo tracking

This commit is contained in:
Karol Wypchlo 2020-03-09 15:52:35 +01:00
parent 2c64e7d0d1
commit 2cd683c8e8
3 changed files with 14 additions and 0 deletions

View File

@ -30,6 +30,14 @@ module.exports = {
icon: `src/images/logo.svg` // This path is relative to the root of the site.
}
},
{
resolve: "gatsby-plugin-matomo",
options: {
siteId: 3,
matomoUrl: "https://surveillance.sia.tech",
siteUrl: "https://siasky.net"
}
},
`gatsby-plugin-remove-serviceworker`
]
};

View File

@ -8,6 +8,7 @@
"gatsby": "^2.19.32",
"gatsby-image": "^2.2.43",
"gatsby-plugin-manifest": "^2.2.44",
"gatsby-plugin-matomo": "^0.8.1",
"gatsby-plugin-react-helmet": "^3.1.22",
"gatsby-plugin-remove-serviceworker": "^1.0.0",
"gatsby-plugin-robots-txt": "^1.5.0",

View File

@ -5534,6 +5534,11 @@ gatsby-plugin-manifest@^2.2.44:
semver "^5.7.1"
sharp "^0.23.4"
gatsby-plugin-matomo@^0.8.1:
version "0.8.1"
resolved "https://registry.yarnpkg.com/gatsby-plugin-matomo/-/gatsby-plugin-matomo-0.8.1.tgz#f8f775e91cfaaae602654b30e7f2897eaca090ca"
integrity sha512-dK6mMIF2pGfNjWS0CbKSgUp+zKJil2mIw0efH9ghADzzpXIXImlVgDtKJaEM58+jL9bNunWmjOT7AvFNUkgZng==
gatsby-plugin-page-creator@^2.1.42:
version "2.1.42"
resolved "https://registry.yarnpkg.com/gatsby-plugin-page-creator/-/gatsby-plugin-page-creator-2.1.42.tgz#08110702b2611a58f008b61838b5ca7c91db9701"