Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
新手问题!我正在使用网络 api 我能够获得一个日期范围内的全部总数,但我也想要每日总数!听起来很简单,但我无法理解。试
https://www.googleapis.com/analytics/v3/data/ga?ids=ga:AAAAAAA&start-date=2013-09-20&end-date=2013-09-30&metrics=ga:visitors,ga:visits,ga:反弹,ga:newVisits,ga:entrances,ga:pageviews,ga:uniquePageviews,ga:timeOnPage,ga:exits,ga:timeOnSite&query(start-date,end-date)&access_token=XXXXX
我可以在控制台中看到在此范围内我有超过一天的数据。
看来您可以添加 ga:date (或周或年)的“维度”,它将向查询返回该详细信息的粒度。