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

Simple Google Analytics - Support

Views: 451,146

Results 681 to 700 of 2,165
10 Mar 2008, 4:23 AM
#681
shrimp_gumbo_mmmhhh avatar

shrimp_gumbo_mmmhhh

Totally Zenned

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

Simple Google Analytics - Support

econcepts:

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. :)

If the "surprise" is related to the material on your site I think many people may be very happy. :smile:

17 Mar 2008, 12:43 PM
#682
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

Update on various reports of missing revenue figures

We've all heard reports of the missing revenue figures and what seems to be potentially incorrect tracking figures with the recent Google "ga.js" tracking code.

I've been researching it and finally came across a thread where a member of Google admits there is a problem on their end.

The thread on the internet reads as follows:

My two biggest issues right now are not AdWords related - they have to do with custom filters that stopped working on January 15th, and ECommerce revenue numbers not matching up properly (new code) - some transactions have NO revenue at all, some are missing products too. Looking at the Google Group, we're not the only ones with these problems, and my clients are rather upset, because they've gotten used to making some decisions based on GA data. I know it's free and everything... (although these clients are longtime AdWords advertisers) but we were kinda hoping it would be accurate as well. But it seems like there's been this huge silence about these issues - nothing officially has been said. We sent all kinds of screen shots to support, set up sample transactions, etc etc and then never heard anything back.

The Google Analytics Adviser responds with the following:

I've spoken to the team about the issues you are experiencing.

If possible, please write in to the Analytics Support team (via the contact link in Analytics) with specifics on the filters. We haven't noticed anything specific to filter setups in the past few months, but are eager to take a look into it.

As for the ecommerce problems, we've confirmed received reports that in rare circumstances ecommerce data is not being recorded properly when using the newly released ga.js code. We are in the process of addressing this issue and plan to release a fix by the first week in April. However, the older urchin.js is not affected by this issue, so if you are having this problem, you may wish to consider switching back to urchin.js for the time being.

So after reading that, I decided to rework the current Simple Google Analytics contribution to include the option of using either the urchin.js tracking code or the ga.js tracking code.

This way you can use the urchin.js code until the fix comes out from Google and then easily switch to the new "ga.js" tracking code from your admin (simple as selecting a radio button).

I have this contribution complete and tested it on my site(s) last night. Once the new data is reported back and I confirm it's working, I'll upload to the Zen Cart downloads section.

Just wanted to give everyone the heads up.

17 Mar 2008, 7:13 PM
#683
topaz44 avatar

topaz44

New Zenner

Join Date:
Dec 2007
Posts:
73
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hello. I just installed this. I am not getting any errors. I changed my tpl_main_page under my custom template like I was supposed to. I have viewed my source code on my main page, and yet google is still saying not installed. Could someone help please? Thanks.
Christine

17 Mar 2008, 7:15 PM
#684
topaz44 avatar

topaz44

New Zenner

Join Date:
Dec 2007
Posts:
73
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Oh and by the way, there was no dash at the end of my google id number, I have tried adding the dash before the last number and nothing seems to happen.

17 Mar 2008, 9:58 PM
#685
rlfreshwater avatar

rlfreshwater

New Zenner

Join Date:
Oct 2007
Location:
Atlanta, GA
Posts:
79
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I'm unable to download the ZIP file for some reason, but it's just as well since you're getting ready to post an update. Can't wait to try it out. Thanks, Eric! :clap:

17 Mar 2008, 11:24 PM
#686
mewell avatar

mewell

New Zenner

Join Date:
Oct 2007
Location:
Lakewood, CO
Posts:
28
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Eric - Let me first say "Thank you" for all your tips, coding, writing, trouble shooting, on and on and on! I really appreciate all your knowledge. After reading both the 20 tips and GA Uncovered I'm stumped on a few things... First, I'm guessing that part of the issue is that I'm using "Starter Edition" of AdWords and wonder if that's why I don't see an AdWords conversion Tracking number to enter into Simple GA for ZenCart. When I log in to my AdWords account, I see in the browser's address bar "campaignId=9591837" - is that my tracking number? Looks like it's too short but I've looked high and low following the messages here and don't find the number referred to in my AdWords account. Secondly, when I configure my funnel following the section in "Uncovered", the screens I see are somewhat different than the screen shots in the book. Analytics now says to make sure you don't have a domain name as part of the step - That is, use /index.php?main_page=product_info instead of https://www.domainname.com/index.php?main_page=product_info

