Has anyone used LABjs for loading google analytics?
Where do you include it in the chain?
I found this script but wasn't sure whether to include my other scripts before or after
$LAB
.script("js/myscripts.js") //here?
.script(('https:'==document.location.protocol?'https://ssl':'http://www')+'.google-analytics.com/ga.js')
.wait(function(){
var pageTracker = _gat._getTracker("UA-XXXXX-X");
pageTracker._trackPageview();
.script("js/myscripts.js") //or here?
});
Also, has anyone used LABjs with getclicky? Did you do something similar to the above load chain for google-analytics?