Google Woes
Since implementing the changes to my Google Analytics installation as detailed in my last post, I’ve noticed a sharp decrease in page views: none recorded. I put the default code back on the page, but am curious as to why it’s not working when I widgetize it (Google Ads worked fine when I used my widget method, as did some other widgets that I tried).
Over the next few days, I’ll be experimenting with Google Analytics to figure out how to get it to work within my new… umm… framework? I think it’s a problem of variable scope, but I’m not exactly sure (ie I think I need to make that pageTracker variable globally available). I’ll also be adding more specific tracking to the site in order to take full advantage of a few things, which will require modifying the Analytics widget — and possibly the entire framework — a bit. I’ll keep you guys posted (no pun intended).