When I do a Funnel Visualization, everything is abandoned at the first step (Product Info) even on orders I've completed. I know there are issues with the new ga tracking and have followed all those messages, but I suspect that my problem is my two domains... I have http://www.remarkablepens.com and https://secure.remarkablepens.com. I saw the tech note "How do I install the tracking code if my site spans multiple domains? " and can find the spot in includes/templates/CUSTOM/google_analytics/google_analytics.php to slip in the first bit of prescribed code, but I'm not knowledgeable enough to finish the part about the _link and whether or not ZC uses forms to send information between domains.

I'd appreciate what ever help you can offer! My site's addr. is show below, my version is 1.3.7.1 and I'm using the 1.2.1 version of SGA

Thanks again,
Mark

18 Mar 2008, 1:48 PM
#687
netmeg avatar

netmeg

New Zenner

Join Date:
Jan 2007
Posts:
14
Plugin Contributions:
0

Re: Simple Google Analytics - Support

econcepts:

I've been researching it and finally came across a thread where a member of Google admits there is a problem on their end

Heh, actually, that was MY thread on WebmasterWorld. How odd to run across the quote somewhere else.

Yes, they are still telling me the problem with the new code is not resolved, but we're also having problems with the old code as well. In fact, I just submitted another support request because we noticed some transactions in Zen Cart were missing from GA. Now I'm wondering if I have to go back and check EVERYTHING from the last eight or nine months. I'll just cut and paste here:

In this case, the client wanted to figure out how many of a certain product he'd sold over a time period, so he could plan how many to stock. He's running Zen Cart. Zen Cart told him that he'd sold 59 units of this product, but Google Analytics shows only 49 over the same time period. We were scratching our heads over this one, so I did a dump into out of Zen Cart and into Excel of all the orders with this product; then I did a dump of all the transactions from GA with this product, and compared them. Nine transactions were missing entirely. Two of them can be explained away by Paypal (he added that payment method last month and we haven't gotten to where we can track Paypal orders in GA yet) But the other seven - no idea what's up with those. I went back and looked through each of the missing orders, and I can't find any common denominators - in some cases, the product was ordered alone, and in others, it was ordered with other products. All were authorized credit card orders. It's such a big percentage of total orders that now we're really starting to get a little nervous. This is with the OLD js code.

Haven't gotten an answer on this one yet.

18 Mar 2008, 5:03 PM
#688
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

topaz44:

Oh and by the way, there was no dash at the end of my google id number, I have tried adding the dash before the last number and nothing seems to happen.

The code looks to be installed correctly on this.

Typically in these cases, when the code is there but Google can't verify it, that usually means that the URL you are pointing Google to is incorrect.

Make sure you watch the "trailing slash" (best practice is to include it) when providing Google with the URL to verify the code at or it may fail to recognize the install.

18 Mar 2008, 5:11 PM
#689
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

mewell:

First, I'm guessing that part of the issue is that I'm using "Starter Edition" of AdWords and wonder if that's why I don't see an AdWords conversion Tracking number to enter into Simple GA for ZenCart.

That is exactly why you don't see it. The starter version does not include all the features as the "upgraded" version (still free.)

mewell:

When I log in to my AdWords account, I see in the browser's address bar "campaignId=9591837" - is that my tracking number?

No. That is just the identification number Google has assigned to that particular campaign. You can run multiple campaigns under one account.

mewell:

Secondly, when I configure my funnel following the section in "Uncovered", the screens I see are somewhat different than the screen shots in the book. Analytics now says to make sure you don't have a domain name as part of the step - That is, use /index.php?main_page=product_info instead of https://www.domainname.com/index.php?main_page=product_info

