Updateing with GA4

this is a good resource: https://www.analyticsmania.com/post/upgrade-to-google-analytics-4/

  1. Make sure you have access to both Analytics and Tag manager
  2. In Analytics -> select account you're adding this to
    1. -> Admin (bottom left)
    2. -> + Create Property
    3. Fill out info -> Next
    4. (optional) Fill out business info -> Create
    5. Choose a platform -> Web
    6. Fill out info - > Create Stream
    7. Save the MEASUREMENT ID for Tag manager
    8. go back to admin of the property -> Data Settings -> Data Retention -> change to 14 months -> Save
  3. In tag manager
    1. Tags -> new
      1. re-name
      2. Click Tag circle
      3. -> Google Analytics: GA4 Configuration
      4. -> add in the Measurement ID from Analytics above
      5. Click on Triggering
      6. -> All pages -> Save
    2. Install tag manager (if not done already)
      1. click on the GTM-### in the top middle for install instructions
      2. Install on fe_page template
    3. Preview changes
      1. Click on preview -> input the website -> once the page loads go back to the Tag Assistant -> Container Loaded -> You should see your tag manager there
    4. Submit changes
      1. Name the version and publish
  4. Check integration
    1. by going to Analytics (the GA4 property within the account)-> Reports -> Realtime
    2. Open the site in a new tab, and it should show up on the realtime report