Scenario: I would like to query monthly visits over the history of a
profile, then feed this to a line graph where the X-Axis is "Time". I
know of two ways to do this:
1) Query ga:date and ga:visits over the lifetime of the profile. I
then have to write code to aggregate for each month.
2) For each year in the past, query ga:month and ga:visits and then
combine them all together.
Option (1) is just pulling a lot of data which will ultimately be
aggregated. Option (2) requires the dimension ga:month to be
converted to a date value. This becomes even more difficult when
trying to do this by week.
Is there a way I could query ga:visits and ga:date between two dates
and specify "Sum by Month". The results would be the visits for each
month. And the value of the ga:date would be the first day of that
month.
--
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.