Google Analytics added

Summary: Google analytics added

Reviewed By: emilsjolander

Differential Revision: D6998583

fbshipit-source-id: 3886964407ec32454da4770b0fe80185e8e18881
This commit is contained in:
Pritesh Nandgaonkar
2018-02-15 06:12:18 -08:00
committed by Facebook Github Bot
parent 79fa6f8d58
commit 89df2d9475
3 changed files with 15 additions and 0 deletions

View File

@@ -57,5 +57,13 @@ module.exports = {
],
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: 'UA-44373548-24',
head: false,
anonymize: true,
},
},
],
};

View File

@@ -8,6 +8,7 @@
"gatsby": "^1.9.158",
"gatsby-link": "^1.6.34",
"gatsby-plugin-antd": "^1.0.10",
"gatsby-plugin-google-analytics": "^1.0.19",
"gatsby-plugin-less": "^1.1.4",
"gatsby-plugin-react-helmet": "^2.0.3",
"gatsby-plugin-react-next": "^1.0.8",

View File

@@ -3389,6 +3389,12 @@ gatsby-plugin-antd@^1.0.10:
antd "^3.1.0"
babel-plugin-import "^1.6.3"
gatsby-plugin-google-analytics@^1.0.19:
version "1.0.19"
resolved "https://registry.yarnpkg.com/gatsby-plugin-google-analytics/-/gatsby-plugin-google-analytics-1.0.19.tgz#e9112f01118e0a16eb61f1b39bb0757feba88f2b"
dependencies:
babel-runtime "^6.26.0"
gatsby-plugin-less@^1.1.4:
version "1.1.4"
resolved "https://registry.yarnpkg.com/gatsby-plugin-less/-/gatsby-plugin-less-1.1.4.tgz#f226e207b8d17e064865ce3f18b712dea71c4570"