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

Simple Google Analytics - Support

Views: 451,066

Results 2,001 to 2,020 of 2,165
18 Nov 2013, 3:04 AM
#2001
lruskauff avatar

lruskauff

Totally Zenned

Join Date:
Sep 2008
Location:
WA
Posts:
559
Plugin Contributions:
0

Simple Google Analytics - Support

I forgot to say I'm using version 1.3.9h..

19 Nov 2013, 1:12 AM
#2002
spindecision avatar

spindecision

New Zenner

Join Date:
Nov 2013
Location:
Seattle
Posts:
2
Plugin Contributions:
0

Re: Simple Google Analytics - Support

It looks there a few people already asking questions related to this but does anyone have any information on getting Universal Analytics to work with this plugin?

I'm currently running Zen Cart version 1.3.9h but I'm planning on setting up a dev site to see if i can upgrade to 1.5.1 without breaking anything and to see if I can get this to work with Universal Analytics. Any help would be greatly appreciated.

25 Nov 2013, 5:43 PM
#2003
trademagic avatar

trademagic

New Zenner

Join Date:
Jul 2013
Location:
Lakewood, California, United States
Posts:
66
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Can someone point me in the right direction? This is showing up at the bottom of all pages, and it is installed somewhere on a page, due to my install. I know the snippet of code must mean i screwed up, but cannot find where to remove it. I think this was part of my GA installation, done improperly, but was definitely a tracking google thing. Help, where do I delete this code, as I cannot find it with developer tools anywhere. firebug shows it, but not to my knowledge clearly enough to know where to clear it.

Many thanks,

Marc

pageTracker._trackPageview(); pageTracker._trackPageLoadTime();

visible on http://reasonablerigging.com

25 Nov 2013, 9:33 PM
#2004
spindecision avatar

spindecision

New Zenner

Join Date:
Nov 2013
Location:
Seattle
Posts:
2
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Trademagic:

Can someone point me in the right direction? This is showing up at the bottom of all pages, and it is installed somewhere on a page, due to my install. I know the snippet of code must mean i screwed up, but cannot find where to remove it. I think this was part of my GA installation, done improperly, but was definitely a tracking google thing. Help, where do I delete this code, as I cannot find it with developer tools anywhere. firebug shows it, but not to my knowledge clearly enough to know where to clear it.

Many thanks,

Marc

pageTracker._trackPageview(); pageTracker._trackPageLoadTime();

visible on http://reasonablerigging.com

The code on your site looks like this:

<script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-44438669-1"); pageTracker._initData(); <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-44438669-1', 'reasonablerigging.com'); ga('send', 'pageview'); </script>

pageTracker._trackPageview();
pageTracker._trackPageLoadTime();
</script></body>

It looks like you put the universal analytics code inside the regular tracking code. And the closing </script> tag before
pageTracker._trackPageview();
pageTracker._trackPageLoadTime();

is causing that to show because it isn't within a script tag.

If you can tell me what it looks like at the end of /includes/templates/[your_template]/common/tpl_main_page.php right before the closing </body> tag I can probably help you fix it.

26 Nov 2013, 12:34 AM
#2005
lruskauff avatar

lruskauff

Totally Zenned

Join Date:
Sep 2008
Location:
WA
Posts:
559
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Trademagic:

Can someone point me in the right direction? This is showing up at the bottom of all pages, and it is installed somewhere on a page, due to my install. I know the snippet of code must mean i screwed up, but cannot find where to remove it. I think this was part of my GA installation, done improperly, but was definitely a tracking google thing. Help, where do I delete this code, as I cannot find it with developer tools anywhere. firebug shows it, but not to my knowledge clearly enough to know where to clear it.

Many thanks,

Marc

pageTracker._trackPageview(); pageTracker._trackPageLoadTime();

visible on http://reasonablerigging.com

Hi

I just did the same thing and solved it. In your store, where you enter the google analytics info on the configuration menu, did you enclose the tracking code with script, then end script? Remove them and it should work. What it did was put it in the middle of another script code, splitting the scripts and end scripts.

Linda

27 Nov 2013, 6:42 PM
#2006
trademagic avatar

trademagic

New Zenner

Join Date:
Jul 2013
Location:
Lakewood, California, United States
Posts:
66
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Thanks for your effort. No matter where I look, I can't find it, even with firebug.

Feel so lame. Here is the code you requested.

<!--eof- banner #6 display --> <?php if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") { // Do nothing } else { require(DIR_WS_TEMPLATE . 'google_analytics/google_analytics.php'); } ?> </body>
27 Nov 2013, 6:46 PM
#2007
trademagic avatar

trademagic

New Zenner

Join Date:
Jul 2013
Location:
Lakewood, California, United States
Posts:
66
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Linda,

Just saw your recommendation, and did it. And the code snippet disappeared. Very pleased. Now I can figure out what the information is telling me, and I don't have dirty laundry across my site.

Thanks again,

Marc

27 Nov 2013, 8:56 PM
#2008
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

Just as an FYI for anyone using the plug-in currently: I'm building the Universal Analytics into this next release as well. But to get it working in the meantime, use the section of the current plugin (in the admin) that lets you add your own custom code snippet. I believe Linda mentioned this below as well.

The next release has a ton of new things in it so it should be a welcome site for many.

5 Dec 2013, 9:36 PM
#2009
flynet avatar

flynet

