Squarespace
Add JsonLD.io to your Squarespace website using code injection.
Site-Wide Installation
- In your Squarespace dashboard, go to Settings
- Click Advanced → Code Injection
- In the Header field, paste:
<!-- JsonLD.io Script -->
<script async src="https://jsonld.io/api/jsonld/YOUR_TOKEN?format=js"></script>
- Click Save
Page-Specific Installation
To add the script to a specific page:
- Go to Pages in your dashboard
- Hover over the page and click the gear icon
- Select Advanced
- In Page Header Code Injection, paste:
<script async src="https://jsonld.io/api/jsonld/YOUR_TOKEN?format=js"></script>
- 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:
- Go to Settings → SEO
- 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
- After saving, visit your live Squarespace site
- Right-click → View Page Source
- Search for
application/ld+json - Verify your JsonLD.io schema is present
- 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
