Squarespace SEO & AEO for Designers
How do I add schema markup to a Squarespace site?
Add schema markup to a Squarespace site by pasting JSON-LD into Code Injection (Settings → Advanced → Code Injection). Put sitewide schema like Organization in the Header field and page-specific schema like FAQPage in a page's Advanced settings under Page Header Code Injection. Squarespace already outputs some structured data automatically, so only add what is missing.
Use JSON-LD, not microdata
Google recommends JSON-LD as the format for structured data (Google Search Central). It is a <script type="application/ld+json"> block that lives in the page head or body, separate from your visible HTML. Squarespace does not offer a native schema editor, so JSON-LD pasted into Code Injection is the only clean way to add structured data beyond what the platform generates automatically.
Where to paste the code
Squarespace has two injection points relevant to schema (Squarewebsites):
- Header Code Injection (sitewide) — use for Organization, WebSite, or LocalBusiness schema that should appear on every page. Requires a Business plan or higher.
- Page Header Code Injection (per page) — use for FAQPage, Article, or Product schema that applies to one page only. Found in a page’s Settings → Advanced tab.
Code Injection requires a Business or Commerce plan; the Personal plan only supports per-page Code Blocks, which are less reliable for head-level JSON-LD (Squarewebsites).
Validate before you publish
After pasting JSON-LD, validate it with the Rich Results Test before publishing. This catches syntax errors and confirms whether your schema is eligible for rich results. Refer to schema.org for the correct property names for each type.
See the full Squarespace SEO & AEO for Designers product page on squarewebsites.org for live pricing, demos, and setup details.
Sources: developers.google.com · schema.org · squarewebsites.org