Kanity Solutions Course

Connecting Google Search Console & Analytics with WordPress

Connecting Google Search Console & Google Analytics with WordPress

One of the most powerful things about digital marketing is that you can measure everything. But to measure, you need the right tools — and that’s where Google Search Console and Google Analytics come in.

In this lesson, you’ll learn:

  • What Google Search Console and Analytics are
  • Why they’re essential for digital marketers
  • How to connect both tools to your WordPress website
  • Free tools and plugins to make it super easy

🧠 Why You Need These Tools

ToolWhat It Tracks
Google Search ConsoleHow your site appears in Google Search (keywords, errors, rankings)
Google AnalyticsHow users behave on your site (visits, clicks, devices, countries)

Together, these tools help you:

  • See what people are searching to find you
  • Identify which pages get the most traffic
  • Track user behavior, bounce rates, and conversions
  • Fix SEO errors and improve site performance

🔧 Step 1: Set Up Google Search Console

✅ Create a Google Search Console Account

  1. Go to https://search.google.com/search-console
  2. Click “Start Now” and log into your Google account
  3. Choose Domain or URL prefix property
    • Use URL prefix if you’re using WordPress and want to verify with a plugin

✅ Verify Your Website

If you chose URL prefix, you can verify your site easily using a plugin like Rank Math or Yoast SEO.

Using Rank Math:

  1. Install and activate Rank Math plugin
  2. Go to Rank Math > General Settings > Webmaster Tools
  3. Paste the HTML verification code from Google
  4. Save changes, then go back to Search Console and click Verify

📊 Step 2: Set Up Google Analytics (GA4)

Google Analytics helps you understand your audience — who they are, where they’re from, and what they do on your site.

✅ Create a GA4 Property

  1. Go to https://analytics.google.com
  2. Click Admin > Create Property
  3. Set up your property name, time zone, and currency
  4. Choose Web > Enter your website URL
  5. Copy the Measurement ID (starts with G-…)

🔌 Step 3: Connect GA4 to WordPress

There are two easy ways to connect Google Analytics to WordPress:

🔹 Option 1: Use a Plugin (Recommended)

Plugin: Site Kit by Google

  1. Go to Plugins > Add New
  2. Search Site Kit by Google and install
  3. Activate and follow the setup wizard
  4. Connect your Google account, Analytics, and Search Console

✅ Site Kit gives you all your Google data inside your WordPress dashboard!

🔹 Option 2: Manual Insertion (Advanced)

If you prefer not to use a plugin:

  1. Copy the GA4 Global Site Tag from Google Analytics
  2. Go to Appearance > Theme File Editor
  3. Paste the code inside the <head> section of header.php
  4. Save changes

⚠️ Only do this if you’re comfortable editing code — or use a child theme to avoid issues during updates.


🔍 How to Check if It’s Working

  • For Search Console, go to your dashboard and check if Google starts showing data in a few days
  • For Google Analytics, visit your site and go to Realtime tab in Analytics to see your visit tracked

✅ Task for Today

  1. Create your Google Search Console account
  2. Install Rank Math or Yoast SEO and verify your site
  3. Set up Google Analytics (GA4)
  4. Install Site Kit to connect everything in one place
  5. Visit your site and confirm tracking is working

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top