English Need Help

Google Analytics and recent YACS version [Intégré]

Is it working?

Avancement100%
WorkflowBesoin d'aide
StatutLa solution a été intégrée

Are you sure you have the up to date GA code integrated into YACS?

I've got it configured on one of my web sites but get zero info into GA.

If I check the code Google presents against what is present it looks pretty different:

Offical Google code:

<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 s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
 
})();

</script> What Yacs uses: <script type="text/javascript">
//<![CDATA[
try {
var pageTracker = _gat._getTracker(UA-25556532-1);
pageTracker._trackPageview();
} catch(err) {}
// ]]>
</script>
 
My Yacs:

System overview

YACS 11.6.10.martin.stable, 110610-22:16:00 GMT, localhost
PHP 5.2.17
MySQL 5.0.91mm-log
Server time zone UTC -6 hours
Memory 8161292
 
Your support would be highly welcome
 

Thanks, Jan