Skip to content

Commit 04a9ebc

Browse files
committed
docs: move to GTM
1 parent aa5ac11 commit 04a9ebc

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

packages/docs/gatsby-config.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,9 @@ module.exports = {
9292
},
9393
},
9494
{
95-
resolve: `gatsby-plugin-google-gtag`,
95+
resolve: `gatsby-plugin-google-tagmanager`,
9696
options: {
97-
// You can add multiple tracking ids and a pageview event will be fired for all of them.
98-
trackingIds: [
99-
`UA-118965717-1`, // Google Analytics / GA
100-
],
97+
id: `GTM-KX4JH47`,
10198
},
10299
},
103100
],

packages/docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@mdx-js/react": "^2.3.0",
3636
"@types/react-helmet": "^6.1.6",
3737
"gatsby": "^5.10.0",
38-
"gatsby-plugin-google-gtag": "^5.10.0",
38+
"gatsby-plugin-google-tagmanager": "^5.10.0",
3939
"gatsby-plugin-image": "^3.10.0",
4040
"gatsby-plugin-manifest": "^5.10.0",
4141
"gatsby-plugin-mdx": "^5.10.0",

0 commit comments

Comments
 (0)