. Squarespace won't render or escape it — it loads as raw HTML in the head.","url":"https://academy.billionideas.co/tutorial/add-schema-markup-squarespace#step-3"},{"@type":"HowToStep","position":4,"name":"Add per-page schema where it matters","text":"For a single blog post, open the post → Settings → Advanced → Page Header Code Injection, and paste an Article schema referencing that post's URL, author and datePublished.","url":"https://academy.billionideas.co/tutorial/add-schema-markup-squarespace#step-4"},{"@type":"HowToStep","position":5,"name":"Test in Google Rich Results","text":"Open search.google.com/test/rich-results, paste your live URL and confirm Google detects the schema with no errors.","url":"https://academy.billionideas.co/tutorial/add-schema-markup-squarespace#step-5"},{"@type":"HowToStep","position":6,"name":"Submit the URL for re-indexing","text":"Open Google Search Console → URL Inspection → paste the URL → Request Indexing. AI engines re-crawl through Google's index, so this accelerates pickup across the board.","url":"https://academy.billionideas.co/tutorial/add-schema-markup-squarespace#step-6"}]}

How to add schema markup to Squarespace (for AI search & rich results)

Add JSON-LD schema to Squarespace so Google can show rich results and AI engines like ChatGPT, Perplexity and Gemini can cite your pages confidently.

7 min read intermediateUpdated Jun 23, 2026
BI
Reviewed by the editorial team · Jun 23, 2026

Squarespace adds a small amount of schema markup by default — basic Article, Product and BlogPosting — but it's incomplete for modern AI search. AI Overviews, ChatGPT and Perplexity all rely on structured data to decide which sources to quote.

The good news: you can inject your own JSON-LD with a single Code Injection block, and it works on every plan from Personal upward.

Before you start
  • A Squarespace site on the Personal plan or higher (Code Injection requires it)
  • Your business name, address and phone number ready

Step by step

  1. 01

    Open Code Injection

    Squarespace dashboard → Settings → Advanced → Code Injection. Paste your JSON-LD into the Header field so it loads on every page.

  2. 02

    Generate the JSON-LD

    Use Google's Structured Data Markup Helper or schema.dev to generate LocalBusiness, Organization or Service schema. Validate it at validator.schema.org before pasting.

  3. 03

    Paste the script tag

    Wrap the JSON in <script type="application/ld+json">…</script>. Squarespace won't render or escape it — it loads as raw HTML in the head.

  4. 04

    Add per-page schema where it matters

    For a single blog post, open the post → Settings → Advanced → Page Header Code Injection, and paste an Article schema referencing that post's URL, author and datePublished.

  5. 05

    Test in Google Rich Results

    Open search.google.com/test/rich-results, paste your live URL and confirm Google detects the schema with no errors.

  6. 06

    Submit the URL for re-indexing

    Open Google Search Console → URL Inspection → paste the URL → Request Indexing. AI engines re-crawl through Google's index, so this accelerates pickup across the board.

Key takeaways

  • Schema is the cheapest GEO win available — one block of JSON-LD, sitewide impact.
  • LocalBusiness, Organization, Article and FAQPage cover 90% of small-business needs.
  • Always validate with Google's Rich Results test before publishing.

Troubleshooting

Rich Results says 'No items detected'
The script tag was probably escaped. Re-open Code Injection and make sure the <script> tags aren't replaced with &lt;script&gt;.
Schema shows but with a warning about missing fields
Warnings are non-blocking, but fill them in anyway — AI engines prefer complete records. Add 'image', 'priceRange' and 'openingHours' to LocalBusiness.

Frequently asked questions

+Does schema markup help with ChatGPT and Perplexity?

Yes. ChatGPT Search and Perplexity both prioritise pages with clean structured data because it removes ambiguity about what the page is about and who wrote it.

+Will Squarespace strip my JSON-LD?

No. Code Injection in the header is passed through to the rendered HTML unchanged on every paid plan.

Web Design · Done-for-you
Want us to design and launch your website?

We build sites on Squarespace, Wix, WordPress, Shopify, Webflow and Framer — from blank canvas to live domain.

Book a website call