The Facebook plugin captures Facebook-specific events such as Likes and Shares. It can also collect visitor and event information on pages that have been integrated with Facebook. This data populates reports in the Analytics 10 Facebook App spaces and can be used to create custom reports.

Using Tag Builder

Facebook Plugin Sample Code

window.webtrendsAsyncInit = function(){
                  var dcsConfig = {
                        dcsid: "dcs9x99xxxx9xxx9xx9xxxx9x_9x9x",
                        timezone: -7,
                        plugins: {
                  var dcs=new Webtrends.dcs()

The following parameters are passed from the Facebook plugin:

Visitor Data

The user locale.
The user gender (M or F).
The user location as it has been set it in Facebook.
Indicates whether Facebook user is also the author of the app. If the user is also the author, this parameter is set to 1. Otherwise, it is null.
A count of the visitor’s friends.

General Information

Indicates whether the page has Facebook JavaScript installed (value is set to 1) or whether the plugin timed out waiting for Facebook JavaScript to load (value is set to 0). When set to zero, no other metrics are passed. For more information, see http://developers.facebook.com/docs/reference/javascript/.

Facebook Custom Data

Webtrends Analytics parses values from the field app_data that begin with WT, DCS, and DCSext. For more information, see http://developers.facebook.com/docs/authentication/signed_request/.

Facebook Events

The following events occur when the user interacts with Facebook Social plugins.

The type of event. A social conversion has the value 111. Pageview had the value 0.
Indicates a social conversion and is used to record the original event type from Facebook. It's in the format fb_{Facebook’s EventType}
"/multitrackevents/fb_{Facebook’s EventType} Deprecated event parameters. These Facebook parameters continue to be passed; however, new parameters are recommended for custom reports.
Note: This event parameter has been deprecated.
Indicates a social conversion. It is in the format Facebook:{WT EVENT TYPE}.
Indicates a social conversion. It is in the format Facebook:{WT EVENT TYPE}.
Table 1. Event Types
Webtrends Event Type Facebook Event Type
'auth.login' "Login"
'auth.logout' "Logout"
'edge.create' "Like"
'edge.remove' "Unlike"
'message.send' "Share"
'comments.add' "CommentsAdd"
'comment.remove' "CommentRemove"
'comment.create' "CommentAdd"