Google Analytics 4 Guide 2026: Complete Setup, Reports & Best Practices

Google Analytics 4 (GA4) is now the standard for website analytics — Universal Analytics was permanently shut down in 2023. But GA4's event-based model and new interface feel very different from what many website owners were used to. This complete guide covers GA4 from scratch: understanding the new data model, setting up tracking correctly, navigating the most important reports, configuring conversions, using Explorations for deep analysis, and connecting GA4 with other tools to get a complete picture of your website's performance.

2026 Update: Google Analytics 4 now requires Consent Mode v2 compliance in the EU, UK, and EEA markets. Sites without proper consent mode implementation risk data gaps and potential regulatory issues. This guide covers consent mode setup in Section 10.

1. What Is Google Analytics 4?

Google Analytics 4 is Google's fourth generation analytics platform, built around an event-based data model instead of the session-and-pageview model of Universal Analytics. Every user interaction — from pageviews and clicks to scrolls, video plays, and purchases — is tracked as an "event" with associated parameters.

GA4 vs. Universal Analytics: Key Differences

Feature Universal Analytics Google Analytics 4
Data ModelSessions + PageviewsEvents + Parameters
Cross-PlatformWeb only (separate app)Web + App unified
Bounce RateSingle-page session exitsReplaced by Engagement Rate
BigQuery ExportGA 360 only (paid)Free for all
Funnel AnalysisGA 360 only (paid)Free Explorations
Predictive MetricsNot availablePurchase probability, churn probability
Data RetentionUp to 50 monthsUp to 14 months default

2. How to Set Up GA4 on Your Website

Setting up GA4 correctly from the start saves hours of debugging later. Follow these steps in order:

1

Create a GA4 Property

Go to analytics.google.com → Admin → Create Property. Enter your property name (your business name) and select your time zone and currency. If you had Universal Analytics, create a new GA4 property alongside it rather than converting.

2

Add a Web Data Stream

In your new property → Admin → Data Streams → Add Stream → Web. Enter your website URL and a stream name. Copy your Measurement ID (G-XXXXXXXXXX) — you'll need this to add tracking to your site.

3

Install the Tracking Code

Choose your installation method:

  • Google Tag Manager (recommended): Add a GA4 Configuration tag with your Measurement ID. Best for flexibility and additional tracking later.
  • Direct HTML: Add the gtag.js snippet before the </head> tag on every page.
  • CMS plugins: WordPress (GA4 for WordPress by ExactMetrics or Site Kit by Google), Shopify (GA4 built into checkout), Squarespace (GA4 integration in Analytics settings).
4

Enable Enhanced Measurement

In Data Streams → your stream → Enhanced measurement, enable: Scrolls (90% scroll depth), Outbound clicks, Site search (if you have a search function), Video engagement (YouTube embeds), File downloads. These auto-track without any additional code.

5

Verify Tracking

Open GA4 → Reports → Realtime. Visit your website in another tab. You should see 1 active user appear in Realtime within 30 seconds. If not, check: Is the Measurement ID correct? Is the tag firing (use GA4 DebugView via GTM Preview Mode)?

3. Understanding GA4's Event-Based Data Model

In GA4, every user action is an event. Understanding event types helps you know what's tracked automatically versus what you need to configure:

Automatically Collected Events

Tracked without any setup: session_start, first_visit, page_view, user_engagement

Enhanced Measurement Events (enable in settings)

scroll, click (outbound), view_search_results, video_start/video_progress/video_complete, file_download

Recommended Events (implement manually)

Standard events Google recommends for specific industries: purchase, add_to_cart, begin_checkout, sign_up, login, generate_lead, view_item

Custom Events (define yourself)

Any event you create with your own name and parameters. Use for business-specific actions: chatbot_opened, pricing_viewed, demo_requested, trial_started. Implement via GTM or gtag.js code.

4. The Most Important GA4 Reports

Traffic Acquisition Report

Reports → Acquisition → Traffic acquisition. Shows which channels drive sessions to your site: Organic Search, Direct, Referral, Organic Social, Email, Paid Search.

Key insight: Add "Session default channel group" as a secondary dimension alongside Engagement rate and Conversions to see which channels deliver the highest-quality traffic, not just the most volume.

Pages and Screens Report

Reports → Engagement → Pages and screens. Shows which pages receive the most views, unique viewers, average engagement time, and event counts.

Key insight: Sort by "Views" to find your most popular pages, then check "Average engagement time per session" — low engagement on high-traffic pages signals content/UX problems worth fixing.

Engagement Rate (Replacing Bounce Rate)

GA4 replaced Bounce Rate with Engagement Rate. A session is "engaged" if it lasts 10+ seconds, has a conversion event, or has 2+ page/screen views. Engagement rate = engaged sessions / total sessions.

What's good: 60%+ engagement rate is generally healthy. Below 40% on landing pages suggests the page isn't delivering on what users expected from the traffic source.

Conversions Report

