Verification

Google Search Console HTML Tag Verification

The HTML tag method is one of the simplest ways to verify a URL Prefix property in Google Search Console.

The Verify ownership dialog in Google Search Console for a URL-prefix property, with HTML file as the recommended method and HTML tag and Google Analytics listed under other methods (file name blurred)
The HTML tag is one of the methods offered next to the recommended HTML file. The tag has to be in the server-rendered <head> of the homepage; JavaScript-injected tags do not verify.

Steps

  1. In Search Console, select HTML tag as your verification method
  2. Copy the provided <meta name="google-site-verification" content="..."> tag
  3. Paste it inside the <head> section of your homepage - before </head>
  4. Click Verify in Search Console

Where to Find Your Search Console Verification Code

Search Console shows your verification code when you add a property: choose HTML tag in the verification dialog and it displays the full meta tag, <meta name="google-site-verification" content="..." />. The verification code is the long string inside content, and it belongs to your Google account, so copy the whole tag rather than retyping the string. For a property that is already verified, open Settings > Ownership verification and open the HTML tag method to see the tag again.

When a second person verifies the same site, they get their own code. Add their tag next to the existing one instead of replacing it, because removing an owner's tag eventually removes that owner's verification.

Platform-Specific Instructions

  • WordPress: Use a plugin like Yoast SEO (Webmaster Tools tab) or Insert Headers and Footers to paste the tag
  • Shopify: Go to Online Store > Themes > Edit Code > theme.liquid and paste inside <head>
  • Squarespace: Settings > Advanced > Code Injection > Header
  • Wix: Marketing & SEO > SEO Tools > Get Found on Google

Important: Do not remove the tag after verification - Search Console periodically re-checks it, and removing it will cause verification to lapse.

Get more from your Search Console data

Start turning your Search Console data into growth today. No credit card needed.

Start 7-day free trial

Search Console tips in your inbox

Practical GSC and GA4 workflows, product updates and SEO experiments. No spam, unsubscribe anytime.