Sample Implementation for Klaviyo

Implementation sample on how to get started on the Post Purchase Event for Klaviyo feature

We understand that you may have your own flows that you can best decide on key outreach points to incorporate the referral program custom properties into.  

Basic Overview of Inserting referral program Properties:

1. In your Klaviyo dashboard, go to Flows.

2. Identify the Flow(s) you will be adding referral properties to (like the ‘Customer Thank you flow’ for example).


3. Insert the ReferralCandy property by editing the content of your chosen email template. You can find all of the properties we currently relay to Klaviyo under the ‘Insert Property’ drop-down. Reference the page for full details on all properties supported as well as their descriptions.

Note: Purely for demonstration purposes I’ve added all the properties in the screenshot above. You should definitely experiment with them to find your best use case for implementation on your email templates. You do NOT need to utilize all of these properties.

4. If the Post Purchase Events feature is already activated, you can preview what these properties would look like from a recent store purchase that took place after activating this feature. See my email preview below:

Reproducing the “ReferralCandy” Post Purchase email in Klaviyo

Since by default we turn off the ReferralCandy Post Purchase email when activating the Klaviyo Post Purchase Event Feature. Which you may have already had success with or simply like the referral flow we built for you in that email.

We wanted to provide you with a sample to work from with the intention of replicating the functionality you have with the default ReferralCandy post purchase emails, but ported over and centralized into Klaviyo.

For reference here’s what a generic ReferralCandy Post Purchase email looks like, note that it’s not the design we’re looking to replicate but the functionality. We’ll leave the design to you.

1. The only required item on this that we really need to incorporate is the link to the customer’s portal sharing page. So The ‘Get Invite Link’ above is the equivalent of this property: 

Referral Portal Link - ReferralCandy

2. To accomplish this I created a ‘Button’, with the button text as ‘Get Invite Link’ and added the link URL as the customer property for the customer portal sharing page: 

{{ person|lookup:'Referral Portal Link - ReferralCandy'|default:'' }}

Note: I also added in the properties for the ‘Referral Reward’ and ‘Referral Friend Offer’, these are not required but might make things easier for you in the future if you ever decide to change your reward offering.

3. So now when your customers click on that button they’d get the exact same functionality that your Simple Theme ‘Get Invite Link!’ button does. Which is to bring the customer right to their personal sharing page.



Note: We generally recommend the use of redirecting your customers to their sharing page over directly applying the unique referral link within the email. This is because it lessens the chances that the customer opens their own unique referral link and also makes it much easier for mobile users to copy/paste their unique referral link.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.