I wish to use the Google Analytics Measurement Protocol to supplement the information GA stores about a visitor that was already constructed client side, using the GA tag. I might want to set a Custom Dimension for a user, or to record an event, or something else.
In my case, I can store and pass the client ID (from the _ga cookie) to make sure that GA recognises that this is the same user that was seen on the Web.
However, from experimentation, it seems to me that perhaps both the IP address of the user as well as the user-agent of the user needs also to be passed to ensure that GA treats all of this as a single visitor.
If I don't pass these, then it seems from looking at the real time dashboard, that GA thinks two separate users are active on my test site, where if I do pass them, it thinks there is only one user (and that's what I want).
I'd really rather not store the user IP address, and I would have thought that the user agent was not needed either, although I have no problem with storing that if required.
Does anyone know for sure? Is it perhaps just an issue with the realtime dashboard, and regular reports are not affected (I haven't waited long enough to see the results in the regular reports).
Thanks