Re: Simple Google Analytics - Support
Hi econcepts,
WHEW! It appears there was a "product_info" folder including a tpl_main_page file under my custom template. I'm not sure why there was such folder there. I just removed it and it's now puling the info from the correct tpl_main_page file where the script is. It now all works perfectly. Thanks much for helping me out here, and teaching me how to use the debug feature in the process! I owe you a big one ...
Re: Simple Google Analytics - Support
I am using ZC v1.3.9h on a new install. I am using the template lite_green by 12leaves.com.
In the instructions under step 3 (part B) it says to modify html_header.php, my template does not have this file?
Where should I make the following code changes?
Re: Simple Google Analytics - Support
trusupport, it's under the template_default, here:
/includes/templates/template_default/common/html_header.php
save it under your template here:
/includes/templates/[your_template]/common/html_header.php
and paste the code as indicated in the install file.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
Thannaree
Hi econcepts,
WHEW! It appears there was a "product_info" folder including a tpl_main_page file under my custom template. I'm not sure why there was such folder there. I just removed it and it's now puling the info from the correct tpl_main_page file where the script is. It now all works perfectly. Thanks much for helping me out here, and teaching me how to use the debug feature in the process! I owe you a big one ...
Anytime. :)
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
trusupport
I am using ZC v1.3.9h on a new install. I am using the template lite_green by 12leaves.com.
In the instructions under step 3 (part B) it says to modify html_header.php, my template does not have this file?
Where should I make the following code changes?
Thannaree said it but I wanted to clarify one thing that can be confusing to some.
Quote:
trusupport, it's under the template_default, here:
/includes/templates/template_default/common/html_header.php
COPY that file to your custom template directory (which will activate the zen cart overrides) found here:
/includes/templates/[your_template]/common/html_header.php
and paste the code as indicated in the install file.
(where [your_template] is replaced by the actual name of the template directory you are using.)
Just wanted to clarify as I see many getting confused with wondering 'how to save it' etc...
Thanks to Thannaree for the original response.
Re: Simple Google Analytics - Support
Before I go any further, I'd like to know how badly I screwed up. I'm normally not so stupid (really). I was following the directions to a T, with one exception. I was going down the upgrade path. When I realized something wasn't working, I noticed that I was using the upgrade instructions when I hadn't installed it before. If I now follow the CORRECT instructions, will it overwrite what was done to the database? Will everything be okay? Geez, what a dope.
Thanks
Dopey
Re: Simple Google Analytics - Support
The files should remain the same for upgrade. The only thing that was different was the SQL patch.
I would run from the beginning (non-upgrade) the new install and you should be ok.
It will write over your DB info but I would suggest you start with a clean slate any how to ensure you have a fresh install.
Re: Simple Google Analytics - Support
A clean install would imply that I also did the smart thing of backing up my database before tinkering. I guess I really had a brain fart. How difficult is it to manually remove the changes to the db?
Live and learn (most of the time)
Jim
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
jar3300
A clean install would imply that I also did the smart thing of backing up my database before tinkering. I guess I really had a brain fart. How difficult is it to manually remove the changes to the db?
Live and learn (most of the time)
Jim
If you didn't backup the db this time no big deal.
Just run the install script (first time install not upgrade) it will automatically remove the previous DB entries and then reinstall fresh.
Re: Simple Google Analytics - Support
On my store www.ribn bon sbas kets.com I have had the mod installed for years but not all the transactions are being tracked in the google ecommerce. For instance in a one month period google ecommerce only tracked 9 but there are more then too many to count. I've always just left it because i dont have time but now im thinking that it would be wise to have a more accurate conversion rate to track. All the basic things like making sure the admin and google settings are set are done.
I have a feeling that it may have to do with the code showing up in multiple places when viewing the source but im not sure. The store has not yet been upgraded - its 1.3.8 Any help would be greatly greatly appreciated. :unsure: