atom feed6 messages in com.googlegroups.analytics-help-basicsRe: Analytics HTTP requests not going...
FromSent OnAttachments
MonkeyMikeOct 16, 2008 3:53 pm 
Tom AtkinsonOct 16, 2008 7:50 pm 
André ScholtenOct 17, 2008 6:54 am 
MonkeyMikeOct 17, 2008 9:57 am 
MonkeyMikeOct 17, 2008 9:59 am 
ShoreTelOct 17, 2008 7:01 pm 
Subject:Re: Analytics HTTP requests not going out
From:MonkeyMike ()
Date:Oct 17, 2008 9:57:47 am
List:com.googlegroups.analytics-help-basics

Hi Tom,

Wow... I put the page online...

http://www.itripthereforeiam.com/AnalyticsTest/gaTest.html

...and it is working from there. But still, it is not working when I browse to the exact same file on my local machine. As I said earlier, "success" returns true, but there is no request going out in LiveHTTPHeaders.

So it seems that this does not work from a local machine. I've verified this on my co-worker's machine. Any idea as to why not? Also, is this stated somewhere in Google's documentation?

Thanks! -Mike

On Oct 16, 7:50 pm, Tom Atkinson wrote:

Hi Mike, please put a copy of your test page online, so i can review the HTTP headers being generated by my browser. I do this with "Live HTTP Headers" firefox plugin.

On Oct 17, 11:54 am, MonkeyMike wrote:

Hello,

   It seems pretty clear at this point that there is something wrong with ga.js.  I am trying to use the Event Tracking feature, and I don't see requests going out in LiveHTTPHeaders.

   Here is some simple HTML which demonstrates the problem (note that I've hidden our Account Id with asterisks)...

--------------------------------- <html><head> <script type="text/javascript" src="http://www.google-analytics.com/ ga.js"></script>

<script type="text/javascript">         testTracking = function() {                 var pageTracker = _gat._getTracker("UA-*******-*");                 pageTracker._initData();                 var success = pageTracker._trackEvent("TestEventTracking", "testAction", "testLabel", 0);                 alert("Acct ID = " + pageTracker._getAccount() + "; Tracker succeeded: " + success);         }; </script>

</head>

<body onload="testTracking();">

</body> </html>

---------------------------------

   When I run this, "success" evaluates to true, but there is no analytics-related request that goes out.

   Any help would be much appreciated. :)

Thanks!