Skip to content

Commit

Permalink
adds ga4
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolfix committed Apr 17, 2023
1 parent f31a9ea commit 4dfb085
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 18 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
.DS_Store
.cache
public
node_modules
.env
.env.development
.env.production
.contentful/export-model-and-content.json
.yarn
8 changes: 0 additions & 8 deletions .gitignore copy

This file was deleted.

6 changes: 6 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ module.exports = {
"Create custom landing pages using Gatsby and Contentful with this Gatsby Starter",
},
plugins: [
{
resolve: `gatsby-plugin-google-gtag`,
options: {
trackingIds: ["G-7F1SE12JLR"],
},
},
{
resolve: `gatsby-theme-landing-page`,
options: contentfulConfig,
Expand Down
57 changes: 47 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"dependencies": {
"@fontsource/inter": "^4.5.1",
"gatsby": "^5.4.0",
"gatsby-plugin-google-gtag": "^5.8.0",
"gatsby-plugin-manifest": "^5.0.0",
"gatsby-source-contentful": "^8.0.0",
"gatsby-theme-landing-page": "1.0.2",
Expand Down

0 comments on commit 4dfb085

Please sign in to comment.