Site Search Form

Search form that directs to the domain's search results page

View a live demo of this module.

Content

  • Filter the content that can be searched
  • Edit field placeholder

site-search-form


How to Use This Module

The Site Search Form module provides your website visitors with a powerful way to find specific content across your HubSpot-hosted pages, blog posts, and landing pages. This module is particularly valuable for content-rich websites where users need to quickly locate specific information without navigating through multiple menu levels.

You can add this module to any page template in the Spark Premium theme using the drag-and-drop page editor. It works especially well in website headers, sidebars, or dedicated search pages. Many HubSpot users place it in their site’s global header module or footer for consistent access across all pages.

Content Type Filtering gives you control over which areas of your site appear in search results. You can limit searches to specific content types like blog posts, landing pages, or knowledge base articles, helping visitors find the most relevant information faster. This is particularly useful if you have distinct content sections that serve different audiences.

The placeholder text customization allows you to provide clear search guidance that matches your brand voice. Instead of generic text like “Search,” you can use specific prompts like “Search our help articles” or “Find products and services” to set proper expectations for what visitors will discover.

When implementing this module, consider your site’s information architecture. Place the search form prominently on pages where users are most likely to need it, such as your homepage, main navigation areas, or resource hubs. The search functionality integrates seamlessly with HubSpot’s built-in search capabilities, automatically indexing your published content for accurate results.

For optimal user experience, test different placeholder text variations and consider the search behavior patterns of your specific audience when deciding which content types to include in your filtered results.