Community Add-Ons

Maintainers: Soundman01
Add file to this package
Top » Other

Referring site tracker
for osCommerce Online Merchant v2.2

This uses _SERVER["HTTP_REFERER"] code to collect the referring site page address and record it in the session information. When a person creates an account the site address is stored in their account information, and when an order is placed it places it in the order info too. It saves the original reference forever, but also has a second reference recorded on login. The point of the second is if your customer is searching for another product and ends up on your site a second time, it will record where they came from again. The login link will change with each subsequent log in.
You can view the info under the admin customers and admin orders. The customers will never see any sign of this, and never know you are collecting the info from them.
This is a good way to track referrers, although there are some issues. If a customer does not create an account during the first session (bookmark and come back later) the info will be lost. But if they create an account and bookmark and purchase later, you’re good because the info has already been recorded. I’ve also heard that some sites will block this function, but time will tell if that is an issue. All in all it’s worth collecting the info to me.

Legend:  Download   Report
Expand All / Collapse All
1052 Error with SPPC addon stunami 12 Dec 2007  

If you have added the SPPC addon, you will receive a 1052 Ambiguous error when going to yoursite.com/admin/orders.php. this is because SPPC Joins the Orders table with the Customers table and both reference the field name: orig_reference

To correct the error, back up catalogadminincludesclassesorder.php and then replace with the attached file...

Referring site tracker Soundman01 15 Sep 2006