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 has a Klaviyo cookie (
_kx), we use it to ask Klaviyo which segments the visitor belongs to.If 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.
Common Use Cases
Past purchasers (e.g., a Klaviyo "Customers" segment). Intelligems doesn't natively have access to Shopify purchase history, so a Klaviyo segment is how you target shoppers who've bought before. Check how load timing affects what shoppers see before using it for price or content changes.
VIP and Loyalty customers
Email subscribers or segment-specific cohorts (e.g., cart abandoners, active shoppers)
How load timing affects what shoppers see
We look up a visitor's Klaviyo segments using the Klaviyo cookie. That lookup can finish after the page has started loading, so the shopper may see your default storefront for a moment before the experience applies. How much that matters depends on what your experience changes.
Adds something new for a segment (a banner, badge, or signup reminder)
The new element appears a moment after the page loads. Nothing on the page swaps.
Best fit for Klaviyo targeting.
Changes or hides something already on the page (hero copy, a nav link, a pop-up)
The original content shows first, then swaps or disappears.
Use it only if a brief swap is acceptable. Avoid it when shoppers shouldn't see the original at all, like a sale you're hiding from past purchasers.
A price test that includes or excludes a segment
A different price can show briefly before the correct one.
Decide whether a brief price change is acceptable for your shoppers.
An offer for a specific segment
No flicker. If the lookup fails, shoppers in the segment won't get the offer.
Avoid it when missing eligible shoppers is costly.
An offer that excludes a segment
No flicker. If the lookup fails, excluded shoppers can still get the offer.
Don't rely on it for offers that must stay restricted, like wholesale pricing or offers for non-subscribers.
A theme, template, or URL redirect
On the shopper's first page view, the redirect doesn't fire. They see the default page but are counted in the test group.
Don't use Klaviyo targeting for these experiences for now.
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
Optional Send yourself an email so your profile is tagged with that Segment
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
Click Save
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
Additional questions about the Klaviyo Integration?
Last updated
Was this helpful?