can i move my google analytics to my windows.onload function?
So this is what I've done so far:
_uacct = "UA-<uaid>";
Nifty(...); // rounded edges calls that i want done before i do my sometimes slow tracking js calls
// tracking calls
var mybloglogurl = "http://track2.mybloglog.com/js/jsserv.php?mblID=<mblid>";
var mybloglogscript = document.createElement("script");
However, I would like to move the google analytics urchin.js to load in my windows.onload function. However, when I move it there and do the document.body.append thing, it doesn't look like it blocks until the JS is loaded. So if I try to call the urchinTracker() function immediately after, I get a JS error. Any thoughts on how I can load google analytics and then call the function in my windows.onload?