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

Simple Google Analytics - Support

Views: 451,193

Results 1,141 to 1,160 of 2,165
19 Jan 2010, 11:41 AM
#1141
econcepts avatar

econcepts

Totally Zenned

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

Simple Google Analytics - Support

mcshane78:

Hi,

I have worked it out...
I didnt renamed my ADMIN folder to my covert name... LOL
all working great now.. brill mod!

thank you

Great to hear that. Glad you like it. :)

19 Jan 2010, 11:55 AM
#1142
fabienne avatar

fabienne

Zen Follower

Join Date:
May 2007
Location:
Cincinnati, Ohio
Posts:
246
Plugin Contributions:
0

Re: Simple Google Analytics - Support

OK! I take it that you are eConcepts who created that module Simple Google Analytics. I wasn't the person who installed and so I don't have the readme file which came with it. The person who installed it didn't quite get the hang of it so, since I am the user, I should know how to fix it.

So, it sounds like I should take off the code I put on the tpl_main_pg, put on the code which came with the readme file:
"All you have to do is add the line of code from STEP 3 of the readme that came with the module (to the same location on the tpl_main_page) and you're all set."

Super. I will look for the add on module, download it to my computer, look through the readme file and pick up the code, erase what I put on from Google and put on what you give me in Step 3 and sit back and count things. Thanks.

19 Jan 2010, 5:32 PM
#1143
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

fabienne:

OK! I take it that you are eConcepts who created that module Simple Google Analytics. I wasn't the person who installed and so I don't have the readme file which came with it. The person who installed it didn't quite get the hang of it so, since I am the user, I should know how to fix it.

So, it sounds like I should take off the code I put on the tpl_main_pg, put on the code which came with the readme file:
"All you have to do is add the line of code from STEP 3 of the readme that came with the module (to the same location on the tpl_main_page) and you're all set."

Super. I will look for the add on module, download it to my computer, look through the readme file and pick up the code, erase what I put on from Google and put on what you give me in Step 3 and sit back and count things. Thanks.

Yep, you got it! Let me know if you have any problems or questions.

21 Jan 2010, 1:02 AM
#1144
techiant avatar

techiant

New Zenner

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

Re: Simple Google Analytics - Support

econcepts:

Sounds good. If you have any questions or problems feel free to ask. Good luck!

Techiant:

Worked very well. Install was as easy as it gets. Now the eCommerce tracking works for all types of checkout. I also disabled the GC module Analytics feature just in case.

Thanks for your help.

Actually I take it back. eCommerce started working with other payment methods (GC, Free checkout, check/money order) except WPP. Any ideas?

21 Jan 2010, 2:37 PM
#1145
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

Techiant:

Actually I take it back. eCommerce started working with other payment methods (GC, Free checkout, check/money order) except WPP. Any ideas?

Should work with all checkout methods even WPP. I know of a number of people using it with that and no problems.

Because of that I would have to lean toward that issue being something in the way you have the "return" for WPP setup. Maybe?

26 Jan 2010, 11:11 PM
#1146
jamesmcl515 avatar

jamesmcl515

New Zenner

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

Re: Simple Google Analytics - Support

Hi Eric,

Once again, thank you for excellent zen cart products, information, and support of the community. I would recommend that all check out your website that want to grow their online sales with Zen Cart and eCommerce in general..

Quick question - we had a transaction yesterday that was over $1,000 on our website (our AOV is around $125 so this was great). But we didn't see it come through in Google Analytics Ecommerce Transactions (we were curious about the source of the order).

Is there a bug that does not include transactions over $1,000.00? I have seen issues with code and commas, etc. in the past so just curious if you have tested this with transactions over $1,000.

Thanks so much!
James

27 Jan 2010, 12:44 PM
#1147
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

James,

Thanks for the kind words. I appreciate it and enjoy helping store owners increase their sales.

As far as Google Analytics goes, no, there is no bug that limits transaction amount.

There are instances however when Google will not track a transaction. You see, GA is a JavaScript based tracking system (as are most). Because of this, it can only track users that have JS turned on in their browsers. If a user has JS disabled (and yes, many do this) then no matter what you do, the transaction will not track (in fact that visitor will not show in analytics at all.)

There is no work around for this, just the way JS tracking works.

The other reasons a transaction might not be tracked is because the user paid with a system like PayPal (for example) and they were not returned to the originating website to trigger the ecommerce sale in analytics.

This can happen it return urls are net set correctly on the paypal end or if you require the user to click a button (like "return to merchant") after the sale. If the user does not click the button, the transaction will not trigger in analytics.

This is the case with any payment system which has this type of method of paying (i.e. Worldpay is another that has trouble tracking GA transactions.)

Let me know if that helps.

