Zen Cart Logo
Forums / All Other Contributions/Addons / Simple Google Analytics - Support

Simple Google Analytics - Support

Views: 451,172

Results 1,501 to 1,520 of 2,165
13 Apr 2011, 10:54 AM
#1501
palagio avatar

palagio

New Zenner

Join Date:
Jan 2011
Posts:
43
Plugin Contributions:
0

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

14 Apr 2011, 12:47 PM
#1502
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

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/2007/08/15/now-available-google-analytics-uncovered-for-zen-cart-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.

  1. 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.

  2. 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.

15 Apr 2011, 10:51 PM
#1503
rollerdude avatar

rollerdude

New Zenner

Join Date:
Apr 2008
Posts:
18
Plugin Contributions:
0

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.

15 Apr 2011, 11:00 PM
#1504
rollerdude avatar

rollerdude

New Zenner

Join Date:
Apr 2008
Posts:
18
Plugin Contributions:
0

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.

18 Apr 2011, 11:33 AM
#1505
talviruusu avatar

talviruusu

New Zenner

Join Date:
Apr 2011
Posts:
2
Plugin Contributions:
0

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

19 Apr 2011, 3:57 PM
#1506
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

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.

19 Apr 2011, 8:18 PM
#1507
talviruusu avatar

talviruusu

New Zenner

Join Date:
Apr 2011
Posts:
2
Plugin Contributions:
0

Re: Simple Google Analytics - Support

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

20 Apr 2011, 12:44 PM
#1508
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

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!

21 Apr 2011, 11:04 PM
#1509
mickeydora avatar

mickeydora

New Zenner

Join Date:
Jan 2010
Location:
San Diego
Posts:
30
Plugin Contributions:
0

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?

22 Apr 2011, 1:21 AM
#1510
mickeydora avatar

mickeydora

New Zenner

Join Date:
Jan 2010
Location:
San Diego
Posts:
30
Plugin Contributions:
0

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 . . .

22 Apr 2011, 2:05 PM
#1511
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

MickeyDora:

As an adendum to my post above, I'm beginning to suspect that my template override is not quite right . . .

Making the change indicated should have no impact at all on the rest of the template ... not the look or feel, or the operation of it. If you noticed any alterations that occurred after you inserted that line then you must have done something incorrect when trying to either implement the template overrides, or in copying and pasting the code into place.

I suspect that the custom template you were using had some changes that were needed or made to the top portion of the site, and putting the html header in place may have caused those to be wiped out.

Do you have a link for the site?

22 Apr 2011, 5:12 PM
#1512
mickeydora avatar

mickeydora

New Zenner

Join Date:
Jan 2010
Location:
San Diego
Posts:
30
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Sure . . .
www. dynotab direct. com (disregard spaces).

To be honest, template overrides have always left me pretty befuddled. I just have put in the work to sort them out.

Right now I have the html_header.php installed but without the added code referenced in my original post.
Thanks!

25 Apr 2011, 4:17 PM
#1513
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

Ok, looking at that link, it shows that absolutely no tracking is installed. So something you recently did caused the code that should render the tracking to be overwritten.

I would suggest going back and making sure you have the files in the correct locations. That is why your tracking is not registering.

If you need me to look closer at it send me a PM and we'll work something out.

From this angle I can tell that the tracking is not in place and thus either the files needed are not in the correct locations, or the code in those files is not present to generated the tracking.

29 Apr 2011, 12:52 AM
#1514
mickeydora avatar

mickeydora

New Zenner

Join Date:
Jan 2010
Location:
San Diego
Posts:
30
Plugin Contributions:
0

Re: Simple Google Analytics - Support

For the benefit of the ZC community, I made an error in the installation and I was able to rectify this problem. Works great now.

29 Apr 2011, 12:12 PM
#1515
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

Glad to hear you got it working.

30 Apr 2011, 4:46 AM
#1516
sgspeer avatar

sgspeer

New Zenner

Join Date:
Aug 2010
Posts:
47
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hi All,

i have install the Files and after installing the SQL patch.

The following error appear:

Forbidden

**You don't have permission to access /Soos/sqlpatch.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. **

I did change the Admin Folder Name before, does it conflit the files?

I'm using: v1.3.9e
Here is my site: https://www.sgspeer.com

Help.

Thasnk you in advance

2 May 2011, 6:16 AM
#1517
sgspeer avatar

sgspeer

New Zenner

Join Date:
Aug 2010
Posts:
47
Plugin Contributions:
0

Re: Simple Google Analytics - Support

econcepts:

Glad to hear you got it working.

Hi ,

i have install the Files and after installing the SQL patch.

The following error appear:

Forbidden

You don't have permission to access /Soos/sqlpatch.php on this server.

I did change the admin folder name and using 1.3.9g

Thank you in advance

2 May 2011, 10:51 AM
#1518
gaffettape avatar

gaffettape

Zen Follower

Join Date:
May 2009
Posts:
433
Plugin Contributions:
0

Re: Simple Google Analytics - Support

econcepts:

hmm ... let me take a look at it here and see what the issue might be.

Hi Eric,

Just wanted to know if you ever managed to find out what the issue was with trying tracking google image searches using your suggested method.

My original question is here, and your first response is here.

Thanks :smile:

2 May 2011, 2:06 PM
#1519
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

sgspeer:

Hi ,

i have install the Files and after installing the SQL patch.

The following error appear:

Forbidden

You don't have permission to access /Soos/sqlpatch.php on this server.

I did change the admin folder name and using 1.3.9g

Thank you in advance

This sound like you changed the permissions on some files on your server some how. Nothing relating to this add-on. I would suggest you go back and check all file permissions on your server to determine which may have been altered. For that file mentioned in particular as well.

2 May 2011, 2:08 PM
#1520
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Simple Google Analytics - Support

gaffettape:

Hi Eric,

Just wanted to know if you ever managed to find out what the issue was with trying tracking google image searches using your suggested method.

My original question is here, and your first response is here.

Thanks :smile:

This should work for you (from my previous post you referenced. I've got it on a few sites and it works ok. Are you pasting the code as indicated into the correct location in your admin? What type of results are you getting?