Guides / Squarespace

How to Add FAQ Schema to Squarespace

November 8, 2026 · 3 min read

FAQ schema is a small block of code that tells search engines "this text is a question, and this is its answer." Its proper name is FAQPage structured data. Squarespace's Accordion block shows your questions to visitors but doesn't add this code, so if you want it you add it yourself.

First: what FAQ schema does today

A few years ago, FAQ schema made Google show your questions as expandable drop-downs under your search result. In 2023 Google limited those to well-known government and health websites. For most sites, adding FAQ schema won't change how your listing looks.

It's still worth adding if you already have an FAQ:

  • It tells search engines exactly which text answers which question, rather than leaving them to guess.
  • Other search engines and AI answer tools read structured data too.
  • It takes ten minutes and does no harm, as long as it matches what's on the page.

What matters more for search is the FAQ itself. Use the words your visitors actually type, and answer in the first sentence.

The code

Here's FAQ schema for two questions. Replace the text with your own questions and answers, word for word as they appear on the page:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What time are services?",
      "acceptedAnswer": { "@type": "Answer", "text": "Sundays at 9:00 and 10:45 AM." }
    },
    {
      "@type": "Question",
      "name": "Where should I park?",
      "acceptedAnswer": { "@type": "Answer", "text": "Use the main lot off Elm Street." }
    }
  ]
}
</script>

For more questions, copy one { "@type": "Question" ... } block and paste it after the last one, with a comma between blocks but none after the last. Two things break it:

  • Straight quotes only. Write ", never curly “ ” (word processors add curly ones). If your answer contains a quote mark, write it as \".
  • Plain text answers. Keep formatting out of the answer text. A simple <a href="…">link</a> is allowed, but plain sentences are safest.

Where to paste it

Core, Plus or Advanced plans

Use the page's own header code, so the schema is only on your FAQ page:

  1. In Pages, hover over your FAQ page and click the gear icon.
  2. Open Advanced.
  3. Paste the code into Page Header Code Injection and save.

A Code Block on the page also works. Structured data doesn't have to be in the header.

Basic plan

Basic plans don't include Code Injection or Code Blocks. A Markdown Block accepts HTML on every plan, including a <script type="application/ld+json"> block. Paste the code into a Markdown Block on the FAQ page. It shows nothing to visitors. More about the Markdown Block method.

Test it

  1. Publish the page.
  2. Open Google's Rich Results Test (search for it) or the Schema Markup Validator at validator.schema.org, and enter your page's address.
  3. Look for FAQPage with your questions listed and no errors.

The Rich Results Test may say the page isn't eligible for rich results. That's expected for most sites, given Google's restriction. What you're checking for is that the FAQ data is detected with no errors.

Keep it in sync

The schema has to match the visible questions. When you change an answer on the page, change it in the code too. With many questions, or several people editing, this is easy to forget, which is the main drawback of writing schema by hand.

The ready-made option

The FAQ Section builds your FAQ and its schema from the same source, so they can't drift apart:

  • Questions from a Google Sheet, pasted rows or plain HTML
  • Search as you type, topic buttons, and a link to every answer
  • FAQPage structured data added automatically, and skipped if the page already has some
  • Works on every Squarespace plan, plus a WordPress plugin

It's $19 once, for unlimited sites. How to add a searchable FAQ to Squarespace covers the FAQ itself in more detail.