Analytics & Tracking

Google Analytics 4

Also known as GA4 · gtag.js

Google's current web and app analytics platform, identified by a G-XXXX measurement ID and loaded via the gtag.js tag.

What it is

Google Analytics 4 (GA4) is the current generation of Google's free analytics product, replacing Universal Analytics. It uses an event-based data model and is installed by adding the gtag.js snippet, or a GA4 tag fired through Google Tag Manager, with a G-XXXX measurement ID.

Why it matters

GA4 is the baseline for measuring how people arrive at and behave on your site, including traffic from AI assistants and answer engines that increasingly send referral or direct visits. Without it you cannot quantify whether AI search visibility, SEO, and content changes actually move sessions and conversions.

How to verify

View source or open DevTools Network and filter for 'collect' or 'g/collect' requests to google-analytics.com, and confirm a G- measurement ID is present. The GA4 DebugView and Google's Tag Assistant extension both confirm the tag is firing on the page.

How to fix

Create a GA4 property to obtain a G-XXXX measurement ID, then add the gtag.js snippet high in the <head>, or fire a GA4 Configuration tag through Google Tag Manager. Confirm real-time data appears in GA4 before relying on the numbers.

In the checklist

This concept maps to a check in the GEO Score checklist.

Use the checklist

Related terms

Official references

External, opens in a new tab.

Put this into practice.

Work through every check by hand and turn it into a shareable GEO Score report — or scan your site automatically in seconds.