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

Simple Google Analytics - Support

Views: 451,156

Results 661 to 680 of 2,165
25 Feb 2008, 7:39 PM
#661
econcepts avatar

econcepts

Totally Zenned

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

Simple Google Analytics - Support

elfino45:

I'm having a ton of issues getting this google analytics thing to integrate into zen cart.

my head is spinning, i can't look at this anymore. :)

I'm wondering if I can hire someone to fix up my analytics tracking and make a few adjustments to my checkout system. the site is for an upstart clothing company.

if anyone knows someone affordable, please let me know.

thanks

ryan

Ryan,

I sent you a private message on this one.

25 Feb 2008, 7:44 PM
#662
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

Armen52:

Apologies if this has been asked and answered already but my best efforts at finding an answer on the forums have failed.

Does anybody have any suggestions on how to account for cancelled orders and sales in Google Analytics? Is it possible to report back on that data as it can make a material impact in the reporting.

Ideally I'd be looking for a solution where the ZenCart module could report such cancellations once an order's status is changed to cancelled but I would be interested in hearing other methods directly dealing with GA as well.

Thanks,
Armen

Google Analytics does not have the capability to actually "subtract" orders that were returned. It is not native to the analytics program.

Typically you have to keep this info at hand and figure it in when calculating your true conversion rate.

If you want to try to subtract the amount from what Google reports, you might want to try to send a "new order" (refund) to through the cart that then in turn sends a negative value (equal to the original order value) to the eCommerce portion of the analytics.

