Events tracking

Use this REST resource to track events.

API domain: api.productfruits.com


Track event to user

Resource: POST /v1/events/track
Body

{
    "event": "Your Event Name", // REQUIRED
    "properties": { // except for 'username', these props are optional and currently on for future user.
    	"username": 'Username of the User to track the event to',
        "intCustomProp": 78878,
        "boolCustomProp": false,
        "stringCustomProp": "example"
    }
}

This endpoint tracks an event to the given user. Use it to sync events from your backend systems.

Was this article helpful?