
How to Add Swiftype Search to Your Squarespace Site
Swiftype is a powerful search engine that can be integrated with your Squarespace site. Here's how to set it up:
Prerequisites:
- Your site must be public
- You can only add one Swiftype search field per page
Creating Your Swiftype Search Engine:
- Log into Swiftype
- Click "Create a new engine"
- Enter your website URL and verify it
- Wait for site scanning to complete
- Name your search engine
- Click "Create engine" then "Complete setup"
- Select "Install Search"
- Customize your search field
- Click "Enable Site Search"
- Copy both the installation and search field codes
Adding Swiftype to Squarespace:
Step 1: Install the Base Code
- Go to Site Settings > Advanced > Code Injection
- Paste the installation code in the Header field
- Save changes
Step 2: Add Search Field to Pages
- Insert a Code Block where you want the search to appear
- Paste the search field code
- Save changes
Important Notes:
- Code customizations are not supported by Squarespace support
- Functionality may vary across devices and platform updates
- Only one search field will work per page
For Additional Help:
- Review Swiftype documentation
- Contact Swiftype support at [email protected]
- Consult with a Squarespace Expert for custom implementations
- Visit the Squarespace Forum for community assistance
Follow best practices for custom code implementation to ensure optimal performance and compatibility with future updates.
Related Articles

How to Report Swiftype Malware Issues in Squarespace
