Skip to content

Commit

Permalink
docs: add support for Google Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Nov 7, 2020
1 parent d861173 commit c7069dd
Show file tree
Hide file tree
Showing 3 changed files with 2,910 additions and 2,428 deletions.
11 changes: 11 additions & 0 deletions docs/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,16 @@ module.exports = {
// To learn more, visit: https://gatsby.dev/offline
// `gatsby-plugin-offline`,
`gatsby-plugin-client-side-redirect`,
{
resolve: `gatsby-plugin-gtag`,
options: {
// your google analytics tracking id
trackingId: `G-133LHD3B3N`,
// Puts tracking script in the head instead of the body
head: false,
// enable ip anonymization
anonymize: true,
},
},
],
};
Loading

0 comments on commit c7069dd

Please sign in to comment.