How do you get ga:pageviews grouped by month?

2,008 views
Skip to first unread message

gsogol

unread,
May 19, 2011, 12:44:10 PM5/19/11
to google-analytics...@googlegroups.com
I'm using the .Net sdk but this queston applies regardless of the technology. I'm setting the dimensions to "ga:month" and metrics to "ga:pageviews" and my filter points to a specific page content /x. I get 5 dimension values (01,02,03,04,05) and one metric value. My date range is 2011-01-01 through 2011-05-19 but I get one metric value that is more than 50 times the actual value seen on the analytics site for that path. I need 5 month values not one. What am I doing wrong?

Any ideas? Please help me out.

gsogol

unread,
May 19, 2011, 1:02:05 PM5/19/11
to google-analytics...@googlegroups.com
I was accessing the aggregates instead of the entries. My follow up question though how would one display for dimensions if one is using ga:month or ga:week the text week ending "2011-01-07" instead of 01,02,03,04 and same thing for months?

chris@shufflepoint

unread,
May 22, 2011, 12:19:38 AM5/22/11
to google-analytics...@googlegroups.com
The question was sort of hard to follow. Can you restate it?

gso...@gmail.com

unread,
May 22, 2011, 12:53:07 AM5/22/11
to chris@shufflepoint, google-analytics...@googlegroups.com
I'd like to display dimension data where a dimension point is mm/dd/yy or some other date format instead of 01, 02, etc when I use ga: month dimension.
--
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.

chris@shufflepoint

unread,
May 25, 2011, 12:53:52 AM5/25/11
to google-analytics...@googlegroups.com, chris@shufflepoint
You would have reformat the output in your own application logic.

Nick

unread,
May 26, 2011, 1:09:26 PM5/26/11
to google-analytics...@googlegroups.com, chris@shufflepoint
Chris is right, you have to write code to reformat the output.

-Nick
Reply all
Reply to author
Forward
0 new messages