Skip to content

Squarespace SEO guide

JSON-LD schema on Squarespace

Check what Squarespace already generates, choose markup that matches your content, and validate any addition before publishing.

Updated October 24, 2026. Covers Squarespace 7.1 and 7.0.

What JSON-LD does

JSON-LD is a way to describe page content in a format software can read. A service can have a provider and service area. A business can have a location and opening hours. The script describes information; it does not add a visible FAQ, business listing, review widget, or breadcrumb trail.

Keep three questions separate: Is the JSON syntactically valid? Does it use the right Schema.org vocabulary? Does it meet the requirements of a currently supported Google feature? Passing one check does not answer the others. Google can decline to display a rich result even when eligible markup is present. Start with Google's structured-data overview and its supported-feature gallery.

Inspect native schema before adding code

Squarespace documents automatic structured data for blog posts, events, local businesses, organizations, products, and websites. Its built-in schemas cannot be directly edited or removed. That does not mean every page contains every type. Inspect the actual published URL to see what your site emits. Squarespace's native SEO features.

Open the URL in the Schema Markup Validator and note each entity, its type, and any identifier. Check your business settings, product details, and visible content for errors before adding custom markup. Search your existing Code Injection fields too: an earlier plugin or developer may already have installed the same information.

Our recommendation is to add a custom object only for a specific, documented gap. Keep names, addresses, canonical URLs, and shared identifiers consistent. A second Organization object with a different business name or address creates an avoidable conflict. More script blocks do not prove better coverage.

Where to place JSON-LD in Squarespace 7.1

Confirm your plan includes Code Injection before buying a code export. Squarespace lists Core, Plus, Advanced, and some legacy plans. The following workflow does not require Developer Mode. Official Code Injection instructions.

  1. Keep a copy of the existing custom code.
  2. Open Pages, hover over the relevant page, and select its gear icon.
  3. Open Advanced, then Page Header Code Injection.
  4. Paste the entire application/ld+json script and save.
  5. Inspect the published page and validate the delivered markup.

Site-wide Header and Footer injection repeat on every page. Page-specific service, FAQ, and breadcrumb descriptions belong on their relevant pages. Collection-level settings may affect multiple items; check the actual output before assuming an individual blog post has its own injection field.

Google can read JSON-LD in the head or body

Google supports JSON-LD in either location. The type="application/ld+json" wrapper identifies it as data. Placement does not excuse mismatched content or inaccessible pages. Supported structured-data formats.

For Squarespace 7.1, use the supported editor workflow above. The .page and site.region files mentioned in older tutorials belong to eligible Squarespace 7.0 Developer Mode templates. They are not files a 7.1 site owner needs to create.

LocalBusiness: real locations and real hours

Google's LocalBusiness documentation requires a business name and physical address for that feature. Use the most appropriate business subtype when implementing a more detailed custom integration. Do not create a location to fill a form or publish a private address merely to obtain markup. Google's LocalBusiness requirements.

Within OpeningHoursSpecification, weekdays are individual values. The builder converts Monday-Friday into five Schema.org weekday URLs. It starts with no hours and adds no assumed schedule. Enter both times explicitly. An earlier closing time represents an overnight schedule; 24-hour opening uses 00:00 through 23:59. Schema.org opening hours.

Do not add invented ratings or mark up your own business's testimonials to promise review stars. Google's review rules distinguish independent reviews of other businesses from self-serving reviews. The builder does not generate review or aggregate-rating fields.

Organization: identify the right business

Organization data can help Google distinguish a business and understand its name, logo, website, and administrative details. Use official profiles for sameAs, not unrelated directory pages or keyword targets. Start by inspecting Squarespace's native Organization object. Google's Organization guidance.

The builder requires a name and website as a practical minimum for its export. Those are tool requirements, not a claim that Google mandates those exact fields for every Organization implementation. Include optional phone, email, and logo only when they belong to the organization you are describing.

Service: describe the work on this page

Service describes work offered by a provider. It can include the service name, a factual description, provider, and area served. Google's feature gallery does not list a dedicated general Service rich result. Treat this as a content description, not an entitlement to stars or an expanded listing. Schema.org Service.

The example below is fictional and is not ready for installation. Replace every business detail and URL with information already visible on your service page. If you do not offer that service in that area, do not include it.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Service",
  "name": "Kitchen remodeling",
  "description": "Planning and installation for kitchen remodeling projects.",
  "url": "https://example.com/kitchen-remodeling",
  "provider": {
    "@type": "Organization",
    "name": "Example Remodeling",
    "url": "https://example.com"
  },
  "areaServed": "Nashville, TN"
}
</script>

FAQ rich results have been retired

FAQPage remains in Schema.org. It can describe a page of questions and answers for consumers that use that vocabulary. Our free FAQ export remains available for that purpose. It does not create an accordion, and it carries no promise of Google FAQ expansion.

Use complete answers that visitors can read on the page. Do not truncate them to an invented character limit, add claims solely in the markup, or export empty question-and-answer pairs. Useful visible answers are the starting point, whether or not you add structured data.

WebPage and BreadcrumbList serve different purposes

A WebPage object describes a page. Use its actual URL and title. Add publication and modification dates only when accurate; changing a date does not make old content newly researched. A generic WebPage object alone is not a dedicated Google rich-result feature.

A BreadcrumbList describes a navigation path. Google requires at least two list items, each with its name and position. Every item except the last needs a URL; Google can use the containing page's URL for an omitted last item. The feature is currently available on desktop. Google's breadcrumb requirements.

Choose a path that helps people understand the page's place in your site. The builder renumbers items after removal and does not fill in a fake Home URL. Add visible navigation separately when your design needs it.

Validate the code, then inspect the published URL

  1. Review the exported facts against the page. Confirm names, location, dates, URLs, questions, and answers.
  2. Use the Schema Markup Validator to examine the vocabulary and relationships. This is not a Google ranking test.
  3. Use the Rich Results Test for Google-supported features. A Service or retired FAQ feature may not appear as an eligible result even when the JSON is valid.
  4. After saving, inspect the public URL again. Check the full page for conflicting native or custom data, not just the snippet you copied.
  5. In Search Console, inspect how Google accesses the URL and monitor applicable enhancement reports and search performance. Do not equate a successful fetch, an indexing request, or valid markup with improved rankings.

Google requires relevant, accurate structured data and access to the page. Even then, display is not guaranteed. Google's structured-data policies.

Keep these mistakes out of the export

  • Breaking out of the script. A literal closing script tag inside a JSON string can end the surrounding HTML element. The builder escapes angle brackets during serialization, preserving the text when JSON is parsed. Keep those escapes intact.
  • Copying placeholders. Example names, example.com URLs, guessed hours, and blank answers are not your business data. The builder starts empty and blocks incomplete exports.
  • Fixing one block while leaving another wrong. Check existing native and custom markup together. Update the actual content or settings that supplied an incorrect value.
  • Buying a search-result promise. A license pays for an export workflow. It does not buy indexing, rich results, rankings, citations, or customer inquiries.

For developers implementing their own serializer, Next.js's JSON-LD guidance explains why JSON.stringify alone needs additional protection when embedded in HTML.