Products     Magento Extension     PCI-Shopping-Carts     Templates       CRELoaded     WordPress Modules     osCommerce Modules       osCommerce Addons       osCommerce Features       osCommerce Management       Payment Modules     CRELoaded Modules       CRE Loaded Addons       CRE Loaded Features       CRE Loaded Management       Payment Modules       CRELoaded Services
Free Stuff
Customization
Templates
Compare Products
You have no items to compare.
Affiliate Info
Affiliate Program FAQ
Affiliate Log In
Recent Orders
Hot Keywords: Order Notification, Order Search, Coupon, Flash Board, Compare, Floating Message, Tracking, Moneris, RSS, Visitor Filter

  osCommerce Google Analytics module

The following osCommerce contribution is a free Opensource code originated from official osCommerce website and provided for your reference only, you may download the original contribution file(s) and install it on your own; or you may request a Paid Installation Service from Agents Of Power; Agents Of Power does the "AS IS" installation on your website, we do not guarantee it will work properly on your website. Extra Paid service is available for repairing the problem from the original contribution or from your website.
osCommerce Google Analytics module V2.2 for E-commerce

Full package

Update by Nick Weisser and portafixe included!

Works with RC2a + MS2
The code was putting a coma instead of a dot for values over 1000$. Analytic was not tracking those sales. analytics.php file with fix :

if ($totals['class'] == 'ot_total') {
$analytics_total = number_format($totals['value'], 2, '.', '');
$total_flag = 'true';
} else if ($totals['class'] == 'ot_tax') {
$analytics_tax = number_format($totals['value'], 2, '.', '');
$tax_flag = 'true';
} else if ($totals['class'] == 'ot_shipping') {
$analytics_shipping = number_format($totals['value'], 2, '.', '');
$shipping_flag = 'true';
}
What does it does. More statistics than you could every want about your site and sales. You have to create an adword account (no need to spend money) with google and from there create your analitycs account. You won’t regret it..

Also you might want to add the vat plugin below if you use that.

Decapper
http://www.pricelessweddings.com.au
If your store uses VAT, you will have to change the $items_query and $item_string like so (based on tomashesseling's version from 15 Jan 2008):

$items_query = tep_db_query("select products_id, products_model, products_name, final_price, products_tax, products_quantity from " . TABLE_ORDERS_PRODUCTS . " where orders_id = '" . $order_id . "' order by products_name");
while ($items = tep_db_fetch_array($items_query)) {
$category_query = tep_db_query("select p2c.categories_id, cd.categories_name from " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where p2c.products_id = '" . $items['products_id'] . "' AND cd.categories_id = p2c.categories_id AND cd.language_id = '" . (int)$languages_id . "'");
$category = tep_db_fetch_array($category_query);

$item_string .= "pageTracker._addItem(n"" . $order_id . "","" . $items['products_id'] . "","" . $items['products_name'] . "","" . $category['categories_name'] . "","" . number_format(tep_add_tax($items['final_price'], $items['products_tax']), 2) . "","" . $items['products_quantity'] . "");n";
}
Google Analytics + E-commerce module.

   Posted on: 09/05/2008     See contribution details Request Installation with Paid service