Use case: Friends Refer Friends program

Business type: any e-commerce


Referrals drive revenue. That’s a no-brainer. The hard thing though is to execute a referral program that gives you the most out of this marketing activity without a significant investment of time and resources.

We put together a guide to help you launch a reliable, data-driven referral program with Voucherify. In this guide we share an implementation concept of “friends refer friends” program. The idea behind is straight-forward - you give your customer a reward provided that he or she refers your service through a unique coupon code. What’s more, a person who’s given the code gets a discount as well.

How to achieve that with Voucherify?

1. Defining a promo code

The very first step is to create a unique coupon code and to connect it to a particular customer. To do so you should use Create Voucher endpoint. The key thing here is to store in metadata a customer identifier and to increase the limit of redemptions so that a customer can give away more referrals.

Tip: you can fill in a “category” to facilitate reporting, see 3rd paragraph.

   "category": "FRF",
   "type": "DISCOUNT_VOUCHER",
   "discount": {
       "percent_off": 25.0,
       "type": "PERCENT"
   "redemption": {
       "quantity": "null"  // unlimited redemptions
   "metadata": {
       "customer_id":"customer_id", // this is how you identify your customer
       "email":"" // optional email address for convenience

Once you’ve sent a Create Voucher request, Voucherify will generate, store and finally return a unique coupon code. This can be presented to the customer directly in your app or sent through email.  

2. Monitoring redemptions

Assuming that you sent the code to the customer, you can expect them to give it away to friends. When a friend purchases your goods and redeems the coupon at the same time you can immediately see it in the code Redemptions section.

Important: In order to get this right you have to activate customer tracking when invoking the redeem method or you should set a tracking id when you validate the code in the funnel.

E.g. in this picture you can notice that 3 customers have claimed this code so far.

3. Analytics

By the end of a day you want to find out your best promoters. With Voucherify you have it at your fingertips. Just call List Vouchers endpoint providing your category as a parameter (e.g. “FRF from the example above) and sort elements by redemptions amount. As you remember each voucher is connected to a individual customer. 

That’s it. Now you can come up with a reward for your power customers.

4. Scaling and maintenance

You can programmatically assign as many referral vouchers as you want. All of them can be reviewed in our admin console in Vouchers section. Again, when creating a new, personal code, remember to put it to a specific category so that you can filter it out seamlessly down the road. What’s more, you can disable the code that you suspect of being fraudulent or remove it if it’s not longer needed anytime.

Last but not least, with Voucherify you can create many FRF campaigns and make them active for different time windows. It boils down to providing a new category and setting the start and expiration date when creating a new Voucher to be assigned to your customers.