Watch: Add Google Analytics 4 and confirm it's counting visits | Vovy

Watch Vovy do it on a Mac: "Add Google Analytics to my site and check it's working". Vovy creates a GA4 property, adds the Google tag to your site, turns on the right settings, and proves visits show up in Realtime and DebugView.

"Add Google Analytics to my site and check it's working"

Vovy creates a GA4 property, adds the Google tag to your site, turns on the right settings, and proves visits show up in Realtime and DebugView.

What happens in the video

  1. Create a GA4 property: Vovy opens analytics.google.com, you sign in, and it creates a property and a Web data stream for your domain, then copies the G- measurement ID.
  2. Add the Google tag: Cursor adds the gtag.js snippet to your site's head once, using your measurement ID from an env variable.
  3. Turn on SPA page tracking: In the data stream's Enhanced measurement, it confirms page changes based on browser history are counted, so app-style routes register as pageviews.
  4. Extend data retention: It changes Data retention from the default 2 months to 14 months under Admin, so year-over-year reports don't come up empty.
  5. Watch your visit arrive: Vovy visits your site and shows you the hit in Realtime and in Admin, Data display, DebugView, with a card of what each report means.
Read the step-by-step guide