The short answer: you cannot verify a Squarespace site by uploading an HTML file — Squarespace states plainly that it does not support the method requiring you to import a .txt file, and there is nowhere on the platform to put one. Use the native connection in Analytics → Search keywords → Connect, or add a DNS TXT record if you want a domain property. Both take under ten minutes.
Here is which method to use, and why the choice affects what data you get.

Verification methods on Squarespace, ranked by whether they work
| Method | Works on Squarespace? | Property type | Notes |
|---|---|---|---|
| Squarespace native connection | Yes — easiest | URL-prefix (primary domain) | Analytics → Search keywords → Connect. Also feeds keyword data back into Squarespace |
| DNS TXT record | Yes | Domain or URL-prefix | The only method Google accepts for a domain property |
HTML tag (meta tag in <head>) | Yes, on Core and above | URL-prefix | Needs site-wide Code Injection, which is plan-gated |
| Google Analytics tracking code | Yes, if GA4 is already live | URL-prefix | Works via the native GA field; requires edit permission on the GA property |
| Google Tag Manager | Only if you already run GTM | URL-prefix | No reason to install GTM just for this |
| HTML file upload | No | — | Squarespace has no site-root file hosting. Squarespace explicitly does not support it |
If you are choosing for the first time and you own the domain's DNS, go straight to the DNS TXT record. It verifies a domain property, which is the more useful of the two, and it survives every future change to the site.
Before you start: three things that will silently block verification
All three come from Squarespace's own documentation, and all three cause "verification failed" with no useful error.
- Remove any site-wide password or page password on the homepage. Passwords stop Google reaching the content, so verification and indexing both fail.
- A trial site cannot be verified. Squarespace hides trial sites from search engines. Publish the site first.
- If you connected a third-party domain, wait 48 hours. Squarespace recommends waiting the full 48 hours after connecting a domain before attempting Search Console verification, because DNS changes take that long to resolve globally.
Domain property or URL-prefix property — the decision that matters most
Google Search Console offers two property types, and which you pick determines what you can see and how you must verify.
| Domain property | URL-prefix property | |
|---|---|---|
| Covers | Every subdomain and both protocols — example.com, www.example.com, http://, https:// | Exactly one protocol and subdomain — https://www.example.com/ only |
| Verification | DNS record only | HTML tag, HTML file, Google Analytics, Tag Manager, DNS |
| Best for | Almost every Squarespace site with a custom domain | Tracking a single subfolder, or when you cannot touch DNS |
For a Squarespace site with a custom domain, create the domain property. Squarespace serves the site on the primary domain but the non-primary variants — www versus root, http versus https — still exist as redirect targets, and Google records data against whichever URL it saw. A domain property consolidates all of that into one report. A URL-prefix property on https://www.example.com/ silently drops anything Google recorded against the root or the http version.
There is one case for a URL-prefix property: you do not control DNS. If the domain is managed by a client's IT department that will not add records, use the native Squarespace connection or the HTML tag method instead.
You can have both. Verifying a URL-prefix property by DNS automatically verifies the corresponding domain property as well, so DNS verification is not a one-or-the-other choice.
Method 1 — The Squarespace native connection (fastest, and it does something extra)
This is the route Squarespace supports and the one to use if you just want data flowing.
- Open the Analytics panel from the main menu.
- Click Search keywords.
- Click Connect in the panel's pop-up.
- Sign in to the Google account you want the property under. If you have several Google accounts, check carefully which one you are in — this is the most common mistake, and moving a Search Console property between accounts afterwards is more work than getting it right now.
- Review the permissions and click Allow.
- Wait 72 hours for data to populate.
The extra thing it does: keyword data flows back into Squarespace, so the Search keywords panel shows your top Google queries inside Squarespace rather than only in Search Console. That is genuinely useful and it is the only way to get it.
What this verifies. Squarespace verifies your site's primary domain, which can be the built-in example.squarespace.com address or a custom domain. Depending on your Secure SSL setting, Search Console verifies both the http:// and https:// versions and adds the primary version to the property list. It creates a URL-prefix property, not a domain property.
The re-verification trap. If you later switch primary domains, or add a custom domain after connecting with the built-in Squarespace domain, you must reconnect. Squarespace says so explicitly. This is the single most common reason a Search Console connection that used to work goes quiet: the site moved to a real domain and nobody reconnected.
If the Search keywords panel shows "Connected Account Deactivated", the site was removed from Search Console's settings or Squarespace's access to the Google account was revoked. Click Reconnect and sign in again. To move to a different Google account, click Disconnect first, then connect the new one.
Method 2 — DNS TXT record verification (the one that gives you a domain property)
This is the route to use if you want the domain property, and it is the method Squarespace itself recommends in place of HTML file upload.
In Google Search Console:
- Go to the property selector and click Add property.
- Choose Domain.
- Enter your bare domain —
example.com, with nohttps://and nowww. - Google shows a TXT record value beginning
google-site-verification=. Copy it.
Then, if Squarespace manages your DNS (a Squarespace-registered domain, or a third-party domain connected by Nameserver Connect):
- Open your domains dashboard and click the domain name.
- Open the DNS settings for that domain.
- Add a TXT record. In the Name or Host field enter
@— Squarespace automatically appends your domain, so entering the full domain here producesexample.com.example.com, which is the mistake that causes most failures. - Paste the
google-site-verification=value into the Data or Value field. - Save.
Or, if your DNS lives with a third-party registrar (a domain connected by DNS Connect, where you added Squarespace's CNAME and A records at the registrar):
- Add the TXT record at the registrar, not in Squarespace. Squarespace's DNS panel does not control records for a DNS-Connect domain.
- Host or Alias:
@, or leave blank if your registrar requires that. - Record type:
TXT. - Value: the full
google-site-verification=string.
Then return to Search Console and click Verify. DNS propagation is usually minutes but can take up to 48 hours; if it fails on the first attempt, wait and retry rather than adding a second record.
One thing to keep in mind: Squarespace's own scope of support for DNS records is limited. Squarespace will show you where to add a record but does not give technical advice on how records interact. If you already have SPF, DKIM or other TXT records on the root, adding another is fine — multiple TXT records on the same host are legal — but do not overwrite an existing one.
Method 3 — HTML tag verification, and its plan gate
Google's HTML tag method gives you a <meta name="google-site-verification" content="..."> tag to place in the <head> of your homepage.
On Squarespace that means Website → Website Tools → Code Injection → Header, which injects into the <head> tag on every page in the site. That is fine — Google only checks the homepage, and the extra tag on other pages is harmless.
The catch is the plan gate. Code Injection is available on Core, Plus and Advanced, plus some legacy billing plans. On Basic there is no site-wide injection field, so this method is unavailable.
There is a per-page alternative on Core and above: Pages panel → hover the page → gear icon → Advanced → Page Header Code Injection, which injects into the <head> of that one page. If you use it, put the tag on the homepage, because that is the URL Google fetches.
What does not work: Post Blog Item Code Injection, in blog page settings, is not a head injection. On Squarespace 7.1 it renders below the post content, so a verification meta tag placed there will never be found.
Method 4 — Verifying via Google Analytics
If GA4 is already live on the site through Settings → Developer tools → External API keys → "Google Analytics account number", Search Console can verify the property using the Google tag it finds on the page. Select Google Analytics tracking code in the verification list and click Verify.
Two conditions: you must have edit permission on the GA4 property, using the same Google account, and the tag must actually be present on the homepage when Google fetches it. If you added the measurement ID minutes ago, give it a few minutes for the published site to pick it up.
This is convenient but it couples two systems. If someone later removes the measurement ID, Search Console can lose verification. DNS verification does not have that dependency, which is one more reason to prefer it.
The robots.txt warning you will see, and should ignore
On verifying, Search Console reports that parts of your URLs are restricted by robots.txt. This is expected on every Squarespace site.
Squarespace generates robots.txt automatically and it cannot be edited. By default it disallows ?author=, ?tag=, ?month= and ?view= — parameter URLs that produce duplicate content or exist only for internal use. Blocking them is correct behaviour, and Squarespace's documentation confirms the warning is normal.
Do not try to fix this. There is no editable file, and the pages being blocked are ones you do not want indexed.
What to do in the first hour after verifying
Verification on its own changes nothing. These four actions are what make it worth having done.
1. Submit the sitemap. Squarespace generates one automatically at /sitemap.xml and it cannot be edited. In Search Console, select the property, click Sitemaps, enter sitemap.xml under Add a new sitemap, and click Submit. A "Couldn't fetch" message is common for 24 to 48 hours while Google processes it and does not mean anything is wrong.
2. Run URL Inspection on your three most important pages. Enter the full URL, press Enter, and click Request Indexing. This is the fastest route into the index for a new page. It is not a guarantee — Google decides.
3. Check Page indexing for "Discovered – currently not indexed". On a new Squarespace site this is the report that tells you whether Google has decided your pages are worth its crawl budget, and it is the earliest warning of a thin-content problem.
4. Set the preferred domain expectation. If you created a domain property, check that impressions are landing on the URLs you expect and not split between www and root. If they are split, your Squarespace primary domain setting and your Search Console property are describing different sites.
After that, leave it alone. Search Console data lags by two to three days, and the Performance report on a new property will be empty for a week or more. That is normal.
Where this fits
Search Console verification is one of four steps in a full measurement setup on Squarespace 7.1. The others are Squarespace's own analytics, Google Analytics 4, and — usually optional — Google Tag Manager. The order to install them, and what each one answers, is in Squarespace Google Analytics setup.
If you have not yet installed GA4, do not do it through Code Injection. The step-by-step is in how to add GA4 to Squarespace.
When to get help
Verification is a ten-minute job when the domain is clean. It stops being one when the DNS is split across two providers, when a previous agency verified the property under an account nobody has access to, or when a migration left impressions divided across four half-verified properties and nobody can tell which numbers are real.
Untangling that is part of what our Squarespace SEO services do — usually inside a single session, because the fix is nearly always a property consolidation rather than anything technical. For a single site on a single domain, the DNS TXT route above is the whole job and you should do it yourself.
FAQ
Can I verify a Squarespace site with an HTML file upload?
No. Squarespace states it does not support the verification method that requires importing a .txt file, and there is no way to place a file at the site root. Use the DNS TXT record method, the native connection in Analytics → Search keywords, or the HTML tag method on Core and above.
Should I create a domain property or a URL-prefix property for Squarespace?
Create a domain property if you control DNS. It covers every subdomain and both protocols in one report, so impressions are not split between www and root. It can only be verified by DNS record. Use a URL-prefix property only when you cannot add DNS records.
How do I add a TXT record for Google verification on Squarespace?
If Squarespace manages your DNS, open the domains dashboard, click the domain, add a TXT record with @ in the Name field and the google-site-verification= string as the value. If your domain uses DNS Connect, add the record at your registrar instead — Squarespace's DNS panel does not control it.
Why does Search Console say my Squarespace URLs are blocked by robots.txt?
Because Squarespace's robots.txt disallows ?author=, ?tag=, ?month= and ?view= by default. Those are duplicate or internal-use parameter URLs. The file cannot be edited on any Squarespace plan, and the warning is expected rather than a problem to fix.
Do I need to re-verify after changing my Squarespace domain?
Yes, if you used the native connection. Squarespace verifies your primary domain, so switching primary domains or adding a custom domain after connecting with the built-in example.squarespace.com address requires reconnecting via Analytics → Search keywords. A DNS-verified domain property is unaffected.
What does "Connected Account Deactivated" mean in Squarespace Search keywords?
The site was removed from Search Console's settings, or Squarespace's permission to access your Google account was revoked. Click Reconnect and sign in again with the same Google account. To switch accounts, click Disconnect first, then connect the new one.