28 Jan 2010, 2:57 AM
#1148
jamesmcl515 avatar

jamesmcl515

New Zenner

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

Re: Simple Google Analytics - Support

Hi Eric,

This transaction did take place on PayPal so this seems to be the case that they didn't come back to the site after finalizing the payment.

We recently just launched an AdWords program too so I hope this wasn't from AdWords. We are really trying to prove the ROI of AdWords to make sure we can allocate some more budget for it.

Nonetheless, thanks so much! The tools you have provided have made us so much more empowered to make smarter decisions and invest in the right online marketing channels. Thanks again!

Highest Regards,
James

28 Jan 2010, 2:23 PM
#1149
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

Great James. That's what I suspected. Keep going with those AdWords, with the right tools at your disposal you should be able to really develop a campaign that generates a wonderful ROI.

I run a number of paid search programs (as an outsourced paid search manager) for quite a number of companies and have been able to generate ROIs on paid search of over 800% (no, that's not a typo).

It all comes down to the right tracking tools, and ability to interpret what they are telling you then allocate funds in the direction that provides the biggest return. Finding the right keywords (and a number of "hidden" ones) helps as well. LOL.

Good luck!

10 Feb 2010, 7:43 PM
#1150
llynix avatar

llynix

Zen Follower

Join Date:
Jul 2009
Location:
Texas
Posts:
210
Plugin Contributions:
0

Re: Simple Google Analytics - Support

File includes/templates/YOURTEMPLATE/google_analytics/google_analytics.php
Line 72

echo "<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(\"" . GOOGLE_ANALYTICS_UACCT . "\");
pageTracker._initData();
";
if (in_array($current_page_base,explode(",",'page_not_found')) ) {
  echo 'pageTracker._trackPageview("/404.html?page=" + document.location.pathname + document.location.search + "&from=" + document.referrer);';
} else echo 'pageTracker._trackPageview();';

Just a quick hack to get 404 tracking done. This only works with the new code.

19 Feb 2010, 2:48 AM
#1151
litepockets avatar

litepockets

Zen Follower

Join Date:
Apr 2008
Location:
Covington, Washington, United States
Posts:
206
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I'm having trouble with my analytics account all of the sudden with one of my domains. For some reason this morning it just stopped reporting hits altogether with the exception of a single URL (mydomain.com/store/index.htm). /store is my zen root directory of course and index.htm is the default main page. So ONLY the pageviews for that URL are being reported. I have absolutely NO idea why this suddenly happened after several months of steady reporting.

Not sure if this is a ga problem or zen cart problem? Another zc store I have is working fine with it's GA reporting. I will post the Domain for your troubleshooting help, but PLEASE NOTE, this site has adult content, so while I appreciate anyones willingness to help, please do not go to site if you are offended by such material.

Site is cupidsbedroom.com

thank you!
Posted via Mobile Device

19 Feb 2010, 8:47 AM
#1152
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

Re: Simple Google Analytics - Support

get pricked! hahahaha... classic!

zen cart gets horny... far more interesting tools than the work tools i sell!

19 Feb 2010, 12:45 PM
#1153
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

litepockets:

I'm having trouble with my analytics account all of the sudden with one of my domains. For some reason this morning it just stopped reporting hits altogether with the exception of a single URL (mydomain.com/store/index.htm). /store is my zen root directory of course and index.htm is the default main page. So ONLY the pageviews for that URL are being reported. I have absolutely NO idea why this suddenly happened after several months of steady reporting.

Not sure if this is a ga problem or zen cart problem? Another zc store I have is working fine with it's GA reporting. I will post the Domain for your troubleshooting help, but PLEASE NOTE, this site has adult content, so while I appreciate anyones willingness to help, please do not go to site if you are offended by such material.

Site is cupidsbedroom.com

thank you!
Posted via Mobile Device

According to what I see it looks like analytics is installed ok.)

This leads me to believe something changed on your Google Analytics end (again I say this because the code looks like it is still in place to track on the site.)

27 Feb 2010, 6:42 PM
#1154
webpdq avatar

webpdq

New Zenner

Join Date:
Apr 2009
Posts:
18
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I have set up the module but don't know about the value for
your AdWords Conversion Tracking ID Number below. Can someone explain this? Is it the same as the Ua number or something different.

28 Feb 2010, 2:54 PM
#1155
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

webpdq:

I have set up the module but don't know about the value for
your AdWords Conversion Tracking ID Number below. Can someone explain this? Is it the same as the Ua number or something different.

This number is different from the Google Analytics "UA" tracking code.

The Conversion Tracking number is for tracking paid search conversion (traffic sent from paid search). You get this number if you turn on conversion tracking from within Google Adwords.

If you do not run paid search, or you do not want to track paid search effectiveness, you do not need this number.

