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