Google Analytics:设置自定义访客细分
我目前正在尝试通过 Google Analytics 使用自定义访客细分来跟踪网站上的未注册和注册用户。
http://code.google.com/apis/analytics/docs/tracking /gaTrackingVisitorSegments.html
这涉及到向用户添加 cookie(如果他们是注册用户),并且通过一些 google 分析编写的 Javascript 在仅限会员的页面上添加 cookie,这是在用户注册时完成的已登录。然后,当用户重新访问该网站时,该 cookie 会记住该用户已注册。
这是设置 cookie 的标准代码行:
pageTracker._setVar("RegisteredUsers")
此方法有一个缺陷,即“对于访问者会话计算,选择的值是会话的第一个关联”。我认为,这意味着我只能设置一个值,如果非会员访问该网站然后注册,他们就会被计为会员并进行跟踪。这使得跟踪网站上的转化和非会员旅程变得困难。
我想知道是否有一种方法可以跟踪非会员和会员,并区分已在会议中注册的非会员和返回的注册会员。也许使用一些自定义编写的 Javascript。
I am currently trying to track non registered and registered users on a site using custom visitor segments via Google Analytics.
http://code.google.com/apis/analytics/docs/tracking/gaTrackingVisitorSegments.html
This involves adding a cookie to the user if they are a registered user and on a members only page via some google analytics authored Javascript, this is done when the user is logged in. This cookie then remembers the user as registered when they revisit the site.
This is the standard line of code that set's the coookie:
pageTracker._setVar("RegisteredUsers")
This method has a flaw in that "For visitor session calculations, the value chosen is the first association of the session." this means, I think, I can only set one value, and if a non member visits the site, then registers, they are then counted and tracked as a member. This makes it difficult to track conversions, and non member journeys on the site.
I am wondering is there a way to track non members and members, and differentiate between a non member who has registered in the session, and a returning registered member. Perhaps using some custom written Javascript.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以通过注册过程中的 3 个高级细分和目标转换来实现此目的:
You can achieve this with 3 advanced segments and goal conversion on your registration process: