/lesson-08

Google Search Console & Analytics: A Setup Guide

Set up Google Search Console and GA4 step by step: verify your site, submit a sitemap, and link Search Console to Google Analytics.

Lesson 8 of 3010 min readUpdated Sep 27, 2026

Key takeaways

  • Search Console shows how people find you in Google; GA4 shows what they do once they arrive.
  • A Domain property, verified with a DNS TXT record, covers every protocol and subdomain in one view.
  • Most CMSs create a sitemap for you; submit its URL under Indexing > Sitemaps and check the status.
  • Linking Search Console to GA4 brings organic search data into your Analytics reports.

Setting up Google Search Console (GSC) is the first technical step in SEO. It bridges the gap between your website and Google's index. While Google Analytics (GA4) tells you what users do on your site, GSC tells you how they found you.

Here is how to get verified and submit data correctly.

1. Verifying Site Ownership

Google requires proof that you own the website before showing you sensitive data. There are two main property types you can create:

Option A: Domain Property (Recommended)

This is the "Gold Standard" because it tracks everything (http, https, www, and non-www) in one view.

  • Requires: Access to your DNS provider (GoDaddy, Namecheap, Cloudflare, etc.).

How to do it:

  1. Select "Domain" on the welcome screen.
  2. Enter your domain (e.g., example.com) without https://.
  3. Google will generate a TXT record (a long string of random text).
  4. Log in to your domain registrar, find "DNS Management," and add a new TXT record. Paste the text from Google.
  5. Wait 5–10 minutes (sometimes up to 24 hours) and click Verify in GSC.

Option B: URL Prefix

This is easier if you cannot access your DNS, but it only tracks the exact URL you enter.

  • HTML Tag Method: Copy the <meta> tag provided by GSC and paste it into the <head> section of your website's homepage code.
  • HTML File Method: Download the verification file and upload it to your website's root folder (requires FTP/cPanel access).
  • Google Analytics Method: If you already have GA4 installed on the site with "Edit" permissions, GSC can verify you automatically.

2. Submitting Your First Sitemap

A Sitemap is a file (usually .xml) that lists all your important pages. It guides Googlebot to your content like a roadmap.

Step 1: Find Your Sitemap URL

You do not need to write this file manually. Most modern platforms generate it for you:

  • WordPress: If you use Yoast SEO or RankMath, your sitemap is usually at example.com/sitemap_index.xml.
  • Shopify/Wix/Squarespace: Usually located at example.com/sitemap.xml.
  • Manual Check: Type your domain followed by /sitemap.xml in your browser. If you see a page full of code/links, that is it.

Step 2: Submit to Google Search Console

  1. Log in to Google Search Console.
  2. In the left sidebar, click Index > Sitemaps.
  3. In the "Add a new sitemap" field, paste the end of your URL (e.g., sitemap.xml).
  4. Click Submit.
Status Check: You should see a green "Success" status. If you see "Couldn't Fetch," wait 24 hours. If it persists, check that your robots.txt file isn't blocking Google.

3. Connecting GSC to Google Analytics (GA4)

For a complete view, link these two tools. This allows you to see organic search data directly inside your Analytics dashboard.

  1. Go to Google Analytics (GA4) > Admin.
  2. Scroll down to Product Links and click Search Console Links.
  3. Click Link, choose your verified GSC property, and select your web stream.
  4. Click Submit.

Conclusion

With Google Search Console and Analytics properly set up, you now have the foundation for data-driven SEO. GSC shows you how Google sees your site, while GA4 reveals user behavior. Together, they provide a complete picture of your website's performance.

/wizard

Put the course into practice

pSEO Wizard reads your website and writes one landing page per search, using only facts from your site.

Make my free page

Your first page is free. No card needed.