Today I was making some changes for a client to an outdated website that I created for them back in 2003. Actually this one was likely a 2005 incarnation considering all the Flash that was involved in it and the design style I used to have. I came across some good, old fashioned Google Analytics Urchin code.
You know the old school stuff when they first acquired Urchin Tracker. Here’s the code snippet:
_uacct = "UA-XXXXX-2";
Where the XXXXX is actually my account number. Now here’s the problem. I still use that account number for a number of sites, but the domain in question isn’t showing in my list of sites. I’d be happy to upgrade the outdated urchin.js code to the new Google Analytics code.
var _gaq = _gaq || ;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script'); s.parentNode.insertBefore(ga, s);
My concern though is that I would like to have access to the historical data. I’m sure that it’s still recording it somewhere. When I decide to add the site it creates a new id for the site (i.e. instead of -2 it’s -45).
So my question I guess is this:
How do I add a website to Google Analytics that has urchin code tracking?
Hopefully some geniuses that are attending PubCon this week in Las Vegas will be able to help me out with an answer.