Google Analytics如何确定活动的日期和时间?

时间:2022-03-16 15:18:25

I am trying to figure out just how Google Analytics logs the actual time of an event such as a visit or a click. Does it use the time being passed by the HTTP request, the date in the HTTP Header, or the date it actually receives the request ?

我想知道Google Analytics如何记录事件的实际时间,例如访问或点击。它是否使用HTTP请求传递的时间,HTTP标头中的日期或实际接收请求的日期?

The reason why I am asking is because I am developing an app where there MAY be some times where the internet connection is lost. So, I am considering developing a buffered proxy to hold these requests until the connection is back up. If the data/time is based on the header or the time of the request, then it will not be a viable solution for me.

我问的原因是因为我正在开发一个应用,其中可能有一些时候互联网连接丢失。所以,我正在考虑开发一个缓冲代理来保存这些请求,直到连接恢复为止。如果数据/时间基于请求的标题或时间,那么对我来说它将不是一个可行的解决方案。

If anyone knows, it would be greatly appreciated.

如果有人知道,将不胜感激。

1 个解决方案

#1


The Google Analytics server uses the actual time of the event. This means that any event notification buffering that your app performs will be timeshifted in your reports.

Google Analytics服务器使用事件的实际时间。这意味着您的应用执行的任何事件通知缓冲都将在报告中进行时间限制。

Only you can decide if that's OK for your reporting requirements: which is the lesser evil, to drop events, or misreport the times that some events occur?

只有你可以决定你的报告要求是否可以:哪个是较小的邪恶,丢弃事件,或误报某些事件发生的时间?

#1


The Google Analytics server uses the actual time of the event. This means that any event notification buffering that your app performs will be timeshifted in your reports.

Google Analytics服务器使用事件的实际时间。这意味着您的应用执行的任何事件通知缓冲都将在报告中进行时间限制。

Only you can decide if that's OK for your reporting requirements: which is the lesser evil, to drop events, or misreport the times that some events occur?

只有你可以决定你的报告要求是否可以:哪个是较小的邪恶,丢弃事件,或误报某些事件发生的时间?