Skip to content

Commit cf011e0

Browse files
committed
added google tagmanager
1 parent 4fa3923 commit cf011e0

6 files changed

+37
-10
lines changed

website/gatsby-config.js

+11
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,17 @@ module.exports = {
147147
icon: `src/images/chillicream-favicon.png`,
148148
},
149149
},
150+
{
151+
resolve: "gatsby-plugin-google-tagmanager",
152+
options: {
153+
id: "G-RSKJWN1W8V",
154+
includeInDevelopment: false,
155+
defaultDataLayer: {
156+
platform: "gatsby",
157+
},
158+
enableWebVitalsTracking: true,
159+
},
160+
},
150161
{
151162
resolve: `gatsby-plugin-google-analytics`,
152163
options: {

website/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"gatsby": "^3.6.2",
3232
"gatsby-plugin-disqus": "^1.2.2",
3333
"gatsby-plugin-feed": "^3.6.0",
34-
"gatsby-plugin-google-analytics": "^3.6.0",
34+
"gatsby-plugin-google-analytics": "^5.3.0",
35+
"gatsby-plugin-google-tagmanager": "^5.3.1",
3536
"gatsby-plugin-graphql-codegen": "^3.0.0",
3637
"gatsby-plugin-image": "^1.6.0",
3738
"gatsby-plugin-manifest": "^3.6.0",

website/yarn.lock

+24-9
Original file line numberDiff line numberDiff line change
@@ -8139,7 +8139,8 @@ __metadata:
81398139
gatsby: ^3.6.2
81408140
gatsby-plugin-disqus: ^1.2.2
81418141
gatsby-plugin-feed: ^3.6.0
8142-
gatsby-plugin-google-analytics: ^3.6.0
8142+
gatsby-plugin-google-analytics: ^5.3.0
8143+
gatsby-plugin-google-tagmanager: ^5.3.1
81438144
gatsby-plugin-graphql-codegen: ^3.0.0
81448145
gatsby-plugin-image: ^1.6.0
81458146
gatsby-plugin-manifest: ^3.6.0
@@ -12739,18 +12740,32 @@ __metadata:
1273912740
languageName: node
1274012741
linkType: hard
1274112742

12742-
"gatsby-plugin-google-analytics@npm:^3.6.0":
12743-
version: 3.14.0
12744-
resolution: "gatsby-plugin-google-analytics@npm:3.14.0"
12743+
"gatsby-plugin-google-analytics@npm:^5.3.0":
12744+
version: 5.3.0
12745+
resolution: "gatsby-plugin-google-analytics@npm:5.3.0"
1274512746
dependencies:
1274612747
"@babel/runtime": ^7.15.4
12747-
minimatch: 3.0.4
12748+
minimatch: ^3.1.2
1274812749
web-vitals: ^1.1.2
1274912750
peerDependencies:
12750-
gatsby: ^3.0.0-next.0
12751-
react: ^16.9.0 || ^17.0.0
12752-
react-dom: ^16.9.0 || ^17.0.0
12753-
checksum: 5ed3c1ff69f1711af1e601f924bd6a210a4a8c222cacf9ad3e42038cce5207f0f8d53ba5e75059dd951e636372a777749d968e26976684131734d39ae1d26762
12751+
gatsby: ^5.0.0-next
12752+
react: ^18.0.0 || ^0.0.0
12753+
react-dom: ^18.0.0 || ^0.0.0
12754+
checksum: 037192c53525a89383e7680c5d9ad5b4359bf020add460ba863dcba5227a7a090d812cac6c7f0076e1aac38aa06f784e86baa7654a7afbc239612482a7482ff9
12755+
languageName: node
12756+
linkType: hard
12757+
12758+
"gatsby-plugin-google-tagmanager@npm:^5.3.1":
12759+
version: 5.3.1
12760+
resolution: "gatsby-plugin-google-tagmanager@npm:5.3.1"
12761+
dependencies:
12762+
"@babel/runtime": ^7.15.4
12763+
web-vitals: ^1.1.2
12764+
peerDependencies:
12765+
gatsby: ^5.0.0-next
12766+
react: ^18.0.0 || ^0.0.0
12767+
react-dom: ^18.0.0 || ^0.0.0
12768+
checksum: 86e1f9aac02729c54e643f22fc14f4f06ea5c26ca4ca3e3b6b0775a3e085843633a68b336a5f5110a0db2923bb54e65b09a04b0817a27963adf07b4086baff8d
1275412769
languageName: node
1275512770
linkType: hard
1275612771

0 commit comments

Comments
 (0)