Changeset 8222


Ignore:
Timestamp:
01/28/15 00:14:42 (3 years ago)
Author:
kent1
Message:

Le bon code ga + pas besoin de spip_cron

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Anne-Laure_Maison/www.annelauremaison.com/inc-pied.html

    r4899 r8222  
    44
    55<script type="text/javascript">
    6 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    7 document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
     6 var _gaq = _gaq || [];
     7  _gaq.push(['_setAccount', 'UA-823028-15']);
     8  _gaq.push(['_trackPageview']);
     9
     10  (function() {
     11    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
     12    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
     13    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
     14  })();
    815</script>
    9 <script type="text/javascript">
    10 var pageTracker = _gat._getTracker("UA-823028-15");
    11 pageTracker._initData();
    12 pageTracker._trackPageview();
    13 </script>
    14 [(#REM)
    15         Cette balise permet de deporter les calculs lourds (indexation etc)
    16         dans une image cachee, ce qui evite de ralentir l'affichage des pages.
    17 ]#SPIP_CRON
Note: See TracChangeset for help on using the changeset viewer.