Yes, a few things have changed (not much) and it is best to use a different match type (briefly explained in the GA Uncovered book) that drops the actual domain name.

mewell:

When I do a Funnel Visualization, everything is abandoned at the first step (Product Info) even on orders I've completed. I know there are issues with the new ga tracking and have followed all those messages, but I suspect that my problem is my two domains... I have http://www.remarkablepens.com and https://secure.remarkablepens.com. I saw the tech note "How do I install the tracking code if my site spans multiple domains? " and can find the spot in includes/templates/CUSTOM/google_analytics/google_analytics.php to slip in the first bit of prescribed code, but I'm not knowledgeable enough to finish the part about the _link and whether or not ZC uses forms to send information between domains.

I suspect that you either have set the funnel up incorrectly (not including any steps after it, or including pages that are named differently from what is in the book (such as in the case of SEO URLs mods which alter url naming conventions).

Unless you altered the code to try to track two domains, I doubt that is the issue only because a Goal and associated Funnel are setup using urls to the site you are tracking. This would remove the possibility of it trying to mis record data based on two sites (unless of course you entered two different site urls into your funnel which could cause it to look like users are bouncing at that first step.)

18 Mar 2008, 6:23 PM
#690
mewell avatar

mewell

New Zenner

Join Date:
Oct 2007
Location:
Lakewood, CO
Posts:
28
Plugin Contributions:
0

Re: Simple Google Analytics - Support

econcepts:

<SNIP> Yes, a few things have changed (not much) and it is best to use a different match type (briefly explained in the GA Uncovered book) that drops the actual domain name.

Got that part...

I suspect that you either have set the funnel up incorrectly (not including any steps after it, or including pages that are named differently from what is in the book (such as in the case of SEO URLs mods which alter url naming conventions).

I'm using https://secure.remarkablepens.com/index.php?main_page=checkout_success
as my Goal URL which is different than the starting domain and the domain name I am tracking - just plain www.remarkablepens.com

Unless you altered the code to try to track two domains, I doubt that is the issue only because a Goal and associated Funnel are setup using urls to the site you are tracking. This would remove the possibility of it trying to mis record data based on two sites (unless of course you entered two different site urls into your funnel which could cause it to look like users are bouncing at that first step.)

This has to be it, but I'm not sure how to get around it since my certificate is issued on the "secure" domain name.

18 Mar 2008, 7:25 PM
#691
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

Ok, got the new release uploaded and ready to go for this.

I uploaded it to the Zen Cart downloads section but if you can't wait for it to get activated there, then you can download it from my site by clicking here.

The newest version is now 1.2.2

This addresses the confirmed reports of a bug on Google's end which causes adopter's of the "ga.js" tracking code to receive incorrect reporting data specifically relating to ecommerce transactions and conversion rates.

What this new release does:

This new release has all the same features of the previous release (1.2.1 and 1.2.0) but in it I have added the ability for you to switch easily between the older "urchin.js" tracking code and the newer "ga.js" tracking code while Google corrects their error on their end with the newer "ga.js" code.

You do it by simply selecting a radio button from within the Admin.

NOTE TO UPGRADER'S OF PREVIOUS VERSIONS

If you already have version 1.2.0 or 1.2.1 of Simple Google Analytics installed, then you only have to do 2 things to get the new one working.

  1. upload the file /includes/templates/your_template/google_analytics/google_analytics.php
    to the proper location on your web server and overwrite the current file that is there.

  2. Run the "upgrade" sql patch from within the Admin (copy and paste it into the space provided rather than uploading) that has the following name:
    UPGRADE-FromVersion1-2-1_ONLY.sql


First Time NEW INSTALLS

If you have not installed any other previous versions of Simple Google Analytics, you should:

  1. Read and follow the instructions found in the file named:
    "README_FirstTimeINSTALLATION.txt"

  2. From within your Zen CArt admin copy, paste, and run the sql patch from the file named "googleanalytics-INSTALL.sql".

You're all set.

Enjoy everyone!

19 Mar 2008, 3:55 AM
#692
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

econcepts:

Ok, got the new release uploaded and ready to go for this.

I uploaded it to the Zen Cart downloads section but if you can't wait for it to get activated there, then you can download it from my site by clicking here.

The newest version is now 1.2.2

This addresses the confirmed reports of a bug on Google's end which causes adopter's of the "ga.js" tracking code to receive incorrect reporting data specifically relating to ecommerce transactions and conversion rates.

What this new release does:

This new release has all the same features of the previous release (1.2.1 and 1.2.0) but in it I have added the ability for you to switch easily between the older "urchin.js" tracking code and the newer "ga.js" tracking code while Google corrects their error on their end with the newer "ga.js" code.

You do it by simply selecting a radio button from within the Admin.

NOTE TO UPGRADER'S OF PREVIOUS VERSIONS

If you already have version 1.2.0 or 1.2.1 of Simple Google Analytics installed, then you only have to do 2 things to get the new one working.

  1. upload the file /includes/templates/your_template/google_analytics/google_analytics.php
    to the proper location on your web server and overwrite the current file that is there.

  2. Run the "upgrade" sql patch from within the Admin (copy and paste it into the space provided rather than uploading) that has the following name:
    UPGRADE-FromVersion1-2-1_ONLY.sql

First Time NEW INSTALLS

If you have not installed any other previous versions of Simple Google Analytics, you should:

  1. Read and follow the instructions found in the file named:
    "README_FirstTimeINSTALLATION.txt"

  2. From within your Zen CArt admin copy, paste, and run the sql patch from the file named "googleanalytics-INSTALL.sql".

You're all set.

Enjoy everyone!

Quick question... is the "ga.js" tracking code supposedly fixed or should we use the old code?

Shrimp-Gumbo

19 Mar 2008, 9:22 AM
#693
stuntsmovie_com avatar

stuntsmovie_com

New Zenner

Join Date:
Oct 2006
Posts:
57
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Hey Guys,

I installed Version 1.21 yesterday morning and set it up on https://www.xtreme-stunts.com . However till today I haven't received any data from google analytics even though it says "receiving data" on the google analytics page.

Now i just upgraded to version 1.22 and enabled the old java file.

Could that have been the problem? How long does it normally take to see data in my google analytics account?

Thanks a lot

Stntsmovie.com

19 Mar 2008, 5:06 PM
#694
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

shrimp-gumbo-mmmhhh:

Quick question... is the "ga.js" tracking code supposedly fixed or should we use the old code?

Shrimp-Gumbo

As of this writing Google has NOT yet corrected the "ga.js" tracking code. They say a patch will be in place in the beginning of April, but I needed accurate stats to make the right decisions and I'm not holding my breath for them.

I have decided to keep using the older "urchin.js" tracking code as long as I can (or a least until it is confirmed that Google indeed has corrected the issues with the ga.js code.)

19 Mar 2008, 5:07 PM
#695
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

StuntsMovie.com:

Hey Guys,

I installed Version 1.21 yesterday morning and set it up on https://www.xtreme-stunts.com . However till today I haven't received any data from google analytics even though it says "receiving data" on the google analytics page.

Now i just upgraded to version 1.22 and enabled the old java file.

Could that have been the problem? How long does it normally take to see data in my google analytics account?

Thanks a lot

Stntsmovie.com

If it says "receiving data" then it's now a waiting game. Typically within 24 hours you'll see data, but there have been reports of it taking quite longer (all on Google's end.)

31 Mar 2008, 1:58 PM
#696
topaz44 avatar

topaz44

New Zenner

Join Date:
Dec 2007
Posts:
73
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Econcepts - I have put in my forward slash and it still says tracking not installed. Any other ideas in what could be causing this not to work? Thanks. :frusty:

2 Apr 2008, 6:27 PM
#697
bgroup99 avatar

bgroup99

Zen Follower

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

Re: Simple Google Analytics - Support

econcepts:

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.

Thanks for your reply. I definitely added that bit in /includes/templates/custom/common/tpl_main_page.php.

Here is a copy of the file:

<?php
/**
 * Common Template - tpl_main_page.php
 *
 * Governs the overall layout of an entire page<br />
 * Normally consisting of a header, left side column. center column. right side column and footer<br />
 * For customizing, this file can be copied to /templates/your_template_dir/pagename<br />
 * example: to override the privacy page<br />
 * - make a directory /templates/my_template/privacy<br />
 * - copy /templates/templates_defaults/common/tpl_main_page.php to /templates/my_template/privacy/tpl_main_page.php<br />
 * <br />
 * to override the global settings and turn off columns un-comment the lines below for the correct column to turn off<br />
 * to turn off the header and/or footer uncomment the lines below<br />
 * Note: header can be disabled in the tpl_header.php<br />
 * Note: footer can be disabled in the tpl_footer.php<br />
 * <br />
 * $flag_disable_header = true;<br />
 * $flag_disable_left = true;<br />
 * $flag_disable_right = true;<br />
 * $flag_disable_footer = true;<br />
 * <br />
 * // example to not display right column on main page when Always Show Categories is OFF<br />
 * <br />
 * if ($current_page_base == 'index' and $cPath == '') {<br />
 *  $flag_disable_right = true;<br />
 * }<br />
 * <br />
 * example to not display right column on main page when Always Show Categories is ON and set to categories_id 3<br />
 * <br />
 * if ($current_page_base == 'index' and $cPath == '' or $cPath == '3') {<br />
 *  $flag_disable_right = true;<br />
 * }<br />
 *
 * @package templateSystem
 * @copyright Copyright 2003-2007 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_main_page.php 7085 2007-09-22 04:56:31Z ajeh $
 */

// the following IF statement can be duplicated/modified as needed to set additional flags
  if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
    $flag_disable_right = true;
  }


  $header_template = 'tpl_header.php';
  $footer_template = 'tpl_footer.php';
  $left_column_file = 'column_left.php';
  $right_column_file = 'column_right.php';
  $body_id = ($this_is_home_page) ? 'indexHome' : str_replace('_', '', $_GET['main_page']);
?>
<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>
<?php
  if (SHOW_BANNERS_GROUP_SET1 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET1)) {
    if ($banner->RecordCount() > 0) {
?>
<div id="bannerOne" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
    }
  }
?>

<div id="mainWrapper">
<?php
 /**
  * prepares and displays header output
  *
  */
  if (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_HEADER_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == '')) {
    $flag_disable_header = true;
  }
  require($template->get_template_dir('tpl_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_header.php');?>

<table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper">
  <tr>
<?php
if (COLUMN_LEFT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_LEFT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) {
  // global disable of column_left
  $flag_disable_left = true;
}
if (!isset($flag_disable_left) || !$flag_disable_left) {
?>

 <td id="navColumnOne" class="columnLeft" style="width: <?php echo COLUMN_WIDTH_LEFT; ?>">
<?php
 /**
  * prepares and displays left column sideboxes
  *
  */
?>
<div id="navColumnOneWrapper" style="width: <?php echo BOX_WIDTH_LEFT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_left.php')); ?></div></td>
<?php
}
?>
    <td valign="top">
<!-- bof  breadcrumb -->
<?php if (DEFINE_BREADCRUMB_STATUS == '1' || (DEFINE_BREADCRUMB_STATUS == '2' && !$this_is_home_page) ) { ?>
    <div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
<?php } ?>
<!-- eof breadcrumb -->

<?php
  if (SHOW_BANNERS_GROUP_SET3 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET3)) {
    if ($banner->RecordCount() > 0) {
?>
<div id="bannerThree" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
    }
  }
