How do I set up Customer Referral Tracking?


  • Zen Cart has referral-tracking functionality built-in, using coupon codes. This can be ideal for tracking commissions for specific salespeople, crowdsourcing, campaign tracking, fundraising, etc.
  • a) create a coupon
  • b) give that coupon code it to your friend/salesperson/campaign/fundraiser/etc
  • c) they give it to their friend/mailinglist/fundraising-customer, who buys
  • d) the coupon code is stored as the referral source and tied to that customer when they place their order
  • Repeat steps a-c for the rest of your friends, and step d takes care of the rest.
  • Turn the whole thing on via Admin->Configuration->Customer Details->Customers Referral Status = 1:
  • Customers Referral Status
  • Customers Referral Code is created from
  • 0= Off
  • 1= 1st Discount Coupon Code used
  • 2= Customer can add during create account or edit if blank
  • NOTE: Once the Customers Referral Code has been set it can only be changed in the Admin->Customers screen. 
  • Tracking the Results
  • In the Admin->Reports menu there is a Customers Referral Tracking report which shows you the sales made to customers using those coupons.
  • Related Topics:
  • Affiliate tracking would probably be handled differently by engaging a third-party software tool, using a method similar to what is described in the following articles:
  • How-do-i-add-affiliate-tracking-pixels-to-my-site?
  • and
  • Integrating-Sales-Analytics-and-Affiliates-Tools
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I find out what version of Zen Cart or PHP or MySQL I'm using?

To find out what version of Zen Cart or PHP or MySQL you are currently using, you can simply go...

Getting a BLANK PAGE? Here's the answer ...

If you're getting a blank page when trying to browse to a certain page on your store, or after...

What's New in the Upcoming v2.0 release?

Database Abstraction Layer and Sql CacheThe abstraction layer has been re-factored to include a...

Image Preparation - How-to

I've seen several posts where people obviously aren't quite sure about the best way to set up...

Some tips to modify stylesheet

1. Download Web Developer extension for FireFox here2. Install & restart FireFox. You should...