Query a particular page's visits

3 views
Skip to first unread message

Angelo Chen

unread,
Nov 6, 2009, 2:16:34 AM11/6/09
to google-analytics-api - GA Data Export API
Hi,

I'm using Java client for Google Analytics, it works very well for the
entire site, example:

www.sample.com

now I'd like to know visits to a particular page, example:

www.sample.com/sales
www.sample.com/sales/local

how to specify this in the query? Thanks.

A.C.

Nick

unread,
Nov 10, 2009, 10:09:30 PM11/10/09
to google-analytics-api - GA Data Export API
Hi,

You can request page URLs and visits then add a filter parameter to
only report on a subset of pages.

You can use the query explorer to help you:
http://code.google.com/apis/analytics/docs/gdata/gdataExplorer.html?dimensions=ga%253ApagePath&metrics=ga%253Avisits&filters=ga%253ApagePath%253D%2540Coffee&start-date=2009-10-27&end-date=2009-11-10&max-results=50

-Nick
Reply all
Reply to author
Forward
0 new messages