How to Set Up Google Analytics 4 for SEO Tracking: A Complete Walkthrough

If you migrated from Universal Analytics and still feel lost in the GA4 interface, you are not alone. Most SEO practitioners can install GA4 in five minutes, but configuring it properly to actually track SEO performance is a different story. This guide walks you through the exact Google Analytics 4 SEO setup that we use at decorateurl.com to monitor organic traffic, attribute conversions to keywords, and surface insights you cannot get from the default reports.

Why a Dedicated GA4 Setup for SEO Matters

Out of the box, GA4 is built around events and engagement, not channels. That means organic search data is buried under generic reports, keyword-level data is hidden behind Search Console integration, and conversions are not always linked back to landing pages. Without a proper configuration, you end up with vanity metrics instead of actionable SEO insights.

The good news: with the right setup, GA4 can actually deliver more granular SEO data than Universal Analytics ever did, especially when combined with custom explorations and the new audience builder.

google analytics dashboard

Step 1: Create or Verify Your GA4 Property

If you have not done it yet, head to analytics.google.com and create a new GA4 property. If you migrated from UA, double check that data is flowing correctly.

  1. Click Admin in the bottom left corner.
  2. Select Create Property and fill in the property details (timezone and currency matter for reporting).
  3. Add a Web data stream with your domain.
  4. Install the GA4 tag using Google Tag Manager or the gtag.js snippet.
  5. Use the DebugView in real time to confirm hits are firing.

Recommended Property Settings for SEO

  • Set Data Retention to 14 months (Admin > Data Settings > Data Retention). The default 2 months is useless for SEO trend analysis.
  • Enable Google signals only if your privacy policy supports it.
  • Turn on Enhanced Measurement in the data stream to automatically capture scrolls, outbound clicks, and site search.

Step 2: Connect Google Search Console to GA4

This is the single most important step for SEO tracking, and surprisingly many users skip it.

  1. Go to Admin > Product Links > Search Console Links.
  2. Click Link and select the verified Search Console property.
  3. Choose your web stream and confirm.
  4. Then go to Reports > Library (bottom left).
  5. Find the Search Console collection and click Publish.

Once published, you will see two new reports in your left navigation: Queries and Google organic search traffic. These pull keyword-level data straight from Search Console into GA4.

Step 3: Configure Conversions That Matter for SEO

SEO is about driving qualified traffic that converts. In GA4, conversions are simply events you mark as important.

Key Events to Set Up

Event Name Purpose How to Create
form_submit Track lead generation Enhanced Measurement or GTM trigger
generate_lead Mark qualified leads Custom event in Admin > Events
scroll_90 Measure deep engagement on blog content GTM trigger on 90% scroll
click_cta Track CTA performance per landing page GTM click trigger

To mark an event as a conversion, navigate to Admin > Events and toggle Mark as key event next to the event name.

google analytics dashboard

Step 4: Build Custom Dimensions for Page-Level SEO Data

Custom dimensions let you slice your data the way SEOs actually need.

  1. Go to Admin > Custom definitions.
  2. Create a custom dimension called page_template (event-scoped) to differentiate blog posts from product pages.
  3. Create another called author if you publish editorial content from multiple writers.
  4. Push these values via dataLayer in GTM, then map them to your GA4 config tag.

Step 5: Create Custom Explorations for SEO

The Explore section is where GA4 truly shines for SEO analysis. Here are three explorations you should build immediately.

1. Organic Landing Page Performance

  • Technique: Free form
  • Dimensions: Landing page + query string, Session source / medium
  • Metrics: Sessions, Engaged sessions, Engagement rate, Key events, Average engagement time
  • Filter: Session source / medium exactly matches google / organic

2. Keyword to Conversion Path

  • Technique: Path exploration
  • Starting point: Landing page
  • End point: your key event (form_submit, purchase, etc.)
  • This shows the actual user journey from organic landing pages to conversion.

3. SEO Cohort Retention

  • Technique: Cohort exploration
  • Inclusion: First session source = google
  • Return criteria: Any event
  • This tells you whether your SEO traffic actually comes back, a strong signal of content quality.

Step 6: Build an Organic Traffic Audience

Audiences in GA4 can be exported to Google Ads or used in remarketing, but they are also great for analysis.

  1. Go to Admin > Audiences > New audience.
  2. Add a condition: First user source = google AND First user medium = organic.
  3. Save it as SEO Visitors.
  4. Use it as a comparison in any standard report to instantly filter for organic users.

Step 7: Set Up SEO Alerts and Custom Insights

GA4 lets you create custom insights that email you when something unusual happens.

  • Go to Reports > Insights > Create.
  • Create an insight for weekly drop in organic sessions greater than 20%.
  • Create another for spike in 404 events (if you track them as custom events).
  • Add your email to be notified.
google analytics dashboard

Step 8: Connect BigQuery for Long-Term SEO Analysis

If you want to keep SEO data beyond 14 months or run advanced queries, the free BigQuery export is a game changer.

  1. Go to Admin > BigQuery Links.
  2. Connect a Google Cloud project (the sandbox tier is free).
  3. Select daily export.
  4. Query historical organic data with SQL or visualize it in Looker Studio.

Common GA4 SEO Setup Mistakes to Avoid

  • Leaving data retention at 2 months
  • Forgetting to publish the Search Console report collection
  • Using session-scoped custom dimensions when event-scoped is needed
  • Not excluding internal traffic (Admin > Data Streams > Configure tag settings > Define internal traffic)
  • Ignoring referral exclusions for payment gateways and subdomains

Final Checklist

Task Done?
GA4 property created and tag firing
Data retention set to 14 months
Search Console linked and reports published
Key events marked as conversions
Custom dimensions configured
SEO explorations built
Organic audience created
BigQuery export enabled

FAQ

Is GA4 good for SEO tracking?

Yes, when configured properly. GA4 connects natively to Search Console, offers more flexible event tracking than Universal Analytics, and gives you free BigQuery exports for unlimited historical analysis.

Can I see keyword data directly in GA4?

You can see queries in the Search Console reports inside GA4 once the integration is published. However, GA4 itself does not store keyword data at the user level due to privacy restrictions, so the Queries report is the main source.

How long does it take for GA4 SEO data to populate?

Real-time hits appear within seconds. Standard reports can take 24 to 48 hours. Search Console data in GA4 typically refreshes every 48 hours.

Do I need GTM to set up GA4 for SEO?

Not strictly, but it makes life much easier. GTM allows you to deploy custom events, dataLayer pushes, and triggers without touching site code, which is essential for advanced SEO tracking.

Should I still use Universal Analytics data?

Universal Analytics stopped processing data in July 2023 and historical data access ended in 2024. GA4 is now the only option, so focus all your effort on optimizing your GA4 setup.

With this configuration in place, your Google Analytics 4 SEO setup will give you the granularity, retention, and reporting flexibility needed to make real decisions. Bookmark this guide and revisit it every quarter to keep your tracking aligned with your SEO strategy.

Leave a Comment