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
1
Create Your Campaign
Go to Apps → Referbro → Campaigns, click Create Campaign, and configure:
Configure the widget text for the Thank You page context:
Click Save.
2
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.
3
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 Order Confirmation template slot.
- Enter your approved template ID and parameters:
- Toggle the template to Enabled.
4
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 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.
Related Pages
- Campaign Management — Full reference for all campaign fields
- Checkout Extensions — Widget placement details
- WhatsApp Touchpoints — Template trigger points, including Cashback Payout Link when Razorpay Payouts is enabled