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

Simple Google Analytics - Support

Views: 451,067

Results 1,921 to 1,940 of 2,165
19 Sep 2012, 12:47 AM
#1921
atomiksteve avatar

atomiksteve

New Zenner

Join Date:
Jul 2008
Posts:
43
Plugin Contributions:
0

Simple Google Analytics - Support

Hey Everyone-

I've just run through ANOTHER install, and still don't see the Analytics code showing up on any of my pages.

The configuration menu shows up fine in the admin screen. I entered the correct UA code, checked the permissions for my admin profile, enabled e-commerce in my GA account... I'm out of ideas. Anybody know what I could be doing wrong?

I'm running v1.3.9h. I can PM a link to our beta store if needed.
Please help! Thanks!

19 Sep 2012, 6:52 AM
#1922
g00glethis1 avatar

g00glethis1

New Zenner

Join Date:
Mar 2010
Posts:
29
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I'm sorry Econcepts and Everyone (Diva :-P) for yelling. I won't be doing that any more.

20 Sep 2012, 2:09 PM
#1923
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

@g00glethis1: It really isn't a hard install at all (it should only take about 3 - 4 minutes max and has no overwrites.) There is only one minor change (already referenced) in the original SQL code if you are running PHP 5 or higher. Other than that, it is very straight forward.

Keep in mind that the latest version of code uploaded (along with instructions) are not mine (thanks for pointing that out DivaVocals). They were uploaded by another zen cart user who updated it to work with Zen 1.5 and made some other alterations (not to core code or functionality) to the installation instructions and file set layout. This apparently has made things more difficult to understand for others and will be migrated back to my original layout which didn't cause as many issues with understanding install apparently.

I have a new version just about ready and it will be uploaded very soon.

If you want help from the forums you really should read the rules and ask for help with more etiquette. Yelling is not appropriate, not tolerated, and will get you nowhere.

20 Sep 2012, 4:20 PM
#1924
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Simple Google Analytics - Support

OK,OK I screwed the instructions up I apologize. Anybody who wants to install this module please install econcepts version Simple Google Analytics - Version: 1.2.5
1.2.5 works on all version of zen cart including (not limited to 1.5.x)

24 Sep 2012, 5:24 PM
#1925
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

countrycharm:

OK,OK I screwed the instructions up I apologize. Anybody who wants to install this module please install econcepts version Simple Google Analytics - Version: 1.2.5
1.2.5 works on all version of zen cart including (not limited to 1.5.x)

No worries! It was something that was thought would make it better initially. :) Little did anyone know that it may make it harder. This will all be long forgotten with time. :)

24 Sep 2012, 6:25 PM
#1926
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

econcepts:

No worries! It was something that was thought would make it better initially. :) Little did anyone know that it may make it harder. This will all be long forgotten with time. :)
Forgot what??:laugh:

28 Sep 2012, 1:46 AM
#1927
shanghailad avatar

shanghailad

New Zenner

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

Re: Simple Google Analytics - Support

I just installed the latest version of this plugin to my site and now my homepage only displays a blank white screen and my favicon. When I view source, all that displays is the code in the <head> </head> section and nothing else.

Backend still displays fine and the plugin is active in the configuration area.

Help!

28 Sep 2012, 2:05 AM
#1928
shanghailad avatar

shanghailad

New Zenner

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

Re: Simple Google Analytics - Support

Update - all pages are dead. Only displaying the <head> </head> section and then nothing else.

I believe I followed all of the directions properly.

Here is the view source code displaying, from a random page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en"> <head> <title>Stormy Sea [13897553] - 228RMB : Obido Educational Toys, Learning Made Fun</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="keywords" content="Stormy Sea [13897553] Manipulatives Wooden Puzzles Table Games Role Play Child-size Furnishings Shanghai educational toys, Shanghai toy store, China wooden toys, China import toys" /> <meta name="description" content="Obido Educational Toys Stormy Sea [13897553] - Cannon balls, treasure chests, barrels, bottles and gold. Can your child balance them all on this wobbly, suspended ship or will they be lost to the sea? A roll of the die decides the next piece to be placed. Can be played together as a competitive or cooperative game. Bamboo toys are " /> <meta http-equiv="imagetoolbar" content="no" /> <meta name="author" content="The Zen Cart® Team and others" /> <meta name="generator" content="shopping cart program by Zen Cart®, <http://www.zen-cart.com> eCommerce" /> <link rel="icon" href="http://www.obidotoys.com/favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="http://www.obidotoys.com/favicon.ico" type="image/x-icon" /> <base href="http://obidotoys.com/" /> <link rel="canonical" href="http://obidotoys.com/index.php?main_page=product_info&products_id=54" /> <link rel="stylesheet" type="text/css" href="includes/templates/toys_blue/css/stylesheet.css" /> <link rel="stylesheet" type="text/css" href="includes/templates/toys_blue/css/stylesheet_css_buttons.css" /> <link rel="stylesheet" type="text/css" href="includes/templates/toys_blue/css/stylesheet_footer_menu.css" /> <link rel="stylesheet" type="text/css" media="print" href="includes/templates/toys_blue/css/print_stylesheet.css" /> <script type="text/javascript" src="includes/modules/pages/product_info/jscript_textarea_counter.js"></script>

