Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Thanks for the quick reply, HOWEVER I did notice that I am getting movement on my google analytics now. Should I leave it be or is there something necessary in that header that you think I'd need? I'm not much into all the php / web stuff and like to keep it as simple as possible.
You will need the header file if you switch to the new Asychronous tracking method Google has (you get that option from with my Analytics admin and can choose between three different tracking codes.)
If you are using anything but the asych code it should work but I would advise for correctness to add the proper info the the html header as not doing so can cause problems in the future. Partially installing something is never a good idea.
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
again, thanks for your help... you don't think that copying that html_header.php will change the appearance or functionality of my 'current' template?
If it's easier to look at what I have it's at electronicCrap.com (I know catchy) I just started this thing 10 days ago to help out with hard to find items for a select group and it's gone nuts, 100 orders in 10 days. I thought I'd use this tool to see what the possibilities of 'expanding' are.
Just scared to mess something up that's working so well.
[EDIT] just tried to drop it in and the site went away until I pulled it back out. any thoughts?
Last edited by it2steve; 25 Feb 2011 at 03:31 PM.
Eric which code show the most data and does the best job. The legacy 'urchin.js' tracking code, the ga.js tracking code or the newest Asynchronous tracking code released in Dec 2009 by Google. I always wondered about that. Thanks for you response.
Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation
That file should not alter the look of your template at all.
It should drop in flawlessly and have no negative impact. If the site goes away (white page) when you drop it in that means you have a PHP error somewhere in the file (likely created from attempting to add new lines of code but not completed correctly.)
The way to find out where your error is is to check your error log (found in your cache directory). This will tell you the exact location of the PHP error so you can correct it.
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Google says the newest code will give you the 'most' information. However, many people don't even know 'how or where' to find that info (or even set it up) by using new tracking codes so it doesn't matter.
All forms of tracking will provide you with the basic info you need to run a successful business. I've found that the ga.js tracking code produces a larger margin of error specifically with regard to ecommerce tracking (inconsistent reporting) so I never personally use that.
I tend to stay with either the older urchin methods (for most accurate results) and have been migrating to the asych tracking on a few sites. ONce I determine the asych tracking is as accurate in core data (the info I use to run a business) as the legacy urchin code I'll migrate to that fully.
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation
I have installed the Google Analytics by Andrew, but I can't find the support thread for it. Would anybody direct me to the right thread.
Thanks to All
Thanks for this fix, was a bit boggled by this. I know this post was a while ago but I have made one addition to a popup which was not included and fixed the space in the wordings. I shall highlight the addition in bold.
Code:<?php /* Begin Simple Google Analytics */ if (in_array($current_page_base,explode(",",'popup_image,popup_image_additional,popup_cvv_help,popup_coupon_help,popup_attributes_qty_prices,popup_search_help,popup_shipping_estimator,info_shopping_cart')) ) { //Skip outputting the tracking code as this is a pop-up window } else { // Print tracking code to page if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") { require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php'); } } // end if for page determination /* End Simple Google Analytics */ ?>
Bookmarks