Keep in mind that doing this though would require some additional programming, and it would still not address the "conversion rate" issue (that would remain unchanged as you can't reverse it once it has been recorded).

It would only reduce the dollar amount (revenues) reported through the eCommerce tracking portion of the analytics (which again, probably won't help much for decision making.)

25 Feb 2008, 7:51 PM
#663
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

elfino45:

My webstore is

https://www.homageclothing.com/store

at the end of the code there are several instances (maybe 3?) of the tracking information.

i have no idea why they are all there. i'm not even sure which file to modify in my zen cart installation to remove some of those instances.

any ideas?

another problem i am having is my checkout process. i disabled the login functionality to go for a simpler checkout. my new setup has 5 steps. i want step 1 to be billing information, step 2 to be shipping information, etc etc. It does this wacky thing where the shopper can't seem to have separate billing & shipping addresses.

what a pain in the a**!

thanks for your help.

ryan

Ryan,

First thing to clear up. You only want 1 instance of the tracking code on your pages (not multiples). That will do a number on the tracking reports (and one you don't want to mess with).

Secondly, it sounds like you have made a multitude of adjustments to your cart that make me think there are a number of files that are causing problems (across the entire site).

As mentioned by another zenner in an earlier post, I would recommend you start with a fresh install of the cart and go from there. If you have customers and orders from the current version, you can migrate them (Import / export) from the current install to the new one. If not, then you're in luck, and the new install should be a breeze.

I personally don't think it is always a good idea to try to fix a potential bad install or corrupt files. Sometimes, it is ok, but in others where it looks like a lot of damage could be done, I recommend a new install.

After all, do you want to risk something happening down the road when you start to see more sales and customers? I would think not. One way to start down the path of success is to build a strong foundation. It's one of the first steps toward building a solid business.

25 Feb 2008, 7:56 PM
#664
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

donplay:

Hi,

First off...thanks for the mod. Installed without issues on my test server and it's great to be able to add ecommerce tracking so easily to my site.

One tweak I'd like to make...I'd like to have ecommerce reporting on the manufacturer of my items sold as well. I don't think Google Analytics lets you add new variables to track, and I want to keep tracking the product name and category. So I figured the easiest way to do this was to concatenate the manufacturers name to the product name (separated by a dash).

Any tips on how to do this? As a PHP programmer I'm mediocre at best but from a db side it's a pretty straightforward query...

SELECT CONCAT(m.manufacturers_name, " - ", pd.products_name) as products_name
FROM products_description pd, manufacturers m, products p
WHERE p.manufacturers_id=m.manufacturers_id
and p.products_id=pd.products_id

Any help appreciated.

thanks,
Don

Don,

If you are going to do this, I would recommend only doing it near the portion of the code that pulls the data (within the google-analytics.php file) for the order. Most are in arrays. You'll need to pull the needed data form the array, probably run yoru own separate query on the db and then combine the two as you insert the product name into the analytics tracking.

Since you are looking at this for analytics purposes only, I would highly recommend against performing the task anywhere other than in the google-analytics.php file (but be careful in there not to mess anything up as well or you could render your entire tracking system as unusable.)

If I were trying that, I would leave the current code as is, then run a totally separate query (new one pulling the manufacturer name if not already present) and then create a string that combines the two elements with the dash ("-") between them.

Hope that helps!

26 Feb 2008, 11:58 PM
#665
larry_hendrick avatar

larry_hendrick

New Zenner

Join Date:
Dec 2007
Location:
Texas
Posts:
9
Plugin Contributions:
0

Re: Simple Google Analytics - Support

econcepts:

Just a quick FYI. This item has been fixed. I went in and corrected the error which was, as suspected, the result of a mis installed contribution. Everything is working as should be now.

This has to be an installation error. See my above reply.

The only time you get this error is if files are missing during install.
Eric, Sunday evening Google Analytics started tracking eCommerce again. I haven't had time to work on it since the problem began, but it cleared itself. Voodoo or magic or something.

Thanks for all your suggestions and help. It is greatly appreciated.

27 Feb 2008, 6:10 AM
#666
jasmel avatar

jasmel

Zen Follower

Join Date:
Feb 2008
Location:
Washington State
Posts:
230
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I was about to download this but is the version correct on the download page?

Zen Cart™ Version: v1.3.6
Version: 1.2.1
Last Updated: Jan 21 2008
Author: econcepts

Shouldn't it be for v1.3.8 ?

27 Feb 2008, 4:57 PM
#667
coucho avatar

coucho

Zen Follower

Join Date:
Jan 2008
Location:
Memphis, USA
Posts:
298
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hello,

I am having trouble getting any results after installing this mod. I first tried google analytics by Andrew since it was for v 1.3.8 and I got results but I soon found it causes the dreaded secure and non secure popup when people log in because of the javascript containing references to a non secure example site. So I uninstalled that mod and installed simple analytics to the memphiscandle site. I have uploaded the files and configured the admin. My google analytics account is e-commerce enabled and at this time it says it is receiving data but that can't be correct since I am not seeing any analytics results. It has been 5 days since I installed simple analytics and I know I have had traffic.

Do I need to install the javascript from google to any of the files?

Any advice will be greatly appreciated.

27 Feb 2008, 9:16 PM
#668
lextechs avatar

lextechs

Zen Follower

Join Date:
Mar 2005
Location:
Tempe, AZ
Posts:
316
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I have done a fresh install however i don't see the link under config in the admin side, the SQL loaded correct and all the files are in the correct locations

27 Feb 2008, 10:30 PM
#669
coucho avatar

coucho

Zen Follower

Join Date:
Jan 2008
Location:
Memphis, USA
Posts:
298
Plugin Contributions:
0

Re: Simple Google Analytics - Support

coucho:

Hello,

I am having trouble getting any results after installing this mod. I first tried google analytics by Andrew since it was for v 1.3.8 and I got results but I soon found it causes the dreaded secure and non secure popup when people log in because of the javascript containing references to a non secure example site. So I uninstalled that mod and installed simple analytics to the memphiscandle site. I have uploaded the files and configured the admin. My google analytics account is e-commerce enabled and at this time it says it is receiving data but that can't be correct since I am not seeing any analytics results. It has been 5 days since I installed simple analytics and I know I have had traffic.

Do I need to install the javascript from google to any of the files?

Any advice will be greatly appreciated.

I decided to hardcode the footers for my site instead of using this mod. Is there an uninstall sql file for this mod?

29 Feb 2008, 2:05 AM
#670
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

jasmel:

I was about to download this but is the version correct on the download page?

Zen Cart™ Version: v1.3.6
Version: 1.2.1
Last Updated: Jan 21 2008
Author: econcepts

Shouldn't it be for v1.3.8 ?

The version works with any 1.3.x version of the cart including 1.3.8 +

29 Feb 2008, 3:41 AM
#671
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

Join Date:
Jun 2007
Location:
Texas, USA
Posts:
1,436
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Larry Hendrick:

Eric, Sunday evening Google Analytics started tracking eCommerce again. I haven't had time to work on it since the problem began, but it cleared itself. Voodoo or magic or something.

Thanks for all your suggestions and help. It is greatly appreciated.

My ecommerce view is still only showing a fraction of the total sales.... let me know if you find anything out about how to get all to show up.

Thanks!

Shrimp

2 Mar 2008, 10:22 AM
#672
grimmy2007 avatar

grimmy2007

New Zenner

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

Re: Simple Google Analytics - Support

shrimp-gumbo-mmmhhh:

My ecommerce view is still only showing a fraction of the total sales.... let me know if you find anything out about how to get all to show up.

Thanks!

Shrimp

Hi there,
I've had the same problem for months now. Everything I try seems to fail.
I get some goals recorded and some sales conversions (ecomerce goals).

But it does not record all sales and other goals. If you get a answer to this please post it here.

Or if anyone knows the reason why this is happening?

Thank you!

2 Mar 2008, 8:14 PM
#673
bjornarl avatar

bjornarl

New Zenner

Join Date:
May 2006
Posts:
13
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Grimmy2007:

Hi there,
I've had the same problem for months now. Everything I try seems to fail.
I get some goals recorded and some sales conversions (ecomerce goals).

But it does not record all sales and other goals. If you get a answer to this please post it here.

Or if anyone knows the reason why this is happening?

Thank you!

Since adding simple google analytics to my site in late January, I've been seeing the funnel conversion count (for checkout success) show only around 20% of the total successful purchases. I just started researching what might be wrong... It looks like IE6 versus IE7 percentages of browsers are similarly represented in overall site traffic versus funnel conversions. However, IE/Windows is significantly underrepresented in the conversions versus the overall traffic as compared to other platforms, so the problem seems specific to that browser/platform.

While I'm not sure if it's related, I did notice that a zenid querystring parameter is sometimes added to the browser URL on the final confirmation page. I wonder if that's causing the defined funnel success URL to not match against the browser URLs when they contain this (i.e. if substring matches don't count). I just tried adding 'zenid' to the list of parameters to ignore (in the google analytics settings online)... I'm hoping that resolves this (but will have to wait to find out).

If that's not it, then hopefully this reply at least adds something to the discussion in terms of the ie/windows possibility -- maybe there's a common IE/win configuration or security tool that blocks part of the necessary request from being made?

5 Mar 2008, 11:58 PM
#674
zinfandel avatar

zinfandel

Zen Follower

Join Date:
Feb 2007
Location:
NNJ
Posts:
205
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hello Gang,

I'm wondering why I couldn't just take the code generated on the Google Analytics site specifically for my site and paste it to the bottom of
tpl.main.page.php

I'd like some idea of why I have to load configurations into my database and run scripts I don't understand. Google makes no mention of the need for that.

By the way, I want to thank "econcepts" for the wonderful insights he brings us . "20 Surfire Ways to Increase Sales" is a great read.

6 Mar 2008, 8:08 PM
#675
bgroup99 avatar

bgroup99

Zen Follower

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

Re: Simple Google Analytics - Support

Hi,

I am trying to get this mod up and running on https://www.lakeslampshades.com.

I have downloaded the mod and uploaded the files, following all the instructions (SQL, edit tpl_main_page.php, etc.); however, the tracking code is not displaying when I view the source of my home page. Any ideas? Something must have gone wrong in the install, but I have double checked everything. I am running ZC v1.3.8.

Thanks in advance for any help,:blush:

Nate

6 Mar 2008, 11:11 PM
#676
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

coucho:

I decided to hardcode the footers for my site instead of using this mod. Is there an uninstall sql file for this mod?

There is an uninstall for this mod (Simple Google Analytics). It should be in with your download.

It should be a very easy install though. Only a few files (2) to upload and you're all set. If you couldn't get it working, make sure you completely uninstalled your previous version (Andrew's) as that can cause issues.

Once that is un-installed, this onee should go in without a hitch. Providing you use the correct Google Analytics ID, you should see results next time Google updates.

6 Mar 2008, 11:13 PM
#677
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

jasmel:

I was about to download this but is the version correct on the download page?

Zen Cart™ Version: v1.3.6
Version: 1.2.1
Last Updated: Jan 21 2008
Author: econcepts

Shouldn't it be for v1.3.8 ?

NOTE:

Several users have asked about what versions of Zen Cart this is compatible with.

The download says "1.3.6", but this version works with ANY zen cart version from 1.2.6 on up (and yes, that includes 1.3.8 +).

6 Mar 2008, 11:14 PM
#678
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

shrimp-gumbo-mmmhhh:

My ecommerce view is still only showing a fraction of the total sales.... let me know if you find anything out about how to get all to show up.

Thanks!

Shrimp

PM me the details and I'll take a look. This happened on one site I run, and after looking through it all, there were no code issues, but it worked itself out (somehow) when google made an update.

6 Mar 2008, 11:19 PM
#679
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

Zinfandel:

Hello Gang,

I'm wondering why I couldn't just take the code generated on the Google Analytics site specifically for my site and paste it to the bottom of
tpl.main.page.php

I'd like some idea of why I have to load configurations into my database and run scripts I don't understand. Google makes no mention of the need for that.

By the way, I want to thank "econcepts" for the wonderful insights he brings us . "20 Surfire Ways to Increase Sales" is a great read.

Glad you liked the 20 Ways book. There is much more on the way and a "surprise" I have been working on that I hope to have running by end of April that I think you all will enjoy.

To answer your question:

If you just copy and paste the info Google provides to you into you rtpl_main_page.php file then you will not (unless you hard code it) have the e-commerce tracking or conversion tracking (in the case of Adwords).

The reason you have to install configurations is to get the mod installed and working from within your Zen Cart admin (to take advantage of a number of things).

To work within the framework of Zen Cart, and to have the most effective use of the module I simply took what Google shows and converted it into a format that can be manipulated from within the admin with little effort.

Hopefully that answers your questions. :)

7 Mar 2008, 12:37 AM
#680
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

bgroup99:

Hi,

I am trying to get this mod up and running on https://www.lakeslampshades.com.

I have downloaded the mod and uploaded the files, following all the instructions (SQL, edit tpl_main_page.php, etc.); however, the tracking code is not displaying when I view the source of my home page. Any ideas? Something must have gone wrong in the install, but I have double checked everything. I am running ZC v1.3.8.

Thanks in advance for any help,:blush:

Nate

Make sure you follow Step #3 (in the readme). It mentions adding a bit of code to the bottom of the tpl_main_page.php.

I see you said you did that, but make sure you edited the proper file (the one that is under the directory for the template you are using mainly.)

If you edit the file in a different template directory, it will not insert the code in the footer as needed.