Goal URL Dimension from new Google Analytics Interface

72 views
Skip to first unread message

Aaron Toledo

unread,
Jan 21, 2012, 2:15:53 PM1/21/12
to google-analytics...@googlegroups.com
Occasionally, I use regex in my goal URLs values and I use the Goal URLs report in the new interface to see which URLs have matched. Is there a way to get this data from the API?

Jesper Feldthaus JF

unread,
Feb 7, 2012, 9:53:59 AM2/7/12
to google-analytics-api - GA Data Export API
Hi Aaron

If you use v.3 you get that information in the JSON respons under
urlDestinationDetails (source:
http://code.google.com/intl/da-DK/apis/analytics/docs/mgmt/v3/mgmtRest.html#goals
)

- Jesper

Aaron Toledo

unread,
Feb 8, 2012, 4:33:10 PM2/8/12
to google-analytics...@googlegroups.com
Hi Jesper

Thanks for your reply. I looked at that example JSON response and it looks its returning the different settings that were defined in the definition of the goal but not necessarily all the URLs that matched that definition. In that specific example, it's telling me that it has a matchType of REGEX but there is no other data about the URLs that matched that expression. For example, if I set the REGEX value to "^/lead_forms/.*/thanks\.html" then in the Goal URL report in Google Analytics I would see URLs for that goal like "/lead_forms/form1/thanks.html", "/lead_forms/form2/thanks.html", "/lead_forms/otherforms/thanks.html", and so on. I'm still not seeing where I would find these values in the v3 API.
Reply all
Reply to author
Forward
0 new messages