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

Simple Google Analytics - Support

Views: 451,185

Results 981 to 1,000 of 2,165
19 Aug 2009, 7:41 AM
#981
jeffgranite avatar

jeffgranite

New Zenner

Join Date:
Jun 2009
Posts:
4
Plugin Contributions:
0

Simple Google Analytics - Support

check my site https://www.thestonesuperstore.com/shop i have uninstalled the "simple google analytics" as i spent hourts and it doesnt work....

check the code for google analytics ..
just go to the google site and install their code..its free and it works instantly..

21 Aug 2009, 10:40 AM
#982
fergusmacdonald avatar

fergusmacdonald

Zen Follower

Join Date:
Oct 2007
Location:
Edinburgh, Scotland
Posts:
243
Plugin Contributions:
0

Re: Simple Google Analytics - Support

econcepts:

I track all three on most of my sites (Google, Yahoo, and MSN). You can install the Google Tracking Module (Simple Google Analytics) and still install the Yahoo, and MSN tracking codes.

The key is, you will have to manually insert the Yahoo and MSN codes into the proper pages for them to work. And furthermore, if you want to dynamically include order totals etc.. into the mix, then you'll have to custom code that using PHP.

Finally, you'll want to make sure you account for both Secure and Non-secure connections, and dynamically utilize the proper tracking code based on that (https:// vs. http://). I like to use the standard PHP function to detect secure vs. non-secure connections to do that.

The file you'll want to add the information to are the tpl_main_page.php page (within your custom directory). I don't even include it on the checkout success page because I try to keep the code in the fewest locations.

What I do is create an if then statement that I include on the tpl_main_page.php page. It dynamically checks the page name (to determine if it was a successful sale or not and therefore add the proper "conversion tracking code" if so) and also checks the https vs/ http connection to include that proper code. If you don't account for that, then users will get the old message "some things on this page are not secure ... do you want to continue?" and you don't want that as it can decrease conversion beyond all belief.

Hope that helps.

Hi there,

Can you let me know what code you include in the main page, or which page to install the adCenter and Yahoo code.

Thanks.

25 Aug 2009, 2:24 PM
#983
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

fergusmacdonald:

Hi there,

Can you let me know what code you include in the main page, or which page to install the adCenter and Yahoo code.

Thanks.

You can get my Yahoo tracking module from the free downloads section here: http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1159

I am working on an MSN Adcenter version as we speak.

25 Aug 2009, 2:26 PM
#984
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

creamcrackers:

Hi
I installed everyting
Entered my tracking cookie as UA-10268705-1 and created the adwords code and entered that.

I set it as ecommerce site in google analytics

GA is showing the ! icon and saying that Tracking Not Installed on the profile page.

Ive tried 2 tracking numbers UA-10268705-1 and UA-10268705 and have tried with the new and old js script and made the settings for those in GA

Another thing.. in the install readme you say (for new installs)
BRAND NEW install, you will need to update your database with the googleanalytics.sql file.

Only there is no file by that name in the contribution so i used googleanalytics-INSTALL.sql

I am using Simple SEO URL mod with this contribution, could there be a conflicy?

Thanks again

You're looking at two different version of the code. One is the legacy version and the other is the "ga,js" version. My module offers both you just select which one from the admin.

As long as you install my mod and then just enter your tracking number you'll be ok. Works flawlessly.

25 Aug 2009, 2:27 PM
#985
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

vickichiki:

I have just installed this mod and followed the instructions, double checked everything but google is still saying tracking information is not there. I have had a look at the page source and it isnt actually appearing at all have I missed something?

I have uploaded the files and they are in the correct directories
As per step 2 I have made sure my tpl_main_page.php includes the code noted and I also put the code from that file before the /body tag
I have installed the sql patch
I have entered my analytics account and configured the settings.

I am not sure why my site isnt producing the code is it perhaps the template that is being used could my programmer have changed something there?

Site: http://www.retail.bubblebubs.com.au

any help greatly appreciated

