Name

<fb:google-analytics/>

Synopsis

<fb:google-analytics uacct="..." ... >...</fb:google-analytics>

Renders the standard Google Analytics JavaScript code in the place where you put the tags. For more information on Google Analytics, refer to http://analytics.google.com and http://www.google.com/urchin/index.html. Basically, Google Analytics and Google’s Urchin Software analyze your site traffic and provide you with reports about how your visitors use your site.

FBML-Specific Attributes

Required

uacct=[string] default: none

The Urchin or Google account ID provided to you by Google Analytics. It’s often the text in the variable _uacct provided in the JavaScript that Google gives you.

Optional

Based on http://wiki.developers.facebook.com/index.php/Fb:google-analytics, the following optional attributes are available:

page=[string] default: none

The argument given to the urchinTracker() function; either a page or a virtual page.

ufsc=[1|0] default: 1

Sets the client info flag, where 1 = on and 0 = off. This is an Urchin Traffic Monitor (UTM) user setting.

udn=[auto|none|domain] default: auto

Sets the domain name for cookies. Specify auto, none, or domain. This is a UTM user setting.

uhash=[on|off] default: on

Specify whether the unique domain hash for cookies is on or off. This is a UTM user setting.

utimeout=[int] default: 1800

Sets the inactive session timeout in seconds. This is a UTM user setting.

ugifpath=[string] default: /__utm.gif

Sets the web path to the __utm.gif file. This is a UTM user setting. ...

Get FBML Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.