marifb Posted April 18, 2011 Share Posted April 18, 2011 Hi, I'm using PS 1.3.2.3 and installed Google Analytics v 1.2. Is that module already using asynchronous tracking as described here http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html? If not, where should I put the new snippet?Thanks Link to comment Share on other sites More sharing options...
damocles Posted May 17, 2011 Share Posted May 17, 2011 Hi,You will find the code here: http://code.google.com/intl/fr/apis/analytics/docs/tracking/asyncTracking.html [removed] 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 s = document.getElementsByTagName('script')[0]; s[removed].insertBefore(ga, s); })(); [removed] I'm using prestsahop 1.3 . In the new version 1.4, this module was updated.If you update the version for PS 1.3, I would be interested to test it :-) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now