Thanks for the help Nick. I'm pretty sure I have the visits
calculating correctly now. The key was setting the sort to go by -
ga:visits.
I'm now trying to get the appropriate conversion rate per keyword and
I'm using this combination:
query.setDimensions("ga:keyword");
query.setMetrics("ga:goalCompletionsAll,ga:goalStartsAll,ga:visits");
query.setSort("-ga:goalCompletionsAll");
I found a posting in the google group where someone suggested doing:
ga:goalCompletionsAll / ga:visits
But that isn't lining up with what I see in GA. Neither is:
ga:goalCompletionsAll / ga:goalStartsAll
Am I on the right track?
> It might help looking through the docs.
http://code.google.com/apis/analytics/docs/gdata/gdataReferenceDataFe...