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.