Method Signature
Parameters
Parameters for the browse result click 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 Sponsored Listing
When to Use
CalltrackBrowseResultClick() when:
- A user clicks on a product in a category page
- A user clicks on a product in a brand page
- A user clicks on a product in a collection page
- A user clicks on any product in faceted navigation results
Important Notes
- Always include the
resultIdfrom Constructor.io’s browse response - The
filterNameandfilterValuemust match what was passed totrackBrowseResultsLoaded - Both
itemIdanditemNameare required - Track this event before navigating away from the browse page
- The
resultPositionOnPageshould be 0-indexed (first item = 0)
Filter Name Consistency
EnsurefilterName and filterValue match between events:
Position Tracking
Tracking the position helps understand which results get the most clicks:Relationship with Other Events
Track these events in sequence:- trackBrowseResultsLoaded - When browse page displays
- trackBrowseResultClick - When user clicks a result (this method)
- trackConversion - If the click leads to a conversion
API Endpoint
This method sends aPOST request to:
Related Methods
- trackBrowseResultsLoaded - Track browse results display
- trackSearchResultClick - Track search result clicks
- trackRecommendationResultClick - Track recommendation clicks
- trackConversion - Track conversions