Integrating RightMessage with Klaviyo

Once you’ve integrated your RightMessage account with Klaviyo, you’ll be able to use us to capture new subscribers, segment your Klaviyo contacts, and personalize your store’s website and show customized lead gen forms and product offers using Klaviyo property data.

In this guide, we cover everything you need to know about segmenting and personalizing with Klaviyo + RightMessage.

Linking RightMessage with Klaviyo

To create a link between RightMessage and Klaviyo, all you need to do is add your Public API Key and Secret Key to your RightMessage account.

Here’s how:

Step 1: Find your Public API Key and Private API Key

First, log in to your Klaviyo account, head to the Settings page, and go to API Keys

Here you’ll be able to see and copy the information RightMessage needs.

Step 2: Paste your Public API Key and Private API Key into the RightMessage integration area

In RightMessage, click on the ‘gear’ icon and select Integrations

On the left, choose Klaviyo

Paste your keys into the respective fields and click Connect with Klaviyo.

That’s it!

Identifying Klaviyo users on your website

There are a handful of ways that RightMessage “knows” when someone on your website is also in your Klaviyo account.

For information on how we identify visitors, you’re going to want to read this crash course guide first. Once you’ve read that, here are the nuances specific to Userlist…

If using RightMessage forms

When someone is added to your Klaviyo database by submitting a RightMessage opt-in form, we’ll cache the profile record that we created on your behalf in their browser’s cookies.

We don’t have an expiration date for this cookie, but as long as someone doesn’t clear their cache or browse your website in an incognito browser, we’ll “know” who they are.

ID’ing whenever you send an email

By default, your Klaviyo account should add klaviyo_id to all of your emails. (If not, head over to your Other -> UTM tracking and you’ll be able to set up a custom UTM parameter that maps klaviyo_id to the Profile ID within both campaigns and flows.)

RightMessage will pick up on this automatically, and then use this to identify the visitor and pull any available data about them from your Klaviyo account.

Even if the visitor moves to other pages on your site – or closes their browser tab and comes back a week later, that relationship to a specific Klaviyo Profile remains intact.

The Klaviyo data we can use to segment website visitors

When a visitor is back on your website, RightMessage has immediate access to:

  1. The Klaviyo profile, including any custom attributes you’ve set
  2. Lists someone belongs to
  3. Segments someone belongs to

Check out our sections on segmentation, website personalization, and CTA Funnels for guidance on how to use this data.

Note: Klaviyo segments aren’t “real-time” – it can take a few minutes sometimes for someone to enter or exit a segment. If you’re using RightMessage to capture data that is then used to segment someone in Klaviyo, it’s probably a better idea to have RightMessage check the visitors attributes in Klaviyo, rather than their segments, since it might take a few minutes for someone to be properly segmented in Klaviyo.

Outputting property data (like someone’s first name) on your website

With RightMessage, you can output profile attributes directly to your website. In our guide to adding contextual data and merge tags, we cover how to do this. But below is a bit of Klaviyo-specific context.

To include a Klaviyo attribute within a text personalization, add: {{ klaviyo.customFields.favorite_color }}, replacing favorite_color with your property of choice.

And to output someone’s email address: {{ }}