0

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?

murvinlai
  • 48,919
  • 52
  • 129
  • 177

2 Answers2

0

Your Tracking of ajax call reflected in Google Analytics a/c after 72 Hrs.

Not Immediately.

& also check Your Urchin/Google Analytics account ID.

StackOverFlow
  • 4,486
  • 12
  • 52
  • 87
0

@seatoskyhk try to use this javascript in your html. May be this one is helpful for you

< script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
< /script>

< script> type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-xxxxxxxx-x");
pageTracker._trackPageview();
} catch(err) {}

StackOverFlow
  • 4,486
  • 12
  • 52
  • 87