mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-27 07:18:17 +01:00
Merge pull request #147 from vzhou842/gtag
Replace gatsby-plugin-google-analytics with gatsby-plugin-google-gtag
This commit is contained in:
commit
89bf05b69b
@ -123,8 +123,13 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
resolve: 'gatsby-plugin-google-analytics',
|
resolve: 'gatsby-plugin-google-gtag',
|
||||||
options: { trackingId: siteConfig.googleAnalyticsId }
|
options: {
|
||||||
|
trackingIds: [siteConfig.googleAnalyticsId],
|
||||||
|
pluginConfig: {
|
||||||
|
head: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
resolve: 'gatsby-plugin-sitemap',
|
resolve: 'gatsby-plugin-sitemap',
|
||||||
|
22070
package-lock.json
generated
Normal file
22070
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -44,7 +44,7 @@
|
|||||||
"gatsby-link": "^2.0.10",
|
"gatsby-link": "^2.0.10",
|
||||||
"gatsby-plugin-catch-links": "^2.0.10",
|
"gatsby-plugin-catch-links": "^2.0.10",
|
||||||
"gatsby-plugin-feed": "^2.0.13",
|
"gatsby-plugin-feed": "^2.0.13",
|
||||||
"gatsby-plugin-google-analytics": "^2.0.13",
|
"gatsby-plugin-google-gtag": "^1.0.16",
|
||||||
"gatsby-plugin-manifest": "^2.0.17",
|
"gatsby-plugin-manifest": "^2.0.17",
|
||||||
"gatsby-plugin-netlify": "^2.0.9",
|
"gatsby-plugin-netlify": "^2.0.9",
|
||||||
"gatsby-plugin-netlify-cms": "^3.0.12",
|
"gatsby-plugin-netlify-cms": "^3.0.12",
|
||||||
|
Loading…
Reference in New Issue
Block a user