Use this method to track specific user interactions on your website. These interactions can include product views, action button clicks and other custom behaviors relevant to your application. Parameters:
eventName:string– A name that describes the user action (e.g.,'Checkout','productViewed','AddToCart').properties:object(optional) – Key-value pairs with details about the event: Eg:productIdcartValuequantity, etc
https://spl.zeotap.com/fp? call:
Event properties in payload
- Open your browser’s Developer Tools (
F12or right-click → Inspect). - Go to the Network tab.
- Perform the action you’re tracking (e.g., add an item to a cart or view a product).
- Look for a network
POSTrequest sent tohttps://spl.zeotap.com/fp?. - Check the request payload — it should contain:
- An
eventnode with theeventName(e.g.,"AddToCart") - A
propertiesobject with the custom values you passed (e.g.,productId,quantity,price)
- An