Last updated: April 2, 2021
You can use a search field on your site to pull a list of relevant content for your visitors on a search results page. Below find answers to frequently asked questions about the search field module and search results page.
The search results order is determined by a series of weighted comparisons of page content to the visitor's search term. Page content is separated out into comparison fields with varying weight based on where the content lives within the HTML of your pages. Comparison fields are grouped in order of weight:
Please note that this list is subject to change.
While there is no exact timeline for when changes or new pages should show up in search results, they should show up relatively quickly. If changes to results do not appear within six hours, please reach out to HubSpot Support. If new pages do not show up within six hours, make sure the new page does not meet the criteria below.
By default, the search field module will display a typeahead dropdown of likely and relevant search results as the visitor is typing. The visitor can either click through to these typeahead results, or enter their search term to be directed to the search results page for a full list of relevant results.
Currently, site search does not have search analytics. However, this functionality may be added in the future.
Search results pages are automatically blocked from search engines. This is because the content is dynamically generated, and it is best to have the individual pages indexed based on their content.
There are a few reasons why a specific page wouldn't show up in your search results.
There may be a few reasons why you're not seeing search results. You will need to ensure the search results module exists in the template you have selected as the Search results page template. Also, confirm that the pages you are expecting to show up in a search result are not being blocked from being crawled in your robots.txt file.
If your website is currently displaying on the 'hubspotpagebuilder' default domain it will not load a Site Search Results page. This can be resolved by hosting the content on a connected custom domain.
To set the path of your search results page:
Only search results page system templates will show up in the Search results page dropdown in Settings.
Before including the search field module on any live pages, you can include it on a test page or template to preview how this module will function, and how the search results page will function. Once you like how everything looks and works, include the search field module in your live templates.
Sometimes certain data such as serial numbers, code samples, and more complex data may not be picked up by the text analyzer in site search. To make sure these types of text get indexed, warp them in a tag using the following class:
You can boost some of the keywords on your page in your site search results by wrapping them in a tag using the following class:
Thank you for your feedback, it means a lot to us.
Smart content modules display different versions of your content based on viewer category. For example, you...
The fonts available for content in HubSpot depend on the type of content and the type of font. Certain...
Email subscription pages are created as system templates, rather than individual pages. The way they render...