Verifying your website in Google Search Console proves you own or control the property. There are several methods available, and the pros and cons of each are compared in Search Console verification methods:
For URL Prefix Properties
- HTML tag - Copy the provided meta tag and paste it in the
<head>of your homepage. The step-by-step guide, including where to find the code, is HTML tag verification. - HTML file - Download a small HTML file and upload it to your site's root directory
- Google Analytics - Automatically verified if GA is installed on your site with the same Google account
- Google Tag Manager - Automatically verified if GTM is installed with the same account
- DNS TXT record - Add a TXT record to your domain's DNS settings, as explained in DNS TXT record verification
For Domain Properties
Only DNS TXT record verification is available for Domain properties. This covers all subdomains and protocols.
Important: Keep your verification method in place permanently. If the verification tag or file is removed, Search Console access will eventually be revoked.
If Verification Fails
When Search Console says it could not verify your site, the cause is almost always one of a few things: the tag is not on the live homepage that a logged-out visitor sees, a caching layer still serves an old copy of the page, the file returns an error, or a new DNS record has not propagated yet. The fixes for each method are in Google Search Console verification failed.