Your abandoned cart flow is live. The emails look great. You know people abandon checkout every day. And yet the flow shows a handful of recipients a week, or none at all.
Nine times out of ten, the flow itself is fine. The problem is upstream: the event that’s supposed to start it never reaches Klaviyo. In WooCommerce that event is Started Checkout, and it goes missing more often than most store owners realize.
This guide explains when the event fires, the usual reasons it doesn’t, how to test the whole flow end to end, and what to do if your checkout simply doesn’t send it.
How the flow is supposed to work#
- A shopper adds something to the cart and goes to checkout.
- WooCommerce, through the Klaviyo plugin, sends a Started Checkout event to that shopper’s profile in Klaviyo.
- Your abandoned cart flow, triggered by Started Checkout, waits for the time delay you set.
- If the shopper hasn’t placed an order by then, the email goes out.
- When they do place an order, a Placed Order event arrives and takes them out of the flow.
Two events, and both have to arrive on time. If Started Checkout is missing, the flow never starts. If Placed Order is missing or late, people who already bought get “you forgot something” emails, which is arguably worse.
When Started Checkout fires in WooCommerce#
According to Klaviyo’s documentation, the WooCommerce integration tracks Started Checkout in two situations:
- A logged-in customer has something in the cart and views the checkout page.
- A guest has something in the cart, views the checkout page and enters a billing email address.
That second condition explains a lot of missing events. A guest who looks at the checkout page and leaves before typing an email can’t be identified, so there’s no one to send the email to. That’s expected. The problems start when shoppers do enter an email and the event still doesn’t show up.
The usual reasons the event goes missing#
1. You’re using the Checkout block
This is the most common cause we see on newer stores. WooCommerce has two checkout systems: the classic checkout (the [woocommerce_checkout] shortcode) and the Checkout block, which has been the default on new stores since WooCommerce 8.3.
The Klaviyo plugin was built around the classic checkout. Store owners and Klaviyo’s own community moderators have reported that the block uses a different email field that the plugin doesn’t listen for, and that it doesn’t run the classic checkout hook the plugin relies on. The result: guests type their email, and no Started Checkout event is created. You can read one of those reports in Klaviyo’s community.
Support for the block may have changed in recent plugin versions, so check the changelog for the version you’re running. Then test it yourself (see below). If your version still doesn’t send the event from the block, you have two options:
- Switch the checkout page back to the classic shortcode. Fastest fix, but make sure your other checkout plugins work there too.
- Send Started Checkout yourself through the Klaviyo API. More work, but you keep the block. There’s a sketch of this at the end of this article.
Not sure which checkout you have? Edit your checkout page in WordPress. You’ll see either a Checkout block or the shortcode. Our guide to WooCommerce checkout problems explains the difference in more detail.
2. An outdated plugin or a broken connection
If other events (Viewed Product, Placed Order) are missing too, the issue is the integration itself, not the checkout:
- Update the Klaviyo plugin to the latest version.
- In Klaviyo, check that the WooCommerce integration is enabled and shows no errors.
- Check that the API keys in WooCommerce match your Klaviyo account. Copy-pasted keys sometimes carry a space at the start or end.
3. A checkout plugin replaced the standard checkout
One-page checkouts, custom field editors and “funnel” plugins often replace the standard checkout form with their own. If the email field isn’t the standard billing email field, the Klaviyo plugin may not see it. Klaviyo’s own advice is to disable the checkout extension and test again. If the event fires without it, you’ve found the cause.
4. Caching or script optimization
Started Checkout depends on scripts running on the checkout page. Two things commonly break that:
- A cached checkout page. Cart and checkout pages should never be cached. If they are, you’ll have bigger problems than Klaviyo.
- Delayed or combined JavaScript. Optimization plugins that “delay JavaScript until user interaction” or merge scripts can stop the Klaviyo script from running at the right moment. Exclude Klaviyo’s scripts and the checkout page from these optimizations.
5. A cookie consent banner that blocks the script
If your consent tool holds back marketing scripts until the visitor accepts, Klaviyo’s script may never load for visitors who ignore or reject the banner. That may be exactly what you want legally, but it means fewer tracked checkouts. Check how your consent tool categorizes Klaviyo, and whether that matches what your privacy policy says.
6. The email field is too far down the form
In the classic checkout, the billing email often sits below name, company, address and phone. Shoppers who abandon halfway through the form never reach it, so they never become identifiable. Moving the email field to the top of the checkout form is one of the simplest ways to get more abandoned cart emails out.
When the event fires but nobody gets an email#
Sometimes Started Checkout is there, and the flow still doesn’t send. Check the flow itself:
- The trigger. Is the flow triggered by the WooCommerce Started Checkout metric, and not a similarly named metric from an old integration or another app?
- The flow filter. Most abandoned cart flows use a filter like “Placed Order zero times since starting this flow.” If Placed Order events arrive late or twice, the filter can behave strangely.
- Smart Sending. If the person got another email from you recently, Smart Sending may skip this one.
- Consent and suppression. Profiles that unsubscribed or were suppressed won’t get marketing flow emails. Check who your account is allowed to email, and make sure that matches how you collect consent at checkout.
- The flow status. It sounds obvious, but check that the flow and each email are set to Live, not Manual or Draft.
Don’t forget Placed Order#
If Placed Order doesn’t reach Klaviyo, or reaches it late, customers who already bought get abandoned cart emails. Some will laugh it off. Some will think your store didn’t receive their order and email support.
Check a few recent orders: does each one have a Placed Order event on the right profile, within minutes of the order? If orders sync late or twice, the cause is usually on the webhook or queue side. Our guide to Klaviyo webhook troubleshooting covers failed, duplicate and late events.
How to test the whole flow#
Test on the live store, as a real guest, not logged in as an admin:
- Open a private browser window.
- Add an in-stock product to the cart and go to checkout.
- Enter an email address you can search for in Klaviyo. Use a fresh one, or a
+testversion of your own address. - Leave the checkout without ordering.
- Wait. Klaviyo notes that some integrations take 30 minutes to an hour to sync events.
- Search for the email in Klaviyo and open the profile. Started Checkout should be in the activity feed, with the right products and cart value.
- Check that the profile entered the flow, and that the email arrives after the delay.
- Now repeat with a second test email, and this time complete the order. That profile should enter the flow and then exit when Placed Order arrives, without getting the email.
Test on mobile too. If you use more than one payment method or checkout path (express buttons, for example), know that some of them skip the standard checkout page entirely, so they won’t produce Started Checkout at all.
Fallback: send Started Checkout through the API#
If your checkout doesn’t produce the event and switching to the classic checkout isn’t an option, you can send it yourself using the Klaviyo API, then point your flow at that event.
The idea for the Checkout block:
- The block saves the shopper’s address and email through the WooCommerce Store API while they fill in the form.
- When an email appears on the cart for the first time, your code sends an event to Klaviyo’s Events API with the cart contents, value and a link back to the cart.
- You store a flag (for example, the cart hash) so you don’t send the same event every time the shopper edits a field.
A minimal sketch in PHP, to show the shape. Treat it as a starting point, not drop-in code:
add_action( 'woocommerce_store_api_cart_update_customer_from_request', function ( $customer, $request ) {
$email = $customer->get_billing_email();
if ( ! is_email( $email ) || ! WC()->cart || WC()->cart->is_empty() ) {
return;
}
// Send once per email + cart contents.
$key = 'kl_sc_' . md5( $email . WC()->cart->get_cart_hash() );
if ( get_transient( $key ) ) {
return;
}
set_transient( $key, 1, HOUR_IN_SECONDS );
$items = [];
foreach ( WC()->cart->get_cart() as $line ) {
$items[] = [
'ProductName' => $line['data']->get_name(),
'SKU' => $line['data']->get_sku(),
'Quantity' => $line['quantity'],
'ItemPrice' => (float) $line['data']->get_price(),
];
}
wp_remote_post( 'https://a.klaviyo.com/api/events/', [
'timeout' => 5,
'headers' => [
'Authorization' => 'Klaviyo-API-Key ' . KLAVIYO_PRIVATE_KEY,
'revision' => '2024-10-15',
'Content-Type' => 'application/json',
],
'body' => wp_json_encode( [
'data' => [
'type' => 'event',
'attributes' => [
'metric' => [ 'data' => [ 'type' => 'metric', 'attributes' => [ 'name' => 'Started Checkout (Block)' ] ] ],
'profile' => [ 'data' => [ 'type' => 'profile', 'attributes' => [ 'email' => $email ] ] ],
'value' => (float) WC()->cart->get_total( 'edit' ),
'properties' => [
'Items' => $items,
'CheckoutURL' => wc_get_checkout_url(),
],
],
],
] ),
] );
}, 10, 2 );
Before you use something like this in production:
- Keep the private API key out of the code. Load it from
wp-config.phpor an environment variable. - Use a separate metric name, as in the example, so you can tell it apart from the plugin’s own event. Then switch your flow trigger to it.
- Don’t block checkout on Klaviyo. A short timeout is fine for a sketch. For real traffic, push the request to a background queue, such as Action Scheduler, so a slow API never slows down the shopper.
- Check the hook and the API revision against your WooCommerce version and Klaviyo’s current API docs.
- Respect consent. Sending an event doesn’t change someone’s email consent, but your flow still needs to follow the rules you’ve set for who can receive marketing.
- Test on staging first.
For more on when native connectors aren’t enough, see our article on Klaviyo custom API integration.
Quick checklist#
- Know which checkout you’re running: block or classic.
- Klaviyo plugin is up to date, connected and showing no errors.
- No checkout plugin replaces the standard email field without being tested.
- Checkout isn’t cached, and Klaviyo scripts aren’t delayed.
- Email field is at the top of the checkout form.
- A guest test checkout creates Started Checkout within an hour.
- A completed test order creates Placed Order and removes the profile from the flow.
- Flow trigger, filters, Smart Sending and status are what you expect.
If peak season is coming, this belongs on your Black Friday readiness checklist too. An abandoned cart flow that quietly does nothing costs the most when traffic is highest.
Need it fixed?#
We set up and repair Klaviyo integrations for WooCommerce stores, including custom events for checkouts the plugin doesn’t cover. Send us your store URL and what you’re seeing, and a developer will reply with the next step. See our Klaviyo integration work or talk to a developer.