简体   繁体   English

Google Analytics(分析)中的访问流程

[英]Visit flow in Google Analytics

We're trying to study the behaviour of users before a transaction by analyzing the visit flow , via Google Analytics API. 我们正在尝试通过Google Analytics(分析)API来分析visit flow ,从而在交易之前研究用户的行为。

We've found two limitations when ordering pages: 订购页面时,我们发现了两个限制:

  • API has no an analogous to hits.hitNumber in BigQuery. API与BigQuery中的hits.hitNumber没有类似之处。
  • We're trying to order by time dimensions. 我们正在尝试按时间维度排序。 The minimum level is ga:minutes , so when there are two or more pages visited at the same minute, we can't figure out which of them comes first. 最低级别是ga:minutes ,因此,当同一时间访问了两个或多个页面时,我们无法确定哪个页面排在第一位。

Any idea about how to deal with it? 关于如何处理的任何想法? Thanks in advance. 提前致谢。

There is nothing you can do if you wish to use your current dataset. 如果您想使用当前数据集,则无能为力。

However, what you can do, in order to carry out these types of analysis in the future, is to create custom dimensions for sessionId and hitTimeStamp . 但是,为了将来进行这些类型的分析,您可以做的是为sessionIdhitTimeStamp创建自定义维度。 These are simple to deploy through Google Tag Manager. 这些很容易通过Google跟踪代码管理器进行部署。

A great article how to do this can be found here by Simo Ahava. Simo Ahava可以在此处找到一篇很棒的文章。

That way can you can partition by sessionId and then order by hitTimeStamp to get your ordered page flow. 这样,您可以按sessionId进行分区,然后按hitTimeStamp进行排序,以获取有序的页面流。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM