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: noneThe 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 and0
= 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
, ordomain
. This is a UTM user setting.uhash=[on|off] default: on
Specify whether the unique domain hash for cookies is
on
oroff
. This is a UTM user setting.utimeout=[
int
] default: 1800Sets the inactive session timeout in seconds. This is a UTM user setting.
ugifpath=[
string
] default: /__utm.gifSets 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.