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

Simple Google Analytics - Support

Views: 451,156

Results 701 to 720 of 2,165
3 Apr 2008, 12:26 PM
#701
econcepts avatar

econcepts

Totally Zenned

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

Simple Google Analytics - Support

gsdcypher:

Trying to read through this thread. I was trying to update to google analytics 1.2.2 in my cart 1.3.8a. Does the new ga.js code not work?

I have edited and changed some files and now I'm lost.

Also where does this code go????

<script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "[URL="https://ssl/"]https://ssl[/URL]." : "[URL="http://www./"]http://www.[/URL]"); document.write(unescape("%3Cscript src='" + gaJsHost + "[URL="http://google-analytics.com/ga.js"]google-analytics.com/ga.js[/URL]' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-xxxxxx-x"); pageTracker._initData(); pageTracker._trackPageview(); </script>
>  
> Thanks.

The ga.js code works, but GOOGLE has a glitch on their end which causes the ecommerce tracking to now work properly (missing data at random). So I suggest using the Urchin version until they fix the bug on their end.

You do not have to insert code as you indicated anywhere on the site.

All you have to do is insert one line (see step 3 of the install) into the tpl_main_page.php" page. That inserts the code automatically onto your pages in the proper location. 

Don't forget to ad your tracking code in the Admin configuration.

In the code you show it still says "UA-xxxxx-x" and that is for sample purposes only. You need to add your tracking code in the Admin in order for that to be replaced with your own.
4 Apr 2008, 12:43 AM
#702
topaz44 avatar

topaz44

New Zenner

Join Date:
Dec 2007
Posts:
73
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hey econcepts, it works now. For some reason, when I first got the code, it was missing a dashed number at the end. When I checked it a couple of days ago, there was still the original number. When I just checked it now, google had added another number to my code. It works now. Thanks.
Christine

4 Apr 2008, 5:03 AM
#703
bgroup99 avatar

bgroup99

Zen Follower

Join Date:
Aug 2006
Posts:
197
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I figured it out... user tracking was interfering with my footer. collecting data now. Thanks for your help.:smile:

4 Apr 2008, 12:19 PM
#704
spottedhaggis avatar

spottedhaggis

Zen Follower

Join Date:
Dec 2005
Location:
Maidstone, Kent, UK
Posts:
310
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Im trying to download this, but the file I get from the zc downloads is called.

simple_google_analytics_1-2-2.zip

My system tells me its not a standard archive and will not open it.

I try to get it from your site and your site page does not open.

Can anyone send it to me please, prefferably as a zip or rar file.

4 Apr 2008, 12:34 PM
#705
rlfreshwater avatar

rlfreshwater

New Zenner

Join Date:
Oct 2007
Location:
Atlanta, GA
Posts:
79
Plugin Contributions:
0

Re: Simple Google Analytics - Support

spottedhaggis:

Im trying to download this, but the file I get from the zc downloads is called.

simple_google_analytics_1-2-2.zip

My system tells me its not a standard archive and will not open it.

I try to get it from your site and your site page does not open.

Can anyone send it to me please, prefferably as a zip or rar file.
I was having the same problem. Are you on a Mac? If so, right click on the ZIP file and choose 'Open With > Archive Utility' and that will open it. For whatever reason, StuffIt will not open this ZIP file.

4 Apr 2008, 12:42 PM
#706
rlfreshwater avatar

rlfreshwater

New Zenner

Join Date:
Oct 2007
Location:
Atlanta, GA
Posts:
79
Plugin Contributions:
0

Re: Simple Google Analytics - Support

:cry:
Can somebody help me out here? I installed 1.2.2. over a week ago right before I went on vacation. When I got back yesterday and logged into my analytics account, I realized it hasn't been working – even though it says it IS receiving data.

I am using Zen Cart 1.3.7.1 and my website is https://www.queerrepublictees.com

Thanks in advance for any help and/or advice.

5 Apr 2008, 10:42 AM
#707
rlfreshwater avatar

rlfreshwater

New Zenner

Join Date:
Oct 2007
Location:
Atlanta, GA
Posts:
79
Plugin Contributions:
0

Re: Simple Google Analytics - Support

rlfreshwater:

:cry:
Can somebody help me out here? I installed 1.2.2. over a week ago right before I went on vacation. When I got back yesterday and logged into my analytics account, I realized it hasn't been working – even though it says it IS receiving data.

I am using Zen Cart 1.3.7.1 and my website is https://www.queerrepublictees.com

Thanks in advance for any help and/or advice.
UPDATE: I seem to have fixed the problem. The analytics account ID located under 'Analytics Settings > Edit Account and Data Sharing Settings' in my Google account dashboard did not have the extra '-1' on the end.

In other words, pull the correct account ID from the code that Google generates for you on this page: 'Analytics Settings > Profile Settings > Tracking Code' instead of this page: 'Analytics Settings > Edit Account and Data Sharing Settings'

