How to connect Klaviyo email data to programmatic retargeting

How to connect Klaviyo email data to programmatic retargeting

Instead of rebuilding Klaviyo audiences for every campaign, set up Klaviyo programmatic retargeting around a segment you can refresh: send only profiles eligible for ad use to a supported buying destination, exclude recent buyers, and test that removals reach the campaign before you spend.

TL;DR

  • Klaviyo programmatic retargeting starts with an ad-eligible first-party data segment and a separate buyer exclusion.
  • Use a controlled file transfer for a pilot; automate audience refreshes only after additions and removals work.
  • Cake.Shop is for independent agencies and in-house teams that want media buying, reporting, creative and publisher supply in one stack.
  • Keep email marketing permission separate from advertising eligibility, and test a removal before launch.

Why this matters

Klaviyo knows who started checkout and who bought. Your demand-side platform (DSP), the software that buys ad inventory, only knows about the audience records it receives and can match. If a shopper buys after your last transfer, the DSP can keep serving a checkout reminder unless the next refresh removes or excludes them.

In 2026, treat that handoff as the campaign's first test. The question isn't whether you can export first-party data. It's whether you can explain who got in, who came out and when the buying platform reflected the change. The first-party loyalty data to cookieless targeting workflow applies the same audience handoff to loyalty data.

Before you start

  • Klaviyo access: Get permission to create segments, inspect checkout and purchase events, and export profiles if your approved transfer path uses a file. Check that a test checkout and its eventual purchase appear against the same profile.
  • Buying-platform access: Confirm that your destination accepts first-party audience data from your chosen route. Ask for its required identifiers, hashing rules, audience minimum, and whether an update replaces the audience or only adds to it. Get permission to apply campaign exclusions and pause delivery.
  • The gotcha: An email subscription is not a permission flag for paid advertising. Agree which profiles and identifiers you can use for audience matching in each market. That includes any identifiers sent for suppression. If a profile becomes ineligible for this use, remove it rather than uploading it to a separate exclusion list by default.

Klaviyo audience rules

  1. Choose a signal that matches the ad. Use checkout activity for a checkout reminder. In Klaviyo, go to Audience > Lists & segments, select Create New, then Create segment. Give the segment a name that states its purpose and recency so the buyer can distinguish it from an email send list.
  2. Set the entry window and purchase rule. Under What someone has done (or not done), select the checkout metric that your store actually sends to Klaviyo. For a pilot, use at least one checkout in the last 7 days and no Placed Order event in the last 30 days. Those are example settings, not benchmarks. The 30-day rule deliberately excludes repeat shoppers who bought recently, even if they've started another checkout.
  3. Apply advertising eligibility. Add your team's approved eligibility rule alongside the event rules. If eligibility is checked outside Klaviyo, apply it before any data leaves the approved environment. Don't substitute email engagement or list membership for that check.
  4. Build the buyer exclusion. Create a separate segment for recent purchasers whose identifiers you're permitted to use for suppression. Check a test profile before and after a purchase. Confirm that it leaves the inclusion segment and, where permitted, enters the exclusion segment.

Expected result: You have a checkout audience and a separate buyer exclusion with documented rules. An ineligible profile is not sent, even if it meets the checkout rule.

Audience transfer and matching

Map the handoff before you send a real audience. Write down who owns each stage: Segment rules, Approved transfer, Identity match and Campaign controls. Assign someone to pause delivery if the transfer stops reflecting changes in Klaviyo.

Flow from Klaviyo segment rules through audience transfer and identity matching to campaign controls

Test that removals reach campaign controls, not just that uploads succeed.

  1. Confirm the destination's schema. Use only the identifiers it requires and your team has approved. Follow its instructions on normalisation and hashing, including which side hashes the data. Don't send purchase histories, order values or email engagement fields just because they're available.
  2. Send the inclusion and exclusion separately. For an approved file-based pilot, open the relevant segment in Klaviyo and use Manage Segment > Export Segment to CSV. Select only the approved fields. Transfer each file using the destination's authorised upload process, then handle the export according to your retention rules.
  3. Check what happened after import. Record the number of records submitted, accepted and matched wherever the destination exposes those counts. Accepted means the system processed the record; matched means the destination linked it to an identity it recognises. Neither count tells you how many people are reachable on the inventory you plan to buy.
  4. Run a removal test. Use an approved test record to check what happens when a profile buys, ages out of the segment or loses advertising eligibility. Check completion at the destination and confirm how it reports removals. If the upload only adds records, set up supported replacement or removal before you activate the audience.

Expected result: You can confirm how the buying destination handles additions and removals. An upload success message on its own is not a launch sign-off.

Campaign targeting and reporting

  1. Apply both audiences to the same buy. Set the checkout audience as the inclusion and the buyer audience as the exclusion. Check the settings at the level where ads actually serve. Turn off audience expansion for the pilot if the destination offers it, so you can evaluate retargeting without mixing in prospecting.
  2. Pick inventory and creative together. Start with a display placement that supports your creative format. Use a checkout reminder that makes sense without exposing what someone browsed. If you add rich media, check the placement specs and test the interaction before launch. Keep digital out-of-home (DOOH) on a separate plan: a public screen isn't an individual checkout reminder.
  3. Set delivery limits and reporting rules. A pilot might cap delivery at 2 impressions per 24 hours where the destination supports that setting. Record how it counts frequency and defines conversions. Review delivery, spend and conversion reporting together, but don't treat attributed orders as proof the ads caused those sales.
  4. Set a pause rule. Decide how long you can tolerate a stale audience. If a refresh fails or you can't verify a removal within that window, pause the affected buy until the audience is current again. Tie the rule to destination processing time, not just to when the Klaviyo export ran.