Sounds like you forgot to complete step 3 in the Read Me file. You need to add a little line of code to the tpl_main_page.php file for the tracking to be added to the page.

25 Aug 2009, 2:30 PM
#986
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

creamcrackers:

Hi

My page is outputting in the footer...

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-10268705-1"; urchinTracker(); </script></body></html>

But no vists are being logged in analytics.
There appears to be a line of code missing.. comparing this to the code that google wants

} catch(err) {}</script>

Have I installed an out of date module?

Am I having problems with this because i am usine Simple SEO URL mod with this?

Thanks

It looks like everything is ok on your site and I know there are no conflicts with the SEO module you are using (I use it on a number of my sites.)

If you are not getting tracking and the module is installed correctly you need to make sure your Google account is pointed to the correct url to verify the code (don't forget the trailing slash that Google sometimes needs to verify.)

25 Aug 2009, 2:33 PM
#987
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

jeffgranite:

check my site https://www.thestonesuperstore.com/shop i have uninstalled the "simple google analytics" as i spent hourts and it doesnt work....

check the code for google analytics ..
just go to the google site and install their code..its free and it works instantly..

Your site is not active as it has exceeded it's bandwith so I can't check it. However, the installation of the Simple Google Analytics module should only take 5 minutes or so truthfully.

In most cases where it does not work for a user they have incorrectly setup something on their Google account. This module is in use on thousands of sites and a number of my own. It works in each case.

Please make sure you have followed the steps needed to install it (there are only a few). Providing you do that it should work for you.

25 Aug 2009, 2:35 PM
#988
vickichiki avatar

vickichiki

New Zenner

Join Date:
Dec 2005
Posts:
24
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hi! I did get it working a couple of days ago, great mod thanks for you help :D

27 Aug 2009, 5:56 PM
#990
iscatech avatar

iscatech

New Zenner

Join Date:
Mar 2009
Posts:
48
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hello,

I hate to repost, but I haven't found an answer yet.

Everything is working for me except for ecommerce tracking in Google Analytics. I have installed the addon and activated "Ecommerce site" in GA.

Any help? Thanks!

28 Aug 2009, 11:53 AM
#991
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

fergusmacdonald:

Awesome, thanks. Any idea how long until it'll be ready?

I'll see what I can do on the MSN module here and try to get that up in the coming week or so.

28 Aug 2009, 11:58 AM
#992
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

iscatech:

Hello,

I hate to repost, but I haven't found an answer yet.

Everything is working for me except for ecommerce tracking in Google Analytics. I have installed the addon and activated "Ecommerce site" in GA.

Any help? Thanks!

There are only a few ways this won't work.

  1. You haven't turned on ecom tracking within your GA account (which you say you have)

  2. The ecom tracking code is not being produced on the thank you page (which it should, but you need to check to make sure in your case.)

  3. You have no Google tracking on the thank you page (again, shouldn't be the case, but I've heard with some third party mods it can happen, like with affiliate mods etc...). There are work arounds if this is the case ... just let me know.

I would recommend placing a test order and then when you get to the "thank you" (checkout success) page do a "view source" scroll all the way to the bottom and make sure you see the "google ecommerce" tracking code and that it is populated with your order information.

This code is not the normal google tracking code, but rather is a longer list of elements that actually list each item in the order.

If you need me to take a look at it, PM me and let me know.

28 Aug 2009, 4:31 PM
#993
iscatech avatar

iscatech

New Zenner

Join Date:
Mar 2009
Posts:
48
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Ok I placed the test order, and it seems to have the code, I have included the end of the code here:

</div> <!--bof- parse time display --> <!--eof- parse time display --> <!--bof- banner #6 display --> <!--eof- banner #6 display --> <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"> try { var pageTracker = _gat._getTracker("UA-6204079-3"); pageTracker._trackPageview(); } catch(err) {}</script> <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-6204079-1"); pageTracker._initData(); pageTracker._trackPageview(); pageTracker._addTrans( "135", "", "29.10", "1.22", "13.93", "Riverside", "California", "United States" ); pageTracker._addItem( "135", "4", "AR934A Ball Trap (Improved McPhail Trap)", "Traps", "13.95", "1" ); pageTracker._trackTrans();</script><!-- Google Code for purchase Conversion Page --> <script language="JavaScript" type="text/javascript"> <!-- var google_conversion_id = 1940015892; var google_conversion_language = "en_US"; var google_conversion_format = "1"; var google_conversion_color = "FFFFFF"; if (29.10) { var google_conversion_value = 29.10; } var google_conversion_label = "purchase"; //--> </script> <script language="JavaScript" src="https://www.googleadservices.com/pagead/conversion.js"> </script> <noscript> <img height=1 width=1 border=0 src="https://www.googleadservices.com/pagead/conversion/1940015892/?value=29.10&label=purchase&script=0"> </noscript> </body></html>

I have my site in a subdomain (https://www.iscatech.com/ecommerce/) does this have any effect?

Thanks!

2 Sep 2009, 6:29 AM
#994
turtledove avatar

turtledove

Zen Follower

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

Re: Simple Google Analytics - Support

This mod isn't working for me.

I installed it, entered my Analytics account number in my admin, and turned on the E-commerce site option at Analytics. However, the "status" is still saying "Tracking not Installed"

Anyone know how to fix this?

2 Sep 2009, 6:42 AM
#995
turtledove avatar

turtledove

Zen Follower

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

Re: Simple Google Analytics - Support

Nevermind, got it. Just had to play the waiting game.

4 Sep 2009, 1:12 PM
#996
enzo_ita avatar

enzo_ita

Zen Follower

Join Date:
Jul 2009
Posts:
402
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hi,
I am trying to install the simple google analytcs on my shop version 1.38a but I found the follwing problems:

  1. I have updated to admin folder the files found under the admin folder in the zip file. Is this correct?
  2. I have updated in the mytemplate folder the files found under tamplte in the zip. file is this correct?
    I have tryed to add the code ?php
    require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
    ?> to /includes/templates/mytemplate/common/tpl_main_page.php but I do not have that file. In this folder I have only tpl_header.php and tpl_header_test_info.php
    The file tpl_main-page.php is only in the template_default/common folder.
    3)Should I add the code to this file?
    or
    4)Should I copy the file to mytemplate/common folder and then edit it?
    5)I am not sure I correctly updated the db. How can I check it?
    6)The following code originated by google anlytics
