Squarespace

Add JsonLD.io to your Squarespace website using code injection.

Site-Wide Installation

  1. In your Squarespace dashboard, go to Settings
  2. Click AdvancedCode Injection
  3. In the Header field, paste:
<!-- JsonLD.io Script -->
<script async src="https://jsonld.io/api/jsonld/YOUR_TOKEN?format=js"></script>
  1. Click Save

Page-Specific Installation

To add the script to a specific page:

  1. Go to Pages in your dashboard
  2. Hover over the page and click the gear icon
  3. Select Advanced
  4. In Page Header Code Injection, paste:
<script async src="https://jsonld.io/api/jsonld/YOUR_TOKEN?format=js"></script>
  1. Click Save

Squarespace Plans

Code injection is available on Business plan and higher. If you're on a Personal plan, you'll need to upgrade to use custom code.

Disable Squarespace's Built-in Schema

Squarespace adds some basic JSON-LD by default. To avoid duplicates:

  1. Go to SettingsSEO
  2. Review and adjust SEO settings as needed

Note: You may see both Squarespace's default schema and your JsonLD.io schema. This is generally fine as long as they don't conflict.

Verification

  1. After saving, visit your live Squarespace site
  2. Right-click → View Page Source
  3. Search for application/ld+json
  4. Verify your JsonLD.io schema is present
  5. Use Google's Rich Results Test

Troubleshooting

Schema not appearing?

  • Make sure your changes are saved
  • Clear your browser cache
  • Check that you're viewing the live site, not preview mode

Plan limitations?

  • Code injection requires Business plan or higher
  • Consider upgrading if you need custom code features

Notes

  • The script automatically detects the current page
  • Works with all Squarespace page types: regular pages, blog posts, products, etc.
  • Changes in your JsonLD.io dashboard are reflected immediately