Google Analytics 处理前一天的数据需要多长时间?

How long Google Analytics take to process the data from the day before?

我正在使用 Analytics API 获取前一天的会话数。我在凌晨 5 点 运行 这个代码。

当我早上 9 点到办公室时,再次查询 API(或查看分析 interface) returns 我的号码比我早上 5 点得到的号码高。

那么,Analytics 需要多长时间才能更新前一天的数据?这是问题还是其他原因?我在想可能是与时区有关的东西,但经过我的头脑,现在,我认为它不能。

谢谢

在 Google Analytics 中完成数据处理需要 24 到 48 小时。 Google Analytics API 和 Google Analytics 网站都是如此。尽管该网站可能会在 API 之前获取数据,但我无法证明这一点,因为到您再次发出请求时,两者都已更改。它可能与记录命中时的时区无关。

Data limits

Data processing latency
Processing latency is 24-48 hours. Standard accounts that send more than 200,000 sessions per day to Analytics will result in the reports being refreshed only once a day. This can delay updates to reports and metrics for up to two days. To restore intra-day processing, reduce the number of sessions your account sends to < 200,000 per day. For Premium accounts, this limit is extended to 2 billion hits per month.