How to do Google Analytics for ajax call in Facebook?

Posted by seatoskyhk on Stack Overflow See other posts from Stack Overflow or by seatoskyhk
Published on 2010-06-05T00:33:54Z Indexed on 2010/06/05 18:22 UTC
Read the original article Hit count: 159

I have a FBML game and need to track all ajax calls.

At the bottom of the page, I have this:

and in the javascript functions, I put this:

Facebook.urchinTracker("/ajaxcallname/");

However, it doesn't work.. and what I found out is that the utmac (the google account id) is empty!!! _uacct is empty!

even I set it in the FBML, it is still empty!! and I can't find a way to dynamically set _uacct be my google account ID.. any one has any idea?

© Stack Overflow or respective owner

Related posts about facebook

Related posts about google-analytics