Brett2000
Member
Posted 3 years ago #
Hi,
Just did a view source, compared it to GA website code, found that the plugin is not putting the 'try/catch' into the code as follows:
----------
try {
var pageTracker = _gat._getTracker("UA-XXXX-X");
pageTracker._trackPageview();
} catch(err) {}
Will it be added?
Thanks,
-Brett
energymover
Member
Posted 3 years ago #
Same here. Maybe this is new google javascript code. I'm certain Joost will update this soon. :-)
Paul
It is new indeed, but I'll have to look as to whether I can include it like that, because of some of the customizations the plugin does in adding extra tracking stuff. I'll dive into it! (rest assured: the code that's in the plugin right now works perfectly well in 99% of the cases, the only thing this new script does is prevent javascript errors for the end user.)