Community Add-Ons
| Maintainers: | equilla |
Supertracker v3.1a
for osCommerce Online Merchant v2.2
WHAT IT IS FOR
==============
The supertracker contrib is designed to give you more information on which to base marketing decisions for your osCommerce store. I created the supertracker contrib because, although there were some contribs around that provide a more detailed who's online tool, nothing quite gave me the information I was after.
Here is the information that is recorded for each customer arriving at your site:
referring page
referring query (so we can get at keywords used if search engine)
landing page (including query string - important for Pay Per Click campaign assessment)
arrival time
exit time
exit page
IP address
country code / country name
customer's cart contents
Number of clicks on the site (accuracy is not 100% as this is recorded based on session ID)
Categories Viewed
Products viewed
Customer ID (if signed in)
Order ID (if order was placed)
Were products added to cart (true/false)
Did the customer Checkout (true/false)
This is a full install package as the existing contribution mysteriously vanished a week or so ago.
Existing users are strongly advised to upgrade their installations - there is a just one file to replace if you are running the previous version.
Legend:
Download
Report
Short bug fix for Supertracker 3.4.1 if you are also using PDF Customer Invoice 1.1 (12 March 2008).
Using both of these contributions breaks PDF Customer Invoice. You will see an error message like below when a customer attempts to view their PDF invoice:
FPDF error: Some data has already been output, can't send PDF file
Simple fix. Took me some time to narrow it down, so hoping to save others the aggravation. :)
The problem is that Supertracker inserts data into the HTML stream before the PDF completes, which basically interrupts the PDF, causing it to abort. If you use any sort of FPDF application, I suspect you may run into this problem. The solution is to skip use of Supertracker when user is viewing a PHP account related form.
-----------
open /includes/application_top.php
from:
// Supertracker
require(DIR_WS_CLASSES . 'supertracker.php');
$tracker = new supertracker;
$tracker->update();
}
TO:
// Supertracker
if (strpos(basename($PHP_SELF),'account') !== false) {
require(DIR_WS_CLASSES . 'supertracker.php');
$tracker = new supertracker;
$tracker->update();
}
