HubSpot COS Modal Site Search [plugin]
Why I Made It
I created this plugin because it was something I needed myself and something I knew others on the COS were missing. The default HubSpot search module takes users off your website and is not an ideal solution by any means.
HubSpot’s own website has a really nice modal search that displays it’s results in an overlay:
We like it because it provides a visually pleasing design, a great user experience by not taking you off the page or causing a page refresh, and because it provides real time results as you type your query. That’s the kind of experience we wanted and that’s what we set out to build!
How It Works
Feel free to dig into the finer details on the GitHub repo and fix any bugs you find while you’re in there! ?
Because the sitemap.xml only provides the URL and the date the page was modified, it is limited to only display titles based on the URL which may lead to funky worded titles. In addition, if your website is larger than a few hundred pages, you’ll most likely start running into performance issues if using as is.
Visit the github repo for instructions on how to use it on your website.