views:

42

answers:

0

Does anyone know how I can add Google analytics tracking code within the FBML of a share button? Code is as follows:

<fb:share-button class="meta">
   <meta name="title" content="TITLE">
   <meta name="description" content="DESCRIPTION">
   <link rel="img_src" href="someimage.gif" />
   <link rel="target_url" href="http://www.someurl.com" />
</fb:share-button>

I know that there's an fb:google-analytics tag, but I'm not sure whether or not I can embed this within the fb:share-button tag? Is the following possible?

<fb:share-button class="meta">
   <fb:google-analytics uacct="UA-9999999-99" />
   <meta name="title" content="TITLE">
   ...
</fb:share-button>