Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Hi econcepts. Thanks for your prompt reply.
Yes, the code does appear in view source.
On further thought, however, I am wondering how else to access the original google_analytics.php in includes\templates\mytemplate\google_analytics\.
It seems I only need to change the "$current_page_base" in the following code at the bottom of my new tpl_main_page.php to reference /mytemplate/, but which is currently rendering as "main" .
Any thoughts or solutions.Code:require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . 'google_analytics.php');
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
Searching through threads and trying to find an answer - hoping someone here can help. It seems that no matter if I use this module or I'm inserting analytics code manually, ALL orders placed through paypal or check/money order aren't being tracked by google. Only my credit card transactions.
Is anyone else seeing this? I'm using the standard IPN paypal module. Thanks and apologies if this has been covered.
If none are being tracked then there has to be a problem with how you are returning the users to the site after a successful order. The only way Google (r any other tracking system on your site) will ever be able to track a sale from a site like PayPal is if the customer returns to your site after the sale. If they don't all you'll see if them 'leaving' (going to paypal) and never returning.
I have worked with hundreds of sites that use PayPal and all track just fine with Google Analytics. I would highly recommend you use the Simple Google Analytics module to insert the code on your site. Manually inserting if not done correctly (you don't just insert the code in one spot for it to work) will get you undesired results.
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information
thanks for your help and advice. still searching on why this is happening. i've been using the module to track conversions for several months now and scrolling back, I do see orders being tracked, just not all of them and usually paypal orders.Manually inserting if not done correctly (you don't just insert the code in one spot for it to work) will get you undesired results.
to address your last point, do you mean to say I can't just paste the google conversion tracking code into my checkout success page and be done with it? what else would i be missing?
For proper conversion tracking, can you plewase advice what setting this shouyld be set to?
Provide details about the page where this conversion will be tracked.
Page security level HTTP or HTTPS
Thanks a lot!
A few things ...
1) The only "conversion tracking" script Google provides you with either relates directly to Adwords or Optimizer. There is no 'conversion script' for Analytics. Analytics automatically tracks your conversions if you have the proper code in place.
This module places the proper code in the right locations (even for Google Adwords conversion tracking) throughout the site and on the 'checkout success' pages.
So if you go and manually try to add the code to those page(s) you'll conflict with what is already in place.
2) If talking about Google Analytics, then the 'added tracking' which would be placed on the checkout success page is the 'ecommerce tracking'. However, this too is already inserted along with my module, so no need to manually add that either.
3) If you just place the conversion tracking script that Google gave you (for Adwords of course) on your thank you page, you might track a conversion, but you won't have the dynamic tracking ability that my script provides. So instead of getting an order for $50 (as an example) recorded as $50, you'll get an order, but it will likely show either $1 or "$0" for the value.
The module I've built automatically takes the order information and adds it to the proper locations to be tracked.
In short, everything you need to track all types of transactions is included with the Simple Google Analytics module. You shouldn't have to place any tracking code manually anywhere on the site. Doing so could conflict with what is already being tracked.
If you added manual code you likely caused a conflict. I would recommend removing the manually inserted code and letting the module do the work for you.
Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information