• E-Commerce
    • eCommerce
    • Amazon FBA
    • Dropshipping
  • Marketing
    • Digital Marketing
    • Social Media
    • Email Marketing
  • Blogging
    • Blogging & Niche Websites
    • Artificial Intelligence
    • SEO
    • Monetization
    • Affiliate Marketing
  • Make Money
    • Side Hustles
    • Self Publishing
    • Start a Business
    • Make Money Online
  • Stories
    • Podcasts
    • Success Stories
  • Help & Guides
    • Start Here
    • Community
    • Tools
    • About
    • Archives
    • Contact
    • Advertise On Niche Pursuits
Wordpress

3 Easy Ways to Add Google Search Console to WordPress

<a class="txt-link" href=https://www.nichepursuits.com/add-google-search-console-to-wordpress/Steve Allen</a>" src="https://secure.gravatar.com/avatar/45f5d05b1112f5a65b3ac338fb073ae8?s=60&r=g" srcset="https://secure.gravatar.com/avatar/45f5d05b1112f5a65b3ac338fb073ae8?s=120&r=g 2x" class="avatar avatar-60 photo" height="60" width="60" decoding="async" />

By Steve Allen

Last updated: October 20, 2023

add Google Search Console to WordPress.

When you buy something through one of the links on our site, we may earn an affiliate commission.

 

Want to add Google Search Console to WordPress and need the exact steps?

You're in luck.

In this post, we cover every method there is to verify your WordPress site with Google Search Console (formerly known as Google Webmaster tools).

You'll also learn:

  • The difference between verification methods
  • How to view Search Console reports inside WordPress
  • How to add a sitemap
  • The benefits of adding Google Search Console
  • And much more...

Let's dive in.

Contents

  • 3 Ways to Add Google Search Console to WordPress
    • 1. Newest Method: Domain Verification
    • 2. Older Method: Site Verification Through Meta Tag or HTML File
    • 3. Alternative methods: Google Analytics or Google Tag Manager
  • How to View Search Console Data Inside WordPress
  • Why Add Google Search Console to WordPress?
  • How to Add an XML Sitemap to Google Search Console
  • How to Associate Google Search Console Data with Google Analytics 4
  • Conclusion: Add Google Search Console to WordPress

3 Ways to Add Google Search Console to WordPress

There are a few ways to verify your WordPress website in Google Search Console.

Each method may provide different search data, depending on which one you choose or the URL you target.

Let's take a look at each method now and follow the steps to add Google Search Console to WordPress.

1. Newest Method: Domain Verification

Domain verification is the most recommended verification method because it covers all subdomains and URLs, including www and non-www versions.

This method doesn't even require you to do anything with WordPress. That's because you verify through your domain.

It also includes all HTTP variations, which is good for ensuring your site is redirecting to its HTTPS version.

Follow these steps to use this verification method.

First, log in to Search Console and add a property by clicking on the list of properties drop-down box and clicking Add property:

add Google Search Console to WordPress

Next, in the popup box, under Domain, type your domain name without the HTTPS or www and click CONTINUE:

add Google Search Console to WordPress

Now go to your domain registrar account to add a new DNS record.

I'm adding mine in Namecheap, but it's similar to most registrars.

Use the following settings when adding a DNS record:

  • Under DNS type, choose A Record  
  • For Host, use the @ symbol or leave it blank for some registrars  
  • Copy and paste the text provided by Search Console in the Value field  
  • For TTL, choose the lowest number

After you've added the record, go back to Search Console and click on VERIFY.

It can take anywhere between a few minutes to several hours for the verification to be recognized.

However, once your domain is verified in Google Search Console, it will start collecting search data and display it within a few days.

2. Older Method: Site Verification Through Meta Tag or HTML File

These verification methods allow you to target a specific page or area of a website.

For example, if you only want to collect the data of a specific blog post, product category, or subdomain.

This is helpful if you want to monitor sections of your site's data separately from the rest of the site.

The first way requires you to upload an HTML file to your web hosting account, and the other is to add a meta tag to WordPress.

Verify Google Search Console with HTML File

First, log in to Search Console and add a property by clicking on the list of properties drop-down box and clicking Add property:

Next, in the popup box, under URL Prefix, type the URL exactly how it displays in Google's search results and for the data you want to track:

To verify with an HTML file, click the Download the file button and upload it to the root directory of your WordPress installation.

You can do this by connecting through an FTP program. Then go back to Search Console and click on VERIFY.

Verify Google Search Console with Meta Tag

