Getting Started with Friendbuy
Getting Started with Referral
Plan Your Referral Program Implementation Team
Merchant SDK Setup with Google Tag Manager
How to Join Your Team on Friendbuy
Best Practices
Referral Program Placements
Friendbuy Referral Emails
Driving Referral Program Awareness
Referral Offer Strategies
Limited-Time Offer Promotions in Referral
Referral Contests, Sweepstakes and Giveaways
A/B Testing Best Practices
Account Management
How can I invite my team to the Friendbuy platform?
Managing Your Account Settings
How to Set Up and Change Your Email Sender
Referral Campaign Management
Widgets
How to Create a New Theme
How to Make Changes to a Theme
Widget & Email Image Specifications
How to Apply Theme Changes to a Widget
How to update a Widget or Theme to the latest version
How to Set Up a Ribbon
How to Set Up an Advocate Landing Page
How to Set Up a Friend Landing Page
How to Set Up a Post-Purchase Overlay
How to Set Up an Account Page Widget
How to configure your Terms & Conditions
How to Test a Widget
How to Set up a Self-Referral Overlay
How to Set Up a Customer Dashboard
How to Personalize Your Widgets with the Advocate name
Character Count Recommendations
Campaign Settings
How to Create a New Referral Campaign
How to set up Referral Code Personalization for PURLs
Setting Up an Advocate Reward
Setting Up a Friend Incentive
Shopify Coupon Codes Integration
How to Run an A/B Test
How to Change Your Referral Offer
Setting Up Max Clicks for Referral Links
How to Generate Personalized URLs (PURLs) through Our API
How to Generate Personalized URLs (PURLs) for Advocates
How to Configure Tiered Rewards
How to Archive a Referral Campaign
How to Duplicate Your Campaign
How to Set Up a Redirect for Limited Time Campaigns
How to Create a Product Sharing Referral Campaign
How to set up Code Based Sharing
Code Banks
How to Create a New Code Bank
How to Generate Coupons in Bulk for Shopify
Setting Up Low Code Bank Notifications
How to Add Codes to an Existing Code Bank
Emails
Email Types for Your Referral Program
How to Add DNS Records for Email Sender Verification
How to Create, Edit, and Manage Emails
How to set up an Expiration Reminder email
How to Assign an Email to a Campaign
Referral Reward Store
Regional Restrictions: Block Your Referral Program in Specific Countries
Generate a QR Code for a Referral Link (API)
Store Credit Rewards for Referral (Shopify Integration)
Loyalty Program Management
Uploading Data From a Legacy Loyalty Program
How to Set Up Purchase Based Member Tiers Program
How to Set Up a Points-Based Member Tier Program
How to Set Up Points Redemption Options
How to Set Up Shopify Coupon Code Integration in a Loyalty Earning Event
How to Set Up a Loyalty Opt-in CTA
Understanding the Loyalty Analytics
Manually Reward Customers via CSV Upload
Rolling Points Expiration Reminder Emails
Manually Opt a Customer In or Out of Loyalty
Receipt Scanning for Loyalty
How to Display Loyalty Points on a Product Detail Page (PDP)
How to Create an Earning Event
Cashback Rewards for Loyalty (Shopify Integration)
How to Configure an Earning Event in your Loyalty Program
How to set up expiration for Points or Account Credit
How to Create, Edit, and Manage Loyalty Emails
Integrations
Attentive Integration
Send a Triggered Text to Prompt a Referral After a Positive Review with Attentive and Okendo
Automatically Prompt a Referral Post Purchase in Attentive
Send Referral Program Text Messages Through Attentive
How to Text Coupon Codes to Advocates using Attentive Journeys
Make it Easy for Advocates to Refer by Sending Their PURL Through SMS using Attentive Journeys
How to Send Advocates a Reminder Text to Redeem Their Coupon Codes through Attentive Journeys
How to Send Referred Friends a Reminder Text to Redeem Their Coupon Codes through Attentive Journeys
How to reward Loyalty Members for signing up for Attentive text messages and emails
How to Include a Customer's Loyalty Points Balance in an Attentive Text
How to Send a Coupon Code to a Referred Friend using Attentive Journeys
How To Enable the Attentive Integration
Braze Integration
How To Enable The Braze integration
How to Send One Time Emails with Referral Links through Braze
How to Send Referral Links Post Purchase Through Braze
How to Email Coupon Codes Through Braze to Advocates and Friends After They Are Distributed by Friendbuy
How to Promote Your Referral Program via SMS (Through Braze)
How to Trigger a Text to Remind Advocates to Redeem Referral Rewards (Through Braze)
How to Trigger a Text to Remind Referred Friends to Redeem Their Incentives (Through Braze)
How to Send Coupon Codes Through Braze SMS to Advocates and Friends After They Are Distributed by Friendbuy
How to Prompt a Referral After a Positive Review with Friendbuy and Trustpilot (via Braze)
Cordial Integration
DataGrail Integration
Ethyca Integration
Fivetran Integration
Iterable Integration
Trigger a Direct Mail Campaign to Drive Referral Program Awareness (Friendbuy x Iterable x Poplar)
How to Enable the Iterable Integration
How to Automatically Text Referred Friends their Coupon Code with Iterable Journeys
How to Prompt a Referral After a Positive Review with Friendbuy and Trustpilot (via Iterable)
Increase Referral Program Awareness with a Dedicated Email Blast through Iterable Journeys
Klaviyo Integration
How to send Referral Links Post Product Review (Yotpo + Klaviyo)
How to Prompt a Referral After a Positive Review with Friendbuy and Trustpilot (via Klaviyo)
How to send one time emails with referral links through Klaviyo
How to Send Referral Links Post Positive Product Review (Okendo + Klaviyo)
How to Send Referral Links Post Purchase through Klaviyo
How to Promote Your Referral Program via SMS (Through Klaviyo)
How to Enable the Klaviyo Integration
How to Distribute a Reward To Your Loyalty Members on Their Birthday (Through Klaviyo)
How to Send a Customer their Loyalty Points Balance Through Klaviyo
How to Email Coupon Codes Through Klaviyo to Advocates and Friends After They Are Distributed by Friendbuy
How to Reward Customers for Providing a Review Through Yotpo via Klaviyo Through Your Loyalty Program
How to Send Reminder Texts to Redeem Loyalty Rewards Through Klaviyo
Upgrading to Klaviyo OAuth with your Friendbuy Integration
How to Reward Customers for Providing a Review Through Okendo via Klaviyo Through Your Loyalty Program
How to Trigger a Text to Remind Advocates to Redeem Referral Rewards (Through Klaviyo)
How to Trigger a Text to Remind Referred Friends to Redeem their Incentives (Through Klaviyo)
How to Send Coupon Codes through Klaviyo SMS to Advocates and Friends After They are Distributed by Friendbuy
How to Reward Customers For Subscribing to Klaviyo Emails and Texts Through Your Loyalty Program
How to Segment Customers Based on Tier Status in Klaviyo
How to Reward Customers for Providing a Review Through Stamped via Klaviyo Through Your Loyalty Program
Kustomer integration
Ordergroove Integration
Recharge Integration
Friendbuy Recharge Integration: Renewal Milestone Rewards
How to Enable Friendbuy's integration with Recharge
Salesforce Commerce Cloud
Segment Integration
How to Integrate Friendbuy as a Segment Source
How to set up the Segment Web-Mode (Destination Actions) Integration
Shopify Integration
How to Enable the Shopify Integration
Shopify Checkout Extensibility
Checkout Extensibility - Shopify Pixel Tracking
Shopify Theme App Embed
How to Add the Friendbuy Referral Widget and Referral Dashboard to Shopify Customer Accounts
How Friendbuy Powers Loyalty Point Refunds with Shopify
How to Integrate Friendbuy with Shopify POS for Loyalty and Referral
Tango Card Integration
Tremendous Integration
Postscript Integration
How to Integrate Your Friendbuy Loyalty and Referral Program with Rise.ai to Issue Stackable Gift Cards and Account Credit
Friendbuy + Stripe Integration (Referral Program)
Configuring the Friendbuy MCP in Claude and ChatGPT
Fraud Prevention
How to Block a Referral Code
How to Block an Email Address
Fraud Settings and Business Rules
Configuring a Global Reward Allowance
Configuring a Referral Link Fallback URL
How the Similar Email Address Fraud Check Works
Customer Service Portal
How do I check the status of a referral?
Customer Profile Name Updates from Widget Submissions
How to Manually Add or Remove Credit / Points to a Customer's Account
Why was my customers reward rejected?
The Referred Friend put in their email address but didn’t get their coupon code. How do I find this?
Resend Reward Email
Override a Rejected or Pending reward
How to Search for a Customer Profile
How to Search for a Customer’s Referral Link in the Friendbuy Platform
How to create a Manual Referral
Why didn't the Advocate receive a Reward for a successful referral?
Reasons for Rejected Advocate Rewards and Friend Incentives
Analytics & Reports
Performance Overview
Reports
Mark purchases as "Test" to maintain clean reporting
Top Advocates Report
Scheduled Reports
Account Credit or Points Statement Export
Exporting Reports from Friendbuy
Email & SMS Report
Advocate Rewards Report
Purchases Report
Friend Incentives Report
Understanding the Codes Report
Dashboards
Referral Performance Analytics Dashboard
Advocate Referral Widget Source Tracking
Referral Analytics Dashboard Overview Metrics
Advocate Reward Email Analytics
Loyalty Email Analytics
Common FAQs
What does Fraud Protection do?
How to Access my Billing Information
What is a typical referral flow?
How to Apply Theme Changes to a Widget
Difficulty downloading reports after you receive an export email?
What are Fraud Checks, Tier Checks, and Rules Checks in the Rewards Report?
How do I change my password?
What is a self-referral redirect URL?
What do the Reward Statuses and Definitions mean?
How to Create a New Theme
What is a Friend Widget?
How are Conversions Tracked in Friendbuy?
A Glossary of Terms
How long is the Referred Friend attribution window
Common Scenarios and Troubleshooting Steps
Developer Documents
- All Categories
- Integrations
- Shopify Integration
- How to Add the Friendbuy Referral Widget and Referral Dashboard to Shopify Customer Accounts
How to Add the Friendbuy Referral Widget and Referral Dashboard to Shopify Customer Accounts
Updated
by Samantha Brown
The Friendbuy Referral Widget is now available directly inside Shopify's native Customer Accounts dashboard. This lets your customers view rewards, share referral links, and track referrals without leaving their account creating a seamless referral experience.
This guide walks you through enabling and customizing the widget on your Shopify store.
What You'll Need
- The Friendbuy Shopify integration installed
- Access to Shopify Admin with New Customer Accounts enabled for your store
- At least one active referral campaign configured in Friendbuy
Step 1: Add the Referral Widgets to Customer Accounts
Shopify lets you add Friendbuy blocks to Customer Accounts just like any other app block. There are two widgets available:
- Referral Widget — lets customers share their referral link via PURL, email, QR code, and SMS
- Referral Dashboard — shows reward balance and referral history
To add the widgets:
- In Shopify Admin, go to Settings → Checkout → Edit under Configurations

