Skip to main content

Overview

The Thank You page (Order Status page) is the highest-converting placement for referral prompts — customers are happiest right after a purchase. This recipe walks you through setting up a campaign that captures that moment with a referral widget and an automated WhatsApp message. What you’ll build: Time to complete: ~10 minutes

Steps

1

Create Your Campaign

Go to Apps → Referbro → Campaigns, click Create Campaign, and configure:
Why Fixed Amount? For Thank You page campaigns, fixed discounts feel more tangible and are easier for referrers to communicate — “Get ₹150 off!” vs “Get some % off.”
Configure the widget text for the Thank You page context:Click Save.
2

Add the Widget to the Thank You Page

  1. Go to Shopify Admin → Settings → Checkout → Customize (or Online Store → Themes → Customize → select the Checkout page).
  2. Navigate to the Thank You page.
  3. Add the Referbro Widget block.
  4. Click Save.
Also add the widget to the Order Status page — customers who return to check their order will see the referral prompt again.
3

Set Up the Post-Purchase WhatsApp Message

This sends an automated WhatsApp message right after the order, reinforcing the Thank You page prompt.
  1. Go to Apps → Referbro → WhatsApp Settings.
  2. Find the Order Confirmation template slot.
  3. Enter your approved template ID and parameters:
  1. Toggle the template to Enabled.
You must create and get this template approved on your WhatsApp provider before mapping it here. See the Provider Setup Guide for instructions.
4

Test the Flow

  1. Place a test order on your store.
  2. On the Thank You page, verify:
    • The Referbro widget appears with your referral code
    • Clicking “Share on WhatsApp” opens a pre-filled message
  3. Check your phone — you should receive the Post-Purchase WhatsApp message.
  4. Go to Apps → Referbro → Analytics and confirm:
    • A LINK_GENERATED event appears
    • A WHATSAPP_SENT event appears (if WhatsApp is configured)

Best Practices

  • Keep the message short — The Thank You page already shows the widget, so the WhatsApp message is a reinforcement, not the primary touchpoint.
  • Use the Allow Without Code option — Enable this in Campaign Configuration so referrers earn rewards even if their friend forgets to apply the discount code at checkout. The referral link tracking is usually sufficient.
  • Add an expiry feel — Use language like “Share in the next 24 hours” (even if there’s no actual expiry) to create urgency.