Re: Simple Google Analytics - Support
Quote:
Originally Posted by HenryGale
I've run into an odd problem implementing Simple Google Analytics. When I finished all the installation steps in the readme, I found that my shop main page was loading completely blank, only the black background is visible.
I tracked the problem down to the code in tpl_main_page.php. When I add the code:
PHP Code:
<?php
if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") {
// Do nothing
} else {
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
}
?>
to my tpl_main_page.php, my main page goes blank. When I remove it, it works again.
Any ideas? I'm using the default tpl_main_page.php, as my template didn't have one. So this code is the only change from the Zen Cart default.
Thanks in advance!
HG
A blank page means there is an error in your PHP code somewhere. Typically this happens when one inadvertently alters other code or places the php code listed in such a way where it mess with current code on the site.
To find out where your problem is make sure you have error checking turned on (default in 1.3.9 versions but if you don't have that you can download the error checking file "Debug Error logging").
To find out where the error is then, place your code back on the page and then try to access it. When you get the white page an error log will be written to your 'cache' folder (with the date / time ... this is how you tell which log goes with which action. If there are too many you can delete the error logs and repeat the above step so there is only one in there when needed.)
Open that error log and it will tell you the exact issue and line of code to look at. If you can;'t figure out what the error means, post it here and I'll walk you through it.
Sorry to bring up an old post but i was having the exact same problem. For some reason the file was not saving correctly in Notepad++. When I used dreamweaver and was sure to save in file type .php everything started working fine. I'm sure if I had tried changing to .php in notepad it may have worked also but I didn't try it. Hope that helps someone out there.
Re: Simple Google Analytics - Support
I've been wondering about this mod and its purpose. Google analytics is a very easy install simply using the code snippet provided by Google, so I'm not grasping the reason for a mod. Are there some additional features to this mod that provide more functionality? Am I missing out on something?
Re: Simple Google Analytics - Support
Hi all,
I have problems with the integration of Google Analytics and the Ajax One Page Checkout.
I am unable to correctly configure the Google Analytics ecommerce feature and I can't track none of my shop orders.
Anyone has experienced the same problem?
There is a way to integrate Google Analytics ecommerce and Ajax One Page Checkout?
Thanks in advance,
Alessandro
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
Aletiger
Hi all,
I have problems with the integration of Google Analytics and the Ajax One Page Checkout.
I am unable to correctly configure the Google Analytics ecommerce feature and I can't track none of my shop orders.
Anyone has experienced the same problem?
There is a way to integrate Google Analytics ecommerce and Ajax One Page Checkout?
Thanks in advance,
Alessandro
There was an issue but I believe the current version has corrected for it. What version of the Ajax One Page Checkout are you using and what version of Simple Google Analytics?
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
RescoCCC
I've been wondering about this mod and its purpose. Google analytics is a very easy install simply using the code snippet provided by Google, so I'm not grasping the reason for a mod. Are there some additional features to this mod that provide more functionality? Am I missing out on something?
From the Readme file:
Installs Google Analytics tracking capability on your site using either the legacy (urchin) version, "ga.js", or "asyncronous" tracking Google code version including:
a) E-Commerce Tracking
b) Adwords (pay per click) Conversion Tracking
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
jeking
I was wondering if you will be adding the Site Speed functionality to your mod?
analytics.blog spot dot com/2011/05/measure-page-load-time-with-site-speed.html
Yes Jim,
I was just getting ready to release a new version here and will include that as on option.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
RescoCCC
I've been wondering about this mod and its purpose. Google analytics is a very easy install simply using the code snippet provided by Google, so I'm not grasping the reason for a mod. Are there some additional features to this mod that provide more functionality? Am I missing out on something?
Actually, this mod does quite a number of things that are not easily done by just pasting a snippet of code provided by Google into your page.
Just a few of the items are:
1) Adwords conversion tracking capability
2) Ecommerce tracking (with dynamic order values not static)
3) Ability to customize the tracking code easily from the admin to accommodate additional tracking options.
etc...
If you just copy and paste the tracking code Google provides into your page you won't get product level detail 'conversion level ecommerce tracking' nor would you get adwords conversion tracking.
Re: Simple Google Analytics - Support
I am using v1.3.9h and do a new install SQL. There is no error but no count at google anlaytics. I did a source view and can see the account number. I did several transactions and the count does not move. How do I check if I got the installation correct?
Re: Simple Google Analytics - Support
Re: Simple Google Analytics - Support