Google Analytics:设置自定义访客细分

发布于 2024-12-10 21:32:28 字数 685 浏览 1 评论 0原文

我目前正在尝试通过 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技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

那伤。 2024-12-17 21:32:28

您可以通过注册过程中的 3 个高级细分和目标转换来实现此目的:

  1. “注册”自定义变量并且无“注册”目标转换 -->老会员
  2. “注册”自定义变量和“注册”目标转换 -->新成员
  3. 没有“注册”自定义变量 -->不是会员

You can achieve this with 3 advanced segments and goal conversion on your registration process:

  1. "registred" custom var AND no "registration" goal conversion --> old members
  2. "registred" custom var AND "registration" goal conversion --> new members
  3. no "registred" custom var --> not members
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文