Structured event with java tracker - add dvce_* fields


#1

Hi,

I’m using the the java tracker to send server side events.
We are using structured events.
I would like to add dvce_type to the event, but I couldn’t find how.
I look at the documentation here:

Can anyone assist?

Thanks.


#2

Hi Moshesh,

The dvce_type column in enriched events is populated using the user-agent-utils enrichment during the enrichment process (which determines the device type based on the client user agent) so unfortunately it’s not possible to set this within a tracker. If you do need to manually add a device type it might be worth adding this to a self-describing JSON sent with the event instead.


#3

Hey Mike,

Thank you very much, I didn’t know that.

Best.