Equivalent API report for goal conversions by specific URL
Hi - In GA I can set up a report to look at the number of conversions for a specific goal. I add a segment, and in conditions I set the 'page' to the URL of the page which generated the goal conversion. For example, looking at how many people contacted us after visiting a specific page I would select Goal9 and add a segment, condition, 'Page':/example-1.
I'm trying to set up an equivalent report through the API and I'm struggling to set the condition. I've returned results on the goal by setting it as a metric - 'ga:goal9Completions', but when I try to add a segment using 'ga:condition::gaage==/example-1/' I get invalid parameter/value.
Where am I going wrong?
Re: Equivalent API report for goal conversions by specific URL[ Edited ]
December 2015 - last edited December 2015
you have to use 'sessions::condition' instead of 'ga:condition' and 'pagePath' instead of 'page' in you API request - so
should do the job. Be sure to use the Google Analytixcs Query Explorer  to get things easy.
Get your daily news with Google Analytics Recommended Reading 2017 and Google AdWords Recommended Reading 2017 on Google+