Add Swiftype Search Engine to Your Squarespace Website

Add Swiftype Search Engine to Your Squarespace Website

By Michael Turner

February 28, 2025 at 06:11 PM

Swiftype enables powerful search functionality for your Squarespace website through a simple two-step installation process.

Important: Your website must be public before adding Swiftype, and you can only use one search field per page.

Get Your Swiftype Installation Code:

  1. Log into Swiftype and select "Create A New Engine"
  2. Enter your website URL and verify it
  3. Wait for Swiftype to crawl your website
  4. Name your search engine and click "Create engine"
  5. Select "Complete Setup"
  6. Click "Install Search"
  7. Customize your search field
  8. Click "Activate Site Search"
  9. Copy both the installation code and search field code

Add Swiftype to Squarespace:

Step 1: Add Installation Code

  • Open Code Injection in Squarespace settings
  • Paste the installation code into the Header field
  • Save changes

Step 2: Add Search Field

  • Select an insertion point on your page
  • Add a Code Block
  • Paste the search field code
  • Save changes

Technical Considerations:

  • Code customizations are not supported by Squarespace support
  • Responsive design and mobile compatibility may vary
  • Future platform updates could affect functionality

For Additional Help:

  • Review custom code best practices
  • Contact Swiftype support at [email protected]
  • Visit Swiftype documentation
  • Consult the Squarespace Forum
  • Consider hiring a Squarespace expert

Note: Test your search functionality thoroughly after installation to ensure proper operation across all devices and templates.

Related Articles

Previous Articles