Hello, we’re trying to get a consistent and easy to use view of device types, but not at the level that Amplitude uses in it’s event. Ideally we would like to see a breakdown of Desktop (Device type = Mac or Windows) vs Mobile (all others).
I tried to do this via Property Groups, however I noticed that Device Type and Device Family do not show up in the dropdown when I search for them.
We would like to group by this property in charts instead of having to make two separate events, one for desktop and one for mobile.
Thanks!
Best answer by jarren.patao
Hi Eric,
Thanks for reaching out! Saish made some great points, but here are some possible thoughts on our end as well.
You want to consider creating a property group for the 'Device Type' property to easily differentiate between 'Desktop' and 'Mobile' in your charts. Unfortunately, as per the information available, Amplitude does not support creating property groups for 'Device Type' or 'Device Family' directly. However, there are a few workarounds you can consider:
- Derived Properties: You can create a derived property using IF or SWITCH cases to group specific 'Device Type' values into 'Desktop' and 'Mobile'. Here's an example of how you can do this: IF( OR( device_type == 'Mac', device_type == 'Windows' ), 'Desktop', 'Mobile' )
This will create a new derived property that groups 'Mac' and 'Windows' as 'Desktop' and all other device types as 'Mobile'. You can then use this derived property in your charts. However, this is an option only available to our Enterprise customers and it appear you may be on a growth plan so let me know if you want me to connect you with your account manager to discuss plans.
- Custom User or Event Property: If you have the ability to track the device type on your end, you can instrument a custom user or event property to determine whether users are accessing your product from 'Desktop' or 'Mobile'. This custom property can then be used in your charts. - Segments: You can create segments for 'Desktop' and 'Mobile' based on the 'Device Type' or 'Device Family' and save these segments for future use. You can then apply these segments to your charts.
I hope this helps! Let me know if you have any other questions.
Best, Jarren
P.S. Checkout upcoming events and user meetups on our events page.
Sorry I was unclear. The use composition chart and segments won’t help because I want to be able to use it on an event level.
Let’s say I want to build a funnel chart and break it down by mobile vs desktop. Currently, I have to make two separate charts, one filtered on the first event for desktop (where Device type = Mac or Windows) and the other filtered on the first event for mobile (where Device type != Mac or Windows).
I would like to be able to create a property group for the Device type property and simply group the first event by that property group instead of making two separate charts.
Thanks for reaching out! Saish made some great points, but here are some possible thoughts on our end as well.
You want to consider creating a property group for the 'Device Type' property to easily differentiate between 'Desktop' and 'Mobile' in your charts. Unfortunately, as per the information available, Amplitude does not support creating property groups for 'Device Type' or 'Device Family' directly. However, there are a few workarounds you can consider:
- Derived Properties: You can create a derived property using IF or SWITCH cases to group specific 'Device Type' values into 'Desktop' and 'Mobile'. Here's an example of how you can do this: IF( OR( device_type == 'Mac', device_type == 'Windows' ), 'Desktop', 'Mobile' )
This will create a new derived property that groups 'Mac' and 'Windows' as 'Desktop' and all other device types as 'Mobile'. You can then use this derived property in your charts. However, this is an option only available to our Enterprise customers and it appear you may be on a growth plan so let me know if you want me to connect you with your account manager to discuss plans.
- Custom User or Event Property: If you have the ability to track the device type on your end, you can instrument a custom user or event property to determine whether users are accessing your product from 'Desktop' or 'Mobile'. This custom property can then be used in your charts. - Segments: You can create segments for 'Desktop' and 'Mobile' based on the 'Device Type' or 'Device Family' and save these segments for future use. You can then apply these segments to your charts.
I hope this helps! Let me know if you have any other questions.
Best, Jarren
P.S. Checkout upcoming events and user meetups on our events page.
Hey Jarren, I think a derived property sounds great and would work for my use case, however I don’t see that tab in the Tracking plan → Properties area.
Apologies for any confusion. I mentioned this in my last response with regards to this Derived Properties availability:
> However, this is an option only available to our Enterprise customers and it appear you may be on a growth plan so let me know if you want me to connect you with your account manager to discuss plans.
Otherwise, the other two recommendations are still valid options in case your team does not want to discuss possible plan upgrades.
Best, Jarren
P.S. Checkout upcoming events and user meetups on our events page.
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. You can also create a Guest account below!
If you're a current customer, select the domain you use to sign in with Amplitude.
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. Want to sign up as a guest? Create a Community account.
If you're a current customer, select the domain you use to sign in with Amplitude.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.