- Toggle to the Apps tab

- Under the Friendbuy: Loyalty & Referrals blocks click the + button next to the Refer a Friend block then select Add page to Accounts

Step 2: Configure the Campaign ID
Define the campaign ID the widget will be associated with for reward distribution, email sends, and share link generation. The campaign ID you define must be the ID of an active referral campaign in your account. Inputting an inactive campaign ID will result in an error generating share links for users.
Navigate to Referral > Campaigns > Locate the active campaign you wish to tie to the widgets.

Click the campaign to access the settings. Copy the ID of the campaign from the URL.

Enter the campaign ID in the Campaign ID field in the block settings.

Step 3: Design & Brand the Widgets
Once added, each widget appears in the editor with configuration options. Here's what you can customize:
Referral Widget Configuration
Appearance
- Widget - Hero image — Optional image displayed at the top of the sharing widget.
- Widget - Header — The widget's main heading. Default: "Refer a Friend".
- Widget - Subheader — The widget's sub-heading, shown under the header (the "what's in it for me" message).
- Widget - Primary CTA button label — Default text: "Send".
- Widget - Hide friend-reminder opt-in — Display or hide the Send my friend a reminder email option.

Referral Dashboard Configuration
Appearance
- Dashboard - heading — e.g., "Your Rewards"
- Dashboard - Hero image — optional custom image displayed at teh top of the rewards dashboard.
- Dashboard - Reward-balance label — Default text: "Reward balance".
- Dashboard - Resend button label — Default text: "Resend".
- Dashboard - Hide rewards dashboard — Choose to display or hide the rewards dashboard as part of the widget.
- Layout - Show rewards dashboard above the sharing widget — Choose to display the rewards dashboard above or below the referral widget.
- Dashboard - Hide reward balance — Choose to display or hide the reward balance.
- Dashboard - Hide referral history — Choose to display or hide the referral history details.

