Hey guys,
I'm working on integrating Amplitude into my application, which is a platform built using ReactJS for the frontend and Node.js for the backend. I am currently using the "@amplitude/analytics-browser" library (~1.10.3) on the frontend and "@amplitude/analytics-node" library (^1.1.7) on the backend.
My current implementation is configured to make an API request from the frontend to the backend, sending information that will be useful to generate an event on the backend (sessionId, userId, deviceId, user properties and event properties). Then, the backend uses this information to log an event to Amplitude.
What I'm trying to achieve now is to include more user properties, specifically device related data such as device type, device family, platform, and operating system. I am aware that the Amplitude JavaScript SDK can automatically fetch this data from the user agent string on the client side, but I can't seem to find a way to access this data and send it to the backend.
I am wondering if there is a built in solution to get this device related data on the client and send it to the server. I understand the limitations of not having direct access to the User Agent string on the server side, but any ideas or recommendations on how I might get this information would be greatly appreciated.
Thank you in advance for your help.