The other method is using the meta tag which you can add to your WordPress theme.

Instead of choosing the above option, select the HTML tag under "Other verification methods" and copy the code:

You can add the code manually or use a plugin. To add the code manually, follow these steps:

Inside your WordPress admin, go to Appearance > Theme Editor and choose the header.php file.

Just make sure the header.php file you edit is a child theme and not the main theme. Otherwise, it will get overwritten when the theme updates.

Paste the code after the HEAD tag:

If you want to add the code with a plugin, here are several plugins that support it:

  • Yoast SEO - See our Yoast SEO review
  • Rank Math - See our Rank Math Pro Review  
  • Google Site Kit

To add the HTML tag with an SEO plugin, some will only need the characters between the content quotations, whereas others require you to paste the entire code in:

Once added, go back to Search Console and click on VERIFY.

Your search data will start showing up after a few days. Note that you'll need to keep the HTML file or meta tag in place to keep verification active.

3. Alternative methods: Google Analytics or Google Tag Manager

These methods are fairly straightforward if you've already added Google Analytics or Google Tag Manager to your WordPress site.

That's because you'll get a verified popup for the respective Google service when you add your property to Search Console.

If you want to verify Google Search Console this way, here's how to add the code in WordPress.

For Google Analytics 4, navigate to your Web Stream details and view the tag instructions. You see your code like this:

Copy the code and paste it directly after the HEAD tag in your WordPress theme:

Again, make sure you're editing a child theme and not the main theme.

You can install a child theme easily by using a WordPress plugin called Child Theme Configurator.

If you prefer using Google Tag Manager, here's how you can add the code manually.

Add your property in Tag Manager, and you'll see this popup:

Copy the first box and paste that directly below HEAD the tag. Then paste the code from the second box below the BODY tag.

You'll now see the verification boxes above when you add your property in Search Console.

How to View Search Console Data Inside WordPress

If you want to see Search Console data inside your WordPress admin, then you'll need a plugin for that.

The best we have come across is Rank Math, which lets you see up to 90 days of Search Console data for free.

But you'll need the pro version if you want more data, like a keywords report overview.

What if you're using a different SEO plugin, like YoastSEO? If you really want to see Search Console data in WordPress, then we recommend MonsterInsights.

MonsterInsights isn't free, but it means you'll be able to use it with Yoast.

The other option would be to change SEO plugins to Rank Math, just make sure you know what you're doing. Otherwise, you can change how your metadata is displayed.

Also read: MonsterInsights vs Google Site Kit: Which is Best To Add GA To Your Site?

Why Add Google Search Console to WordPress?

The main reason you would add Google Search Console to your website is to measure organic search performance.

Other benefits include:

  • Adding an XML sitemap  
  • Check which pages are indexed  
  • Monitor Core Web Vitals

Here's what you're able to track regarding Google search rankings

  1. Google search impressions and rank positions  
  2. Search clicks  
  3. Google search CTR  
  4. Ranking keywords

Google search impressions show how many times your website is seen in Google search results. The average position is the overall position your entire site shows up at.

You can see the average impressions and position for individual pages under the pages tab:

Total clicks are the number of times people click through to your website from search results:

Average CTR is the percentage of clicks compared to the number of impressions. So if you get 100 impressions and 10 clicks, your CTR would be 10%.

Ranking keywords are the terms your website has shown up for when people have searched for those terms in Google.

You can get an overview of all the keywords or select a specific page from the pages tab, then go back to the Queries tab.

Keeping track of this data every month will help you make improvements to your site's search engine optimization.

How to Add an XML Sitemap to Google Search Console

Adding an XML sitemap to Google Search Console helps Google find all the pages and articles on your website.

To add your sitemap, you must install a plugin that automatically generates one.

Most SEO plugins will do this. For this example, I'll show you how to do it with RankMath.

Search for, install, and activate the RankMath plugin from your WordPress admin:

Once you've configured the RankMath settings, go to the Sitemap settings option and copy the sitemap URL:

Then head back to Google Search Console and navigate to Sitemaps under Indexing:

Then, type or paste the sitemap slug in the URL field and click on SUBMIT:

You'll see a box with some details of when it was submitted, the status, and the number of discovered URLs:

Google bots will crawl the sitemap each time you add new content to your site, which will help keep your Search Console data up to date.

How to Associate Google Search Console Data with Google Analytics 4

When you connect Google Search Console with Google Analytics, you can access the Search Console data inside your Google Analytics account.

Here's how to do it.

In your Google Search Console account, go to the Settings page in the sidebar and click Associations:

