Unique events greater than total events

401 views
Skip to first unread message

MT

unread,
May 4, 2014, 9:03:33 AM5/4/14
to google-analytics...@googlegroups.com

When fetching unique and total events via the reporting API, unique is greater than total - shouldn't totalevents always be larger? Also, when I run the same query but split by event category, the sum of unique events is then much less than in the first query, and below total events. The latter query also matches the GA web UI. Strangely, the web UI says "% of Total: 10.07% (139)" next unique events, even though I'm using no segments or filters.



Message has been deleted

Rachel Benoit

unread,
Jun 6, 2014, 11:56:14 AM6/6/14
to google-analytics...@googlegroups.com
We have the same issue - for a particular month (April 2014), the unique events shows 105. However, below that it says these were composed of external links 22 (100%).  How can 22 be 100% of 105?

Alan Daitch

unread,
Jun 11, 2014, 6:28:15 AM6/11/14
to google-analytics...@googlegroups.com
Found the thing: you will see that "Unique Events" are great than "Total Events" when you look at an event category or action, put "Event Label" as a secondary dimension and the event has been triggered some times with no label input. Google Analytics hasn't the option "(not set)" for this particular dimension, so it just doesn't show you those events in the Total Events Count, but still counts as "Unique Events" all the users that executed this particular event category / action.

Daniel Swinney

unread,
Aug 13, 2014, 5:45:08 PM8/13/14
to google-analytics...@googlegroups.com
Ok, but then how do we get the numbers shown on the GA site?  Because when I apply eventLabel as a secondary dimension, that divides the results up in a way I don't want (I want them to remain grouped by pagePath), and when I try not using it as a dimension but applying a filter like eventLabel!='' or eventLabel!=0 or eventLabel!=(not set), I get a *closer* set of numbers, but still a different set from what GA shows me.  I want what GA shows me.

For reference:
https://www.dropbox.com/s/22p5m9lyna774pt/side-by-side.png .. The above is the GA view, and the below is my app's view.  Note that the totals are huge (but it knows that the total should be 33,979)
Checked it out in the API console with these settings: https://www.dropbox.com/s/jxo0yp5nuwflmo1/console-form.png
And got the same numbers as you saw before (most notably, that 51678 number in the 4th row): https://www.dropbox.com/s/yan8i049bvh7h43/console-results.png

Messing around with eventLabel filters, the closest I got was having that row show 4928 total events and 4821 unique events.  Compare to 4964 and 3505 from the google side.

No segments set on my app side.
Reply all
Reply to author
Forward
0 new messages