New Zenner

Join Date:
Dec 2012
Posts:
2
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Trademagic:

Linda,

Just saw your recommendation, and did it. And the code snippet disappeared. Very pleased. Now I can figure out what the information is telling me, and I don't have dirty laundry across my site.

Thanks again,

Marc

Hi, can you please let me know where did you place the analitics code which google give you. Thank you

(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

6 Dec 2013, 6:15 AM
#2010
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Simple Google Analytics - Support

You shouldn't need to place that anywhere just use the UA-XXXXXX-X code in the admin configuration->Simple Google Analytics

6 Jan 2014, 6:18 PM
#2011
dans67 avatar

dans67

New Zenner

Join Date:
Nov 2011
Posts:
11
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I'm having some issues with this mod and a site. For some reason, whenever I do the sql update using this mod, I get a error screen that say's "WARNING: An Error occurred, please refresh the page and try again." and this page sqlpatch.php?action=execute at the end of my domain.com/admin Is there a way I can see exactly what error is happening, or any ideas? I have a few different sites, and this one mod is only giving me issues on one site. It's a dreamhost hosted site, and I'm on 1.5.1
Dan

10 Jan 2014, 2:13 PM
#2012
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

What version of the Simple GA mod are you using? I've seen this happen when you try to install a module (any mod) and it 'fails' (usually the first time) then you try to reinstall but not all of the items from the prior install (database entries) are removed / or the configuration ids are mixed up from that install.

On this site in question, did you have another version of GA already installed when you tried to install this one?

Let me know on those and I'll see what I can do to help you work through it. In the worst case senerio you can go into phoMyAdmin and manually remove the entries for the mod then reinstall from the SQL patch in the zen admin to get that to work.

No need to remove files--just the db entries.

10 Jan 2014, 4:39 PM
#2013
dans67 avatar

dans67

New Zenner

Join Date:
Nov 2011
Posts:
11
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I'm using the newest version out, whatever's on the top of the download page. This was a "New" install of the 1.5.1, although I did have the older version working on my 1.3.9 site. When I upgraded to the 1.5.1, I did bring my database along, perhaps something in there is causing havoc. The only thing I don't understand is I run two sites, and I upgraded the two of them at the same time, and they are very similar. Only one of them is giving me the issues though. Is there something I should look for in my database? I ran the un-install script just to see if that would work, but I still get the error whenever I do the install SQL.

13 Jan 2014, 10:17 PM
#2014
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

Yeah, even running the install script (depending on if there is something left over from the other install (usually relating to a different config group id from the rest of the entries)... which it sounds like to me there might be) would not prevent what you are seeing. I've got that on a few sites myself when installing for others and I solved the problem by going into phpMyAdmin and manually removing the entries related to Simple Google Analytics (make a note of anything like 'analytics numbers etc...' that you will need to plug back in on the install.) The two main tables that hold the information for that version are the configuration tables (groups and standard). If you search for the google analytics items then you should see the entries. Very that is all you are removing then checkmark all items and 'delete'. Yes to confirm.

Once this is done reinstall the new patch in the admin (copy and paste).

Let me know if that helps.

I've been working on this new version which does a lot of things including making install and debugging issues easier and that should be ready very soon here. It also adds a lot of new features into the mix that can be used within Google Anlaytics.

Eric

31 Jan 2014, 6:14 AM
#2015
rcnenni avatar

rcnenni

New Zenner

Join Date:
Jan 2014
Location:
Dublin, CA
Posts:
6
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hello,

I just installed your google analytics system on my site with zencart. I input the tracking code in the menu, however I'm not seeing any statistics from google after 3 days. When I view the page source info I don't see the analytics code, just a not saying <!--google analytics code--> at the end.
Can you help me figure out what happened?

The website: https://www.semiwiki.com/zencart

Thank you!

31 Jan 2014, 6:24 AM
#2016
bislewl avatar

bislewl

Totally Zenned

Join Date:
Dec 2011
Location:
Wisconsin, USA
Posts:
674
Plugin Contributions:
12

Re: Simple Google Analytics - Support

Sorry for your issue, but I would recommend with replacing with easy google analytics. It supports universal tracking as well. You may need to wait a day or two to finish it going through plugin moderation. But is much better I feel then simple google analytics.

31 Jan 2014, 1:23 PM
#2017
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Simple Google Analytics - Support

rcnenni:

Hello,

I just installed your google analytics system on my site with zencart. I input the tracking code in the menu, however I'm not seeing any statistics from google after 3 days. When I view the page source info I don't see the analytics code, just a not saying <!--google analytics code--> at the end.
Can you help me figure out what happened?

The website: https://www.semiwiki.com/zencart

Thank you!

Sounds like you missed step 3 and did not edit tpl_main_page.php

3 Feb 2014, 9:01 AM
#2018
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Simple Google Analytics - Support

the module installed but no show me Ecommerce transactions, goals, funnels, and even pay-per-click conversion automatically, and all in one interface.

why ? who can configure this for me ? for payment ?

i have zen cart 1.3.9h

3 Feb 2014, 1:20 PM
#2019
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Simple Google Analytics - Support

All of those are set and tracked in Google Analytics.

Pm sent.

3 Feb 2014, 11:02 PM
#2020
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Simple Google Analytics - Support

jeking:

All of those are set and tracked in Google Analytics.

Pm sent.

where pm ?