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:
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" />
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.
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.