Skip to content

Commit e4ee7f4

Browse files
committed
feat: add GTM
1 parent 9d671cb commit e4ee7f4

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

website/gatsby-config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ module.exports = {
1313
menu: staticConfig.menu,
1414
},
1515
plugins: [
16+
{
17+
resolve: "gatsby-plugin-google-tagmanager",
18+
options: {
19+
id: "GTM-WQFP7W4H",
20+
},
21+
},
1622
{
1723
resolve: 'gatsby-plugin-manifest',
1824
options: {

website/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"gatsby": "4.25.7",
2323
"gatsby-plugin-catch-links": "3.14.0",
2424
"gatsby-plugin-emotion": "^4.0.0",
25+
"gatsby-plugin-google-tagmanager": "^5.12.3",
2526
"gatsby-plugin-manifest": "3.14.0",
2627
"gatsby-plugin-netlify-cms": "5.14.0",
2728
"gatsby-plugin-react-helmet": "4.14.0",

website/yarn.lock

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,6 +1419,13 @@
14191419
dependencies:
14201420
regenerator-runtime "^0.13.11"
14211421

1422+
"@babel/runtime@^7.20.13":
1423+
version "7.23.2"
1424+
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.2.tgz#062b0ac103261d68a966c4c7baf2ae3e62ec3885"
1425+
integrity sha512-mM8eg4yl5D6i3lu2QKPuPH4FArvJ8KhTofbE7jwMUv9KX5mBvwPAqnV3MlyBNqdp9RyRKP6Yck8TrfYrPvX3bg==
1426+
dependencies:
1427+
regenerator-runtime "^0.14.0"
1428+
14221429
"@babel/template@^7.16.7":
14231430
version "7.16.7"
14241431
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.16.7.tgz#8d126c8701fde4d66b264b3eba3d96f07666d155"
@@ -6346,6 +6353,14 @@ gatsby-plugin-emotion@^4.0.0:
63466353
"@babel/runtime" "^7.12.5"
63476354
"@emotion/babel-preset-css-prop" "^10.0.27"
63486355

6356+
gatsby-plugin-google-tagmanager@^5.12.3:
6357+
version "5.12.3"
6358+
resolved "https://registry.yarnpkg.com/gatsby-plugin-google-tagmanager/-/gatsby-plugin-google-tagmanager-5.12.3.tgz#b9e3a9825c4afb77b60d5da20d6091cc55b8c11d"
6359+
integrity sha512-qq5S+YmyZkC4LM6eRG24r3CqeIzdUZhcsR/x4MwJOYbIsy/X+Ify43YpQWlCrG2Mkbd0vMuyiRsv4IMELaB38g==
6360+
dependencies:
6361+
"@babel/runtime" "^7.20.13"
6362+
web-vitals "^1.1.2"
6363+
63496364
63506365
version "3.14.0"
63516366
resolved "https://registry.yarnpkg.com/gatsby-plugin-manifest/-/gatsby-plugin-manifest-3.14.0.tgz#1f17e35f2e51b86f627d74a6fd6ccfefc4968ddd"
@@ -11357,6 +11372,11 @@ regenerator-runtime@^0.13.11, regenerator-runtime@^0.13.7:
1135711372
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9"
1135811373
integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==
1135911374

11375+
regenerator-runtime@^0.14.0:
11376+
version "0.14.0"
11377+
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz#5e19d68eb12d486f797e15a3c6a918f7cec5eb45"
11378+
integrity sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==
11379+
1136011380
regenerator-transform@^0.15.0:
1136111381
version "0.15.0"
1136211382
resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.15.0.tgz#cbd9ead5d77fae1a48d957cf889ad0586adb6537"
@@ -13537,6 +13557,11 @@ web-namespaces@^1.0.0, web-namespaces@^1.1.2:
1353713557
resolved "https://registry.yarnpkg.com/web-namespaces/-/web-namespaces-1.1.4.tgz#bc98a3de60dadd7faefc403d1076d529f5e030ec"
1353813558
integrity sha512-wYxSGajtmoP4WxfejAPIr4l0fVh+jeMXZb08wNc0tMg6xsfZXj3cECqIK0G7ZAqUq0PP8WlMDtaOGVBTAWztNw==
1353913559

13560+
web-vitals@^1.1.2:
13561+
version "1.1.2"
13562+
resolved "https://registry.yarnpkg.com/web-vitals/-/web-vitals-1.1.2.tgz#06535308168986096239aa84716e68b4c6ae6d1c"
13563+
integrity sha512-PFMKIY+bRSXlMxVAQ+m2aw9c/ioUYfDgrYot0YUa+/xa0sakubWhSDyxAKwzymvXVdF4CZI71g06W+mqhzu6ig==
13564+
1354013565
web-worker@^1.2.0:
1354113566
version "1.2.0"
1354213567
resolved "https://registry.yarnpkg.com/web-worker/-/web-worker-1.2.0.tgz#5d85a04a7fbc1e7db58f66595d7a3ac7c9c180da"

0 commit comments

Comments
 (0)