Title: Automatically generated unique referral based codes
Last modified: August 20, 2016

---

# Automatically generated unique referral based codes

 *  [Cubmaster107](https://wordpress.org/support/users/cubmaster107/)
 * (@cubmaster107)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/automatically-generated-unique-referral-based-codes/)
 * I am working on developing a referral based site where any visitor can select
   from various categories of professional partners and view a short profile of 
   the services they offer. Once the user makes a selection of the professional 
   they wish to use they can click on a button, fill out a form and a unique coupon
   code will be generated and emailed to them for use with that selected professional.
   Each code needs to be unique and trackable. It would be highly desirable if the
   form could populate or integrate with a CRM system or, at the very least, export
   out as a CSV or similar file type.
 * I have yet to find a plugin or theme which offers this functionality or something
   that could be customized to do this. The closest I’ve come to what I’m thinking
   of is the AgentPress child theme using StudioPress’s Genesis framework. Any ideas
   on how I could accomplish the above would be most helpful.
 * Thank you.

The topic ‘Automatically generated unique referral based codes’ is closed to new
replies.

## Tags

 * [coupon code](https://wordpress.org/support/topic-tag/coupon-code/)

 * 0 replies
 * 1 participant
 * Last reply from: [Cubmaster107](https://wordpress.org/support/users/cubmaster107/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/automatically-generated-unique-referral-based-codes/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
