Before launching your referral or affiliate program, it's best practice to test your campaign’s referral workflow to ensure it accurately tracks referred purchases. By doing so, you gain first-hand insight into every advocate (customer) touchpoint within the referral process, helping to identify any possible issues before going live.
How to test the referral process
Step 1: Create and target a test segment
To ensure that no new customers sign up for your referral program while you're testing, create a static segment manually add a test email address that will act as the referral workflow's advocate:
Create a static segment
Go to your Segments page:
Click Create new segment (Shopify) or Create segment (Non-Shopify).
Select Static and click Create.
Set a Segment name. For example, "Test."
Save the changes.
Add the test email address
Go back to the Segments page and find the test segment.
Click Import contacts.
In the import options, select Add customer by email.
A popup appears. Add the test email address and name, then click Add customer.
Click Import. A window opens. Confirm the import.
Target the test segment
Once the test segment is done, you must set it as the campaign's target audience and create a test purchase.
Go to your campaign's Target audience page:
In the Target these segments field or section, take note of the selected segments and unselect them.
Select the test segment you created.
Save the changes.
Step 2: Make a test referral purchase
Find the referral link
When a segment is targeted, the imported contact automatically becomes enrolled in the campaign. An enrolled contact gets their unique referral link for sharing.
In the same campaign, go to the Advocates or Affiliates page.
Click the imported contact to open their information.
Find the contact's unique referral link:
From the ReferralCandy dashboard, go to the Campaigns and Segments tab. In the INDIVIDUAL CAMPAIGN DETAILS section, confirm that the correct campaign is selected. Scroll down to find and copy the Referral Link.
From Shopify admin, make sure to first add the Enrolled referral campaigns - details app block for ReferralCandy. Confirm that the correct campaign is selected and copy the URL under Referral link.
Make a test referral purchase as a referred friend
Important: To ensure successful testing:
The campaign must be set to Live
Make a test purchase outside the device or network where you manage your ReferralCandy account
Use an email address that doesn't exist yet in your Contacts list that will act as the referred friend in the test. This also applies to the contacts list on Shopify and BigCommerce for merchants using those platforms.
Open the referral link you copied using a different device, a different browser, or an incognito window to simulate a referral purchase.
If you're using "Coupon" as the friend offer: The referral link redirects to the friend offer landing page. Click the coupon code to copy. Then, click Shop Now to proceed to your store.
Note: The call to action button text may be different if you customized your theme's content.
Select an item and proceed to checkout. Make sure that the purchase amount meets the minimum purchase requirements you set on your Reward conditions page.
Enter the necessary details for testing, such as the name, phone number, email address, billing and shipping address, and payment information.
Paste the coupon code if it isn't populated yet. Complete the test purchase at checkout.
Note: Depending on your integration type and platform, the first referral purchase placed at your store may take up to 1 hour to be detected.
Step 3: Review the test purchase
To check if the test referral purchase was successful:
Go to your Purchases & Referrals page:
From the ReferralCandy dashboard, go to My Store > Purchases & Referrals.
From Shopify admin, go to Purchases & Referrals.
Find the test purchase you made. Detected purchases should be at the top of the list. You can also use the search bar and input the test email address you used.
Click the reference ID to see the purchase information. Here you'll see information such as the purchase date, amount, customer name, email address, etc.
Find the Referrer section. If the test purchase was successful, you'll see the email address you imported into the test segment earlier.
Step 4: Restore campaign and delete test purchase
The test is successful and complete if the referred purchase was detected and the purchase details are correct. To restore your campaign to its previous state before the test:
Go to the campaign's Target audience page and unselect the test segment.
Restore the previous segments targeted by the campaign. You may delete the test segment.
Delete the test purchase in your account.
To delete the test purchase in your account:
ReferralCandy dashboard | ReferralCandy app on Shopify |
|
|
💬 Need help? Click the chat widget on the right to start a conversation. Learn more