This repository was archived by the owner on Apr 16, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Tracking actions using Mixpanel
Mohamad Nour Chawich edited this page Apr 25, 2016
·
4 revisions
This guide helps you as Shoutit app developer to start tracking in-app events using Mixpanel.
| Environment | Token |
|---|---|
| Production | c9d0a1dc521ac1962840e565fa971574 |
| Development | d2de0109a8de7237dede66874c7b8951 |
| Local | a5774a99b9068ae66129859421ade687 |
These steps should be applied as soon as a user opens the app.
- user opens the app
- check if existing or new
- if existing: call
mixpanel.identify("USER_ID") - if new: do nothing
- send
app_openevent*
- if existing: you are done
- if new: continue with step 4
- send
mixpanel_distinct_idalong with signup data to the/oauth2/access_tokenendpoint
###app_open event properties
-
signed_user: equal to the booleantrueorfalse. This property depends on whether the user opened the app is an existing one or not. -
api_client: the API client it e.gshoutit-android,shoutit-iosandshoutit-web
Now the mixpanel object in your app is defined and ready to fire events that will be associated with the correct user. Check this Article about the in-app events to be sent.