Installing AddSearch on a HubSpot Website
Follow these steps to add the AddSearch widget to your HubSpot site by editing your page template.
Steps
-
In your HubSpot account, navigate to your website's page templates:
- Go to Marketing > Files and Templates > Design Tools or the relevant template editor for your site.
-
Locate your existing search form in the template:
- Search the HTML for the
<form>element that defines your current search form. - Select and delete this entire
<form>block, including the opening and closing<form>tags, to avoid conflicts with AddSearch.
- Search the HTML for the
-
Configure your AddSearch widget:
- Visit the AddSearch Search Designer tool to customize the widget's appearance and behavior.
- After configuring, copy the generated installation script.
-
Insert the AddSearch script:
- Paste the script into your HubSpot template where you want the search field to appear.
-
Save and publish your template changes to update your website.
This process replaces the default HubSpot search with the AddSearch widget for enhanced search functionality.
Note: If you are unfamiliar with editing HubSpot templates or if your site uses drag-and-drop editing, consult HubSpot support or documentation for instructions on how to access and edit your site's HTML templates.