如何按日期获得转换完成情况

时间:2016-03-15 21:02:42

标签: google-analytics-api

我正在尝试按日期完成完成,但转化没有维度日期,实际上查询是

https://www.googleapis.com/analytics/v3/data/ga?ids=ga%xxxxxx&start-date=2013-10-20&end-date=2013-11-20&metrics=ga%3AgoalStartsAll%2Cga%3AgoalCompletionsAll%2Cga%3AgoalValueAll%2Cga%3AgoalValuePerSession%2Cga%3AgoalConversionRateAll&dimensions=ga%3AgoalCompletionLocation&max-results=10

2 个答案:

答案 0 :(得分:1)

答案 1 :(得分:0)

#get report data
query.list <- Init(start.date = "XXXXXX",
                   end.date = "XXXXXX",
                   dimensions = "ga:date",
                   metrics = "ga:goalXXCompletions",
                   table.id = "ga:XXXXX")