Skip to content

Commit

Permalink
feat: add google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
schettn committed Sep 20, 2023
1 parent d73a22b commit 9aefd49
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 16 deletions.
5 changes: 0 additions & 5 deletions gatsby-browser.tsx

This file was deleted.

5 changes: 4 additions & 1 deletion gatsby-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ const config: GatsbyConfig = {
{
resolve: `gatsby-plugin-jaen`,
options: {
snekResourceId: `63571eee-f41c-4745-9130-d746c2cb97a3`
snekResourceId: `63571eee-f41c-4745-9130-d746c2cb97a3`,
googleAnalytics: {
trackingIds: ['G-M58K75M9PG']
}
}
}
// 'gatsby-plugin-webpack-bundle-analyser-v2'
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@atsnek/jaen": "^1.0.0-rc.20",
"@atsnek/jaen": "^1.0.0-rc.21",
"@atsnek/jaen-fields-mdx": "^1.0.0-rc.2",
"@chakra-ui/icons": "^2.1.1",
"@chakra-ui/react": "^2.8.1",
Expand All @@ -30,7 +30,7 @@
"framer-motion": "^10.0.1",
"gatsby": "^5",
"gatsby-plugin-image": "^3",
"gatsby-plugin-jaen": "^1.0.0-rc.32",
"gatsby-plugin-jaen": "^1.0.0-rc.34",
"gatsby-plugin-react-svg": "^3.3.0",
"gatsby-plugin-sharp": "^5",
"gatsby-plugin-sitemap": "^6.9.0",
Expand Down
25 changes: 17 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@
vfile-message "^4.0.2"
vfile-statistics "^3.0.0"

"@atsnek/jaen@^1.0.0-rc.20":
version "1.0.0-rc.20"
resolved "https://registry.yarnpkg.com/@atsnek/jaen/-/jaen-1.0.0-rc.20.tgz#b2e58fe30f66a469307ab5c8664c92e2f61b6ecf"
integrity sha512-4+DnMZbqX8YhkyvglWSJEvayW6tYCg0i80giB+cnvkd+TkSjzq8FoGge+sQpRnDfjR2WeGij+pP/lidHukJjIA==
"@atsnek/jaen@^1.0.0-rc.21":
version "1.0.0-rc.21"
resolved "https://registry.yarnpkg.com/@atsnek/jaen/-/jaen-1.0.0-rc.21.tgz#88aceeee73cefb129d6222cb5063df252c902b36"
integrity sha512-8SJkiuNjKoCnJqCTP5HbNRYFkt796M6NdXil1k+6vefI7A5wRgs4lEkjdkwXd9e+wv+rEvUFTPFgxlkOExMvRQ==
dependencies:
"@chakra-ui/react" "^2.8.0"
"@react-icons/all-files" "https://github.com/react-icons/react-icons/releases/download/v4.11.0/react-icons-all-files-4.11.0.tgz"
Expand Down Expand Up @@ -8484,6 +8484,14 @@ gatsby-parcel-config@1.12.0:
"@parcel/transformer-js" "2.8.3"
"@parcel/transformer-json" "2.8.3"

gatsby-plugin-google-gtag@^5.12.0:
version "5.12.0"
resolved "https://registry.yarnpkg.com/gatsby-plugin-google-gtag/-/gatsby-plugin-google-gtag-5.12.0.tgz#b7595083a74286ab92295b7c750a7a2a7adfb69e"
integrity sha512-Ih9YmiJh06pTqHZbOFCcXDjeRavT7HCafBIW7m46yJtryB3dnda1N0HhmN75dww59kEh+cbVkZS8QM58ccIKyg==
dependencies:
"@babel/runtime" "^7.20.13"
minimatch "^3.1.2"

gatsby-plugin-image@^2.12.1, gatsby-plugin-image@^3, gatsby-plugin-image@^3.11.0:
version "3.12.0"
resolved "https://registry.yarnpkg.com/gatsby-plugin-image/-/gatsby-plugin-image-3.12.0.tgz#903e84029ff74cbd4a1dbb6f755d01134678b9aa"
Expand All @@ -8504,16 +8512,17 @@ gatsby-plugin-image@^2.12.1, gatsby-plugin-image@^3, gatsby-plugin-image@^3.11.0
objectFitPolyfill "^2.3.5"
prop-types "^15.8.1"

gatsby-plugin-jaen@^1.0.0-rc.32:
version "1.0.0-rc.32"
resolved "https://registry.yarnpkg.com/gatsby-plugin-jaen/-/gatsby-plugin-jaen-1.0.0-rc.32.tgz#83fd7e20b8b5084e66aa988b0094ec20fec443a0"
integrity sha512-8KTkm4pepEkgdKozrIQ5dHiqlD1h8/EsJ75SMB6hLhKuvUj3MdvbaLM+eQnq46ZGq2EoXYXxMtVsv+40WyRP/A==
gatsby-plugin-jaen@^1.0.0-rc.34:
version "1.0.0-rc.34"
resolved "https://registry.yarnpkg.com/gatsby-plugin-jaen/-/gatsby-plugin-jaen-1.0.0-rc.34.tgz#3be22bb78a9fa2f6f4d2c20423f3ef1ffc3be655"
integrity sha512-xe7kkXfL6jZLijFPOEQEHfq3UbKB1CzAlWony56JRswczbvHVFZhaDR1fqMlquLLUulm+s38muy5sUeDvTU0XQ==
dependencies:
"@chakra-ui/react" "^2.8.0"
"@emotion/react" "^11.11.1"
"@emotion/styled" "^11.11.0"
framer-motion "^10.13.0"
gatsby-jaen-resource "^0.0.2"
gatsby-plugin-google-gtag "^5.12.0"
gatsby-plugin-manifest "^5.12.0"
gatsby-plugin-sharp "^5.11.0"
gatsby-plugin-sitemap "^6.12.0"
Expand Down

0 comments on commit 9aefd49

Please sign in to comment.