Reports → Engagement → Conversions. Shows all events marked as conversions with counts and revenue (if applicable). Filter by channel to see conversion rates by acquisition source.

Key setup: Mark your most important events as conversions in Admin → Events → toggle "Mark as conversion". Common conversions: form_submit, purchase, sign_up, schedule_demo.

User Demographics and Tech Reports

Reports → Demographics → Demographic details (age, gender, interests). Reports → Tech → Tech details (browser, device, OS). Essential for understanding your actual audience versus assumed audience.

Accessibility implication: Tech reports reveal what % of users are on mobile vs. desktop — critical for prioritizing your accessibility and performance optimization efforts (mobile users often have slower connections and may use assistive technology).

5. GA4 Explorations: Advanced Analysis for Free

Explorations (formerly Analysis Hub) provides advanced analysis techniques previously available only in GA 360. Access from the left sidebar → Explore.

Funnel Exploration

Visualize the steps users take toward a conversion and see exactly where they drop off. Create funnels for: checkout process (add_to_cart → begin_checkout → purchase), signup flow, or any multi-step user journey.

Path Exploration

See which pages users visit after or before a specific page. Understand organic navigation patterns — where do users go after your homepage? What page do people visit immediately before they convert?

Cohort Exploration

Analyze groups of users who share a common characteristic (first visit date, first conversion date). Track retention: what % of users who first visited in week 1 return in week 2, 3, 4?

Segment Overlap

Compare up to 3 user segments to find intersections. Example: what users are both from organic search AND have high purchase intent (viewed pricing page)?

User Lifetime

Analyze users' lifetime value and behaviors from acquisition through their entire history on your site. Essential for subscription and ecommerce businesses.

Free Form

Build custom pivot table reports with any combination of dimensions and metrics. The most flexible report type for answering specific business questions.

6. Setting Up Conversions in GA4

GA4 conversions replace Universal Analytics Goals. Any event can be marked as a conversion, and GA4 shows conversion data across all standard reports.

Step-by-Step: Mark an Event as a Conversion

  1. 1.Go to Admin → Events (under your property)
  2. 2.Find the event you want to track as a conversion (e.g., form_submit, purchase)
  3. 3.Toggle "Mark as conversion" to the on position
  4. 4.The event now appears in Admin → Conversions and in all standard reports
  5. 5.To track a page-view-based conversion (thank you page), create a new event in Admin → Events → Create event, triggered when page_location contains "/thank-you"
Business Type Recommended Conversions
Lead Generationgenerate_lead, form_submit, schedule_demo, contact_form_sent
Ecommercepurchase, add_to_cart, begin_checkout, add_to_wishlist
SaaS / Softwaresign_up, trial_started, pricing_page_view, demo_requested
Content / Medianewsletter_signup, video_complete, file_download, article_read
Services / Agencyphone_call, contact_form_sent, consultation_booked, portfolio_viewed

7. GA4 Audiences: Segmenting Users for Analysis and Remarketing

Audiences are segments of users that match conditions you define. GA4 audiences serve two purposes: analysis (filtering reports by audience) and remarketing (using audiences in Google Ads campaigns).

Useful Audiences to Create

  • High-value prospects: Users who viewed pricing page but didn't convert
  • Engaged blog readers: Users who read 3+ articles or scrolled 90% of a post
  • Cart abandoners: Users who triggered add_to_cart but not purchase
  • Power users: Users who return 5+ times in 30 days
  • Mobile-only users: Users who exclusively visit on mobile devices

Create audiences in Admin → Audiences → New audience. Audiences are retroactive — they start populating from creation date, not historical data.

8. Connecting GA4 with Google Search Console

Linking GA4 with Google Search Console (GSC) brings organic search keyword data directly into GA4 reports — showing which search queries drive traffic and how those users engage with your site.

How to Link GA4 and Search Console

  1. 1.In GA4 → Admin → Product Links → Search Console Links
  2. 2.Click "Link" and select your Search Console property
  3. 3.Choose the web stream to associate with the GSC property
  4. 4.After 24–48 hours, "Search Console" reports appear in GA4 under Acquisition

Once linked, GA4's "Queries" report shows which Google search queries sent visitors to your site — including clicks, impressions, CTR, and average position alongside GA4 engagement metrics. This is powerful for identifying high-impression, low-CTR keywords where better title tags or meta descriptions could significantly increase traffic.

9. GA4 Data Retention: What to Know

GA4's default data retention period is only 2 months for user-level data and 14 months maximum (configurable in Admin). After that, historical data in Explorations is no longer accessible.

Action required: Immediately increase data retention to 14 months in GA4 Admin → Data Settings → Data Retention. The default 2-month setting means you lose year-over-year comparison data in Explorations after just 2 months.

Standard reports (Acquisition, Engagement, etc.) aggregate data and retain it indefinitely. Only Explorations (which require raw user-level data) are affected by the retention limit. To keep historical raw data beyond 14 months, export to BigQuery — the free daily export is one of GA4's most valuable features.

