User Events
API
Request Method: GET
URL: https://sink.justtrack.io/userevents/v0
Required parameters
The following parameters are required so events are getting tracked.
Parameter | Description |
---|---|
apiKey | Your justtrack API key |
userId | Either the justtrack user ID or your custom user ID, which you provided via the justtrack SDK |
platform | iOS or Android |
packageId | The Package ID / Bundle ID of the app |
eventName | A custom name for the event |
Optional parameters
The following parameter is optional and used in case events can't be sent in real time. If no timestamp is provided, we will use the current time.
Parameter | Description |
---|---|
timestamp | The time when the event happened in ISO 8601 format |
Example GET request
https://sink.justtrack.io/userevents/v0?userId=f1004a2c-b04d-4e71-bee1-5b99ca404951&platform=android&packageId=app.package.id&eventName=event_name×tamp=2022-05-12T09:35:35Z&apiKey=bec4afed-bfdc-4434-8909-ee7666b01d7b