Sales/Conversion Tracking - Widget

Track User Journey along with Conversions on your website.

Sales Conversion Tracking

EventCaller’ 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 eventCaller 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 eventCaller function for Product Click:

Here's an example of how to use the eventCaller function for Product Detail:

Here's an example of how to use the eventCaller function for Add To Cart:

Here's an example of how to use the eventCaller function for Promotion Clicks:

Here's an example of how to use the eventCaller function for Checkout:

Here's an example of how to use the eventCaller function for Measuring Purchases:

Here's an example of how to use the eventCaller function for Measuring Refunds:

Here's an example of how to use the eventCaller function for Partial Refunds:

Questions?

Please feel free to reach out via [email protected] if you need any help.

Last updated

Was this helpful?