竹磬网-邵珠庆の日记 生命只有一次,你可以用它来做些更多伟大的事情–Make the world a little better and easier


1510月/120

Google Analytics 添加自定义社交媒体

发布在 邵珠庆

从网上找了很多资料来实现 自定义社交媒体名称,没有找到合适的方法,具体的参考文档请见以下URL

https://developers.google.com/analytics/devguides/socialdata/

Resources

The following resources will help you syndicate your Activity Stream to the Google Analytics social data hub.

  • Overview—Information about the social data hub and the basics of Activity Streams and the PubSubHubbub protocol.
  • Getting Started—The Getting Started section describes the required Activity Stream format you’ll need to follow and how to deliver new activities via the PubSubHubbub protocol.
  • Sign Up— The form is used to collect your company and contact details and to verify that you’ve met all of the requirements.

社会数据中心 - 注册

在您注册作为一种社会数据提供:

  • 检查的资格要求,并确认你合法拥有的和/或可共享的社会数据,你打算发送到谷歌。
  • 审查和遵守活动流的要求,
  • 审查和了解如何提供您的活动通过PSHB流。

我们收到您的申请后,我们会检讨,并联系您的详细信息,如果必要的。您应该会听到我们在一个星期内提交申请。经批准后,您就可以提供一个密钥和一个虚拟的发布终点。

Activity Stream Requirements

The social data hub expects an Atom/RSS Activity Stream feed of global activities from your social network/platform.

The following information must be present within every Activity Stream update:

  • Actor
    • username or screen name
    • display name: full name of user, if available
    • author profile URL, if available
    • author profile photo URL, if available
  • Object
    • update text: text or (x)html with the actual content of the update
    • permalink: url that uniquely identifies the update
  • Verb: type of event (post, favorite, comment, etc)
  • Publication date: date when update was created
  • Provider: name of your network
  • Other meta-data such as geo location, or follower counts

Example Activity Stream feed:
http://profile.typepad.com/markpasc/activity/atom.xml