wojtekmo / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

Events not showing up on Real-time reports #848

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

Name of affected component: Measurement Protocol

Issue summary:

I have tested this with an application Google Analytics account.

If I send 

https://www.google-analytics.com/collect?v=1&tid=UA-XXXX-1&cid=74D02BC4786B&t=ev
ent&ec=BreakingThings&ea=WithApplication&cd=ScreenName&an=ApplicationName&aid=Ap
plicationId&av=3.0&aiid=1.0

A new hit is recorded and there is data in the Event report as well.

If I send 
https://www.google-analytics.com/collect?v=1&tid=UA-xxxxxxx-1&cid=74D02BC4786B1&
t=event&ec=BreakingThings&ea=NoApplication

No new user is recorded and no event data is displayed.

If I send the first request again out comes the missing report data.   If I 
send the second one again everything disappears.

Steps to reproduce issue:
1.  Send 
https://www.google-analytics.com/collect?v=1&tid=UA-XXXX-1&cid=74D02BC4786B1&t=e
vent&ec=BreakingThings&ea=NoApplication
2.  check realtime.
3. send 
https://www.google-analytics.com/collect?v=1&tid=UA-XXXX-1&cid=74D02BC4786B&t=ev
ent&ec=BreakingThings&ea=WithApplication&cd=ScreenName&an=ApplicationName&aid=Ap
plicationId&av=3.0&aiid=1.0

4. check realtime again.
5. go back and forth.

Expected output:
What do you expect to see after performing the above steps?

Documentation does not state that application name or anything else is required 
for events.   The debug of the request says that its valid.  We either need to 
fix the documentation to state that the items are required and then fix the 
debug of the request that it is invalid.

Or figure out why is weird with the reports that missing data causes real-time 
to get flaky.

Actual results:
What do you actually see after performing the above steps?

Really strange results when sending events with and without application name.

Issue relates back to 
http://stackoverflow.com/questions/34627019/how-to-use-measurement-protocol-for-
desktop-application

Original issue reported on code.google.com by laurl...@gmail.com on 6 Jan 2016 at 10:24