10. GA4 Consent Mode v2: Privacy Compliance

Consent Mode v2 is required for sites targeting users in the EU, UK, and EEA as of March 2024. It tells GA4 how to behave based on user consent choices.

Consent Signal What GA4 Does
analytics_storage: grantedFull tracking — cookies and full event data collected
analytics_storage: deniedCookieless pings only — no user identifiers, data modeled via ML
ad_storage: deniedGoogle Ads remarketing and conversion tracking limited
ad_personalization: deniedAds personalization disabled, no remarketing audiences

Implement Consent Mode via your CMP (OneTrust, Cookiebot, CookieYes) or directly in Google Tag Manager using the Consent Initialization trigger. Without proper consent mode, GA4 data for EU users may be incomplete and your use of GA4 for advertising may violate GDPR.

11. Common GA4 Setup Mistakes to Avoid

Not increasing data retention to 14 months

Default is 2 months — you lose historical Exploration data immediately. Fix in Admin → Data Settings → Data Retention.

Including internal traffic in reports

Your own visits inflate metrics. Create an internal traffic filter in Admin → Data Streams → Configure Tag Settings → Define internal traffic, then add an IP exclusion filter.

Not marking any events as conversions

Without conversions, you can't measure what's working. Mark at least one meaningful business action (form submission, purchase, sign-up) as a conversion immediately after setup.

Ignoring cross-domain tracking for multi-domain setups

If users move between your main site and a separate checkout domain, GA4 creates a new session at the domain boundary. Configure cross-domain measurement in Tag Settings.

Comparing GA4 numbers directly to Universal Analytics

GA4 calculates metrics differently (sessions, bounce rate, conversions). The numbers are not directly comparable — expect GA4 to show lower sessions and higher conversion rates for the same traffic.

12. GA4 and Website Health Monitoring: How They Work Together

GA4 tells you how users behave on your site. PageGuard tells you why your site may be underperforming technically — slow page loads, accessibility barriers, and SEO issues that drive users away before GA4 can even record an engaged session.

Complementary Insights

GA4 shows high bounce rate on a landing page → PageGuard scan reveals slow load time (poor LCP) causing users to leave before engaging
GA4 shows low organic search traffic → PageGuard identifies technical SEO issues (missing meta descriptions, broken canonical tags) limiting Google indexability
GA4 shows poor mobile engagement rate → PageGuard accessibility audit reveals keyboard navigation or screen reader issues affecting mobile-assistive-technology users
GA4 shows low conversion rate from organic traffic → PageGuard Core Web Vitals score shows poor CLS causing buttons to shift and users to accidentally click wrong elements

Find What GA4 Can't Tell You

GA4 shows visitor behavior after they arrive. PageGuard reveals technical issues — slow load times, accessibility barriers, SEO problems — that prevent visitors from arriving and converting in the first place. Get a free website health scan in 30 seconds to complement your GA4 analytics.

Frequently Asked Questions

What is Google Analytics 4 and how is it different from Universal Analytics?
GA4 is Google's current analytics platform using an event-based data model, replacing Universal Analytics which was shut down July 1, 2023. Key differences: GA4 uses events instead of sessions/pageviews, supports cross-platform (web + app) tracking, includes free BigQuery export and funnel analysis (previously paid features), and uses machine learning to model conversions for privacy-compliant analytics without cookies.
How do I set up GA4 on my website?
Create a GA4 property in analytics.google.com → Admin → Create Property. Add a Web data stream with your URL to get a Measurement ID (G-XXXXXXXXXX). Install tracking via Google Tag Manager (recommended), direct HTML snippet, or a CMS plugin. Enable Enhanced Measurement in stream settings, then verify tracking by checking the Realtime report while visiting your site. Set data retention to 14 months and mark key events as conversions.
What are the most important GA4 reports for website owners?
The most important GA4 reports are Traffic Acquisition (where visitors come from), Pages and Screens (which content performs best), Conversions (goal completions), and the Explore section for funnel analysis and path exploration. Connect GA4 with Google Search Console to see organic keyword data in the Acquisition reports.
What is a GA4 conversion event and how do I track goals?
GA4 conversions are events marked as important business outcomes. To track goals: ensure the event fires (form_submit, purchase, sign_up, etc.), go to Admin → Events, find the event, and toggle "Mark as conversion". For page-based goals (thank you page), create a new event in Admin → Events → Create event triggered by page_location containing your thank you URL. Conversions then appear across all GA4 reports.
How do I reduce GA4 data discrepancies and sampling issues?
Common causes: ad blockers (10–40% of users block GA4), consent mode gaps (configure Consent Mode v2 for EU users), internal traffic (add an IP exclusion filter), cross-domain issues (configure cross-domain measurement for separate checkout domains), and Exploration sampling (apply date filters to reduce data volume). Standard reports don't sample; sampling only affects Explorations with large datasets.

Related Guides