I want to send data about users to GA from my backend (e.g. status, age, gender, ...)
I have already figured out how to do this for events, but I am not sure how to send data that is not related to a session/event, but is rather a simple attribute that I want to assign to the user such as his age.
All users already have a user id in GA and I have setup custom dimensions for the attributes that I want to assign a value to (e.g. male, female).
What would a measurement protocol query look like for this use case?
I have already tried to send an event and added
cd1=30
cd2=male
but the custom dimension values do not show up in the User ID View in GA