Skip to main content

Tracking APIs

Track Search Result Click

POST https://api.conversecart.com/analytics/trackSearchResultClick

Input

ParameterTypeRequiredDescription
indexIDstringYesIndex ID associated with the search result click.
sessionIDstringYesSession ID associated with the user session.
searchIDstringYesSearch ID associated with the search session.
documentIDstringYesDocument ID of the clicked search result.

Track Product Viewed

POST https://api.conversecart.com/analytics/trackDocumentViewed

Input

ParameterTypeRequiredDescription
indexIDstringYesIndex ID associated with the document viewed
sessionIDstringYesSession ID associated with the user session.
documentIDstringYesDocument ID of the viewed document.

Track Add to Cart

POST https://api.conversecart.com/analytics/trackAddToCart

Input

ParameterTypeRequiredDescription
indexIDstringYesIndex ID associated with the item added to cart.
sessionIDstringYesSession ID associated with the user session.
documentIDstringYesDocument ID of the item added to cart.
additionalDatastringNoAny additional data related to the add to cart event.

Track Conversion

POST https://api.conversecart.com/analytics/trackConversion

Input

ParameterTypeRequiredDescription
indexIDstringYesIndex ID associated with the conversion.
sessionIDstringYesSession ID associated with the user session.
documentIDstringYesDocument ID of the item bought (converted).
additionalDatastringNoAny additional data related to the add to cart event.