Skip to content

Commit

Permalink
Matomo (aptible#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjp authored Jun 23, 2022
1 parent c05bfad commit ac1abe8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
11 changes: 11 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,16 @@ module.exports = {
remote: 'https://github.com/aptible/training.git'
},
},
{
resolve: 'gatsby-plugin-matomo',
options: {
siteId: '1',
matomoUrl: '//m.aptiblehq.com',
matomoPhpScript: 'matomo.php',
matomoJsScript: 'matomo.js',
siteUrl: 'https://www.aptible.com',
cookieDomain: '*.aptible.com',
}
},
],
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"classnames": "^2.2.6",
"gatsby": "2.24.73",
"gatsby-plugin-favicon": "^3.1.6",
"gatsby-plugin-matomo": "^0.13.0",
"gatsby-plugin-portal": "^1.0.7",
"gatsby-plugin-postcss": "^2.0.6",
"gatsby-plugin-react-helmet": "^3.0.12",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6234,6 +6234,11 @@ gatsby-plugin-favicon@^3.1.6:
html-react-parser "^0.6.4"
lodash "^4.17.11"

gatsby-plugin-matomo@^0.13.0:
version "0.13.0"
resolved "https://registry.yarnpkg.com/gatsby-plugin-matomo/-/gatsby-plugin-matomo-0.13.0.tgz#abf1bd561f3ca35c57b8bbbd5d8e87579ba17886"
integrity sha512-zwmxcwOoDi3hjNQoUJehoC5XwQKgR+bArAAvArGJWHlJqv7G688tlmKgbIGqEUj3aFSdyWAzAM7QhEt68buMNw==

gatsby-plugin-page-creator@^2.3.32:
version "2.10.2"
resolved "https://registry.yarnpkg.com/gatsby-plugin-page-creator/-/gatsby-plugin-page-creator-2.10.2.tgz#808046b292e844447c6539df759b23739ad30c6e"
Expand Down

0 comments on commit ac1abe8

Please sign in to comment.