Re: Simple Google Analytics - Support
The google analytics plug in was set up on the admin of my site and I enabled the adwords conversion tracking, this was all working fine and was tracking transactions that came through from adwords adverts. But this stopped working in January
Can anyone please advise? I have tried contacting google who say they can't help because i am using zen cart which is third party so they can offer no support
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
palagio
The google analytics plug in was set up on the admin of my site and I enabled the adwords conversion tracking, this was all working fine and was tracking transactions that came through from adwords adverts. But this stopped working in January
Can anyone please advise? I have tried contacting google who say they can't help because i am using zen cart which is third party so they can offer no support
Yes, it likely has nothing to do with Google's end.
When tracking just stops working for no reason there are a few things that can cause it (all deal in some way with a change that was made on the website end or within the analytics themselves.)
1) Check to make sure that the tracking code is indeed appearing on your pages (including placing a test order and viewing the source on the checkout success page.)
2) Did you recently install any affiliate type program (in January) such as JAM affiliate? If so, the way they integrate that with zen cart overrides the code for Google Analytics. To get them both to work together you need to make a tweak to your site (moving the JAM affiliate code to a new location.)
Instructions to do that can be found here:
http://www.zencartoptimization.com/2...-the-workbook/
Scroll down the page to the "Comments" section. Around July 22, 2009 you'll find a post I made that specifically deals with how to correct the issue.
3) Check to make sure that the tracking ID used on your website is the same as the tracking ID shown in Google Analytics. I've seen this inadvertently changed at times. Do the same for the tracking ID for Adwords.
4) Make sure that you have "conversion tracking" turned on in the Zen CArt admin (under Google Analytics Configuration.)
It's likely that one of these issues is the culprit.
Give them a check and let me know if any solve your problem.
Re: Simple Google Analytics - Support
I'm running ZC 1.3.9h and doing a new install of SGA. I've double checked that the files are in the correct places and loaded the SQL and made the mods to html_header.php and tpl_main_page.php in my current template directories. I've linked my Adwords and GA accounts and inserted the numbers in the SGA config. I've setup the GA profile with Yes for E-commerce. All this and GA still shows the tracking not installed icon under status.
The GA profile I set up points to the home page of my site. I assume that's correct? Any suggestions as to where I went wrong and where to look for my lack of connectivity? Thanks.
Re: Simple Google Analytics - Support
Scratch my previous post. As it turns out the GA account number was confusing me. On one screen it shows the number as UA-xxxxxxx and on another screen it shows it as UA-xxxxxxx-x. So I tried it with the second -x suffix ad now it seems to be recognizing the everything.
Re: Simple Google Analytics - Support
Hi,
Because one of my clients I had the change to take a look of your module. It was a pretty good tool and I thank for that. However, I'd like to ask why one particular thing is done as it currently is.
In the google_analytics.php file at the front end side /includes/templates/template_name/google_analytics, every if statement what will end up producing the eCommerce tracking data, you have escaped all double quotes. Those double quotes will be used as elements in the Javascript code for Google Analytics. And that's the goal I assume.
It has been recommended that eCommerce tracking should be handeled with Asynchronous tracking. Well, if you use double quotes on your Javascript code, it doesn't work.
I tested it and changed all escaped double quotes to plain old single quotes and your module started working perfectly with Asynchronous tracking.
Is this a bug or just something I don't completely understand?
My ZenCart version is 1.3.9h and the Simple Google Analytics version is 1.2.4.
Thanks,
Ville
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
talviruusu
Hi,
Because one of my clients I had the change to take a look of your module. It was a pretty good tool and I thank for that. However, I'd like to ask why one particular thing is done as it currently is.
In the google_analytics.php file at the front end side /includes/templates/template_name/google_analytics, every if statement what will end up producing the eCommerce tracking data, you have escaped all double quotes. Those double quotes will be used as elements in the Javascript code for Google Analytics. And that's the goal I assume.
It has been recommended that eCommerce tracking should be handeled with Asynchronous tracking. Well, if you use double quotes on your Javascript code, it doesn't work.
I tested it and changed all escaped double quotes to plain old single quotes and your module started working perfectly with Asynchronous tracking.
Is this a bug or just something I don't completely understand?
My ZenCart version is 1.3.9h and the Simple Google Analytics version is 1.2.4.
Thanks,
Ville
It could be a bug, however, I am using the Asynch code on a number of sites as is and it works just fine (including ecom tracking.)
When you made changes, could it be possible that you altered something which caused the escaped quotes to not 'escape' as they should (and instead, actually print the 'escape' character instead)?
I'll look into it here but haven't heard of any other reports of similar nature and again, have it working unaltered on a number of sites without a problem.
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
econcepts
It could be a bug, however, I am using the Asynch code on a number of sites as is and it works just fine (including ecom tracking.)
When you made changes, could it be possible that you altered something which caused the escaped quotes to not 'escape' as they should (and instead, actually print the 'escape' character instead)?
I'll look into it here but haven't heard of any other reports of similar nature and again, have it working unaltered on a number of sites without a problem.
I didn't alter it before this. There were double quotes around all ecom tracking variables on the source code at the browser side. After I changed them to single quotes it started working.
I waited three days before I even started to wonder that something could be wrong. After changes, it literally took few hours and I saw first numbers.
But...because it has worked for you many times, that makes me consider an alternative issue like my server. I'm not THAT technical that I could explain why this could be, but that's the only "variable" what could play a part on this issue. :smile:
-Ville
Re: Simple Google Analytics - Support
Quote:
Originally Posted by
talviruusu
I didn't alter it before this. There were double quotes around all ecom tracking variables on the source code at the browser side. After I changed them to single quotes it started working.
I waited three days before I even started to wonder that something could be wrong. After changes, it literally took few hours and I saw first numbers.
But...because it has worked for you many times, that makes me consider an alternative issue like my server. I'm not THAT technical that I could explain why this could be, but that's the only "variable" what could play a part on this issue. :smile:
-Ville
No problem. I too am going to look into it. Although I haven't heard any reports, If one person sees it, it could be likely others do to.
Thanks!
Re: Simple Google Analytics - Support
I have done a new install of SGA in version 1.3.9h but I've had one problem: I am using a custom template and there wasn't a
html_header.php file in the "common" folder so I copied the file from the default template folder into my custom folder as suggested in a previous post. So far so good, but when I copied the code from Step 3 Part A and updated everything, it caused my text size to go bigger and the site went left instead of being centered as it was previously.
Having just the file there didn't change anything but adding
<?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');
}
?>
caused template changes. Any suggestions?
Re: Simple Google Analytics - Support
As an adendum to my post above, I'm beginning to suspect that my template override is not quite right . . .