The player referral feature allows customers to specify who referred them to your webstore. You have the option to set commands that will be executed upon a successful purchase to reward the referrer. This is a great way to entice players to advertise your webstore and increase sales.

How To Setup Player Referrals

  1. Go to Engagement.
  2. Go to Player Referrals.
  3. Configure the feature via the following options:

Options

  1. Minimum Total Spend - This is the minimum total spend of the referrer across your webstore before referral rewards are given.
  2. Maximum Referral Rewards - The maximum amount of referral rewards that a player can receive per day.
  3. Minimum Basket Value - This is the minimum value of the basket before the option of being able to specify who referred the player is shown.
  4. First Purchase Only - Only allow a player to specify who referred them if this is their first ever purchase on your webstore.

Reward Referrer Commands

These are the commands that will execute for the referrer once a payment has been completed. For example if the player under the username Notch referred the player Steve, these commands will execute for Notch. Variables such as {name} and {id} will reference the username Notch.

Custom Template Changes

If you have a custom template on your webstore then you will need to make two minor changes in order to enable player referrals.

1. In checkout.html, replace the line that reads <h4>{{ __("Purchase") }}</h4>, with the following.

<h4>{{ __("Purchase") }} {% if checkout.playerReferrals %}<a href="javascript::void(0);" class="referral-button pull-right toggle-modal" data-remote="/checkout/playerReferral">Did someone refer you?</a>{% endif %}</h4>

2. In subscribe.html, replace the line that reads <h4>{{ __("Subscribe") }}</h4>, with the following.

<h4>{{ __("Subscribe") }} {% if checkout.playerReferrals %}<a href="javascript::void(0);" class="referral-button pull-right toggle-modal" data-remote="/checkout/playerReferral">Did someone refer you?</a>{% endif %}</h4>

Did this answer your question?