You have not installed Simple Google Analytics right. Go back and install it again being careful that all files are named and uploaded in there right places.
Make sure your body tag in /includes/templates/[your_template]/common/tpl_main_page.php
includes this code.
At the bottom of /includes/templates/[your_template]/common/tpl_main_page.php
Copy and paste the following lines of code (found below) just before the </body> tag:
PHP Code:
<?php
if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") {
// Do nothing
} else {
require(DIR_WS_TEMPLATE . 'google_analytics/google_analytics.php');
}
?>
1. Once you have completed a successful install, login to your Zen Cart admin and go to configuration->google analytics configuration and set your google
analytics account number and any of the other settings as you see fit.
2. Login to your Google Analytics account and make sure your site is set to "receiving data"
or "waiting for data" (this means you have sucessfully installed the analytics code on your
site.)
3. To take advantage of Google Analytics E-Commerce Tracking, you must login to your Google
Analytics account after installing this contribution and enable e-commerce reporting as follows:
a. Log in to your account.
b. Click "Edit" next to the profile you'd like to enable.
c. On the Profile Settings page, click "edit" next to Main Website Profile Information.
d. Change the E-Commerce Website radio button from No to Yes.
e. Save your changes
I hope this will help.