πAndroid/IOS Tracker
Api EndPoints To Track Events From Android/Ios Apps
For Any Queries Drop a mail at : aman@crunchit.ai
Session Id
Session id is generated when user starts new session.
Distinct Id :
Keep distinctid same in different user sessions.It will help in merging event. That user produced before user identification. Keep distinctid it in local Storage and if user clears the local storage. Generate the new distinctid for that user using our api(mentioned below).
To Generate Session Id and distinct Id :
curl --location 'https://events-backend-5dzspnb6za-uc.a.run.app/generate-session' \
--header 'project_id;'Headers :
project_id : apikey (required)Api Response :
Status Code : 200 { "success": true, "sessionId": "aae5029b9ab1b817c6a42731cc93ba1c3e9d57a0cb27ab7893c7765359b1fcb6" }
Track Event
Headers :
Payload
Extra Points :
keep the object nested level at 1.To add Nested Objects flatten it :
Api Response :
Identify User
Headers :
payload :
Extra Points :
keep the object nested level at 1.To add Nested Objects flatten it :
Api Response :
Last updated