Accessing Event value associated with a particular event instance.

348 views
Skip to first unread message

shivu

unread,
Aug 2, 2010, 2:08:47 PM8/2/10
to google-analytics-api - GA Data Export API
I am tracking some events in my website and each event has some value
associated with it. The ga:eventValue would I assume give me the
average eventValue of all the events I am intrested in. Is there any
way I can get the eventValue assocaited with a particular instance of
an event. Or is there anyway to get all the eventValue instead of just
the average?

Thanks
Shivu

Eduardo Cereto

unread,
Aug 2, 2010, 2:20:08 PM8/2/10
to google-analytics...@googlegroups.com
As far as I remember the ga:eventValue metric is the sum of the values. To get the metric you'd have to divide that by the ga:totalEvents.

avg Event Value = ga:eventValue/ga:totalEvents

You can't break event by session on Google Analytics as is. The issue is the same with any other metric in GA. To break down by session you'd need a dimension to uniquely identify that session. You could set a unique id in event label to identify each session. 


--
Eduardo Cereto Carvalho <eduardo...@directperformance.com.br>
Engineer
 Direct Performance
+55 11 3509-1255
+55 11 7133-6736



--
You received this message because you are subscribed to the Google Groups "GA Data Export API" group.
To post to this group, send email to google-analytics...@googlegroups.com.
To unsubscribe from this group, send email to google-analytics-data-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-analytics-data-export-api?hl=en.


shivaprasad javali

unread,
Aug 2, 2010, 2:28:28 PM8/2/10
to google-analytics...@googlegroups.com
What I was looking at was associating some kind of timing info to the events. Right now when I query for events I just get a dump of all events and I can't figure out which event was fired first.

So I thought of associating a time in someway to particular event instance so that I can sort based on these. But even if I get all the events for a particular session, I will still need individual eventValues to figure out what events came first.

Is there any other way to do what I am looking for?

Thanks
Shivu

Nick

unread,
Aug 3, 2010, 12:12:36 AM8/3/10
to google-analytics-api - GA Data Export API
Yes, Eduardo is right,

GA reports on aggregate metrics, not on instance data. If you want to
measure the total times a particular event was fired in a sequence,
you could set one of the event properties or a custom variable as
"first". but even then you would get total times the sequence
happened.

-Nick

On Aug 2, 7:28 am, shivaprasad javali <jbs...@gmail.com> wrote:
> What I was looking at was associating some kind of timing info to the
> events. Right now when I query for events I just get a dump of all events
> and I can't figure out which event was fired first.
>
> So I thought of associating a time in someway to particular event instance
> so that I can sort based on these. But even if I get all the events for a
> particular session, I will still need individual eventValues to figure out
> what events came first.
>
> Is there any other way to do what I am looking for?
>
> Thanks
> Shivu
>
> On Mon, Aug 2, 2010 at 7:50 PM, Eduardo Cereto <
>
> eduardo.cer...@directperformance.com.br> wrote:
> > As far as I remember the ga:eventValue metric is the sum of the values. To
> > get the metric you'd have to divide that by the ga:totalEvents.
>
> > avg Event Value = ga:eventValue/ga:totalEvents
>
> > You can't break event by session on Google Analytics as is. The issue is
> > the same with any other metric in GA. To break down by session you'd need a
> > dimension to uniquely identify that session. You could set a unique id in
> > event label to identify each session.
>
> > --
> > *Eduardo Cereto Carvalho* <eduardo.cer...@directperformance.com.br>
> > Engineer
> > * Direct Performance*
> > +55 11 3509-1255
> > +55 11 7133-6736
>
> > On Mon, Aug 2, 2010 at 11:08, shivu <jbs...@gmail.com> wrote:
>
> >> I am tracking some events in my website and each event has some value
> >> associated with it. The ga:eventValue would I assume give me the
> >> average eventValue of all the events I am intrested in. Is there any
> >> way I can get the eventValue assocaited with a particular instance of
> >> an event. Or is there anyway to get all the eventValue instead of just
> >> the average?
>
> >> Thanks
> >> Shivu
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "GA Data Export API" group.
> >> To post to this group, send email to
> >> google-analytics...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> google-analytics-data-...@googlegroups.com<google-analytics-data-export-api%2Bunsu...@googlegroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/google-analytics-data-export-api?hl=en.
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "GA Data Export API" group.
> > To post to this group, send email to
> > google-analytics...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-analytics-data-...@googlegroups.com<google-analytics-data-export-api%2Bunsu...@googlegroups.com>
> > .

shivaprasad javali

unread,
Aug 3, 2010, 5:32:11 AM8/3/10
to google-analytics...@googlegroups.com
The data I want is more like if I have a Button A and a button B and both of them were clicked I want to know which one of them was clicked first. So if the user clicks on Button A and then Button B then I want some kind of timing information to say Button A was clicked first.

Thanks
Shivu

To unsubscribe from this group, send email to google-analytics-data-...@googlegroups.com.

chrissky

unread,
Aug 3, 2010, 1:53:17 PM8/3/10
to google-analytics-api - GA Data Export API
You could have client-side code to remember the sequence and then send
an event string containing the sequence.

On Aug 3, 1:32 am, shivaprasad javali <jbs...@gmail.com> wrote:
> The data I want is more like if I have a Button A and a button B and both of
> them were clicked I want to know which one of them was clicked first. So if
> the user clicks on Button A and then Button B then I want some kind of
> timing information to say Button A was clicked first.
>
> Thanks
> Shivu
>
> > <google-analytics-data-export-api%2Bunsu...@googlegroups.com<google-analytics-data-export-api%252Buns...@googlegroups.com>
>
> > > >> .
> > > >> For more options, visit this group at
> > > >>http://groups.google.com/group/google-analytics-data-export-api?hl=en.
>
> > > >  --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "GA Data Export API" group.
> > > > To post to this group, send email to
> > > > google-analytics...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > google-analytics-data-...@googlegroups.com<google-analytics-data-export-api%2Bunsu...@googlegroups.com>
> > <google-analytics-data-export-api%2Bunsu...@googlegroups.com<google-analytics-data-export-api%252Buns...@googlegroups.com>
Reply all
Reply to author
Forward
0 new messages