Expected result: You have a controlled campaign with an inclusion, an exclusion, a delivery limit and an owner who knows when to stop it.

Scheduled refreshes from Klaviyo

For a recurring campaign in 2026, move from file transfer to a scheduled refresh only when you can verify that the destination supports it. A connector that creates or updates an audience isn't necessarily able to delete members from it. Ask how it handles both cases before you replace a working pilot.

Controlled file transfer

  • Best for: A limited pilot your team can supervise
  • Advantage: You can inspect the fields and confirm exactly which version you sent
  • Trade-off: Manual handling adds work, and the audience gets stale between uploads

Scheduled refresh through a supported integration

  • Best for: An ongoing buy where audience changes need to reach the destination repeatedly
  • Advantage: Reduces repeat exports and gives the team a recurring check to monitor
  • Trade-off: You need to test removals, processing delays and alerting; a successful job isn't proof the audience updated
  1. Choose the update method. Use full replacement if the destination supports it and it handles the transition without disrupting delivery. If it supports changes only, send additions and removals and verify that both were processed.
  2. Schedule around the full delay. If you need changes reflected within 1 day, a daily export alone doesn't meet that goal. Count the time from the event arriving in Klaviyo through to the destination applying the change.
  3. Test a missed run. Before relying on the schedule, simulate a failed refresh. Confirm who gets the alert, who checks the last successful update and who can pause the campaign.

Troubleshooting

  • The checkout segment is empty. Open a test profile and inspect its event history. Confirm the rule uses the checkout metric your store sends, not a similarly named metric from another integration. Check that the event falls inside the segment's lookback window.
  • The destination accepts the upload but matches few records. Check identifier format, normalisation and hashing before increasing the audience window. Don't hash an already hashed value. Ask whether the destination is reporting matched profiles or a different measure, such as addressable devices.
  • Recent buyers stay eligible. Trace the purchase event through the source segment, the transfer and the destination. Check whether the inclusion was appended rather than replaced and whether the exclusion is applied to the line item that actually serves the ads.
  • The audience matches but the campaign doesn't deliver. Check the destination minimum, geography, inventory filters and overlapping exclusions. A matched audience can still be too small for the placements you selected. Don't turn on audience expansion just to force delivery; that changes what you're testing.

Customise your workflow

Once the first audience works, add complexity only where you can test it. To find out whether retargeting adds sales beyond your Klaviyo email flow, assign an eligible holdout before the transfer. Keep the email treatment consistent across both groups, keep the holdout out of the retargeting buy, and compare order rates for the original groups rather than only for people who saw an ad.

Best for agencies and brands bringing programmatic in-house: Evaluate Cake.Shop when you want to plan media buying and reporting, rich media and DOOH creative, and direct publisher supply as parts of the same programmatic advertising stack. swweetshop is the platform that powers in-housing. For a Klaviyo retargeting enquiry, bring your audience rules and ask the Cake.Shop team to confirm the supported transfer route, how removals are handled and what the buying destination reports. The trade-off with taking the workflow in-house is that your team owns those checks and the decision to pause spend.

Review your retargeting setup

Bring your audience rules, transfer requirements and reporting needs to the platform discussion.

Explore the platform

FAQ

Can I connect Klaviyo to a DSP for programmatic retargeting?

Yes, if your DSP accepts first-party audiences through an approved transfer route. Confirm the identifier format, matching process and removal support before activation.

Does Cake.Shop have a native Klaviyo integration?

Confirm the supported Klaviyo transfer route with Cake.Shop before designing the workflow. Ask how audience additions, removals and match reporting work for your buying setup.

Can I use my Klaviyo email subscriber list for retargeting?

Not on the basis of email subscription alone. Check which profiles are eligible for advertising use and whether you can share their identifiers with the destination for that purpose.

Do I need to hash Klaviyo email addresses before transfer?

Hash them only if the destination requires your team to do it. Hashing does not replace permission checks, and hashing a value twice can prevent it from matching.

How often should I refresh a Klaviyo retargeting audience in 2026?

Refresh often enough to meet your agreed limit for stale audience membership. Include the time Klaviyo takes to receive events and the time the destination takes to apply additions and removals.

Why is my matched audience smaller than my Klaviyo segment?

The destination can only match records it recognises in the required format. Check for rejected or duplicate records and distinguish matched identities from the audience you can actually reach on your chosen inventory.

Do I need a data clean room for Klaviyo retargeting?

No, not by default. A data clean room is a controlled environment for working with data across parties; consider one if your matching or measurement arrangement requires it, and confirm that the destination can use its outputs.

One last thing

Make the first sign-off in 2026 a removal test, not a match-rate report. Ask the media buyer to show what happens to a test profile after it buys or loses advertising eligibility. If you can't verify that the profile is out of the buy, keep the campaign paused.

Related guides

Daily menu

View all posts

Ready to have your cake?

Book a 30-minute demo and see exactly how Cake.Shop works — no sales pitch, just the platform.