7 Apr 2008, 9:50 AM
#708
rlfreshwater avatar

rlfreshwater

New Zenner

Join Date:
Oct 2007
Location:
Atlanta, GA
Posts:
79
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Thanks again, Eric, for this mod!

The goals I set up in Google Analytics aren't working and I am getting conflicting information from different sources on how to set them up. :blink:

Can someone please answer the following?

Do I use my entire URL in the goals such as:
'https://www.your-site.com/index.php?main_page=create_account_success'

Or do I just use what comes after the domain name such as:
/index.php?main_page=create_account_success

THANKS

10 Apr 2008, 4:02 AM
#709
elfino45 avatar

elfino45

New Zenner

Join Date:
Oct 2007
Posts:
11
Plugin Contributions:
0

Re: Simple Google Analytics - Support

hey all,

sorry to interject like this...i've gone back through this thread in an attempt to get to the bottom of the google analytics issue i'm having. But nothing I try seems to work, so I think it's time to consult the experts.

Relevant details:

-I'm using version 1.2.2 of the "Simple Google Analytics" mod.
-My Zen Cart installation is 1.3.7.1.
-The mod installed seamlessly
-I have entered my Analytics account number in the Zen Cart admin.
-I've gone to my Google Analytics settings and chosen, "Yes, E-Commerce Site"

Google Analytics is successfully reporting stats and all the other information. The thing that is not working, however, is ecommerce integration.

I've been messing with this for weeks now in vain. Talk about frustrating!

my web store is: http://www.homageclothing.com/store/

Any ideas/help/suggestions would be greatly appreciated.

Thanks so much in advance.

Ryan

10 Apr 2008, 12:36 PM
#710
cdelab avatar

cdelab

New Zenner

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

Re: Simple Google Analytics - Support

Hello,

Perhaps this subject has already been solved but I can't find it afetr hours looking into the forum. thank you to redirect to the Post if it is the case.

I implement Google Analytics successfully (manually, not using Simple Google Analytics Mod). And I want to track sales. But, when using Paypal IPN, my customers didn't return consistently to my store (in fact they should click the "return to store" link). The result is they never go to checkout_success page and then Google Analytics can't record the events as a sale.

Do you know any solution to achieve that?

15 Apr 2008, 8:05 AM
#711
rlfreshwater avatar

rlfreshwater

New Zenner

Join Date:
Oct 2007
Location:
Atlanta, GA
Posts:
79
Plugin Contributions:
0

Re: Simple Google Analytics - Support

rlfreshwater:

Thanks again, Eric, for this mod!

The goals I set up in Google Analytics aren't working and I am getting conflicting information from different sources on how to set them up. :blink:

Can someone please answer the following?

Do I use my entire URL in the goals such as:
'https://www.your-site.com/index.php?main_page=create_account_success'

Or do I just use what comes after the domain name such as:
/index.php?main_page=create_account_success

THANKS
Also another question is what 'match type' do I use? I've had it set to 'head match' but I guess I'll give 'regular expression match' a try.

The only goal that is working is the create account one so I can't figure out why the checkout success isn't working when I have it set up the same way!!! :frusty:

15 Apr 2008, 3:20 PM
#712
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

spottedhaggis:

Im trying to download this, but the file I get from the zc downloads is called.

simple_google_analytics_1-2-2.zip

My system tells me its not a standard archive and will not open it.

I try to get it from your site and your site page does not open.

Can anyone send it to me please, prefferably as a zip or rar file.

Have you got this resolved or do you still need the file? PM me your email and I can send it.

15 Apr 2008, 3:22 PM
#713
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

rlfreshwater:

Thanks again, Eric, for this mod!

The goals I set up in Google Analytics aren't working and I am getting conflicting information from different sources on how to set them up. :blink:

Can someone please answer the following?

Do I use my entire URL in the goals such as:
'https://www.your-site.com/index.php?main_page=create_account_success'

Or do I just use what comes after the domain name such as:
/index.php?main_page=create_account_success

THANKS

Google says do not use the full url. However, on the sites I run, I do use it and it works more consistently than not using the full url. So, my answer would be, use the full url for now. You can always switch.

15 Apr 2008, 3:23 PM
#714
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

rlfreshwater:

Also another question is what 'match type' do I use? I've had it set to 'head match' but I guess I'll give 'regular expression match' a try.

The only goal that is working is the create account one so I can't figure out why the checkout success isn't working when I have it set up the same way!!! :frusty:

Use HEAD MATCH.

15 Apr 2008, 3:28 PM
#715
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

elfino45:

hey all,

sorry to interject like this...i've gone back through this thread in an attempt to get to the bottom of the google analytics issue i'm having. But nothing I try seems to work, so I think it's time to consult the experts.

Relevant details:

