Quote Originally Posted by pinwest View Post
I am having problems setting this up on my site. I am running the newest version of Zen Cart. I have done the following.

Created a Google Analytics account.

I download the google analytic mod. I checked the code in the file, /public_html/includes/templates/silverfish/common/tpl_main_page.php

Made sure that the body ID showed
<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>

Then added :

<?php

require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');

?>

Just before the </body>

Updated the .sql file for non-upgrate.

Changed the account # in the admin config

Uploaded the files included with the mod into my file structure.

Now, when I access Google Analytics, I get tracking code not detected.
I have my Analytics set for http://www.pinwest.net and the default page, index.php.

Any ideas ???

Thanks,

David...
Did you forget the trailing slash when telling Google where to verify code at?

You have to be careful at times with letting Google know the exact location.

Try reading through this post. It has some things to consider if the code shows as not detected. (One being the trailing slash).

http://www.zencartoptimization.com/2...gle-analytics/