Step 3: Place & Publish
- In the Customer Accounts editor, drag the block to the position you want on the page amongst other blocks you may manage.
- Click Save.
- Next add a navigation menu item to your customer accounts page. On the Refer a Friend block click the menu icon to Copy URL.

- In Shopify Admin navigate to Content > Menus > Customer account main menu. Click Add menu item.

- Add a label for the menu item and the link copied from the Refer a Friend block or search "Refer a Friend". Click Save.

- The widgets are now live on your store on the accounts page.

What Customers See
Referral Widget
Customers can:
- Copy their unique referral link to clipboard
- Email one or multiple friends with a pre-written invitation
- View and download a QR code (or save to Apple/Google Wallet on mobile)
- Send via SMS on mobile, with the offer details pre-filled
- Opt friends into reminder emails when inviting via email
- See immediate confirmation after each share and a prompt to share again

Analytics
Measure success of this placement in the Friendbuy platform
Navigate to Analytics > Dashboard > Placements

Referral Dashboard
Customers can:
- View their current reward balance at a glance
- See referral history including who they've referred and the status (Completed, Pending, Invited, Cancelled)
- Resend invitations to friends they've already invited
- If they have no referrals yet, see an empty state that explains the program and prompts them to use the Referral Widget

Troubleshooting
Widgets don't appear in the add block list
- Solution: Make sure the Friendbuy Shopify integration is installed and new customer accounts is enabled in your Shopify admin account.
Widget does not generate a share link
- Solution: In the Refer a Friend app block settings, make sure the campaign ID entered is the ID of an active referral campaign.
Customers see empty/no data on their referral history
- Solution: Verify the customer is logged into their Shopify account. If they have no referral history yet, they'll see the empty state — this is normal.
Email invitations not sending
- Solution: Ensure an Advocate Share Email is configured on your referral campaign
Styling needs adjustments
- Solution: The widgets use Shopify's native components and respect your store's theme.
Source Attribution & Analytics
Every referral from every channel (link, email, QR, SMS) is tracked and tagged with its source. You can see:
- Who referred whom
- The referral status (Completed, Pending, Invited, Cancelled)
- Reward balance and history in real time
Widget Tips
- Use a clear, compelling offer copy
- Include a branded header image that matches your store
- Test the widget as a logged-in customer before going live
If you have questions contact your Friendbuy Customer Success Manager or email support at support@friendbuy.com.