You can see that I'm using the User ID. This is the same value that we use on the client side when we make the tracking call from the client e.g.
ga('create', 'UA-XXXXXXXX-1', 'auto', {'userId': 'WWW0000006843F9CE64'});
On the server side where we make the Measurement Protocol call we do not have the clientID generated by analytics.js available to send as the cid so we are using the same value as the userID in the hope that the GA processing will link up the event based on the userID and ignore the fact that the cid does match a value previously served in response to a ga call to analytics.js.
I have previously read that for userID data to be shown in the GA reports we need to use a UserID enabled view. When I checked if events were being displayed today I saw that we had not yet created a user enabled view and so did that. Should this newly created view display the events from the previous two days immediately or will there be the usual 24 hour delay with the new view? Or is there another reason our events are not showing? I'm getting the gif response by the way.
Thanks,
Chris.