script language="javascript" type="text/javascript"><!-- function popupWindow(url) { window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150') } function popupWindowPrice(url) { window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=600,height=400,screenX=150,screenY=150,top=150,left=150') } //--></script>

</head>

**UPDATE: removing the posted code from the tpl_main_page.php file gets things working again:

<?php if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") { // Do nothing } else { require(DIR_WS_TEMPLATE . 'google_analytics/google_analytics.php'); } ?>
28 Sep 2012, 1:03 PM
#1929
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

If you get a blank white page it means you have a PHP error that was caused based on the info you copied in. Most often this is becuase the PHP code copied in accidentally replaces, overwrites, or gets pushed between already existing code on the page.

The easiest way to diagnose exactly where the error is, is to turn on Error Logging for the Catalog and then look at the error log generated in the "cache" directory. Depending on what version of zen you are running, you may already have the file needed to turn that on. If not, you'll want to look at this post which has more information on where to find the file and how to activate it: http://www.zen-cart.com/showthread.php?185492-Enable-Debug-Error-Logging-Utility&highlight=enable+error+logging

29 Sep 2012, 12:50 AM
#1930
menappi avatar

menappi

New Zenner

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

Re: Simple Google Analytics - Support

ShanghaiLad:

Update - all pages are dead. Only displaying the <head> </head> section and then nothing else.

I believe I followed all of the directions properly.

Here is the view source code displaying, from a random page:

**UPDATE: removing the posted code from the tpl_main_page.php file gets things working again:

<?php if (GOOGLE_ANALYTICS_TRACKING_TYPE == "Asynchronous") { // Do nothing } else { require(DIR_WS_TEMPLATE . 'google_analytics/google_analytics.php'); } ?>

I had this same problem and I checked my configure.php file and noticed there were two '//' slashes when there should only be one for the IR_WS_CATALOG' and DIR_WS_HTTPS_CATALOG entries.

1 Oct 2012, 5:30 PM
#1931
jcapartsstore avatar

jcapartsstore

New Zenner

Join Date:
Oct 2012
Posts:
1
Plugin Contributions:
0

Re: Simple Google Analytics - Support

cuda:

By default this is in includes/templates/[your_template]/common/tpl_main_page.php

but could be located in includes/templates/[your_template]/common/tpl_header.php
as well, depends on how your site has been templated.

My installation does not have such a file in that location. I am using the classic template. There is no common in that directory.
includes/templates/classic/

Any assistance would be appreciated. Also I am running V1.5.1, will this cause a problem for running Google Analytics?

1 Oct 2012, 5:40 PM
#1932
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Simple Google Analytics - Support

Maka a new "common" folder inside the "classic" folder. then copy the tpl_header.php file from template_default/common to classic/common. edit the copied file.

3 Oct 2012, 10:07 AM
#1933
martyoo avatar

martyoo

New Zenner

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

Re: Simple Google Analytics - Support

Hi Design75,

Thanks for this great module. I have found it very useful. I have it set up for e-commerce tracking and I was wondering if I could I use this module to track refunds / cancellations?

3 Oct 2012, 10:28 AM
#1934
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Simple Google Analytics - Support

martyoo:

Hi Design75,

Thanks for this great module. I have found it very useful. I have it set up for e-commerce tracking and I was wondering if I could I use this module to track refunds / cancellations?

I is not my module :blush:, just a user. And sorry I have no idea if it can track refunds.

3 Oct 2012, 10:32 AM
#1935
martyoo avatar

martyoo

New Zenner

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

Re: Simple Google Analytics - Support

Sorry, I just seen you replying to people so I presumed you created it. I don't think it tracks them either.

4 Oct 2012, 4:25 PM
#1936
northfork avatar

northfork

New Zenner

Join Date:
Oct 2004
Location:
Montana
Posts:
43
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Is this tested to work with 1.51?

I looked back a few pages in the thread and didn't see a mention, so I thought I'd ask to be sure.

Can the plugin's page be edited to say that it works with 1.51?

4 Oct 2012, 8:19 PM
#1937
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

northfork:

Can the plugin's page be edited to say that it works with 1.51?You asked this twice.. So here's how it works.. IF someone tests this add-on (plugin is a WP term) with the latest version of Zen Cart, finds it to work, reports it as such AND IF the admins decide they will change the plugin's page to say so, they will..

However, I believe it is UNLIKELY that an add-on that works with 1.5 and requires NO CHANGES to work with 1.5.1 will be updated in such a manner. You can check with the admins yourself to find out if I am mis-stating this..

Hope that answers this for you..

4 Oct 2012, 8:27 PM
#1938
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Simple Google Analytics - Support

Reading back a few posts it looks like the plugin author is readying to submit an update. Hopefully they will confirm at that time whether they've tested it on v1.5.1.

That said, one way to find out if it'll work is ... to try it. Preferably on a test copy of your site (which you should have anyway, for testing any added features you're experimenting with). Then post back here what you discovered.

11 Oct 2012, 12:44 PM
#1939
anysigns avatar

anysigns

New Zenner

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

Re: Simple Google Analytics - Support

I installed the plugin, but Google Analytics doesn't record anything. Is there a way to see if the plugin is installed properly? It could be the problem with my Google Analytics account...

11 Oct 2012, 4:26 PM
#1940
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Simple Google Analytics - Support

anysigns:

Is there a way to see if the plugin is installed properly?
Ya: is the HTML showing in your pages? Right-click and View Source.