diff --git a/app/gatsby-config.js b/app/gatsby-config.js index f18aa06..6905043 100644 --- a/app/gatsby-config.js +++ b/app/gatsby-config.js @@ -35,6 +35,12 @@ module.exports = { path: `./src/data/`, }, }, - `gatsby-plugin-postcss` + `gatsby-plugin-postcss`, + { + resolve: `gatsby-plugin-google-analytics`, + options: { + trackingId: "UA-139957969-2", + } + } ], } diff --git a/app/package-lock.json b/app/package-lock.json index f920e84..155035c 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -10562,6 +10562,30 @@ } } }, + "gatsby-plugin-google-analytics": { + "version": "2.3.14", + "resolved": "https://registry.npmjs.org/gatsby-plugin-google-analytics/-/gatsby-plugin-google-analytics-2.3.14.tgz", + "integrity": "sha512-KgOIRbIULeMMyGBCY5WQVOM1AmB/1HgY1ypH1UZYxS15riTO6WSTfp+5hcxCS75Xc/6HgAOjZlNibCH02Tz1mQ==", + "requires": { + "@babel/runtime": "^7.11.2", + "minimatch": "3.0.4" + }, + "dependencies": { + "@babel/runtime": { + "version": "7.11.2", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.11.2.tgz", + "integrity": "sha512-TeWkU52so0mPtDcaCTxNBI/IHiz0pZgr8VEFqXFtZWpYD08ZB6FaSwVAS8MKRQAP3bYKiVjwysOJgMFY28o6Tw==", + "requires": { + "regenerator-runtime": "^0.13.4" + } + }, + "regenerator-runtime": { + "version": "0.13.7", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", + "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==" + } + } + }, "gatsby-plugin-manifest": { "version": "2.2.21", "resolved": "https://registry.npmjs.org/gatsby-plugin-manifest/-/gatsby-plugin-manifest-2.2.21.tgz", diff --git a/app/package.json b/app/package.json index 5dc8d62..b7dd94c 100644 --- a/app/package.json +++ b/app/package.json @@ -8,6 +8,7 @@ "bootstrap": "^4.5.2", "gatsby": "^2.23.0", "gatsby-image": "^2.2.27", + "gatsby-plugin-google-analytics": "^2.3.14", "gatsby-plugin-manifest": "^2.2.21", "gatsby-plugin-offline": "^3.0.14", "gatsby-plugin-postcss": "^2.1.11",