将 Facebook 集成到 Google 分析中

发布于 2024-12-12 04:48:11 字数 227 浏览 0 评论 0原文

我想将“使用 Facebook 登录”选项添加到我的网站,但我不确定如何将某人使用 Facebook 登录我的网站时获得的信息与我当前的 Google Analytics 集成。

是否可以将 Google Analytics 中的访问与通过 Facebook 登录该网站的用户关联起来,以便我能够查看年龄、性别等信息?

如果您能在这方面给我任何帮助,我将不胜感激。

谢谢,

I want to add the 'Log in with Facebook' option to my website, however I'm unsure how to integrate the information gained when someone logs into my website with Facebook with my current Google Analytics.

Is it possible to link up a visit in Google Analytics with a user who has logged into the site with Facebook to enable me to see things like age, gender etc?

Any help you can give me on this would be much appreciated.

Thanks,

Ben

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

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

评论(4

风月客 2024-12-19 04:48:11

您可能必须通过重定向或可能是框架来完成此操作。

you may have to do this via a redirection or possibly a frame.

狼性发作 2024-12-19 04:48:11

谷歌分析不跟踪个人用户,它提供匿名数据。所以在最高层,不,你不能这样做。但是,您还可以使用其他一些东西。一:Facebook 提供 Facebook Insights,这是他们自己的跟踪套件,可以为您提供 Facebook 应用程序或粉丝页面用户的人口统计信息。当您使用他们的用户身份验证时,您的网站将有效地成为 Facebook 应用程序,因此您将能够在您的网站上获得见解跟踪。目前,Facebook Insights 和 Google Analytics 不整合或共享数据。 Facebook Insight 还提供匿名数据,因此您将无法通过跟踪识别个人身份。
最后的选择是,现在您正在通过登录跟踪用户,您可以在您的网站上实施您自己的跟踪信息,以查看各个用户在做什么,并尝试跟踪他们的偏好。
购买营销数据的访问权限并使用您的注册用户名池来获取其他信息也是完全合法的(至少在美国)。

Google Analytics does nolt track individual users, it provides anonymized data. So at the top level, no you cannot do this. However, there are a few more things avaiable to you. One: Facebook provides facebook insights, their own tracking suite, that will give you demographic information on the users of a facebook app or fan page. You site will effectively become a facebook app when you use their user authenication, so you will be able to get insights tracking on you site. At the present moment, facebook insights and google analyitcs do not itegrate or share data. Facebook insight also provides anonymized data, so you will not be able to identify an individual through the tracking.
The final option is, now that you are tracking users through login, you can implement your own tracking info on your site to see what individual users are doing, and attempt to track their preferences.
Its also entirely legal (in the United States at least) to buy access to marketing data and use use your registered user name pool to get additional information.

弱骨蛰伏 2024-12-19 04:48:11

如果你愿意,你可以在谷歌中设置一个“渠道”。

当用户通过 Facebook 登录时,您可以将他们发送到特定页面,然后从那里跟踪他们的进度...

http://www.google.com/support/analytics/bin/answer.py?answer=55515

因此,使用此功能您可以获得登录用户的百分比通过Facebook...等

但收集其他信息除此之外,您必须获得正确的权限记录在此处例如。 user_birthday(获取用户的生日)并从那里查询 Graph API,从而实现您自己的用户跟踪。

您可以使用 Facebook 提供的各种 SDK 来查询 Graph API 此处说明

If you wanted, you could set up a "funnel" in Google.

When a user logs in through Facebook, you could send them to a specific page and then track their progress from there...

http://www.google.com/support/analytics/bin/answer.py?answer=55515

So using this you could get the percentage of users who log in through Facebook... etc.

But to collect information other than that, you would have to get the correct permissions documented here eg. user_birthday (to get the user's Birthday) and query the Graph API from there, thus implementing your own tracking of users.

You can query the Graph API using the various SDKs that Facebook provide explained here.

习ぎ惯性依靠 2024-12-19 04:48:11

首先,您应该查看此 Google 文档。它解释了如何通过谷歌分析设置自定义唯一用户 ID。

此外,您还必须通过 facebook 登录函数的回调函数向 google Analytics 发送事件(例如“fb_login”)。

First of all you should check out this Google document. It explains, how you set a custom unique user id via google analytics.

Further you've to send an event to google analytics (e.g. 'fb_login') via the callback function of your facebook login function.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文