Jump to content

Google Analytics Asynchronous


Recommended Posts

  • 4 weeks later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...