My customer emails me and says "When are we going to put in Google tracking?" to which I reply, "We already have it in there, from day 1". Day 1 was Sunday AM. Here it is Tuesday PM, and GA reports show 1 visitor, who visited from a Blackberry. That's just not right. I've been hitting the thing anonymously from a second browser. I told some people about the site and they hit to, too. None of that traffic is being reported on GA site.

I've used GA module before, set up exactly the same way I have it set up on this new site. The UA number is correct, the code is showing up correctly in the footer, etc.

The ONLY difference between this new site and the previous sites I used this on, are that this time I told the GA module only to track anons and authenticated users, not admins or content producers.

The UA number shows up in the GA site, with its one visitor and one pageview. That was for yesterday. Today ... ZERO traffic and visitors.

I tried emptying cache, and now I've unchecked all User roles in the GA module settings, just so it tracks everyone.

I'm just looking for ideas, here. I'm baffled. Thanks.

Comments

hass’s picture

Status: Active » Closed (cannot reproduce)

First of all, use the latest version. But this is not the reason for 0 visits.

You have not provided a link to the site. Therefore no support possible and I don't waste my time with guessing. Closing.

ccshannon’s picture

Status: Closed (cannot reproduce) » Active

Re-opening ...

Here's the site. http://www.energynow.com/

hass’s picture

Status: Active » Postponed (maintainer needs more info)

Ok, there is definitivly something wrong with your site. I do not see that ga.js is requested from Google. But I see the tracker code is in the footer and all this code looks good and correct. I guess there is a problem with a module that may kills GA. I'm not using prototype anywhere myself, but it's known to create potential problems. Over all I have currently no clue what's going wrong and I cannot really figure it out from here. I suggest you to disable module by module until you see in Firebug a ga.js request and tracker request.

Make sure you start with Cufon if you disable modules... it's a very buggy and unmaintained module that is known to be broken.

For the masses of JS/CSS files you are running on this site - I can also only suggest to turn on aggregation to reduce the very high number of request! But this is all not releated to GA.

Let me and others know what you have found out. Additionally, update the module... maybe Google have an issue and this has been fixed in async code.

hass’s picture

Status: Postponed (maintainer needs more info) » Fixed

Blocking /sites/all/themes/energyn/js/plugins.js?M with AD Block makes GA working... Find out what modul add's this JS script and try to debug and fix it, please.

ccshannon’s picture

Thanks for catching that. I'll talk to my colleague, who added that .js call for theming purposes.

Also, thanks for the tips on debugging. Something to remember next time something like this happens.

I'll report back with what I find out. Much appreciated.

ccshannon’s picture

Update: I updated the module to the 3.x version. I'm not sure if I'm doing this right, but I used Firebug Net panel and see a ga.js entry there, so I assume that means it is being retrieved. I've never used Firebug for anything but viewing HTML/CSS source, so I'm not sure if that's what tells me the file is being retrieved properly.

Now I'm waiting another 24 hours to see if that did the trick.

hass’s picture

Yeah, net panel allows you to monitor the network transactions. You must also see a request to google after the ga.js has been requested that pushes the tracking data to google. If you see this request you will see someting in the stats.

hass’s picture

Now I see a request http://www.google-analytics.com/__utm.gif?utmwv=4.7.2&utmn=.... This is the tracking request. You will see something in the statistics soon... have you really only updated to 3.x or have you changed something else!? I cannot believe that only the upgrade to 3.0 have fixed this issue...

PS: Net panel can also help you to fix your broken crossdomain.xml bugs :-)

ccshannon’s picture

Hey there. Finally found the time to report back.

Yes, all I did was update to 3.x. I'm not sure why that did it, but once I did, smooth sailing. Thanks.

izmeez’s picture

I also encountered problems when upgrading from 6.x-2.2 to 6.x-3.0 and going to 6.x-3.x-dev did not solve the problem. I found I had to uninstall google analytics module and then enable 6.x-3.x-dev for visits to be reported.

hass’s picture

Could You stop highjacking other cases not related to Your issues, please?

izmeez’s picture

My apologies. Maybe I should have opened it as a separate issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

marcus178’s picture

Status: Closed (fixed) » Active

I have the same problem, I upgraded to 3.0 yesterday and I've checked my reports and it's showing 0 visits.

ga.js is loaded and all I've done is upgrade this module which worked on the previous version.

tomcatuk’s picture

Echo. No visits for 02 Nov 2010. I'm on UK time.

***Oops*** Maybe it's not the module. I have other sites, different server & code bases etc. No data for yesterday. Guess it's Google's fault.

hass’s picture

Allways provide a link to your sites and the GA version, please.

hass’s picture

Allways provide a link to your sites and the GA version, please.

hass’s picture

Title: After 48 hours, almost no data showing up in Google Analytics reports » Third party code/module with broken JS code breaks Google tracker
Status: Active » Closed (fixed)