Reputation: 255
I have a specific event in GA that tracks value. I want to see how many distinct times each values was chosen. Compare with the following SQL:
SELECT value, COUNT(value) FROM event GROUP BY value
I could do this by sending pageviews instead of events, but I'd like to know if it's possible to do with events, which are the more correct choice for the situation.
Upvotes: 0
Views: 2253
Reputation: 32760
If you are literally talking about event values (fourth parameter to event tracking after category, action and label) then you cannot do this, since value is a metric. Metrics are numbers and are added up, so you cannot do a breakdown by metric.
You'd have to send the value as a custom dimension in the hit level scope (which obviously would not work for data already collected). Dimensions are strings (even if you pass numbers to a dimension they will still be treated as strings), so you could create a custom report that show how often each specific value has been selected.
Upvotes: 1