Skip to content

Commit

Permalink
Add Google analytics
Browse files Browse the repository at this point in the history
Closes #35
  • Loading branch information
spences10 committed May 8, 2018
1 parent c301dbe commit 41e74cf
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"cSpell.words": [
"Startup",
"Titillium",
"analytics",
"anonymize",
"apps",
"cleanup",
"cvdata",
Expand Down
7 changes: 7 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ module.exports = {
windows: false
}
}
},
{
resolve: 'gatsby-plugin-google-analytics',
options: {
trackingId: 'UA-87264973-4',
anonymize: true
}
}
]
}
8 changes: 8 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"gatsby": "1.9.247",
"gatsby-link": "1.6.40",
"gatsby-plugin-favicon": "2.1.1",
"gatsby-plugin-google-analytics": "1.0.31",
"gatsby-plugin-react-helmet": "2.0.10",
"gatsby-plugin-react-next": "1.0.11",
"gatsby-plugin-styled-components": "2.0.11",
Expand Down

0 comments on commit 41e74cf

Please sign in to comment.