使用Google AnalyticsAPI,我如何显示特定月份的热门关键字,或者如何查看特定月份的前5个最常浏览的网页?
答案 0 :(得分:1)
确保将YOUR_GOOGLE_ID替换为您Google Analytics帐户的正确ID(例如ga-XXXXXX)。您还应该更改开始日期和结束日期,以匹配您定位的特定月份。
关键字
https://www.google.com/analytics/feeds/data?ids=ga%3AYOUR_GOOGLE_ID4&dimensions=ga%3Akeyword&metrics=ga%3Avisits&sort=-ga%3Avisits&start-date=2011-10-1&end-date=2011-10-31&max-results=50
Top5 Pages
https://www.google.com/analytics/feeds/data?ids=ga%3AYOUR_GOOGLE_ID&dimensions=ga%3ApagePath&metrics=ga%3Apageviews%2Cga%3AuniquePageviews%2Cga%3AtimeOnPage%2Cga%3Abounces%2Cga%3Aentrances%2Cga%3Aexits&sort=-ga%3Apageviews&start-date=2011-10-1&end-date=2011-10-31&max-results=5
有关更多示例,请参阅http://code.google.com/apis/analytics/docs/gdata/gdataCommonQueries.html