Skip to content

Commit

Permalink
reinstalling ga plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Cesar Faber authored and Cesar Faber committed Feb 9, 2024
1 parent f297279 commit 16b29a6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
18 changes: 12 additions & 6 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ module.exports = {
siteUrl: `https://www.cesarolvr.com`,
},
plugins: [
{
resolve: `gatsby-plugin-google-gtag`,
options: {
trackingIds: [
"G-RBL0Y5VB5K",
],
pluginConfig: {
head: true,
// anonymize_ip: true,
},
},
},
"gatsby-plugin-sass",
"gatsby-plugin-image",
"gatsby-plugin-sitemap",
Expand Down Expand Up @@ -39,11 +51,5 @@ module.exports = {
crossOrigin: `use-credentials`,
},
},
{
resolve: `gatsby-plugin-google-analytics`,
options: {
trackingId: "G-RBL0Y5VB5K",
},
}
],
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"classnames": "^2.5.1",
"countup.js": "^2.8.0",
"gatsby": "^5.13.1",
"gatsby-plugin-google-analytics": "^5.13.1",
"gatsby-plugin-google-gtag": "^5.13.1",
"gatsby-plugin-image": "^3.13.0",
"gatsby-plugin-manifest": "^5.13.1",
"gatsby-plugin-postcss": "^6.13.0",
Expand Down
12 changes: 3 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5348,14 +5348,13 @@ gatsby-parcel-config@1.13.1:
"@parcel/transformer-js" "2.8.3"
"@parcel/transformer-json" "2.8.3"

gatsby-plugin-google-analytics@^5.13.1:
gatsby-plugin-google-gtag@^5.13.1:
version "5.13.1"
resolved "https://registry.yarnpkg.com/gatsby-plugin-google-analytics/-/gatsby-plugin-google-analytics-5.13.1.tgz#6406e8b52a5df67ca3978a1d6f6ca661a7f6ac61"
integrity sha512-6TzvUPW7CBpfpSIqpcvaRwRKTYgM3CKqSnfyRIY16vlAKYkAtZLXm3PkIbg0+mM+WzY6GRnAoeXqRkXJv0FK9A==
resolved "https://registry.yarnpkg.com/gatsby-plugin-google-gtag/-/gatsby-plugin-google-gtag-5.13.1.tgz#81b294f2ab12dad5ba5e9946e4b78cd315676bbc"
integrity sha512-aaJKIDwUWwhooJnalse1uvcusBmCwCVK33pp1IrDU02E7IohMen3eR5TsjLbfKO7Z+SbfKJEqUoi/r0ozrJarA==
dependencies:
"@babel/runtime" "^7.20.13"
minimatch "^3.1.2"
web-vitals "^1.1.2"

gatsby-plugin-image@^3.13.0:
version "3.13.1"
Expand Down Expand Up @@ -10087,11 +10086,6 @@ weak-lru-cache@^1.2.2:
resolved "https://registry.yarnpkg.com/weak-lru-cache/-/weak-lru-cache-1.2.2.tgz#fdbb6741f36bae9540d12f480ce8254060dccd19"
integrity sha512-DEAoo25RfSYMuTGc9vPJzZcZullwIqRDSI9LOy+fkCJPi6hykCnfKaXTuPBDuXAUcqHXyOgFtHNp/kB2FjYHbw==

web-vitals@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/web-vitals/-/web-vitals-1.1.2.tgz#06535308168986096239aa84716e68b4c6ae6d1c"
integrity sha512-PFMKIY+bRSXlMxVAQ+m2aw9c/ioUYfDgrYot0YUa+/xa0sakubWhSDyxAKwzymvXVdF4CZI71g06W+mqhzu6ig==

webidl-conversions@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"
Expand Down

0 comments on commit 16b29a6

Please sign in to comment.