Warning: This article describes configuration for legacy ready-made views. Those views have been replaced with modern, easy-to-configure analogues and we strongly recommend using them instead.
See this article for more information on how you can configure the content of the search results.

You can manually define the value of the Category information with a metatag. Category information is displayed below each search results, circled in red in the image below:

Picture of AddSearch search results with category information circled with red outline.


To define the category, add a meta tag named “addsearch-category” to the page’s HTML head section:

<meta name="addsearch-category" content="Awesome category" />


To define multiple categories, separate them with a slash:

<meta name="addsearch-category" content="Products/Pants" />


Filtering by addsearch-category

You can filter search results against the addsearch-category meta tag, so only pages with a specific tag are returned. Read more about filtering search results.

Was this helpful?

Need more help?

We’re always happy to help with code or other questions you might have. Search our documentation, contact support, or connect with our sales team.