View Full Version : Google Analytics Help

06-16-2008, 02:32 AM
Anyone a bit of a Google Analytics whiz round here? We have a site that is used in different regions (countries) around the world. GA doesn't allow you to break it's statistics into seperate countries properly so we setup one global GA tracking code and then various other codes for the main regions (UK, AU, IN, US etc).

We use GeoIP tracking to decide which code to show. My code looks something like this....

<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 type="text/javascript">
var firstTracker = _gat._getTracker("UA-xxxx-1");
var secondTracker = _gat._getTracker("UA-xxxx-5");

With the first tracker always being the global code and the second the region specific code. So, have uploaded the files but have noticed over the weekend, the numbers for the global account have dropped signifacntly and only the rest of the world region (ROW) is showing anything. AU, UK etc are all blank.

I can bypass the GeoIP tracking by using a query string and I can see the code is there for the various different regiosn so just wondering what I'm doing wrong. Have double and tripled checked the code above and it seems to be right. What am I missing?