
How to Install Swiftype Search in Squarespace: Step-by-Step Guide
Swiftype lets you add powerful search functionality to your Squarespace website through a simple two-step process.
Prerequisites:
- Your Squarespace website must be public
- Only one Swiftype search field can be added per page
Step 1: Get Swiftype Install Code
- Log in to Swiftype and click "Create A New Engine"
- Enter your website URL and verify it
- Wait for Swiftype to crawl your website
- Name your search engine and click "Create engine"
- Click "Complete Setup"
- Select "Install Search"
- Customize your search field
- Click "Activate Site Search"
- Copy both the installation code and search field code
Step 2: Add Code to Squarespace
-
Add Installation Code:
- Open Squarespace "Code Injection" menu
- Paste installation code in Header field
- Save changes
-
Add Search Field:
- Choose where you want the search to appear
- Add a Code Block at that location
- Paste the search field code
- Save changes
Important Notes:
- Code customizations are not officially supported by Squarespace
- Functionality may be affected by platform updates
- Search field may display differently on mobile devices
- Template compatibility varies
For Additional Help:
- Review Squarespace code customization best practices
- Contact Swiftype support at [email protected]
- Visit Squarespace Forums
- Consider hiring a Squarespace expert
The search functionality will be active once both code snippets are properly installed and your site is republished.
Related Articles

How to Set Up a Third-Party Subdomain on Squarespace: Step-by-Step Guide
