ga:pagePath and full urls

899 views
Skip to first unread message

joedev

unread,
Aug 3, 2010, 4:42:17 PM8/3/10
to google-analytics-api - GA Data Export API
Hi, is it possible to get the API to return the full path? As in
http://doma.in/page

Nick

unread,
Aug 3, 2010, 5:00:22 PM8/3/10
to google-analytics-api - GA Data Export API
By default Google Analytics will split the domain and path, then store
the data as ga:hostname and ga:pagePath respectively.

You can use both dimensions in an API query.

Or you can set up an advanced profile filter to pre-pend the domain
data into the Request URI field to get everything into the ga:pagePath
field. Some searching should show you how to do #2.

-Nick

Alexander Lucas

unread,
Aug 3, 2010, 5:06:59 PM8/3/10
to google-analytics...@googlegroups.com
Nick beat me to the punch, but there's some info in the cross-domain tracking documentation on how to prepend the hostname to the pagePath here:


Enjoy!
-Alex


--
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.


Joe Developer

unread,
Aug 4, 2010, 7:58:18 AM8/4/10
to google-analytics...@googlegroups.com
Thanks! 
Reply all
Reply to author
Forward
0 new messages