I am using zen-cart 1.39H
I did everything according to the readme.tex, and I can see "Google Analytics Configuration"in the admin page! but on the bottom of my site it showsageTracker._trackPageview(); pageTracker._trackPageLoadTime();
and on google analytics page, shows I have not installed the code, anyone knows what's wrong?this is the /common/tpl_main_page.php I added:
PHP Code:
?>
<!--eof- banner #6 display -->
<?php
if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") {
// Do nothing
} else {
require(
DIR_WS_TEMPLATE 'google_analytics/google_analytics.php');
}
?>
</body>
and the configaration-"Google Analytics Configuration" I PASTE CODE
PHP Code:
<script type="text/javascript">

  var 
_gaq _gaq || [];
  
_gaq.push(['_setAccount''UA-27542444-1']);
  
_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 
document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gas);
  })();

</script>