Referral marketing is a method of promoting products or services to new customers through referrals from customers who have already signed up for your service.
Friendbuy is a referral marketing tool that gets you more customers by providing referrals. Think of it as word-of-mouth marketing for your products and services.
In a refer-a-friend campaign, A REFERRER/ADVOCATE recommends a product/service to a friend inviting them to buy.
Why Referral Campaigns
People seek recommendations from friends and family. Recommendations are reinforced by widespread usage of social media. Customers are prompted to enter a dual incentive (money, product or service, loyalty points, early access, swag etc.). Merchants can track the shares, leverage the best platforms for better outreach and build brand awareness.
Why Chargebee - Friendbuy
The Chargebee - Friendbuy integration helps you track referral purchases and add promotional credits to the Referrer's customer account automatically.
Chargebee notifies all the purchases made by end customers to Friendbuy, along with the customer name, email and purchase amount. Friendbuy detects the referral conversion automatically. Friendbuy applies the configured reward as promotional credits to the referrer's account in Chargebee.
Additionally, the integration provides out of the box validation to ensure that free or trial subscriptions are not cancelled before transitioning to a paid account.
To perform this validation, Friendbuy sets all eligible advocate rewards to pending for 30 days to accommodate trial periods. On day 31, Friendbuy sends a reward notification to Chargebee so that their system can check that the referred friend's account is active and their subscription is paid. The reward is applied to the advocate only after Chargebee confirms that the subscription is valid and active.
Begin with connecting your Chargebee account to Friendbuy and setting up the rewards you would like to offer customers for a successful referral.
Step 1: Configure your Chargebee credentials in Friendbuy
On the integration page, you will find fields to enter your site name and Chargebee API key. This information will allow Friendbuy to safely connect with your Chargebee site. The link will be fully functional only after you enter your Friendbuy credentials in Chargebee as well (covered in the next section).
Step 2: Set up rewards in Friendbuy (Configure your Friendbuy Widget)
In Friendbuy, you can set up a referral widget which will appear on your thank you page (or Chargebee's thank you page, if you using Chargebee's hosted pages) after checkout. Here is a screenshot for reference:
This widget will equip your existing customers (or advocates) with a unique URL that they can share with friends and family. A sign-up to a paid subscription that occurs from a unique URL counts as a successful referral. You can reward successful referrals with cash or Chargebee credit.
To configure your referral widget, follow these steps:
With your setup in Friendbuy complete, login to your Chargebee site to complete the Chargebee - Friendbuy integration. Follow these steps to configure Friendbuy in Chargebee:
Enter the following information into the Friendbuy page:
Your Friendbuy site ID: To find your Friendbuy site ID, navigate to Settings > Integration Code in your Friendbuy site. Your site ID is embedded with the JS code as shown in the screenshot below:
Your Friendbuy Access Key and Secret Key: Navigate to Settings > Configurations > API Access in your Friendbuy site to find your Access Key and your Secret Key
If you are using Chargebee's hosted Thank you page and would like your referral widget to appear on it after a customer completes their checkout, enable the Post Purchase Referral Widget Display option. If you enable this option, you will have to provide the following information as well:
Your Friendbuy Widget ID: To find your Widget ID, navigate to Referral and Sharing > Widgets > [Name of the Widget] in your Friendbuy site. Click on the widget installation code option. Your widget ID is embedded with the JS code as shown in the screenshot below:
Would you like the widget to appear when checkout out all or select plans?
Finally, you can choose if you would like the referral widget to appear on every checkout for all of your plans or only for select ones.
If you are using your own checkout pages, and would like to display the referral widget on your Thank you page after checkout, you will have to manually paste the widget JS and the purchase order notification JS in your checkout code to have it appear. Find out more here.
If a plan includes Trial period, will the Referrer/advocate receive the reward on Trial sign-up?
An added advantage to using Friendbuy and Chargebee is that the integration makes space for trial periods with a validation check (after the trial is over) to ensure that free or trial subscriptions are not cancelled before transitioning to a paid account.
To perform this validation, Friendbuy sets all eligible advocate rewards to pending for 30 days to accommodate trial periods. On day 31, Friendbuy sends a reward notification to Chargebee so that their system can check that the referred friend's account is active and their subscription is paid. The reward is applied to the advocate only after Chargebee confirms that the subscription is valid and active.
While the delay period is set to 30 days by default, you can configure it to suit the specific duration of your trial period.
The current flow explains how a new customer can sign up and share the Referral URL with their friends. How should I (as a merchant) share referral links with my existing customers?
You can get your existing customers to sign up for the referral program by displaying your referral widget within your website. Find out more here.
I'm using multiple Chargebee sites, how should I manage the referral campaign across accounts.
If you have multiple sites in Chargebee, then you should sign up for multiple Friendbuy accounts. You can then perform the configuration process for each Chargebee site.
What measures are put in place to detect fraudulent signups?
Friendbuy has in-built fraud detection measures to track and prevent deceitful activities. Read more about Friendbuy's fraud prevention measures.
I use my own ‘Thank you' page, and my referrals are not tracked in my Friendbuy account. What do I do?
When you use your own ‘Thank You' page, you have to include the following tracking JS in your ‘Thank You' page to track the Friendbuy orders:
<script> window['friendbuy'] = window['friendbuy'] || [];
window['friendbuy'].push(['site', '{{fbuy_site_id}}']);
window['friendbuy'].push(['track', 'customer',
{ id: '{{customer.id}}',
chargebee_customer_id: '{{customer.id}}',
email: '{{customer.email}}',
first_name: '{{customer.first_name}}',
last_name: '{{customer.last_name}}'
} ]);
window['friendbuy'].push(['track', 'order',
{ id: '{{subscription.id}}',
amount: '{{invoice.purchase_amount}}',
email: '{{customer.email}}'
} ]);
(function (f, r, n, d, b, y) { b = f.createElement(r), y = f.getElementsByTagName(r)[0];b.async = 1;b.src = n;y.parentNode.insertBefore(b, y);})(document, 'script', '//djnf6e5yyirys.cloudfront.net/js/friendbuy.min.js'); </script>
The placeholders in the above JS need to be replaced with the actual values of the customer conversion details.
fbuy_site_id: Friendbuy Site ID (that can be found in the Integration code section in Friendbuy)
customer.id: Chargebee customer ID
customer.email: Chargebee customer email
subscription.id: Chargebee subscription ID
customer.first_name: Customer's first name
customer.last_name: Customer's last name
invoice.purchase_amount: Invoice purchase amount
The above information can be retrieved using the merge vars in the redirect URL.
However, if you're using hosted page APIs, the above information can be found by calling Retrieve a hosted page API.
How do I track signups and conversions from Chargebee's Thank you page?
In case you are using Chargebee's Thank you page you can easily track signups and conversions.
To enable this you will have to add the data-cb-friendbuy-enabled
tag in the Header Script or pass enableFriendbuyTracking
as true
while initializing Chargebee.init()
.
Here's an example:
<script src="https://js.chargebee.com/v2/chargebee.js" data-cb-friendbuy-enabled="true">