Skip to content

Commit

Permalink
Add section: Inject GA4 scripts into a Gatsby site
Browse files Browse the repository at this point in the history
  • Loading branch information
gmacario committed Aug 15, 2023
1 parent f58afd1 commit 0c05dc5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/howto/howto-configure-google-analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ TODO

## Step-by-step instructions

### Inject GA4 scripts into a Gatsby site

Reference: <https://www.gatsbyjs.com/docs/how-to/testing/ab-testing-with-google-analytics-and-netlify/>

Edit file `src/components/header.js`

NOTE: For a site based on the <https://github.com/netlify-templates/gatsby-ecommerce-theme> template the file is called `src/components/Header/Header.js`.

TODO

### TODO

<!-- EOF -->

0 comments on commit 0c05dc5

Please sign in to comment.