Measurement Protocol events not showing.

548 views
Skip to first unread message

Chris Heaps

unread,
Jan 19, 2015, 9:22:23 AM1/19/15
to google-analytics-m...@googlegroups.com
Hi,

I have been sending events since Friday, so that's 2 and half days and nothing showing up in Behaviour/Events. Here's an example of our posts:

http://www.google-analytics.com/collect?v=1&tid=UA-XXXXXXXX-1&cid=WWW0000006843F9CE64&uid=WWW0000006843F9CE64&t=event&ea=DEPOSIT_CARD&ev=10

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.



Chris Heaps

unread,
Jan 20, 2015, 10:14:57 AM1/20/15
to google-analytics-m...@googlegroups.com
Browsing the documentation again I notice that my cid should be UUID so I'm now sending over a fresh random UUID each time. Let's see what happens.

Chris Heaps

unread,
Jan 20, 2015, 11:06:49 AM1/20/15
to google-analytics-m...@googlegroups.com
Yes, it was the cid. I'm now getting events showing in the realtime events report.

On Monday, 19 January 2015 14:22:23 UTC, Chris Heaps wrote:

Chris Heaps

unread,
Jan 21, 2015, 10:08:03 AM1/21/15
to google-analytics-m...@googlegroups.com
So now I'm getting events showing in the Realtime/Events report in Google Analytics but nothing in Behaviour/Events.

Although it does show a value but a total events of 0!

Total Events
0
Unique Events
0
Event Value
2,648


If anyone could advise I would be very grateful. I already had a call with Google Support but they were only able to support sending events from the client using analytics.js and had no expertise with the Measurement Protocol API and so were unable to help.

Thanks,

Chris.
Reply all
Reply to author
Forward
0 new messages