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.
Related terms
- Google Tag ManagerA free tag management system that loads and controls marketing and analytics tags from one container, identified by a GTM-XXXX ID.
- Duplicate Analytics TrackingWhen GA4 loads more than once on a page—for example hard-coded with gtag.js and again through GTM—causing inflated, unreliable data.
- Conversion Event TrackingMarking the high-value actions on your site—form submits, purchases, signups—as GA4 key events so they can be measured and optimized.
- Consent Mode v2Google's framework for adjusting how its tags behave based on a visitor's cookie consent, signaled by ad and analytics consent parameters.
Official references
- Google Analytics Help: Set up Analytics for a website (GA4)
- Google Developers: gtag.js install instructions
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.