How to add business schema and allow AI crawlers on Squarespace
The short answer
On Squarespace, open Settings, then Crawlers, and make sure “Block known artificial intelligence crawlers” is unchecked if you want AI assistants to use your site; it’s off by default. Check your site isn’t hidden from search engines. Then add LocalBusiness structured data to your home page with code injection and test it.
Which AI crawlers matter
AI companies run separate crawlers for search and for training. The search and user crawlers decide whether you can appear in AI answers; training crawlers are a separate choice.
| Crawler | Whose | What it does | If you block it |
|---|---|---|---|
| OAI-SearchBot | OpenAI | Finds pages for ChatGPT search | Your site is not shown in ChatGPT search answers |
| ChatGPT-User | OpenAI | Visits a page when a ChatGPT user’s question needs it | OpenAI says robots.txt may not apply, because a person asked |
| Claude-SearchBot | Anthropic | Indexes pages for Claude’s search | You may be less visible in Claude’s answers |
| Claude-User | Anthropic | Fetches a page when a Claude user asks | Claude can’t retrieve your page for that person |
| PerplexityBot | Perplexity | Surfaces and links sites in Perplexity results | Perplexity says to allow it if you want to appear in its results |
| Perplexity-User | Perplexity | Visits a page during a Perplexity user’s question | Perplexity says it generally ignores robots.txt, because a person asked |
| Googlebot | Builds Google Search, which Gemini can ground answers in | You drop out of Google Search | |
| Google-Extended | A robots.txt token, not a separate crawler: whether Gemini may use your pages for training and grounding | Gemini may not use your pages to ground its answers (Google Search is not affected) | |
| GPTBot, ClaudeBot | OpenAI, Anthropic | Collect pages that may be used to train future models | Signals you don’t want your pages used for training; the search crawlers above are set separately |
Part 1: Let AI crawlers in on Squarespace
Check the AI crawler setting
Squarespace has a checkbox called Block known artificial intelligence crawlers under the Crawlers tab in your site’s Settings. It is unchecked by default. When checked, it adds lines to your robots.txt asking a list of AI-related crawlers to stay away (Squarespace).
Squarespace’s list includes training crawlers such as GPTBot, ClaudeBot, CCBot and Google-Extended. It doesn’t include OpenAI’s, Anthropic’s or Perplexity’s search crawlers, so checking it won’t remove you from ChatGPT search on its own. But Google says Google-Extended also controls whether Gemini can use your pages for grounding its answers (Google). If you want to be recommended, leave the box unchecked.
Make sure your site isn’t hidden from search engines
Squarespace has a separate option for hiding a site from search results. If it’s on, search engines are asked to stay away, and Gemini, which can ground answers in Google Search, is less likely to find your pages. Check it’s off, and check the pages you want recommended aren’t password-protected.
If your domain runs through Cloudflare
If your domain’s traffic passes through Cloudflare, its AI crawler settings can block assistants before robots.txt is read. See Is Cloudflare blocking AI assistants from your site?
Part 2: Add business structured data on Squarespace
Structured data is a small block of code that describes your business (name, address, phone, hours) in a format machines read reliably. Schema.org’s LocalBusiness type covers most small businesses, with more specific types such as Restaurant or HairSalon. Google explains the fields in its local business guide. A starting point:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Your Business Name",
"url": "https://www.your-site.example/",
"telephone": "+1-000-000-0000",
"address": {
"@type": "PostalAddress",
"streetAddress": "Your street address",
"addressLocality": "Your city",
"addressRegion": "Your state",
"postalCode": "Your ZIP code",
"addressCountry": "US"
},
"openingHoursSpecification": [{
"@type": "OpeningHoursSpecification",
"dayOfWeek": ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"],
"opens": "09:00",
"closes": "17:00"
}],
"sameAs": [
"https://www.example.com/link-to-one-of-your-official-profiles"
]
}
</script>On Squarespace you add it with code injection, which Squarespace includes on its Core, Plus and Advanced plans and some legacy plans (Squarespace):
- In the Pages panel, hover over your home page, click its gear icon and choose Advanced.
- Paste the example, with your details filled in, into Page Header Code Injection. That puts it in the page’s
<head>. - Save, and publish if needed.
There is also a site-wide Header field that adds code to every page. Putting the business description on the home page alone is enough. Squarespace notes that its support team can’t help with custom code, so keep a copy of what you paste.
Part 3: Test it
- Paste your home page address into Google’s Rich Results Test or the Schema.org validator and fix any errors.
- Open
your-site.com/robots.txtand check it doesn’t containDisallow: /under the crawlers you want. - Ask ChatGPT, Claude, Perplexity and Gemini a question your customers ask. Changes show up only after each assistant re-reads your pages.
Checklist
- “Block known artificial intelligence crawlers” left unchecked (unless you have decided otherwise)
- Site not hidden from search engines; key pages not password-protected
- Cloudflare AI crawler settings checked, if your domain uses Cloudflare
- LocalBusiness (or a more specific type) markup in the home page header
- Markup passes the Rich Results Test or the Schema.org validator
- Business details in the markup match your Google Business Profile
Frequently asked questions
Does the Squarespace AI crawler setting block ChatGPT search?
Squarespace’s list of the crawlers it covers includes training crawlers such as GPTBot, ClaudeBot and Google-Extended, but not OAI-SearchBot, Claude-SearchBot or PerplexityBot. It does include Google-Extended, which Google says also controls whether Gemini can use your pages for grounding, so leave it unchecked if you want to be recommended.
Can I edit robots.txt on Squarespace?
Squarespace generates the file for you rather than letting you edit it line by line. Its crawler settings are how you change what it asks AI crawlers to do, and you can view the result at your-site.com/robots.txt.
Which Squarespace plans include code injection?
Squarespace says code injection is included in the Core, Plus and Advanced plans and some legacy plans. Checkout pages don’t support custom code.
Sources
- Squarespace Help Center: Request that AI models exclude your site
- Squarespace Help Center: Customize parts of your site with code injection
- OpenAI: Overview of OpenAI crawlers
- Anthropic: Does Anthropic crawl data from the web, and how can site owners block the crawler?
- Perplexity: Perplexity crawlers
- Google: Google’s common crawlers (including Google-Extended)
- Google Search Central: Introduction to robots.txt
- Google Search Central: Local business structured data
- Schema.org: LocalBusiness
- Google Rich Results Test
- Schema.org Markup Validator
See what AI says about your business
The free Citable Search scan asks ChatGPT, Claude, Perplexity and Gemini a question your customers ask, 3 times each, and shows whether they name you, who they recommend instead, and your top 3 fixes in plain English. No card needed.
Start a free scan