How to Get Top Entrance Keywords For Each Of Top Organic Search Landing Pages?

22 views
Skip to first unread message

Emille

unread,
Jul 22, 2009, 2:40:25 AM7/22/09
to google-analytics-api - GA Data Export API
Hey guys,

I'm still "rookie" when it comes to using Google APIs so please bear
with me if my question is...well...too "rookie" :)

What I'm trying to do with my JavaScript is this:

1) Fetch/Get my top 100 Landing Pages for organic/natural (non-paid)
traffic
2) Fetch/get top 500 Entrance Keywords for each of the landing pages
fetched in 1).

I know I'll probably need to somehow combine ga:landingPagePath,
ga:medium, ga:keywords, etc, but if someone posted simple pseudo-code
(or any other form of directions/instructions/steps), this would
really be helpful and wonderful.

I look forward to reading your replies,
Emille

Nick

unread,
Jul 24, 2009, 2:46:19 PM7/24/09
to google-analytics-api - GA Data Export API
Hi,

See if this link helps you understand the query :
http://code.google.com/apis/analytics/docs/gdata/gdataExplorer.html?dimensions=ga%253Akeyword%252Cga%253AlandingPagePath&metrics=ga%253Aentrances%252Cga%253Abounces&filters=ga%253Amedium%253D%253Dorganic&sort=-ga%253Aentrances&start-date=2009-07-10&end-date=2009-07-24&max-results=50

:)

Where you are going to have to do more work is in #2 - 500 entrance
keywords for each of the landing pages fetched in 1.
Currently there is no way to tell GA for the results in query a return
the results of another query. So you are going to have to replicate
this logic in your application.

One way is to get a list of landing pages for a date range and then
make requests for each result.

Good Luck,
-Nick

Emille

unread,
Aug 1, 2009, 6:30:50 AM8/1/09
to google-analytics-api - GA Data Export API
Hi Nick,

Thanks for your reply and suggestion. Will have a good look into the
resource
you suggested.

Regards
Emille

On Jul 24, 8:46 pm, Nick wrote:
> Hi,
>
> See if this link helps you understand the query :http://code.google.com/apis/analytics/docs/gdata/gdataExplorer.html?d...
Reply all
Reply to author
Forward
0 new messages