Skip to content

Commit

Permalink
Setup ga
Browse files Browse the repository at this point in the history
  • Loading branch information
arturfsousa authored and guilhermebr committed Oct 4, 2018
1 parent 0f8a280 commit 2d9c801
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,11 @@ module.exports = {
path: './src/data/',
},
},
{
resolve: 'gatsby-plugin-google-analytics',
options: {
trackingId: 'UA-35544505-1',
},
},
],
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"typography": "^0.16.17"
},
"devDependencies": {
"gatsby-plugin-google-analytics": "^2.0.6",
"gatsby-plugin-sharp": "^2.0.5",
"gatsby-source-filesystem": "^2.0.1",
"gatsby-transformer-json": "^2.1.3",
Expand Down
6 changes: 6 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4472,6 +4472,12 @@ gatsby-link@^2.0.3:
prop-types "^15.6.1"
ric "^1.3.0"

gatsby-plugin-google-analytics@^2.0.6:
version "2.0.6"
resolved "https://artifactory.globoi.com/artifactory/api/npm/npm-repos/gatsby-plugin-google-analytics/-/gatsby-plugin-google-analytics-2.0.6.tgz?dl=https://registry.yarnpkg.com/gatsby-plugin-google-analytics/-/gatsby-plugin-google-analytics-2.0.6.tgz#b6bc37ce357125ae9969ee38edf8fd031c57723c"
dependencies:
"@babel/runtime" "^7.0.0"

gatsby-plugin-manifest@^2.0.2:
version "2.0.4"
resolved "https://artifactory.globoi.com/artifactory/api/npm/npm-repos/gatsby-plugin-manifest/-/gatsby-plugin-manifest-2.0.4.tgz?dl=https://registry.yarnpkg.com/gatsby-plugin-manifest/-/gatsby-plugin-manifest-2.0.4.tgz#c53ed4181bf1f6fef621469ab2b43c67081c76df"
Expand Down

0 comments on commit 2d9c801

Please sign in to comment.