<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"> try { var pageTracker = _gat._getTracker("UA-9197257-2"); pageTracker._trackPageview(); } catch(err) {}</script>*

should be added somewere?

7)Last but not least not having the tpl_main_page.php file in mytemplate/common folder have I screwed up the ovveride system? If yes, How can I fix it?
Sorry for so many questions but I am far from being an expert webmaster.
ciao from Italy
enzo

4 Sep 2009, 1:34 PM
#997
enzo_ita avatar

enzo_ita

Zen Follower

Join Date:
Jul 2009
Posts:
402
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I wanted to edit but I can not do it.
In my previous post at point 1 and 2 updated means uploaded.

13 Sep 2009, 1:52 PM
#999
mommed avatar

mommed

New Zenner

Join Date:
Sep 2009
Posts:
2
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I can't get this to work, but the template I'm using didn't have a tpl_main_page.php file in the suggested area. I tried modifying it everywhere lse I could find one.

If I do a view source from any page on my site, I can't see the google analytics code.

Can anyone suggest what I need to try next?

Thanks.

13 Sep 2009, 4:08 PM
#1000
enzo_ita avatar

enzo_ita

Zen Follower

Join Date:
Jul 2009
Posts:
402
Plugin Contributions:
0

Re: Simple Google Analytics - Support

mommed:

I can't get this to work, but the template I'm using didn't have a tpl_main_page.php file in the suggested area. I tried modifying it everywhere lse I could find one.

I found that the tpl_main_page.php must be copied to your_template/common folder and then edited it as instructed.
It works
ciao from Italy