Eric, I think I found it...under Actions...I pasted the script code in the box.
Is that correct?
I have been zenning too much!![]()
Eric, I think I found it...under Actions...I pasted the script code in the box.
Is that correct?
I have been zenning too much!![]()
No. You ONLY want to use the "custom" section if you are looking to add more customized tracking your original code (like tracking page specific actions, domain info, etc...).
If you are not looking to track custom events then you should not use that section at all.
The only thing you need to do is to add your analytics ID to the section in the admin and then if you want to track pay per click conversion (adwords) include your tracking id for that.
So in your case if you are not customizing the code just leave the custom section BLANK.
Also, if you had Andrew's version of GA already installed, you'll want to make sure you completely remove any FILES that came with that version and alter back any lines of code that may have been done upon installing that. I believe that version has a number of things you have to do to actual files for installation, and if you do not remove those, you'll find the tracking is off (may not even work).
Just running the uninstall patch for that previous version will not work. You'll need to get the files back to their original settings (before that install).
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Hi Eric,
First of all, thanks for your hard work in updating this module!
I'm using version of Zen Cart 1.3.9e. I installed the Simple Analytics Module using your instructions in the readme.txt. file (very easy to follow BTW).
However, I'm getting a caution sign in Analytics with the error "Tracking Unknown." I did a View Page Source of the home page of the site and I could see the tracking code before the </body> tag, but I could not see the code before the </head> tag.
I double checked by looking at the html_header.php file in cPanel and the PHP code is there... but it looks like it is not generating the necessary js code in the final output. Here is the code I put right before the </head> tag in html_header.php:
<?php
if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") {
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
}
?>
Do you have any ideas what might be going on here?
The domain is http://www.firstmedicalprodcuts.com
Thanks!
Matt
Sorry, I spelled the URL wrong. It should be this:
http://www.firstmedicalproducts.com
Here is an update on what happened.
Earlier I waited several hours before I posted my problem. I had read in previous posts on this thread that sometimes it takes several hours for Google to become aware of the tracking code and for the analyitics account to be 'receiving data.'
As of about 4 hours after I installed the module it was not working. I came back and checked analytics about 8 hours later and viola! It was receiving data.
So, it seems like I was pre-mature in posting my original problem.
That's great to hear. Thanks for letting us know everything is working.
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information