ReferralCandy

Feature: Post Purchase Event for Klaviyo

How to enable Post Purchase Event for Klaviyo


Overview

Using this event feature you can integrate ReferralCandy seamlessly with your existing customer flows, or build out a new flow to incorporate referrals.


Activation

1. Once you’ve integrated with Klaviyo by providing your API key, you simply need to select the ‘Activate Post Purchase Events’ button as seen below.



2. You’ll see this new section open up, where we provide a breakdown of the custom properties you can utilize on your email templates (used in your flows).



Important Notes:

  • Once this feature is activated, control of sending post purchase emails is switched over from ReferralCandy to Klaviyo.
  • ReferralCandy will stop sending post-purchase emails. You may opt to re-enable the ReferralCandy post-purchase referral email here.
  • Upon activating this feature, referral emails will not yet be sent to your customers right away, you must first incorporate our custom properties into your Klaviyo post-purchase email flows (or chosen flows). Activating this feature simply initiates an event to be triggered that allows ReferralCandy to pass referral information to Klaviyo after each purchase from your store.


Confirming Activation

You’ll want to make sure that this feature has been activated successfully. Every time a purchase takes place, it triggers a Klaviyo ‘event’ that pushes referral information to Klaviyo in the form of ‘properties’ which you can utilize in the email templates of your flows.


1. On your Klaviyo dashboard, head to the ‘Profiles’ section or use this link.


2. If the integration was successful, you should see a profile that was automatically created under the email address: ‘candybot@referralcandy.com’



3. Opening up that profile you’ll see the ReferralCandy ‘event’ “Enrolled in ReferralCandy through a purchase”. Future customer purchases will have that same ‘event’ triggered.



4. On the bottom right you’ll also see information about the custom properties that ReferralCandy has relayed to Klaviyo. Any customer that has the ‘event’ “Enrolled in ReferralCandy through purchase” should ALSO have these custom properties generated or updated when the event is sent.



Note: These properties are updated every time a purchase takes place.



Implementation

You may now incorporate the referral program custom properties into your existing flows. Check out our Sample Implementation for an idea on how to get started.



Testing

It’s very important to test that everything is working correctly. I recommend that after integrating and adding your chosen ReferralCandy properties into the email templates, that you also make a test purchase to check that they are being shown as you intended.


Take note that the ReferralCandy properties and events will only be created/triggered for new customers AFTER integrating the post purchase event feature.


Important Reminders

Setting Delays & Conditions

  • There can be a short delay between when a purchase is made on your store, and when ReferralCandy can create and send that information (from the event) to Klaviyo. This can be mitigated by setting a delay between when a purchase is made and when the first email in your flow is sent.



  • Missing referral links can also happen because of the above-mentioned delays. You can prevent this by setting a condition to only show the block that contains the referral program elements IF the referral properties are available. You may use the condition: person|lookup:'Referral Link - ReferralCandy' as seen in the screenshot below:






A
Adam is the author of this solution article.

Did you find it helpful? Yes No

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