Search Console: domain property or URL prefix?
Search Console has two property types. What a domain property covers, when a URL prefix is easier, how each is verified, and which to choose for a new site.
The first choice Search Console asks you to make is the property type. It looks technical and it decides two practical things: what data you see, and how you prove you own the site.
The two types
| Domain | URL prefix | |
|---|---|---|
| Covers | All subdomains, http and https | Only URLs starting with the exact prefix |
| Example | example.com | https://www.example.com/ |
| Verification | DNS record only | HTML file, meta tag, GA tag, Tag Manager or DNS |
| Best for | The full picture of a site | A section, or when DNS is hard to reach |
Choose domain if you can reach DNS
A domain property sees everything: www and the bare domain, http and https, and subdomains like docs. or shop.. Nothing falls between properties. The cost is one TXT record at your DNS provider, which on Cloudflare or most registrars takes a couple of minutes. Leave the record in place afterwards; removing it can unverify the property.
Choose URL prefix when
- You cannot edit DNS, for example on some hosted platforms.
- You want verification to happen through the Google Analytics tag already on the site.
- You want a separate view of one section, like
/blog/.
With a URL prefix, the protocol and www matter: https://example.com/ and https://www.example.com/ are different properties.
After verifying
Submit your sitemap and link the property to Analytics. See submitting a sitemap to Search Console and linking Search Console to GA4. The broader first-week list is in Search Console for a new site.
GA4 + Search Console Setup walks through this dialog in your own Chrome: it picks the property type that fits your access, verifies by DNS or by the tag it installed, and asks before each step that creates something.
Questions
What is the difference between a domain and a URL prefix property?
A domain property covers every subdomain and both http and https for the domain. A URL prefix property covers only URLs that start with the exact address you enter.
How is a domain property verified?
With a DNS record, usually a TXT record, added at your DNS provider. It is the only method for domain properties.
Can I have both?
Yes. Many sites keep a domain property for the full picture and a URL prefix property for a specific section, or for verification by the Analytics tag.