Method Signature
Parameters
Parameters for the browse results event
Optional parameters for the network request
Returns
Returnstrue on success or an Error object if validation fails.
Examples
Basic Example
Complete Example
Integration Example
Example with Multiple Filters
When to Use
CalltrackBrowseResultsLoaded() when:
- A category/collection page loads
- A user navigates to a brand page
- Browse results are filtered or sorted
- Pagination changes on a browse page
- Any faceted navigation page is displayed
Important Notes
- The
filterNameandfilterValueidentify the primary browse filter - For a category page, use
filterName: 'category'andfilterValue: 'Category Name' - For a brand page, use
filterName: 'brand'andfilterValue: 'Brand Name' - Always include the
resultIdfrom Constructor.io’s response - The
itemsarray can contain up to 100 items (automatically truncated) - Re-track when filters, sorting, or pagination changes
Filter Name Examples
CommonfilterName values:
"category"- For category/collection pages"brand"- For brand pages"collection"- For curated collections"group_id"- For product groups
Selected Filters Format
TheselectedFilters object should map filter names to arrays of values:
Item Object Format
Each item in theitems array can include:
itemId(required): Unique product identifieritemName(optional): Product namevariationId(optional): Variation identifier
Relationship with Other Events
Track these events in sequence:- trackBrowseResultsLoaded - When browse page displays (this method)
- trackBrowseResultClick - When user clicks a result
- trackConversion - If the click leads to a conversion
API Endpoint
This method sends aPOST request to:
Related Methods
- trackBrowseResultClick - Track browse result clicks
- trackSearchResultsLoaded - Track search results
- trackRecommendationResultsLoaded - Track recommendation displays