Skip to main content
After installing the app, follow these steps to configure your referral program.

1. Campaign Settings

Navigate to Campaign Settings (/app/campaign/manage) to define the rules of your referral program.

Configuration Fields

FieldDescriptionExample
Campaign NameInternal name for your campaignSummer Sale
Discount StrategyType of discount for the friendFixed Amount or Percentage
Discount AmountValue of the discount150
Referrer RewardAmount the referrer earns150
Minimum SubtotalMinimum cart value to apply discount0

Messaging Config

Customize the text displayed in widgets and shared messages:
  • Share Message: Refer a friend and get 150 off on your next order.
  • Post-offer First Line: off for your friends
  • Post-offer Second Line: in your pocket

2. WhatsApp Settings

Go to WhatsApp Settings (/app/whatsapp-settings) to enable sharing.
  1. Add Provider: Select your provider (e.g., Meta, Wabtune, Interakt).
  2. Enter Credentials:
    • API URL: Endpoint URL (e.g., https://graph.facebook.com/v22.0/.../messages)
    • API Token: Your provider’s access token.
    • Phone Number ID: (If required)

Template Configuration

Create templates for different triggers. Example for a “Referral Order” trigger: Template ID: reforder Template Parameters:
{
  "body.1": "Share your unique link, and your friends get ₹150 OFF! 👇",
  "body.2": "https://referbro.com?ref={{REFERRAL_CODE}}&source=order",
  "languageCode": "en",
  "button.url.0.1": "{{REFERRAL_CODE}}&source=order_cta"
}
Note: use {{REFERRAL_CODE}} as a placeholder to dynamically insert the user’s referral code.

3. Theme Integration

To display widgets on your storefront:
  1. Go to Online Store > Themes > Customize.
  2. Click App embeds section on the left.
  3. Enable Refer & Earn and Referral Received widgets.
  4. Save changes.

4. Checkout Widgets

For Plus stores or those with Checkout Extensibility:
  1. Navigate to the Checkout editor.
  2. Add the Referbro Widget to the Order Status page.
  3. Verify it loads correctly by placing a test order.