Re: Simple Google Analytics - Support
Quote:
Originally Posted by
coffeecanada
I copied + pasted my Google Analytics code directly into tpl_header, and when I log into analytics.google.com it isn't properly tracking paid vs. organic search.
It also won't track the dollar value on conversion, but it does properly detect conversions.
Will using Simple GA fix this?
Yes, Simple Google Anlaytics fixes it all for you.
The first thing you have to do is completely REMOVE any trace of code you personally pasted into your site. Then install my Simple Google Analytics mod (follow the readme, it's pretty straight forward).
If using Zen 1.5 you'll need to register the page in the admin (if not, no worries).
Then from the admin configuration just enter your Analytics tracking id (and Adwords conversion tracking if you are using that).
Save and you're all set.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
coffeecanada
I went ahead and installed SimpleGA to see what difference it would make. There's two things that are confusing me though:
1. The include is at the bottom of the page, just before </body> whereas Google Analytics instructions say to put it before the </head> tag.
2. There's a question in the install file:
But the steps only go up to 4. Is this reminents of a previous install file?
My code (Simple Google Analytcis) never uses nor requires you to add that type of code to your site. You probably have the contribution called "Andrews Google Analaytics" installed and that has a few more edits that are made to make it work (but it has some native problems with tracking I am told in a few areas.)
You'll need too COMPLETELY remove all traces of the previous version then install my version for it to work. The problems in the other analytics version cause inconsistencies with my tracking.
That is likely what is throwing you off. It has to be one tracking module or the other ... not both.
Re: Simple Google Analytics - Support
V 1.3.9h with language packs
website: www.physics6.com
Eric,
I've spent considerable time trying to troubleshoot a fresh v 1.2.5 install on Zen V 1.3.9h. I've gone through all steps in the install, and I'm having trouble with the step #2. Although I have v 1.3.9h, it is heavily modified, and I cannot locate the following code in /public_html/includes/templates/template_default/common/tpl_main_page.php:
<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
* I proceeded through the rest of the steps even though this was missing, and completed the SQL patch install. I entered my analytics account info into the zencart module, and attempted to check status on google analytics page, but it is still saying tracking not installed, which is to be expected given the missing code above.
** The first troubleshooting paragraph deals with this issue, but I'm not able to understand exactly how to proceed, and I'm worried about screwing up the code / site by making an improper change to the tpl_main_page file. I'm not entirely certain about where and how to make the appropriate changes.
Question - Can you please clarify where this change is to be made in my tpl_main_page.php. The way I'm interpreting your instructions, I would add my current body contents to two areas as below, and the file would look like below after modification:
<?php
if($page_directory == 'includes/modules/pages/checkout_success')
{
echo '<***PLACE MY BODY CONTENTS HERE*** onLoad="javascript:__utmSetTrans()">'; }
else
{
echo '<***PLACE MY BODY CONTENTS HERE***>';} ?>
THANK YOU VERY MUCH FOR THIS GREAT CONTRIBUTION. I appreciate any help you can offer in getting it successfully installed...
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
coffeecanada
Note that I did install it - and it did track yesterday's sales.
Excellent! Glad to hear everything is working for you!
Re: Simple Google Analytics - Support
Hello,
I saw a question in the thread previously, but didn't see an exact answer to my question.
I'm using a previous version of your analytic plugin on a site. I see eCommerce and conversions, but the source of all sale show my main page. I believe this is due to using a shared ssl and being redirected to a host gator https page during checkout.
Would updating the plugin address this issue, or could it be caused by something I'm not thinking of?
Thanks for the great plugin. Getting much more data than before, but need to find source of sale.
Thanks again!
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
skinnyalbert
Hello,
I saw a question in the thread previously, but didn't see an exact answer to my question.
I'm using a previous version of your analytic plugin on a site. I see eCommerce and conversions, but the source of all sale show my main page. I believe this is due to using a shared ssl and being redirected to a host gator https page during checkout.
Would updating the plugin address this issue, or could it be caused by something I'm not thinking of?
Thanks for the great plugin. Getting much more data than before, but need to find source of sale.
Thanks again!
The new plugin won't correct that. This sounds like an issue with either how you have your Google Analytics account setup (filters, goals, funnels etc..?) or with the redirect.
Does it track the keywords, etc... (along with the page) and are the keywords etc... all different (the keyword that generated the sale.) I'm trying to figure out what setting within your Analytics you might need to tweak but need more information.
Re: Simple Google Analytics - Support
Thanks for the reply,
I installed the latest version anyway and along with the latest view of analytics, found more info than before by creating a goal, that tracks those that "Add to Cart" and then Login. Most of my logins are from purchases, so this almost works. I do see keywords and such for the site in general, but in relation to eCommerce the "Source" shows as my domain name.
Not sure if that helps. Thanks again for looking into this.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
scisupply
V 1.3.9h with language packs
Eric,
I've spent considerable time trying to troubleshoot a fresh v 1.2.5 install on Zen V 1.3.9h. I've gone through all steps in the install, and I'm having trouble with the step #2. Although I have v 1.3.9h, it is heavily modified, and I cannot locate the following code in /public_html/includes/templates/template_default/common/tpl_main_page.php:
<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
* I proceeded through the rest of the steps even though this was missing, and completed the SQL patch install. I entered my analytics account info into the zencart module, and attempted to check status on google analytics page, but it is still saying tracking not installed, which is to be expected given the missing code above.
** The first troubleshooting paragraph deals with this issue, but I'm not able to understand exactly how to proceed, and I'm worried about screwing up the code / site by making an improper change to the tpl_main_page file. I'm not entirely certain about where and how to make the appropriate changes.
Question - Can you please clarify where this change is to be made in my tpl_main_page.php. The way I'm interpreting your instructions, I would add my current body contents to two areas as below, and the file would look like below after modification:
<?php
if($page_directory == 'includes/modules/pages/checkout_success')
{
echo '<***PLACE MY BODY CONTENTS HERE*** onLoad="javascript:__utmSetTrans()">'; }
else
{
echo '<***PLACE MY BODY CONTENTS HERE***>';} ?>
THANK YOU VERY MUCH FOR THIS GREAT CONTRIBUTION. I appreciate any help you can offer in getting it successfully installed...
Can anyone offer assistance for the above? Thanks...
Re: Simple Google Analytics - Support
I am using zen-cart 1.39H
I did everything according to the readme.tex, and I can see "Google Analytics Configuration"in the admin page! but on the bottom of my site it shows:pageTracker._trackPageview(); pageTracker._trackPageLoadTime();
and on google analytics page, shows I have not installed the code, anyone knows what's wrong?this is the /common/tpl_main_page.php I added:
PHP Code:
?>
<!--eof- banner #6 display -->
<?php
if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") {
// Do nothing
} else {
require(DIR_WS_TEMPLATE . 'google_analytics/google_analytics.php');
}
?>
</body>
and the configaration-"Google Analytics Configuration" I PASTE CODE
PHP Code:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-27542444-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
:oops:
Re: Simple Google Analytics - Support
hello, i was going to install this module , got my files transfered , my theme is andover_modern...
/includes/templates/andover_modern/common/tpl_main_page.php
does not exist , so where am i to put the code that's supposed to go there ?