- Usage for a given location compared to past
- Device size distribution by age group
- Purchases and average transaction distribution by date
- Distribution of crashes by app version
1.1 Usage for a given location compared to past
How many users in a given country (for instance Netherlands) did use the app in the last month, and how did this change compared to the month before?
https://api.uxcam.com/user/analytics?
appid=60f6c0b8b97ba419120b82eb&
apikey=9c633412-927a-4f4e-87bc-386dc1e3a618&
daterange={"from": "2022-01-01", "to": "2022-03-02"}&
aggregation=[{'attribute':'user_count','operator':'count'}]&
filter=[{"user_country":{"operator": "is", "value":"Netherlands" }}]&
link=false&
comparison=true
In this example, we can see that there were 9 users from the Netherlands during this period and there is a 350% increase in the count of users compared to the previous period. This means that there were only 2 users previously.
{
"success": true,
"data": [
{
"user_count": 9,
"user_count_pct_change": 350,
]
}
1.2 Session distribution by device size
What the most commonly used device size observed in the generated sessions. Or what is the distribution of session by device size?
https://api.uxcam.com/event/analytics?
appid=60f6c0b8b97ba419120b82eb&
apikey=9c633412-927a-4f4e-87bc-386dc1e3a618&
daterange={"from": "2022-01-01", "to": "2022-03-02"}&
group_by=[{"attribute":"device_width"},{"attribute":"device_height"}]
In this example, we can see that a given device size (device_height and device_width) has more sessions and thus used more than others.
{
"success": true,
"data": [
{
"session_count": 211,
"device_height": 2560,
"device_width": 1440,
"session_new_user_count": 6,
"session_unique_user_count": 21,
"age_group":11-20,
"dashboard_link": "https://app.uxcam.com/app/5e96a0513596b900b44eeafa/sessions/list/1?dateRange={\"from\":\"2020-08-01\",\"to\":\"2020-10-30\"}&devicewidth={\"o\":\"in\",\"v\":[1440]}&deviceheight={\"o\":\"in\",\"v\":[2560]}"
},
{
"session_count": 491,
"device_height": 1280,
"device_width": 1440,
"session_new_user_count": 10,
"session_unique_user_count": 43,
"age_group":21-30,
"dashboard_link": "https://app.uxcam.com/app/5e96a0513596b900b44eeafa/sessions/list/1?dateRange={\"from\":\"2020-08-01\",\"to\":\"2020-10-30\"}&devicewidth={\"o\":\"in\",\"v\":[1440]}&deviceheight={\"o\":\"in\",\"v\":[1280]}"
}
]
}
1.3 Purchases and average transaction distribution by date
How many purchase transaction events were triggered last week, and what was the average transaction amount depending on the date?
https://api.uxcam.com/event/analytics?
appid=60f6c0b8b97ba419120b82eb&
apikey=9c633412-927a-4f4e-87bc-386dc1e3a618&
daterange={"from": "2022-01-01", "to": "2022-03-02"}&
filter=[{"event_custom_property":{"operator":"in","property_name":"action","value":["transaction"]}}]&
group_by=[{"attribute":"event_date_day"}]&
aggregation=[{'attribute':'event_custom_property','operator':'avg','property_name':'transaction_amount'},
{'attribute':'event_custom_property','operator':'sum','property_name':'transaction_count'}]
In this example, we can see that the count of purchase transaction events (sum_event_property_transaction_count) is highest on the 23rd and the average purchase (avg_event_property_transaction_amount) is highest on the 24th. It happens to be that 23rd Oct is Friday and 24th Oct is Saturday. Moving further on Sunday, the 25th, both the purchase events and average purchase price drop down. This gives an understanding of the customers’ purchasing behavior by calendar dates.
{
"success": true,
"data": [
{
"avg_event_property_transaction_amount": 3.1136,
"sum_event_property_transaction_count": 2.0,
"event_period": "2020-10-22",
"dashboard_link": "https://app.uxcam.com/app/5f880e3280aff2726c789e43/events/list/1?dateRange={\"from\":\"2020-10-22\",\"to\":\"2020-10-28\"}&eventdate={\"o\":\"on\",\"v\":\"2020-10-22\"}"
},
{
"avg_event_property_transaction_amount": 5.1922,
"sum_event_property_transaction_count": 972,
"event_period": "2020-10-23",
"dashboard_link": "https://app.uxcam.com/app/5f880e3280aff2726c789e43/events/list/1?dateRange={\"from\":\"2020-10-22\",\"to\":\"2020-10-28\"}&eventdate={\"o\":\"on\",\"v\":\"2020-10-23\"}"
},
{
"avg_event_property_transaction_amount": 9.3251,
"sum_event_property_transaction_count": 429,
"event_period": "2020-10-24",
"dashboard_link": "https://app.uxcam.com/app/5f880e3280aff2726c789e43/events/list/1?dateRange={\"from\":\"2020-10-22\",\"to\":\"2020-10-28\"}&eventdate={\"o\":\"on\",\"v\":\"2020-10-14\"}"
},
{
"avg_event_property_transaction_amount": 4.2271,
"sum_event_property_transaction_count": 211,
"event_period": "2020-10-25",
"dashboard_link": "https://app.uxcam.com/app/5f880e3280aff2726c789e43/events/list/1?dateRange={\"from\":\"2020-10-22\",\"to\":\"2020-10-28\"}&eventdate={\"o\":\"on\",\"v\":\"2020-10-25\"}"
}
]
}
1.4 Distribution of crashes by app version
How many crashes did I have last week, and on which app version did they happen?
https://api.uxcam.com/session/analytics?
appid=60f6c0b8b97ba419120b82eb&
apikey=9c633412-927a-4f4e-87bc-386dc1e3a618&
daterange={"from": "2022-01-01", "to": "2022-03-02"}&
aggregation=[{ 'attribute': 'session_is_crashed', 'operator': 'sum'}]&
group_by=[{"attribute":"device_app_version"}]
In this example, we can see that the device_app_version “1.1” has maximum crashes. While the device_app_version “2.0” and “1.0 (1)” have no crashes.
{
"success": true,
"data": [
{
"device_app_version": "2.0",
"sum_session_is_crashed": 0,
"dashboard_link": "https://app.uxcam.com/app/5e96a0513596b900b44eeafa/sessions/list/1?dateRange={\"from\":\"2020-11-01\",\"to\":\"2020-11-07\"}&appversion={\"o\":\"in\",\"v\":[\"2.0\"]}"
},
{
"device_app_version": "1.1",
"sum_session_is_crashed": 6,
"dashboard_link": "https://app.uxcam.com/app/5e96a0513596b900b44eeafa/sessions/list/1?dateRange={\"from\":\"2020-11-01\",\"to\":\"2020-11-07\"}&appversion={\"o\":\"in\",\"v\":[\"1.1\"]}"
},
{
"device_app_version": "1.0 (1)",
"sum_session_is_crashed": 0,
"dashboard_link": "https://app.uxcam.com/app/5e96a0513596b900b44eeafa/sessions/list/1?dateRange={\"from\":\"2020-11-01\",\"to\":\"2020-11-07\"}&appversion={\"o\":\"in\",\"v\":[\"1.0 (1)\"]}"
},
{
"device_app_version": "1.0",
"sum_session_is_crashed": 2,
"dashboard_link": "https://app.uxcam.com/app/5e96a0513596b900b44eeafa/sessions/list/1?dateRange={\"from\":\"2020-11-01\",\"to\":\"2020-11-07\"}&appversion={\"o\":\"in\",\"v\":[\"1.0\"]}"
}
]
}