?>

<!-- bof upload alerts -->
<?php if ($messageStack->size('upload') > 0) echo $messageStack->output('upload'); ?>
<!-- eof upload alerts -->

<?php
 /**
  * prepares and displays center column
  *
  */
 require($body_code); ?>

<?php
  if (SHOW_BANNERS_GROUP_SET4 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET4)) {
    if ($banner->RecordCount() > 0) {
?>
<div id="bannerFour" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
    }
  }
?></td>

<?php
//if (COLUMN_RIGHT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_RIGHT_OFF == 'true' && $_SESSION['customers_authorization'] != 0)) {
if (COLUMN_RIGHT_STATUS == 0 || (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '') || (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_COLUMN_RIGHT_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ''))) {
  // global disable of column_right
  $flag_disable_right = true;
}
if (!isset($flag_disable_right) || !$flag_disable_right) {
?>
<td id="navColumnTwo" class="columnRight" style="width: <?php echo COLUMN_WIDTH_RIGHT; ?>">
<?php
 /**
  * prepares and displays right column sideboxes
  *
  */
?>
<div id="navColumnTwoWrapper" style="width: <?php echo BOX_WIDTH_RIGHT; ?>"><?php require(DIR_WS_MODULES . zen_get_module_directory('column_right.php')); ?></div></td>
<?php
}
?>
  </tr>
</table>

<?php
 /**
  * prepares and displays footer output
  *
  */
  if (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_FOOTER_OFF == 'true' and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == '')) {
    $flag_disable_footer = true;
  }
  require($template->get_template_dir('tpl_footer.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_footer.php');
?>

</div>
<!--bof- parse time display -->
<?php
  if (DISPLAY_PAGE_PARSE_TIME == 'true') {
?>
<div class="smallText center">Parse Time: <?php echo $parse_time; ?> - Number of Queries: <?php echo $db->queryCount(); ?> - Query Time: <?php echo $db->queryTime(); ?></div>
<?php
  }
?>
<!--eof- parse time display -->
<!--bof- banner #6 display -->
<?php
  if (SHOW_BANNERS_GROUP_SET6 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET6)) {
    if ($banner->RecordCount() > 0) {
?>
<div id="bannerSix" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
<?php
    }
  }
?>
<!--eof- banner #6 display -->

<?php
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
?>

</body>

Custom is definitely my directory. The google analytics code is still not showing up when I view the source of https://www.lakeslampshades.com though...:(

Any ideas?

Thanks,

Nate

2 Apr 2008, 8:44 PM
#698
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Trying to read through this thread. I was trying to update to google analytics 1.2.2 in my cart 1.3.8a. Does the new ga.js code not work?