8 Mar 2010, 3:40 PM
#1156
janiceng avatar

janiceng

New Zenner

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

Re: Simple Google Analytics - Support

Hi, I have just downloaded the Simple Google Analytics 1.2.2. Before I install it, I am running through the readme file. In step 4, it says

  1. If this is a BRAND NEW install, you will need to update your database with the googleanalytics.sql file.
    If you are upgrading (from the oldest 1.0 version), you will need to use the SQL file that is called googleanalytics-UPGRADE.sql
    In your site admin go to Tools->Install Sql Patches and apply the googleanalytics.sql patch included.

However, I can't find the googleanalytics.sql patch. Where am I supposed to get it?

Is the googleanalytics.sql = googleanalytics-INSTALL.sql in the Simple Google Analytics 1.2.2 folder?

8 Mar 2010, 4:52 PM
#1157
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

JaniceNG:

Is the googleanalytics.sql = googleanalytics-INSTALL.sql in the Simple Google Analytics 1.2.2 folder?Yes......

16 Mar 2010, 5:36 PM
#1158
kblckmr avatar

kblckmr

New Zenner

Join Date:
May 2009
Posts:
9
Plugin Contributions:
0

Re: Simple Google Analytics - Support

I need help with this installation. I am using smart backgrounds and am wondering if there is a conflict with this mod or if I just installed it incorrectly.

My site is https://www.residentpress.com

Thanks.
Kelly

16 Mar 2010, 7:49 PM
#1159
econcepts avatar

econcepts

Totally Zenned

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

Re: Simple Google Analytics - Support

There should be no conflict with Smart Backgrounds. They should work together providing you put the code in the right spots.

I went to your site and the tracking is not showing. I have not used the Smart Backgrounds mod, but if it alters the Footer in any way, that might be your problem. I have seen with affiliate programs where the footer override causes the code not to show and correction of this is an easy fix.

In your case it may be that as well (again, never used the Smart Pages mod but this would likely be true if the footer file was altered.)

The other thing you might want to check is if you completed step 3 of the install read me. There is some code that needs to be pasted into the tpl_main_page.php file in order for the Google tracking to be added to the site.

Let me know if any of this helps or not and we'll work through it to make sure it is working for you.

17 Mar 2010, 3:11 AM
#1160
kblckmr avatar

kblckmr

New Zenner

Join Date:
May 2009
Posts:
9
Plugin Contributions:
0

Re: Simple Google Analytics - Support

Eric,
Thank you for your quick response. Here's my copy of the main_page. I think I have all your edits correct.

<?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 $ * Modified for Smart Backgrounds v2.1.1 by Glenn Herbert (gjh42) 2009-01-11 */ // the following IF statement can be duplicated/modified as needed to set additional flags if ($this_is_home_page) { $flag_disable_left = true; } if ($this_is_home_page) { $flag_disable_right = true; } if (in_array($current_page_base,explode(",",'login,shopping_cart,checkout_shipping,shippinginfo,privacy,conditions,account,contact_us,checkout_payment,checkout_confirmation,tell_a_friend')) ) { $flag_disable_right = true; } if (in_array($current_page_base,explode(",",'login,contact_us,account,shopping_cart,checkout_shipping,shippinginfo,privacy,conditions,checkout_payment,checkout_confirmation,tell_a_friend')) ) { $flag_disable_left = 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.'"'; ?>> <!--Smart Backgrounds--> <?php $smart_image = ''; if ($current_page_base == 'index' or $current_page_base == 'product_info') { //add _ and cPath to filename only if individual cat image exists, else add _ and top cat id to bg filename only if top cat image exists $smart_image = file_exists(DIR_WS_TEMPLATE_IMAGES . 'smartbg_' . $_GET[cPath] . '.gif')?'_' . $_GET[cPath]:(file_exists(DIR_WS_TEMPLATE_IMAGES . 'smartbg_' . (int)$_GET[cPath] . '.gif')?'_' . (int)$_GET[cPath]:''); } elseif ($current_page_base == 'page') { //add _page and ez-page id to filename only if ez-page id image exists, else add _page to filename only if general ez-page image exists $smart_image = file_exists(DIR_WS_TEMPLATE_IMAGES . 'smartbg_page' . $_GET[id] . '.gif')?'_page' . $_GET[id]:(file_exists(DIR_WS_TEMPLATE_IMAGES . 'smartbg_page.gif')?'_page':''); } else { //add _ and page base to filename only if page image exists $smart_image = file_exists(DIR_WS_TEMPLATE_IMAGES . 'smartbg_' . $current_page_base . '.gif')?'_' . $current_page_base:''; //default/home page class will be just .smartBG, and filename smartbg.gif }?> <!--/Smart Backgrounds--> <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> <!-- 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 (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"> <?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>