Sales/Conversion Tracking - Widget
Track User Journey along with Conversions on your website.

‘saleassist.track’ Function Documentation
Description
The eventCaller function is a utility function in JavaScript that allows you to trigger custom events with specific data. It takes an event name as a string and an optional data object as parameters. When called, the saleassist.track function dispatches a custom event with the given name and the provided data, making it possible to capture custom events in your JavaScript applications.
Parameters
eventName (String): The name of the custom event to be dispatched. It should be a string representing the event's name.
data (Objectl): An data object to be passed along with the custom event. This data can be used by event listeners to access additional information related to the event.
Usage
Here's an example of how to use the saleassist.track function for Product Click:
Here's an example of how to use the saleassist.track function for Product Detail:
Here's an example of how to use the saleassist.track function for Add To Cart:
Here's an example of how to use the saleassist.track function for Promotion Clicks:
Here's an example of how to use the saleassist.track function for Checkout:
Here's an example of how to use the saleassist.track function for Page View:
Here's an example of how to use the saleassist.track function for Measuring Purchases:
Here's an example of how to use the saleassist.track function for Measuring Refunds:
Here's an example of how to use the saleassist.track function for Partial Refunds:
Questions?
Please feel free to reach out via [email protected] if you need any help.
Last updated