Then click the ASSOCIATE button where it says "Connect a Google Analytics property to this property".

You'll see a popup with all of your available Google Analytics accounts. Choose the one that matches the GSC property, click CONTINUE and follow the prompts.

Next, go to your GA4 property and navigate to Reports > Library:

Then in the Search Console box, click on the 3 dots and click on Publish:

A Search Console option will appear left sidebar menu with links to display your search queries and Google organic search traffic inside Google Analytics:

Conclusion: Add Google Search Console to WordPress

As you can see from this post, adding Google Search Console is fairly straightforward when you know how.

Now you know how to add Google Search Console to WordPress, make sure you read our article titled, What Does Google Search Console Do?

And you'll also be interested to learn how to increase organic traffic, once you know how to use Search Console.

Related Posts

wp optimize vs wp rocket.
WP-Optimize vs WP Rocket: Which WordPress Caching Plugin is Better?
wp rocket review.
WP Rocket Review: Is This The Best WordPress Caching Plugin?
best wordpress translation plugins.
10 Best WordPress Translation Plugins For Global Traffic & Reach
best free wordpress plugins.
17 Best Free WordPress Plugins You’ll Want to Install
convert pro review.
Convert Pro Review: Is This Optin Form Plugin Any Good?

Posted in

Wordpress
<a class="txt-link" href=https://www.nichepursuits.com/add-google-search-console-to-wordpress/Steve Allen</a>" src="https://secure.gravatar.com/avatar/45f5d05b1112f5a65b3ac338fb073ae8?s=60&r=g" srcset="https://secure.gravatar.com/avatar/45f5d05b1112f5a65b3ac338fb073ae8?s=120&r=g 2x" class="avatar avatar-60 photo" height="60" width="60" decoding="async" />

By Steve Allen

Steve Allen is a niche site builder, writer, and all-around WordPress wizard.

He enjoys personal development, entrepreneurship, double espressos, and making things work better than they did before.

Want to learn step-by-step how I built my Niche Site Empire up to a full-time income?

 

Yes! I Love to Learn

Learn How I Built My Niche Site Empire to a Full-time Income

  • How to Pick the Right Keywords at the START, and avoid the losers
  • How to Scale and Outsource 90% of the Work, Allowing Your Empire to GROW Without You
  • How to Build a Site That Gets REAL TRAFFIC FROM GOOGLE (every. single. day.)
  • Subscribe to the Niche Pursuits Newsletter delivered with value 3X per week

 

    My top recommendations

     

    Link Whisper Case Study: How 7 Successful Niche Site Owners Are Using It To Help Grow Their Sites

    By Dan Morris

    Surfer SEO Review: Is It the Best All-In-One On Page SEO Solution?

    By Eric Burns

    RankIQ review.

    RankIQ Review: Is This AI SEO Toolset Worth Your Time and Money?

    By Amy Derungs

    jasper ai review.

    Jasper AI Review (Jarvis AI): Is It Still The Best AI Writing Assistant?

    By Dan Morris

    Content Pit Review: Is it Possible to Find Fast, Inexpensive, and High Quality Content?

    By Brady Cargle

    Want to learn step-by-step how I built my Niche Site Empire up to a full-time income?

     

    Yes! I Love to Learn

    Latest articles

     

    Podcasts

    My Local Email Newsletter Makes Over $200k/Year…Here’s How

    By Samara Kamenecka

    Make Money Online

    21 of the Fastest Growing Remote Jobs to Take Your Career Online

    By Maia Ellis

    Podcasts

    Google UNLEASHES June 2024 Spam Update

    By Samara Kamenecka

    Blogging & Niche Websites

    GA4 Tracking Code: Where to Find it and How to Add it to Your Site?

    By Steve Allen

    Podcasts

    How Andy Skraga Made Over $500k from Facebook Traffic

    By Samara Kamenecka

    Success Stories

    How Esther Lee and Jacob Fu’s Travel Blog Earns 6 Figures a Year from Ads, Sponsorships, and Affiliates

    By Samara Kamenecka

    View All Articles

    Ready to find your niche?

    I would love to learn about…

     

    Subscribe

    Join Over 67,000 People Like You!

    Learn how to build a business online

     

    • We will never spam or sell your information.
    • This field is for validation purposes and should be left unchanged.

    • Privacy Policy
    • Terms of Use
    • Cookie Policy

    © 2024 Niche Pursuits

    • Earnings Disclaimer
    • Amazon FBA
    • Web Design by Fhoke

    Niche Pursuits is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.