SparkLoop’s easy 2-click integration lets you connect SparkLoop to your Klaviyo account within seconds, no developer or complicated Zapier hacks required!
This is a first and necessary step in setting up your campaign.
SparkLoop needs to access your email list in order to generate unique referral links and referral codes for each individual subscriber, thus ensuring they’re tracked and rewarded properly for referrals.
Don’t worry, however. This is an entirely seamless process and once you’ve selected your ESP and your list (two clicks!), your job is done.
The steps for Klaviyo integration
When you sign up for SparkLoop, you will be asked to select your ESP.
From here, choose your ESP and follow the steps to import your list.
How long will the integration take?
Once you’ve selected your ESP and chosen your list, you'll need to wait for your list to finish importing.
How long will the import take?
It’s hard to say, but basically, it comes down to the size of your list.
For small lists of up to 50,000 subscribers, it’s unlikely to take more than half an hour, but if you’ve got a million subscribers on your list, then a couple of days (or more) wouldn’t be out of the question.
If it’s been more than 24 hours and your list hasn’t yet finished importing, feel free to contact us on the status. You can do so here.
What happens in Klaviyo after you import your list
After you create a campaign in SparkLoop and import your list, a bunch of custom fields are automatically created in your Klaviyo account.
These include:
Custom field | Merge tag | Description |
| {{person|lookup:'RH_SUBID'}} | Subscriber's ID. |
| {{person|lookup:'RH_CODE'}} | Subscriber's referral code. |
| {{person|lookup:'RH_REFLINK'}} | Subscriber's referral link. |
| {{person|lookup:'RH_ISREF'}} | Whether or not the subscriber has been referred. "YES" or "NO". |
| {{person|lookup:'RH_TOTREF'}} | Subscriber's total number of referrals since last reset. |
| {{person|lookup:'RH_GLOBREF'}} | Subscriber's all-time total number of referrals. |
| {{person|lookup:'RH_COUPON'}} | Subscriber's most-recently-won coupon code. |
| {{person|lookup:'RH_LASTREWARD'}} | The ID of the last reward won by this subscriber. |
| {{person|lookup:'RH_SOURCE'}} | The source of the referral, ie: sparkloop-magic or sparkloop-upscribe. |
| {{person|lookup:'RH_PARTNER'}} | The ID of the partner who referred this subscriber. ie: "partner_abc123" |
| {{person|lookup:'RH_PARTNER_NAME'}} | The name of the partner who referred this subscriber. i.e. "Send & Grow" |
Before launching, we need to ensure that all of your newsletter subscribers have had their referral links generated and stored in the RH_REFLINK
custom field in your ESP.
You can do this by filtering or segmenting your subscribers in your ESP to only show subscribers who have an RH_REFLINK
custom field with no value (also sometimes called blank or empty).
If everything is set up correctly, there should be at most 1-2 subscribers with an empty RH_REFLINK
field.
Here's a video on how to do this:
If your subscribers haven’t synced, check out this guide for the reasons why they haven’t, and what you can do about it.
⚠️ Make sure to wait until the list has finished importing completely before running checks.
What happens when subscribers are deleted or unsubscribe?
SparkLoop syncs with your ESP, which means that any new subscribes and unsubscribes are updated in SparkLoop automatically.
With Klaviyo, however, things work a little bit differently from other ESPs since Klaviyo doesn’t tell us in real-time when someone unsubscribes. Therefore, for unsubscribes only, we do a weekly sync to check who has unsubscribed.
However, deleted and unsubscribed subscribers will continue to show up in SparkLoop.
Unsubscribed contacts don’t count towards pricing, but they’ll still be inside of SparkLoop to preserve historical data and for anti-fraud protection.
⚠️ Only active subscribers count towards your billing.
How to set up email automations in Klaviyo
Once your Klaviyo integration is complete and you've set up your referral program, you'll want to make sure your subscribers know about your ambassador program and engage with it.
Keeping subscribers engaged can be the difference between a referral program that’s successful and one that isn’t.
Luckily, you only need to set up a few automated emails to achieve this goal.
⚠️ These emails are recommended for any referral program, regardless of your goal or rewards.
Reward email:
Intro email:
Segments
SparkLoop makes it easy for you to segment your subscribers and send them targeted messages, for example:
Send a message to all subscribers who have been referred.
Send a message to subscribers who have 3 referrals or more.
You can set up these segments very easily using SparkLoop-generated custom fields, in particular: RH_ISREF
, and RH_TOTREF
.
To create a new segments in Klaviyo:
⚠️ Don’t forget to update your email automations when you add, delete, or change rewards.