does anyone have a *working* link to download this addon?
does anyone have a *working* link to download this addon?
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
i guess a simple 'thank you' post is too short to post. so, thank you in a much longer than necessary format ;)
Any time.![]()
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
econcepts,
I want to get the google analytics working on my site. However when I read the README file I am not understanding your second point as below:
2. Make sure your body tag in includes/templates/[your_template] includes this code (if not see trouble shooting below it is not neccassary but an addition to your template needs to be made):
<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
My question is which file I need check? In includes/templates/, I can't find a file that looks like [your_template]?
thanks a lot!
gb2007,
Let me first point out that I did not make the module itself (nor the Readme that came with it). I do understand how it works though.
Having said that, the answer to your question is as follows:
1) if you are running any of the newest versions of Zen, then that line is already included in your default install so just by-pass that step and everything will work fine.
2) If you are running older versions, or want to "just make sure" it is there, then you will find that line in the following file:
/includes/templates/[your_template]/common/tpl_main_page.php
Keep in mind that [your_template] means your CUSTOM template name ... not "[your_template]" exactly.
So, if you named your custom template "mycustomtemplate", then the path to the file would look like this:
/includes/templates/mycustomtemplate/common/tpl_main_page.php
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
eric,
think i follow the exact instruction to install GA module on my site. However when I go to GA site to check the status, it still says that "The Google Analytics tracking code has not been detected on your website's home page. For Analytics to function, you or your web administrator must add the code to each page of your website.". AM I missing anything here or it's just a time issue and i should wait a little bit longer?
BTW, I copied the code from the README file to tpl_main_page.php but I notice that code is different from the code on GA site. WIll that be an issue?
thanks,
gb2007
My suggestion would be to "start over" from the beginning. If you are using the Google Analytics that is available from the Downloads section, then the only thing you should need to copy from the readme file is the portion of PHP code that eventually will insert the Google Tracking code on the bottom of your pages (should be pasted just above the closing "</BODY> tag on your page).
That alone will not install the module though. You have to follow the first few steps as well. Upload the proper files to your website as indicated in the readme, then run the SQL file from your Tools > Install SQL Patches (in the admin).
After all that, you need to CONFIGURE the system by entering your GA Number in the "Configuration > Google Analytics Configuration" section (of the Admin).
The code you are copying to the tpl_main_page.php file is NOT the actual Google Analytics code. It is simply the PHP code used to insert the tracking into the footer of your web site pages.
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information