Google Analytics(分析)可以按小时显示访问次数吗?
我有兴趣查看我网站上按小时细分的访问量 - 有什么方法可以在 Google Analytics 中生成此报告吗?似乎所有指标都只按天细分。也许我可以通过 GA API 获取这些信息?
I am interested in seeing visits on my site broken down by hour - is there any way to generate a report of this in Google Analytics? It appears that all metrics are only broken down by day. Maybe I can get this information through the GA API?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
由于 Google Analytics 已修订,当前接受的答案不再可用。当前版本的 Google Analytics(分析)将允许您查看每小时的访问者:
如果您想确定给定日期范围内一天中每小时的总流量,则可以使用此自定义报告:
https://www.google.com/analytics/web/permalink?type=custom_report&uid=pToP7693ReSxfSIpbqHmWg
Since Google Analytics was revised the currently accepted answer is no longer available. The current version of Google Analytics will let you view visitors per hour:
If you're trying to determine total traffic by hour of the day for a given date range then you can use this custom report:
https://www.google.com/analytics/web/permalink?type=custom_report&uid=pToP7693ReSxfSIpbqHmWg
只有少数报告包含每小时的数据;据我所知,它们都在“访客”部分。
例如,要查看一段时间内按小时的访问次数,请单击“访问次数”、“访问者趋势”,然后单击“访问者”。然后,在报告的右上角,选择图表依据:(时钟图标)
访客趋势下的所有报告均包含每小时数据(绝对唯一访客除外)。
就 API 而言,您可以在此处检查哪些查询组合有效(因为存在限制):http://code.google.com/apis/analytics/docs/gdata/gdataReferenceDimensionsMetrics.html
据此,除了 Campaign 指标和 Visitor 之外,所有指标都可以按小时维度查看(不要与访问)指标混淆。
您可以使用 Google Analytics 数据 Feed 查询浏览器测试要运行的查询
Only a few reports have hour-by-hour data; as far as I know, they're all in the 'Visitors' section.
For example, to see Visits by hour over a period of time, click Visits, Visitor Trending, then Visitors. Then, in the top right of the report, select Graph by: (icon of a clock)
All of the reports under Visitor Trending have hour-by-hour data, except Absolute Unique Visitors.
As far as the API goes, you can check what query combinations are valid here (since there are restrictions): http://code.google.com/apis/analytics/docs/gdata/gdataReferenceDimensionsMetrics.html
According to that, all metrics can be viewed by an hourly dimension except Campaign metrics and Visitor (not to be confused with Visit) metrics.
You can test the query you want to run with the Google Analytics Data Feed Query Explorer
如果可以选择使用(可下载、可通过电子邮件发送)自定义报告,您可以使用 http://salman-w.blogspot.com/2012/07/analytics-day-of-week-hour-of-day-report.html
本文告诉您执行以下操作:
If using a (downloadable, emailable) custom report is an option, you can use the custom report described on http://salman-w.blogspot.com/2012/07/analytics-day-of-week-hour-of-day-report.html
The article tells you to do the following: