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

Simple Google Analytics - Support

Views: 451,067

Results 1,941 to 1,960 of 2,165
14 Oct 2012, 8:37 PM
#1941
merrydown avatar

merrydown

New Zenner

Join Date:
Jan 2009
Posts:
51
Plugin Contributions:
0

Simple Google Analytics - Support

Thank you JOE PIXEL.

Beats me why this solution is still not part of the read me... Thanks again!!!

Jim

joepixel:

I managed to get Simple Google Analytics Version: 1.2.5 to work for me on Zen version 1.5 and added to the admin menu. I thought I'd share.

The new GA version does not seem to have a language file to define one of the settings for the admin menu to appear. I created this file: admin/includes/languages/english/extra_definitions/googleanalytics.php and placed the following code in this file:

<?php define('UN_BOX_GOOGLE_ANALYTICS', 'Simple Google Analytics'); Here are the settings I used in the admin registration page. Page Key: Simple Google Analytics Page Name: UN_BOX_GOOGLE_ANALYTICS Page Filename: FILENAME_CONFIGURATION Page Parameters: gID=36 (make sure you look up this in your database because the number will be different. see below on how to do this.) Menu: configuration Display on Menu? Y Sort Order: whatever you want To find the gID number run this select statement in phpMyAdmin: SELECT * FROM `configuration` WHERE configuration_key like '%google%' Then look for the configuration_group_id. This is the number to use after gID= I hope this helps someone!
15 Oct 2012, 1:59 PM
#1942
anysigns avatar

anysigns

New Zenner

Join Date:
Sep 2012
Posts:
31
Plugin Contributions:
0

Re: Simple Google Analytics - Support

How do I use admin registration page?

Also, I checked the source code of my main page... Google Analytics code is there but still I'm not getting anything. Does that mean that the problem is with my Google Analytics Setting rather than the module?

16 Oct 2012, 1:17 PM
#1943
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

What is the link to your site?

A few reasons why it may not be tracking even if the code is present on your pages:

  1. The tracking id being used is not the correct one for the account you are looking at data for

  2. You need to re-verify the code with Google once in place (possibly). If your account does not say "Waiting for data" then you likely need to re-verify (done from within Google.)

  3. Google is set to track the site, but it has yet to start actually 'showing data' in the reporting end. This can occur for some time with various sites and is unrelated to the module itself. It is something that varies with how long it takes Google to begin actually showing what it is tracking.

Those are the most probable reasons.

16 Oct 2012, 2:54 PM
#1944
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Simple Google Analytics - Support

merrydown:

Thank you JOE PIXEL.

Beats me why this solution is still not part of the read me... Thanks again!!!

JimBecause add-ons are a volunteer effort.. Volunteers are humans.. things get inadvertently left out.. However, you could volunteer to make this solution part of the readme if you like..

16 Oct 2012, 7:00 PM
#1945
anysigns avatar

anysigns

New Zenner

Join Date:
Sep 2012
Posts:
31
Plugin Contributions:
0

Re: Simple Google Analytics - Support

econcepts:

What is the link to your site?

A few reasons why it may not be tracking even if the code is present on your pages:

  1. The tracking id being used is not the correct one for the account you are looking at data for

  2. You need to re-verify the code with Google once in place (possibly). If your account does not say "Waiting for data" then you likely need to re-verify (done from within Google.)

  3. Google is set to track the site, but it has yet to start actually 'showing data' in the reporting end. This can occur for some time with various sites and is unrelated to the module itself. It is something that varies with how long it takes Google to begin actually showing what it is tracking.

Those are the most probable reasons.

@ Econcepts

Site is anysigns.ca

I'm not sure how to re-verify analytics' pages... searching in the help section produces nothing. Maybe you meant something different :S ?

17 Oct 2012, 10:26 AM
#1946
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Simple Google Analytics - Support

I am checking in to see if you still plan to offer a Microsoft Adcenter version of this mod in the future. It's so badly needed. Thanks!

12 Nov 2012, 6:01 AM
#1947
videostan avatar

videostan

New Zenner

Join Date:
Jan 2009
Posts:
32
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I apologize if I missed it and this is answered within the previous 20 pages...

ZC 1.5; never installed Simple Google.

Latest version is still listed as 1.2.5c, but I see recommendations to install Eric's latest which I assume is 1.2.5.

Neither version of the SQL code issue appears in 1.2.5c, which isn't relevant if I am installing 1.2.5 (no letter).

What is the latest recommendation?

Thanks,

Stan

15 Nov 2012, 2:56 PM
#1948
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

anysigns:

@ Econcepts

Site is anysigns.ca

I'm not sure how to re-verify analytics' pages... searching in the help section produces nothing. Maybe you meant something different :S ?

I checked the site, and it does show the tracking code in place ID is UA-11263625-10) Make sure you are looking at that profile (it's not the 'default one' in analytics.) I can tell that because of the '10' at the end of the number.

To make sure Google verified the code login to your Google Analytics account then do the following:

  1. Click on the account you are looking to verify tracking for (UA-11263625-10)

  2. Click on "Admin" tab from the top navigation (to the right)

  3. Click on "Tracking Info" tab from the page that shows.

  4. Re-verify the tracking here (or see if it already says 'receiving data'

15 Nov 2012, 2:59 PM
#1949
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

BlessIsaacola:

I am checking in to see if you still plan to offer a Microsoft Adcenter version of this mod in the future. It's so badly needed. Thanks!

Yes, I am actually considering developing a 'tracking suite' of tools and this is one of them. AdCenter reworked the way they track conversions and thus the prior version I had no longer works. I have already redeveloped this and it is working on a few of my client sites. Just trying to get it into 'production' mode for the rest of you.

15 Nov 2012, 3:02 PM
#1950
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

VideoStan:

I apologize if I missed it and this is answered within the previous 20 pages...

ZC 1.5; never installed Simple Google.

Latest version is still listed as 1.2.5c, but I see recommendations to install Eric's latest which I assume is 1.2.5.

Neither version of the SQL code issue appears in 1.2.5c, which isn't relevant if I am installing 1.2.5 (no letter).

What is the latest recommendation?

Thanks,

Stan

Stan, install the 1.2.5 (no letter on the end) version and then alter the SQL to work with PHP5 (if needed). Then you'll need to register the page with the admin.

All of this is in my latest version (still in my hands here and not uploaded.)

If you want me to email you the SQL patch etc... then all you should need to do is install the 1.2.5 files then run this patch to have it all work in 1.5.

Send me a private message with your email if you want me to zip that over to you. I'll have an actual 'public ready' version here very soon. I've been working on a few new site launches and that has taken time away from it here.

4 Dec 2012, 9:18 PM
#1951
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Simple Google Analytics - Support

econcepts:

Stan, install the 1.2.5 (no letter on the end) version and then alter the SQL to work with PHP5 (if needed). Then you'll need to register the page with the admin.

All of this is in my latest version (still in my hands here and not uploaded.)

If you want me to email you the SQL patch etc... then all you should need to do is install the 1.2.5 files then run this patch to have it all work in 1.5.

Send me a private message with your email if you want me to zip that over to you. I'll have an actual 'public ready' version here very soon. I've been working on a few new site launches and that has taken time away from it here.

Are you saying not to use the countrycharm versions that are 1.5 ready? I am majorly confused and getting really frustrated. I have always used andrew's version with no problems but I saw that this one had been upgraded more recently so switched to the latest version and right now don't seem to have any tracking happening at all.

The code that GA says to use does not match the javascript code that appears in the source with this one. It's close but not exact.

This client has adwords conversions she is trying to track so I thought this mod would help that but it doesn't seem to doing anything for adwords conversions. (which may make sense if the google analytics isn't working).

If you have code ready to go and just need it packaged, send it to me and I will be glad to take care of that for you.

7 Dec 2012, 11:07 PM
#1952
jill8026 avatar

jill8026

Totally Zenned

Join Date:
May 2007
Posts:
461
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hey Eric.....I have installed this mod on a site using 1.5.1 and am stumped...the client is working with a company that has specific requirements and I just cannot get it to work the way it needs to....

I uploaded the files, added the code to the tpl_main_page and filled out the info in the admin but it does not seem to be working...now to be honest I have been at this for a couple of hours b/c I originally tried doing it without the mod and was making progress...but the e-commerce portion was not coming through to analytics but we had the funnel working and adwords tracking working...but now I got nothing since I installed the mod....

When I did a test order just now this shows in the source code from your mod:

<!-- Google Code for purchase Conversion Page --> <script language="JavaScript" type="text/javascript"> <!-- var google_conversion_id = 1055785130; var google_conversion_language = "en_US"; var google_conversion_format = "1"; var google_conversion_color = "FFFFFF"; if (1.0) { var google_conversion_value = 1.0; } var google_conversion_label = "purchase"; //--> </script> <script language="JavaScript" src="[https://www.googleadservices.com/pagead/conversion.js](http://www.zen-cart.com/view-source:https://www.googleadservices.com/pagead/conversion.js)"> </script> <noscript> <img height=1 width=1 border=0 src="https://www.googleadservices.com/pagead/conversion/1055785130/?value=1&label=purchase&script=0"> </noscript>

But I need it to look like this with the $$$ order amount filled in:

!-- Google Code for Purchase/Sale Conversion Page --> <script type="text/javascript"> /* <![CDATA[ */ var google_conversion_id = 1055785130; var google_conversion_language = "en"; var google_conversion_format = "1"; var google_conversion_color = "ffffff"; var google_conversion_label = "6kTTCOr67QEQqoG49wM"; var google_conversion_value = 24.90} var google_conversion_label = "purchase"; /* ]]> */ </script> <script type="text/javascript" src="[https://www.googleadservices.com/pagead/conversion.js](http://www.zen-cart.com/view-source:https://www.googleadservices.com/pagead/conversion.js)"> </script> <noscript> <div style="display:inline;"> <img height="1" width="1" style="border-style:none;" alt="" src="https://www.googleadservices.com/pagead/conversion/1055785130/?value=$24.90&label=6kTTCOr67QEQqoG49wM&guid=ON&script=0"/> </div>

And nothing is passing through to analytics right now.....what the hell am I doing wrong?!?!?!!? They also use Adroll so I have that code installed too...

The site is fisherwallace . com

If you can offer any advice or if I can pay you to just get this working asap I would be greatly appreciative!!!!

Hope you are doing well - have not spoke in ages!!!! :-)

Jill Caren
2 Dogs Design

10 Dec 2012, 12:31 PM
#1953
jill8026 avatar

jill8026

Totally Zenned

Join Date:
May 2007
Posts:
461
Plugin Contributions:
0

Re: Simple Google Analytics - Support

And nothing is tracking for ecommerce tracking either...this is what is in the source code...I do have it activated in the analytics account...I am so frustrated right now....I have been at this for a day and a half - I cannot get this mod to work (I installed the 1.2.5 version with no letters as directed in a former post...)...I cannot ecommerce tracking to work with hand coding it in....I need help ......

<script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-xxxxxx-1']); _gaq.push(['_trackPageview']); _gaq.push(['_addTrans', "", "", "", "", "", "", "", "" ]); _gaq.push(['_trackTrans']); (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>
15 Dec 2012, 4:32 PM
#1954
coins2012 avatar

coins2012

New Zenner

Join Date:
Jan 2012
Posts:
89
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I can not get the Adwords PPC Conversion to work in this module, I got the tracking code id from google adwords and put it in the module, activated it but google still says unverfiied.

When I do a source view on the checkout page I don't see the tracking conversion id number and the code, I only see the code for google analytics UA account number etc. for reporting.

The module is working fine for Google Analytics, it's reporting all the eCommerce sales etc.

I did search through lot of the posts but most of them show how to install and get the reporting to work etc. but my issue is that everything works fine with this module with the exception of PPC Convertion id.

Any help?

19 Dec 2012, 8:15 PM
#1955
omnicognate avatar

omnicognate

New Zenner

Join Date:
Feb 2011
Posts:
21
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I've had an email exchange with Google Adwords support, in which they have stated with some certainty (they went off and consulted their "technical experts") that the fact that the "google_conversion_label" field is hardcoded to the value "purchase" is likely to be causing under-reporting of conversions.

The field is intended to select a "conversion type" for the conversion to be recorded against. I think the value currently hardcoded in the Simple Google Analytics extension is from a legacy mechanism. Nowadays, the value should be set to a value corresponding to the conversion type - these are generated ids that you can see in the code snippet adwords itself generates for each type.

My site is recording conversions, and I was inclined to believe the numbers. However, despite some debate and the above-mentioned check with the experts, Google were insistent that the value "purchase" is not valid and that the conversion numbers currently reported in my adwords account are not to be trusted.

I am going to hardcode the appropriate ID in my own copy of the add-in, but I thought I should raise this here. If you want, I can forward the email chain privately. It sounds like the add-in needs a configuration option to set the label.

10 Jan 2013, 1:56 AM
#1956
fakedecoy avatar

fakedecoy

Zen Follower

Join Date:
Jul 2006
Posts:
309
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Am I correct that this mod does not notify Google of cancelled orders? It appears that orders I have cancelled and refunded are still showing in Analytics, leading to bad totals for conversions over time. I have found the script that should be executed, but in the script code I need to manually enter the trans id as well as a bunch of other info and make sure it's spot on accurate or I'll get some bad results. Has anyone written an add-on to do this, perhaps a one-click link from the order page in admin?

10 Jan 2013, 3:29 AM
#1957
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: Simple Google Analytics - Support

fakeDecoy:

Has anyone written an add-on to do this, perhaps a one-click link from the order page in admin?
Yes. But it will not work with this "Simple Google Analytics" script.
Make same add-on for script is not that difficult, all written at Google - Reversing an E-commerce Transaction.

10 Jan 2013, 3:46 AM
#1958
fakedecoy avatar

fakedecoy

Zen Follower

Join Date:
Jul 2006
Posts:
309
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I saw that Google page, but their solution doesn't look complete. There isn't even an end script tag, so it looks suspect. And hard coding all the data, including all the items in every order, takes quite a while and is prone to human error.

10 Jan 2013, 9:04 AM
#1959
a_berezin avatar

a_berezin

Deceased

Join Date:
Aug 2004
Location:
Saint Petersburg, Russia
Posts:
1,782
Plugin Contributions:
5

Re: Simple Google Analytics - Support

fakeDecoy:

I saw that Google page, but their solution doesn't look complete. There isn't even an end script tag, so it looks suspect. And hard coding all the data, including all the items in every order, takes quite a while and is prone to human error.
Sure. It's an algorithm, not a turnkey solution for your CMS.

22 Jan 2013, 7:43 AM
#1960
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Simple Google Analytics - Support

a_berezin:

Sure. It's an algorithm, not a turnkey solution for your CMS.

fakeDecoy:

I saw that Google page, but their solution doesn't look complete. There isn't even an end script tag, so it looks suspect. And hard coding all the data, including all the items in every order, takes quite a while and is prone to human error. In short NO there isn't a Zen Cart add-on to do this, and Andrew has pointed you in the direction of the groundwork for creating a turnkey solution for Zen Cart. So if this is a solution you want you will probably need to hire a developer to do this and you can provide him with the data Andrew posted to help him with developing the solution.