track_event
Record commerce events—purchases, cart abandonment, browsing, wishlists, and reviews—against a contact email to enable behavioral tracking and email automation.
Instructions
Track a commerce event (purchase, cart_abandonment, browse, wishlist, review).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"event_type": "<event_type>",
"email": "<email>"
},
"name": "track_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Email address of the contact. | ||
| revenue | No | Revenue amount for purchase events. | |
| currency | No | Currency code (e.g. USD, EUR). | |
| order_id | No | Order ID for purchase events. | |
| timestamp | No | ISO 8601 timestamp of the event. | |
| event_type | Yes | Event type (purchase, cart_abandonment, browse, wishlist, review). | |
| properties | No | Additional event properties. |