Certainly, you have understood meOriginally Posted by kelvyn
???? May be you do somehing wrong? jscript_google_analytics.php very small and easy:Originally Posted by kelvyn
PHP Code:<?php
/**
* jscript_google_analytics.php
*
* @package zen-cart statistic
* @copyright Copyright 2005-2006 Andrew Berezin
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: jscript_google_analytics.php,v 1.0.0 18.08.2006 19:19 Andrew Berezin [email protected] $
*/
if ($request_type == 'NONSSL') {
$google_analytics_url = "http://www.google-analytics.com/urchin.js";
} else {
$google_analytics_url = "https://ssl.google-analytics.com/urchin.js";
}
echo '<script src="' . $google_analytics_url . '" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "' . GOOGLE_ANALYTICS_UACCT . '";
urchinTracker();
</script>';
?>Debugging. Now it's ok.Originally Posted by Woodymon


Reply With Quote

