Send Events

You can use this REST API to send events from backend.

Endpoint:

https://track.flashyapp.com/events/track

We suggest to use our JS since we track more information about the visitor.

UpdateCart

JSON
{
"key": "__API_KEY__",
"event": "UpdateCart",
"body": {
"email": "customer@email.com" // Must be base64 encoded
"content_ids": ["product_id"],
"value": 100,
"currency": "USD"
}
}

Purchase

JSON
{
"key": "__API_KEY__",
"event": "Purchase",
"body": {
"email": "customer@email.com" // Must be base64 encoded
"content_ids": ["product_ids", "products_1"],
"value": 100,
"currency": "USD"
}
}