I have edited and changed some files and now I'm lost.

Also where does this code go????

 
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "[URL="https://ssl/"]https://ssl[/URL]." : "[URL="http://www./"]http://www.[/URL]");
document.write(unescape("%3Cscript src='" + gaJsHost + "[URL="http://google-analytics.com/ga.js"]google-analytics.com/ga.js[/URL]' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-xxxxxx-x");
pageTracker._initData();
pageTracker._trackPageview();
</script>

Thanks.

3 Apr 2008, 12:18 PM
#699
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

topaz44:

Econcepts - I have put in my forward slash and it still says tracking not installed. Any other ideas in what could be causing this not to work? Thanks. :frusty:

How is this looking now after waiting for Google a bit?

Any luck yet?

Make sure you have the proper tracking code in place as well. The code is on the page (I can see it) so the only way Google will not be able to identify it is if the url you are telling Google to look for it at is incorrect or the tracking number used does not match up with the one Google has you set with.

Can you confirm the status of this?

3 Apr 2008, 12:23 PM
#700
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

bgroup99:

Thanks for your reply. I definitely added that bit in /includes/templates/custom/common/tpl_main_page.php.

Custom is definitely my directory. The google analytics code is still not showing up when I view the source of https://www.lakeslampshades.com though...:(

Any ideas?

Thanks,

Nate

Nate,

Do you have the tpl_main_page.php in the right directory?

That may sound nuts, but the only way the code will not show up is if you either did not insert the lines from step 3 (which you did do it looks like) or the file that you inserted into is in the wrong directory (which it does not seem like either.)

My suggestion would be to go in and make sure you completed each step as indicated in the install one more time.

It should be a very quick install (only two files or so).

Let me know if you are still having problems.

Thanks!