To send custom events to Taplytics using our REST API you will need:
- Your API key (available from the Settings page of your Taplytics Dashboard)
- A session ID (TL provides unique session IDs for all sessions)
In order to retrieve the session ID you will need to complete a few steps:
1. First, use the List All Users by Token API and you will see the ID
- The post will look like this:
https://api.taplytics.com/v2/usersbytoken?api_token=e36b6919ec1a4868b592293a1ca5dfce
The response will look something like this:
2. Next, use Get User API to retrieve the session info for a specific user. The Taplytics ID is in red below
- The post would look something like this:
https://api.taplytics.com/v2/users/5b33e109aad2a600529cc791?api_token=e36b6919ec1a4868b592293a1ca5dfce
The response will look something like this:
3. Within the response is the last session for that user. You can post the event using this session id
Comments
0 comments
Article is closed for comments.