Skip to main content

Hello!

Is there any way to get the user device type using Amplitude's Web SDK?

I need to identify if the user device type is an "Apple iPhone 14 Pro Max", for example. I noticed that this information is available on the Amplitude dashboard but i couldn't find a method to get this information on the front-end from the server.


Thank you in advance!

Hi @Doris 

Are you looking for a function to get this info from the Web SDK?

I don’t think they make it available readily but they have some notes here regarding the device family value - https://www.docs.developers.amplitude.com/data/sdk-troubleshooting-and-debugging/#device-family-is-not-appropriate

The only explicit mention in their SDK doc is the ability to opt out of device tracking here - https://www.docs.developers.amplitude.com/data/sdks/typescript-browser/#optional-tracking


Thank you Saish! Makes sense, now. They're using the user agent to match to a device – this are not reliable at all.

Thanks!


Reply