Hey team, I am migrating from Amplitude SDK to Ru...
# support
e
Hey team, I am migrating from Amplitude SDK to RudderStack for doing product analytics on my app. Amplitude has a handy user property called "Platform" which used to give me values like
Android
,
iOS
,
Web
,
Desktop
,
PWA
and so on. I am not getting this property in RudderStack. I checked the data and it seems that there are several user properties like (OS_NAME, DEVICE_TYPE, PLATFORM) which contain this info partially (eg.: DEVICE_TYPE has values like
Android
,
iOS
,
null
). I also checked RudderStack docs to see out if this property is tracked automatically, but couldn't figure it out. Can you please tell if this information is tracked by RudderStack automatically, and if so, what is the name of the property for this?
m
Hey There! πŸ‘‹ Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
h
You can add a transformation to parse the useragent which will create these fields for you
it should be done natively IMO
πŸ‘ 3
e
Thanks a lot @hundreds-lifeguard-65770! Just to confirm: to track "platform", I have to make this change on the RudderStack control plane, and as of now Rudderstack doesn't track this information on its own. Is this understanding correct?
h
what do you infer by platform?
e
By platform, I mean the way the user is running my app. Eg.:
Android app
,
iOS app
,
Web
,
Desktop app
,
PWA
, etc.
h
yeah so the parse user agent transform will add that for you
gratitude thank you 1
e
Got it, thank you!
m
Thanks Redsquare. Yes you can find the details in the user agent property.
πŸ™Œ 1
e
Thanks @shy-kite-21035!
t
It’s weird that example adds it to the context traits as
parsedUserAgent
when Rudderstack wants it named as
userAgent
according to the docs https://www.rudderstack.com/docs/event-spec/standard-events/common-fields/#contextual-fields
m
Yes maybe we can just overwrite the userAgent instead of having a new field.
πŸ’― 1