Verify your site ownership - Search Console Help (original) (raw)

What is ownership verification?

Ownership verification means proving to Search Console that you own a specific website. A verified owner has the highest degree of permissions in Search Console.

Why is this so complicated?

Site owners in Search Console have access to sensitive Google Search information about a site. Site owners can also perform actions that can affect a site's presence and behavior on Google Search and other Google services. Because of this, we want to make sure that only a real site owner is granted owner permissions on Search Console.

Verify site ownership

  1. Either add a new property or choose an unverified property from your property selector.
  2. Choose one of the verification methods listed below and follow the instructions. The verification page will list which methods are available and recommended for your site.
  3. If you are unable to verify site ownership for some reason, ask a current owner to grant you access to the property in Search Console.

Using multiple verification methods

You can add multiple verification methods in your property's verification settings page. You might want to add more than one verification method in case one of your existing verification methods fails (for example, if you verified using a Google Analytics tracking code, and someone changes a template on your website that omits the tag).

To add an additional verification method, visit the Settings page for the property and click Ownership verification

Multiple people can verify ownership of the same website property, using the same or different verification methods. If you use the same verification method, just be sure that you don't overwrite the verification tokens of any other owners.

Verifying child properties

Once you have verified a property, any child properties that you add will be auto-verified using the same verification method as the parent. That is, if you verified ownership of example.com using the HTML file upload method, any child properties that you create (m.example.com or https://example.com/some/path) will be auto-verified using the same HTML file upload.

How long does verification last?

Verification lasts as long as Search Console can confirm the presence and validity of your verification token. Search Console periodically checks if your verification token is still present and valid. If verification can no longer be confirmed, you will be notified. If the issue is not fixed, your permissions on that property will expire after a certain grace period.

If all verified owners lose access to a property, all users will lose access to the Search Console property.

Google uses the Google Site Verifier user agent to perform site verification.

When will I start to see data?

Data is collected for a property as soon as anyone adds it in Search Console, even before verification occurs. However, it takes a few days for data to start to accrue for the property.

We lost our only verified site owner!

If the only verified owner of your site leaves your team, you should verify ownership to maintain (or regain) access to the property.

If you are taking over a site from another owner, after you verify ownership you can unverify previous owners by removing their verification token (for example, removing the HTML tag from the site, for HTML-tag-verified owners). See Add or remove owners for more information.

Choosing a verification method

Search Console supports several different verification methods. See the table below to help choose a method that works best for you.

Method Notes
HTML file upload Relatively simple, but requires the ability to upload a file and publish it on your site at a specific URL. Might not be possible on a site hosting platform.
HTML tag Relatively simple, but requires the ability to edit the HTML source code of your site's homepage. Might not be possible on a site hosting platform.
Google Analytics tracking code Simple, if the page already has a Google Analytics tracking code for a Google Analytics account that you can access. If the page does not have a tracking code, you must add one (which may require creating a Google Analytics account if you don't already have one).
Google Tag Manager Simple if the page already has a Google Tag Manager snippet for a Google Tag Manager account that you can access. If the page does not have a snippet, you must add one (which may require creating a Tag Manager account if you don't already have one).
Google Sites or Blogger account Use the recommended method for each platform.
Domain name provider More complex, but is the only way to verify a Domain property. If your domain provider is listed in the verification wizard, then this is a simple process. Domain properties are useful because they include data for all protocol (http/https) and subdomain variations of your property.

Verification method details

Sites that use a website hosting platform (WordPress, Shopify, Wix, etc)

If you use a website hosting platform like WordPress, Wix, or SquareSpace, you might not be able to use some of the methods listed below. Or, conversely, your platform might provide a special plugin or setting to verify your property easily, or even automatically, on Search Console.

If you're using a website hosting platform, try these steps before trying one of the verification methods listed on this page:

  1. Search your site host's documentation for Search Console verification information. For example: "Wix Search Console verification" or "Weebly Search Console verification" or "Shopify Search Console".
  2. Search for plugins on your platform that can handle verification for you. For example, Site Kit for WordPress can handle verification for you, and also provide simplified views of your Search Console data. Note that Site Kit is the only plugin that is officially sponsored by Google, so do a little research on any plugin before you install it.

HTML file upload

HTML file upload for site ownership verification - Google Search Console Training

Overview

Verify ownership of a site by uploading a special HTML file to a specific location on your site. This file is tied to a specific user. Follow the instructions on the verification details page. Removing this verification file from your site will cause you to lose verification for the site.

⚠️ Requirements

Steps

To verify ownership using an HTML file:

  1. If you are using a website hosting platform, search your service's help pages for custom instructions to verify your site on Search Console. If you don't find any information, then continue on to the next steps.
  2. Read the requirements for this verification technique.
  3. Choose the HTML file upload method on the Ownership verification page for your property.
  4. Download the provided verification file. This file is unique to you; it cannot be used to identify anyone else, and is associated with your Gmail account.
  5. Upload the verification file to your website so that it will be available at the address specified in the verification details page. This is typically the root directory for your property. (That is, if you defined your property as https://example.com, and the file provided is named 1234.txt, then the file should be browsable at https://example.com/1234.txt.) Search Console does not follow redirects when looking for this file. You can add newlines at the end of the file body, if required, but do not otherwise modify the file name or content.
  6. Confirm that you can see the file by visiting it in your browser in the location specified by the Search Console verification wizard. If the file isn't available to your browser at that URL, Google won't be able to find for verification purposes. TIP: Use an incognito window in your browser to confirm that you don't need to log in to access it.
  7. Complete verification by clicking Verify in the verification details page.
  8. If verification fails, see Potential errors below to troubleshoot the issue.

Troubleshooting

The following errors can occur with HTML file upload verification:

HTML tag

HTML tag for site ownership verification - Google Search Console Training

Overview

Verify your ownership of a site by adding a tag to the HTML of a specified page. We'll verify that the meta tag exists on that page. If we can't find the tag, we'll give you information about the error we encountered. This tag is tied to a specific user. Search Console will periodically check for the presence of this tag.

⚠️ Requirements

Steps

To verify ownership using an HTML tag:

  1. If you are using a website hosting platform, search your service's help pages for custom instructions to verify your site on Search Console. If you don't find any information, then continue on to the next steps.
  2. Read the requirements for this verification technique.
  3. Choose the HTML tag method on the Ownership verification page for your property.
  4. Copy the tag from the Search Console verification wizard into the section in the HTML of your site's non-logged-in home page (see note). Example:
    ` Example.com homepage ` This tag is unique to you; it cannot be used to identify anyone else, and is associated with your Gmail account.
  5. Save your page. Confirm that the tag is present in your live page by visiting the page and looking for the tag in the page source code. (Press Control + F then search for "google-site-verification" in the page source to find the tag.)
  6. Complete verification by clicking Verify in the verification details page.
  7. If verification fails, see Potential errors below to troubleshoot the issue.

Troubleshooting

The following verification errors can occur with HTML tag verification:

Domain name provider

DNS record for site ownership verification - Google Search Console Training

Overview

Add a DNS record to your domain provider's record list to prove ownership. This is required only for Domain property, (example.com) not URL-prefix properties (https://example.com). If you use this method on a URL-prefix property, you will also be auto-verified for the Domain property.

For some domains, Google can add the record for you; for other domains you will need to insert the record yourself.

You can verify ownership of root domains (example.com) or subdomains (m.example.com). Verifying ownership of a root domain automatically verifies ownership of all subdomains, but verifying ownership of a subdomain does not verify ownership of a parent domain. For example: verifying ownership of m.example.com also verifies ownership of pets.m.example.com, but does not verify ownership of example.com.

⚠️ Requirements

Steps

To verify ownership via your domain name provider (the company that you purchased your domain name from):

  1. If you are using a website hosting platform, search your service's help pages for any custom instructions on verifying your site on Search Console. (Tips for finding your DNS provider, if you don't know who it is.) If you don't find a custom solution on your provider's page, then continue on to the next steps.
  2. Choose the Domain name provider method on the Ownership verification page for your property in Search Console. (This will be chosen automatically when you create a Domain property.)
    • If Search Console provides a TXT record, follow Manual domain name provider instructions > TXT DNS record instructions below.
    • If Search Console shows your domain name provider in a list, choose your provider and click Start verification, then follow the instructions provided. You will be required to log in to your domain name provider, after which verification should occur immediately.
    • If Search Console shows you a domain name provider that isn't yours, choose Any DNS provider from the list and follow the manual domain name provider instructions below.
      Manual domain name provider instructions
      If Search Console doesn't list your domain name provider in the Domain name verification dialog, you will need to manually add a DNS record to your provider's records. This DNS record is a name/value pair provided by Search Console. Let's get started:
      1. Determine which DNS record format to use. You must choose between a TXT record and a CNAME record depending on how your site is configured. Here is how to determine which to use:
      1. Open the Google Admin Toolbox in the CNAME tab
      2. Enter your property's domain name. This is the part after "https://". For the property "https://www.example.com/" the domain name would be "www.example.com".
      3. Look at the output in the CNAME tab
      2. Follow the appropriate instructions for your TXT or CNAME record below.

    TXT DNS record instructions
    1. Generate a unique TXT verification record: When asked to verify your Domain property in Search Console, choose TXT for Select record type in in the Search Console verification popup. Search Console will give you a string value TXT record to use in the next step.
    2. Add your DNS record to your domain provider: Add the TXT record that Search Console gave you in the previous step to your domain provider's records by following these steps:
    1. Open the Google Workspace documentation for your provider.
    2. Ignore Google Workspace step 1 (Get your unique verification record) because you got your TXT record in Search Console.
    3. Sign in to your domain host (typically Google Workspace Step 2).
    4. Add your Search Console TXT record to your domain's DNS records (typically Google Workspace Step 3):
    * For the Host/Name property**,** either leave this blank, or set as "@", as described in the documentation for your DNS provider.
    * For the Value property, provide the Search Console TXT record string that you generated earlier.
    5. Ignore Google Workspace step 4 (the verification step) and continue with step 4 below.
    CNAME DNS record instructions
    1. Generate a unique CNAME verification record: In the verification flow for your Domain property, choose CNAME for Select record type in in the Search Console verification popup. You will be given two values (one called "name" or "label" or "host", the other called "destination" or "target" depending on the context) to use in the next step.
    2. Add the DNS record values to your domain provider:
    1. Open the Google Workspace documentation for your provider.
    2. Ignore Google Workspace step 1 (Get your unique verification record) because you got your CNAME record in Search Console.
    3. Sign in to your domain host (typically Google Workspace Step 2).
    4. Add your CNAME verification record to your domain's DNS records (typically Google Workspace Step 3) using the record values that you got previously in Search Console. Provide both values in the appropriate fields on your DNS provider's site. You can use the default TTL value suggested by your provider.
    5. Ignore Google Workspace step 4 (the verification step) and continue with step 4 below.

  3. Complete your ownership verification by clicking Verify in the Search Console verification details page. IMPORTANT: For manually installed records, it can take up to two or three days for your provider to start serving the record. If you have followed the Manual domain name provider instructions above and verification fails, wait a day or two and try again. See the Potential errors section for troubleshooting, or to learn how to see whether your domain name provider is serving your record yet.

Important: To stay verified, don't remove the DNS record from your provider, even after verification succeeds.

Troubleshooting

To see which records are served by your domain name provider:

  1. Visit the Google Admin Toolbox
  2. Type your domain name into the box at the top, without the protocol or any slashes (that is, enter example.com, not https://example.com).
  3. Click either TXT or CNAME, depending on what record type you are using for verification. (Most sites use TXT records for domain verification.)
  4. All DNS records of the selected type found on your provider will be shown at the bottom with a label describing the record type (typically, either CNAME or TXT).
  5. Look in the list of records for the DNS record issued to you by Search Console.
    • For TXT records, a Search Console verification record looks something like google-site-verification=_<<some number>>_.
    • For CNAME records, the verification record is a name/value pair where the name includes your property domain, and the value includes dv.googlehosted.com.
      Your record should match exactly the verification record values given to you by Search Console. (You can look up your Search Console DNS record values by following the manual verification steps again to the step where you generate a verification record.)
  6. If you don't see your credentials listed, wait a day or two, then try again.

To see your DNS record after you've verified your property using the DNS method:

  1. Open Search Console.
  2. Click your property name in the list of properties to see a list of verification methods for the property.
  3. Next to either DNS TXT record or DNS CNAME record, click Details to see your record value.
  4. If you like, you can also see all records being served by your domain name provider using the Google Admin Toolbox as described above.

The following verification errors can occur with DNS record verification:

Google Analytics tracking code

Google Analytics for site ownership verification - Google Search Console Training

Overview

If you use Google Analytics to track your site's traffic and you have edit permission in the account, you can verify your site using the Google Analytics tracking code used on your site. You must be logged into Search Console with the same Google Account used to manage Google Analytics.

⚠️ Requirements

Steps

To verify ownership using your Google Analytics tag:

  1. Read the requirements for this verification technique.
  2. Open Search Console using the same Google account that has edit access to your property in Google Analytics, and add or select the property to verify.
  3. Choose Google Analytics in the verification details page for your site and click Verify.
  4. If verification fails, see Potential errors below to troubleshoot the issue.

Troubleshooting

The following verification errors can occur with Google Analytics tracking code verification:

Google Tag Manager container snippet

Google Tag Manager for site ownership verification - Google Search Console Training

Overview

If you have a Google Tag Manager account active on your site and you have Publish or Admin permission, you can verify ownership of your site using your Google Tag Manager container snippet code. You must be logged into Search Console with the same Google Account used to manage Tag Manager.

⚠️ Requirements

Steps

To verify ownership using a Google Tag Manager tag:

  1. Open Search Console using the same Google account that has edit access in Google Tag Manager.
  2. Read the requirements for this verification technique.
  3. Choose Google Tag Manager in the verification details page for your site, and follow the instructions shown.
  4. If verification fails, see Potential errors below to troubleshoot the issue.

Troubleshooting

The following verification errors can occur with Google Tag Manager verification:

Blogger

Blogger for site ownership verification - Google Search Console Training

Overview

New blogs that you create in Blogger should be added and verified automatically in your Search Console account. If your blog doesn't appear automatically on the Search Console home page, add the property and it should be verified automatically.

⚠️ Requirements

Where should I put my verification tag?

If you are using a tag-based verification method (Google Analytics, Google Tag Manager, or the HTML tag methods), Search Console will look for your verification tag in the page to which a non-logged-in user is redirected when visiting the URL that defines your property.

Example

If you define your property as https://example.com, and any non-logged in user who types that URL in their browser is redirected to https://example.com/home, then Search Console will look for your verification tag in the page https://example.com/home.

For other verification methods, such as the file upload method, redirects are not followed.

Common verification errors

In addition to any method-specific verification errors, the following verification errors are possible in most verification methods:

Was this helpful?

How can we improve it?