谷歌分析如何计算“平均花费的时间”等指标?

时间:2022-07-15 15:18:26

how services like google analytics calculate parameters like

谷歌分析等服务如何计算参数

"average time spent"
"number of users that came to the website via search Vs user that hit the url directly
etc.

“平均花费的时间”“通过搜索来到网站的用户数量与直接点击网址的用户等。

I would imagine that google can easily record a HIT when someone clicks on a link in serach result. But after that how long and deep the user is brwosing that perticular website is out of tap...hmmmm ?

我想,当有人点击serach结果中的链接时,谷歌可以轻松记录HIT。但在那之后,用户多长时间以及那个特定的网站是不合适的......嗯?

2 个解决方案

#1


This question has some information. As mentioned in that question time should be calculated using an onUnload() event. When the js is loaded firstime the time may be recorded (in cookies)and then onUnload() the time spent is calculated and sent to Google for record.

这个问题有一些信息。如该问题所述,应使用onUnload()事件计算时间。当第一次加载js时,可以记录时间(在cookie中),然后在onUnload()上计算花费的时间并将其发送给Google进行记录。

The above question explains most of your question.

上述问题解释了您的大部分问题。

#2


This thread states quite clearly that there is no unLoad() event: http://groups.google.com/group/analytics-help-troubleshoot/browse_thread/thread/d142572ddf1fa9dd/38dd640f949e9890?pli=1

这个帖子非常清楚地表明没有unLoad()事件:http://groups.google.com/group/analytics-help-troubleshoot/browse_thread/thread/d142572ddf1fa9dd/38dd640f949e9890?pli=1

Also, try going to GA and look for sessions with only 1 pageview - you will see the average page time is 0s, which proves the point.

此外,尝试转到GA并查找只有1次网页浏览的会话 - 您将看到平均页面时间为0,这证明了这一点。

#1


This question has some information. As mentioned in that question time should be calculated using an onUnload() event. When the js is loaded firstime the time may be recorded (in cookies)and then onUnload() the time spent is calculated and sent to Google for record.

这个问题有一些信息。如该问题所述,应使用onUnload()事件计算时间。当第一次加载js时,可以记录时间(在cookie中),然后在onUnload()上计算花费的时间并将其发送给Google进行记录。

The above question explains most of your question.

上述问题解释了您的大部分问题。

#2


This thread states quite clearly that there is no unLoad() event: http://groups.google.com/group/analytics-help-troubleshoot/browse_thread/thread/d142572ddf1fa9dd/38dd640f949e9890?pli=1

这个帖子非常清楚地表明没有unLoad()事件:http://groups.google.com/group/analytics-help-troubleshoot/browse_thread/thread/d142572ddf1fa9dd/38dd640f949e9890?pli=1

Also, try going to GA and look for sessions with only 1 pageview - you will see the average page time is 0s, which proves the point.

此外,尝试转到GA并查找只有1次网页浏览的会话 - 您将看到平均页面时间为0,这证明了这一点。