-I'm using version 1.2.2 of the "Simple Google Analytics" mod.
-My Zen Cart installation is 1.3.7.1.
-The mod installed seamlessly
-I have entered my Analytics account number in the Zen Cart admin.
-I've gone to my Google Analytics settings and chosen, "Yes, E-Commerce Site"

Google Analytics is successfully reporting stats and all the other information. The thing that is not working, however, is ecommerce integration.

I've been messing with this for weeks now in vain. Talk about frustrating!

my web store is: http://www.homageclothing.com/store/

Any ideas/help/suggestions would be greatly appreciated.

Thanks so much in advance.

Ryan

Since you are using the 1.2.2 version, switch your code to utilize the URCHIN version of the tracking code (not the new "ga.js" version).

As I reported earlier on (and why I released v 1.2.2), Google acknowledges that they have a bug on their end with the new ga.js tracking code that adversely effects the ecommerce tracking.

They are trying to fix it, but have not issued any kind of patch that I know if yet (we won't have to do anything on our end, it will be a fix on their end that will automatically filter down). Until then, using the urchin tracking code should correct the problem.

Activating this code is as easy as selecting the radio button from within the admin (under Google Analytics Configuration). The program changes everythign for you.

Hope that helps.

15 Apr 2008, 3:29 PM
#716
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

cdelab:

Hello,

Perhaps this subject has already been solved but I can't find it afetr hours looking into the forum. thank you to redirect to the Post if it is the case.

I implement Google Analytics successfully (manually, not using Simple Google Analytics Mod). And I want to track sales. But, when using Paypal IPN, my customers didn't return consistently to my store (in fact they should click the "return to store" link). The result is they never go to checkout_success page and then Google Analytics can't record the events as a sale.

Do you know any solution to achieve that?

If they don't return to your store, then there is no way for them to "trigger" the analytics code (which resides on your server) and therefore tracking that conversion will not work.

This is one drawback of the PayPal IPN etc... It's not a terrible one, but one that is present and can't be avoided.

15 Apr 2008, 8:44 PM
#717
rlfreshwater avatar

rlfreshwater

New Zenner

Join Date:
Oct 2007
Location:
Atlanta, GA
Posts:
79
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Thanks Eric. I think I may have found why my goal isn't showing and why I can't get the conversion tracking to work. I viewed the source code for the checkout success page and I found this at the bottom:

<b>Warning</b>: main(includes/templates/qr/checkout_success//google_analytics.php): failed to open stream: No such file or directory in <b>/home/queerrep/public_html/includes/templates/qr/common/tpl_main_page.php</b> on line <b>187</b><br />
<br />
<b>Warning</b>: main(includes/templates/qr/checkout_success//google_analytics.php): failed to open stream: No such file or directory in <b>/home/queerrep/public_html/includes/templates/qr/common/tpl_main_page.php</b> on line <b>187</b><br />

<br /> <b>Warning</b>: main(includes/templates/qr/checkout_success//google_analytics.php): failed to open stream: No such file or directory in <b>/home/queerrep/public_html/includes/templates/qr/common/tpl_main_page.php</b> on line <b>187</b><br /> <br /> <b>Fatal error</b>: main(): Failed opening required 'includes/templates/qr/checkout_success//google_analytics.php' (include_path='.:/usr/local/lib/php') in <b>/home/queerrep/public_html/includes/templates/qr/common/tpl_main_page.php</b> on line <b>187</b><br />

I'm assuming the double slashes are causing the problem??? If so, where do I go to fix it?

Sorry for all the questions. I downloaded the Google Analytics for Zen Cart Workbook today trying to figure this out so I wouldn't have to keep bothering people. :blush: I'm just not good at this stuff.

15 Apr 2008, 9:56 PM
#718
rlfreshwater avatar

rlfreshwater

New Zenner

Join Date:
Oct 2007
Location:
Atlanta, GA
Posts:
79
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Okay, wow, I feel like such a doofus. I didn't have the 'google_analytics.php' file in the correct folder. Sorry. Hopefully this will fix all my problems.

17 Apr 2008, 10:53 AM
#719
nettie_h avatar

nettie_h

New Zenner

Join Date:
Jun 2007
Posts:
9
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Just wondering wasn't google going to fix the issue at their end?:rolleyes:

I just don't have the time to stuff around at present, but I suppose its not going to be a quick fix at the google end so i really should update it on my site as well. :frusty:

18 Apr 2008, 4:23 PM
#720
27gerd27 avatar

27gerd27

New Zenner

Join Date:
Nov 2006
Posts:
32
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Can anyone help?

i am using vers. 1.3.7. (german)
If i am running the sql patch i always get the reply:

1136 Column count doesn't match value count at row 1
in:
[INSERT INTO TSconfiguration_group VALUES ('', 'Google Analytics Configuration', 'Set Google Analytics Options', '1', '1');]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

I did not found the dirctory: includes/templates/mytemplate/common
I found this directory in: includes/templates/template_default/

i copied this directory (common) to the needed place but with the same result

if anyone could help...