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 minutesSteps
Create Your Campaign
Go to Apps → Referbro → Campaign Settings and configure:
Configure the widget text for the Thank You page context:
Click Save.
| Field | Recommended Value |
|---|---|
| Campaign Name | Thank You Page Referral |
| Discount Strategy | Fixed Amount |
| Discount Amount | 150 (₹150 off for the friend) |
| Minimum Subtotal | 0 (no minimum) |
| Referrer Reward | 150 |
| Referrer Reward Type | Cashback |
| Reward Return Period | 7 days |
| Field | Example |
|---|---|
| First Line | ₹150 off for your friends |
| Second Line | ₹150 in your pocket |
| Share Message | Loved my purchase! Use my link for ₹150 off your first order 👇 |
Add the Widget to the Thank You Page
- Go to Shopify Admin → Settings → Checkout → Customize (or Online Store → Themes → Customize → select the Checkout page).
- Navigate to the Thank You page.
- Add the Referbro Widget block.
- Click Save.
Also add the widget to the Order Status page — customers who return to check their order will see the referral prompt again.
Set Up the Post-Purchase WhatsApp Message
This sends an automated WhatsApp message right after the order, reinforcing the Thank You page prompt.
- Go to Apps → Referbro → WhatsApp Settings.
- Find the Post-Purchase Nudge template slot (
orderConfig). - Enter your approved template ID and parameters:
- Toggle the template to Enabled.
Test the Flow
- Place a test order on your store.
- On the Thank You page, verify:
- The Referbro widget appears with your referral code
- Clicking “Share on WhatsApp” opens a pre-filled message
- Check your phone — you should receive the Post-Purchase WhatsApp message.
- Go to Apps → Referbro → Analytics and confirm:
- A
LINK_GENERATEDevent appears - A
WHATSAPP_SENTevent appears (if WhatsApp is configured)
- A
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 Codeoption — Enable this in Campaign Settings 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.
Related Pages
- Campaign Management — Full reference for all campaign fields
- Checkout Extensions — Widget placement details
- WhatsApp Touchpoints — All 8 template trigger points