A few days ago I went to check on my Google Analytics data for the blog. I've been Dugg, Netscaped and Farked recently so I thought I might see just how much data accumulated from these traffic spikes. I was in for a shock!
It was not the sort of shock you might expect... There was almost no data!
After I moved my blog from Serendipity to WordPress I thought I had identified all of the template files that needed script codes added to them but I messed up. In fact, many pages only had some of the needed tracking scripts installed on them.
This is why I need to tell you just how important it is to look through the files in your theme to be sure all of your scripts are properly installed. Perhaps I might have to write a plugin for this?
Some scripts require they be in the head element, others need to be right after the opening body tag and some need to go right before the closing body tag! It can be mind-numbing tracking down what goes where.
So, as much as I wanted to write up a detailed report of what happened here on the blog I can't. The good news is that my Analytics page no longer has whacked out numbers and screwed up figures!










What a bummer. I was hoping to read this too! You could try the Google Analytics plugin (maybe too late), that’s like one central location to put the code so you don’t worry.
I didn’t lose all the information as my server logs are intact. I just lost data on my various script-based tracking tools.
That is a real pity. Anyway, it is still better that you discovered it now than never. I agree that it is indeed troublesome sometimes for some scripts that worked in specific areas on the blog/ site.
We’re not using any analytical tools other than MBL’s ProLogger thingy. Which ones would you recommend to be the best out there? Free is always great too.
I use Google Analytics and Site Meter. I also use some other ones on the server side to track all of my sub-directories and such.
You can see the sitemeter link (and data) at the bottom of each page.
Site Meter is a popular choice for many bloggers. If your hosts provides the service as well, it will be good to utilize. Or, ask if they do have it.
Just put it in your footer.php!
I got a foot.php for you smart guy!
Keep up the good work on your “real” blog, I’m getting some good tips from you. I still was not able to fix the png problem on IE6 though…
SOrry to hear bud. For the theme I’m using I need to put the analytics script code in the single.php and header.php I installed other themes and don’t know where to pu them :(