Jump to content

Google Analytics Asynchronous Tracking


jeckyl

Recommended Posts

Salut à tous,

Evolution du tracker de google qui permet maintenant de place r le script en fin d'entête et ainsi avoir des statistiques plus précises.

Toutes les infos sur : http://code.google.com/intl/fr/apis/analytics/docs/tracking/asyncTracking.html


Sachant que maintenant il faut adapter le module google analytics pour ce nouveau script.

Si une bonne a du temps pour cela.

Link to comment
Share on other sites

  • 4 weeks later...

Je voulais justement ouvrir un poste à ce sujet ...

Je suis archi newbie merci de votre indulgence ,)

Petite question (tout à fait innocente) : quel est l'intérêt des modules stats dans le backoffice par rapport à google analytics ? A-t-on besoin des deux ? Peut-on se passer de l'un ou de l'autre ? Les modules stats ne ralentissent pas le site ?

Merci et bonne journée à tout le monde !

Link to comment
Share on other sites

  • 7 months later...

How did you add this code

[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 have been trying to configure the ganalitycs to make it asynchronous without success. Any solution ?

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...