Klaviyo Integration
How to Use Klaviyo Segments to Target Visitors in an Intelligems Test or Personalization
What you can do with Klaviyo
Use a Klaviyo segment (like VIP customers) to control who sees a specific Test or Personalization in Intelligems.
How it Works
When a visitor is cookied by Klaviyo we use that cookie (
_kx) to “ask” Klaviyo: “Which segments is this visitorIf Klaviyo is able to identify the visitor (i.e. they completed a signup flow, clicked through an email/sms, returned to a site from a browser they previously made a purchase, etc.) then so is Intelligems.
If we're unable to identify the visitor, they will be shown the control / not enter the experience.
Why This is Better Targeting Than Using UTMs
Does not require clickthrough - They do not have to click through a Klaviyo email in order for this targeting to work, it’s based on their cookies (which could have been previously set).
Cross-device segment targeting - If the visitor later opens up a Klaviyo email on a different device and/or visits the website and logs in, we will now have the ability to target the new browser/device (cookie) and can serve up cross-device experiences. Each device receives a new
igId, but experiences remain consistent through Klaviyo segment membership, not a shared ID.
Prerequisites
Intelligems is installed on your store
Klaviyo is installed and set up. Install here.
You have at least one Klaviyo segment (e.g. “VIP”)
Step 1: Connect Klaviyo to Intelligems
In Intelligems, on the left navigation, click on Integrations
Find Klaviyo under Analytics
Click Sign in with Klaviyo
Log in if prompted
Approve permissions (profiles + segments)
Confirm Klaviyo shows as Active in the Intelligems integrations page.
Step 2: Confirm Your Segment in Klaviyo
Open Klaviyo
Go to Lists & Segments
Confirm the Segment you want to target (e.g. VIP) exists
We can only identify visitors in Segments. We cannot identify visitors in Lists or using Profile Tags.
Optional Send yourself an email so your profile is tagged with that Segment
We recommend you star/favorite Segments inside of Klaviyo that are active in a Test or Personalization
Step 3: Apply the Segment to a Test or Personalization
Create a Test or Personalization in Intelligems
Go to the Targeting tab
Select Custom
In the Targeting type dropdown, select Klaviyo Segment

Add a condition Klaviyo segment equals
VIP
To add multiple Segments, use the +Or Condition and +AND Condition option
Click Save
For Tests, use Advanced, not Custom Targeting, if you want to avoid default assignment. Otherwise, users may get a default variation first and never switch when the segment is detected.
Step 4: Verify It’s Working
Open the Klaviyo email you sent
Click the link to your store
Watch the URL — you should see a Klaviyo cookie parameter
The page may load the default first, then update
Confirm the correct experience appears (e.g. your personalized discount appears)
Result
Users in the targeted Klaviyo segment see the intended Intelligems variation automatically 🎯
FAQs
Does Intelligems receive customer profile data from Klaviyo?
No. Only segment membership is resolved via exchange ID.
Is segment membership evaluated in real time?
Segment membership is resolved on visit and cached for up to 24 hours.
Does this work across devices?
Yes, if the visitor clicks a Klaviyo link on each device or logs into that store. Each visitor receives a new igId on each device, but experiences remain consistent because targeting is based on Klaviyo segment membership, not a shared ID. If Klaviyo is able to identify the visitor, then so is Intelligems.
Additional questions about the Klaviyo Integration?
Last updated