Uncaught ReferenceError: _gaq is not defined (Google Analytics)
From https://developers.google.com/analytics/devguides/collection/gajs/ this code replaces your existing “traditional snippet” with the “latest, asynchronous version, you should remove the existing tracking snippet first.” <script type=”text/javascript”> var _gaq = _gaq || []; _gaq.push([‘_setAccount’, ‘UA-XXXXX-X’]); _gaq.push([‘_trackPageview’]); (function() { var ga = document.createElement(‘script’); ga.type=”text/javascript”; ga.async = true; ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’; var … Read more