Step-by-step implementation
Step 1. Index category and brand page references
To make category or brand suggestions available in autocomplete, the pages must first be indexed as content. The following example demonstrates how to add category and brand pages to the content feed:Step 2. Query autocomplete with content suggestions
Once categories and brands are indexed, content must be requested using a “POST” request when calling theautocomplete endpoint or method.
See these examples:
- REST API
- JS Library
Contents of request-body.json
type value must match the value used in the content feed.
Behavior and limitations
- Empty pages, meaning pages without product listings, may still appear as autocomplete suggestions.
- Elevate treats these entries as generic content and does not automatically associate them with actual category or brand structures.
Best practices
- Use descriptive values such as “category” or “brand” for the
typefield. - Add keywords to maximize discoverability.
- Test autocomplete queries regularly to verify:
- Correct category and brand suggestions appear.
- Visitors are redirected to the intended destination pages.
Summary
By indexing category and brand pages as content and requesting them throughcontentLists, category and brand suggestions can be surfaced in autocomplete responses even though they are not supported by default.
