WooCommerce abandoned cart: capture the email earlier
To recover WooCommerce abandoned carts, you need the email address before the shopper leaves. Put the email field first at checkout, save it as it is typed, add a timed prompt with a single-use coupon, and send GA4 checkout events so you can see where carts die.
Sohail Hussain10 min readShort answer
- A cart with no email attached cannot be recovered by email, so the fix is to ask for the address earlier: put the email field first at checkout and make your cart-recovery plugin save it as soon as it is typed.
- Add a timed prompt on the cart page with a small, email-locked incentive for shoppers who never reach checkout.
- Send GA4 ecommerce events through Google Tag Manager so you can see which step loses people.
A store owner on the WooCommerce subreddit reported 68 abandoned carts in a week, none with an email attached. Their question is common: the recovery plugin is installed, the abandoned carts are listed, and there is nobody to write to. This guide covers how to capture the address earlier, how to do it without handing out discounts to everyone, and how to measure where the rest of the shoppers go.
Why the carts have no email
WooCommerce keeps a guest's cart in a session. Nothing in core ties that cart to a person until they log in or submit the checkout form. Recovery plugins (Retainful is one example) work by saving the cart against an email address once the shopper types it. If they leave before typing one, the plugin has a cart and nobody to write to.
So the real question is where in the flow the email gets asked for. On the classic checkout, the billing email field sits below name, country and address, so a shopper can fill half the form and leave without ever reaching it. On the block-based Checkout, the Contact information step with the email field comes first by default, which already helps.
To check which checkout you have, open your Checkout page in the editor. If it shows a Checkout block, you're on the block version. If it holds a [woocommerce_checkout] shortcode, you're on the classic one.
Two groups of shoppers produce email-less carts, and they need different fixes:
| Shopper | Where they leave | Fix |
|---|---|---|
| Starts checkout, stops before the email field | Classic checkout form | Move the email field to the top |
| Never opens checkout | Cart or product page | Cart-page prompt with a reason to share an address |
| Types an email, but the plugin never saves it | Checkout | Check the plugin's capture setting, caching, autofill |
| Submits the form, payment fails | Payment step | Recover from Pending payment or Failed orders |
Move the email field to the top (classic checkout)
On the classic checkout, add this to a code snippets plugin or your child theme's functions.php:
add_filter( 'woocommerce_checkout_fields', function ( $fields ) {
$fields['billing']['billing_email']['priority'] = 1;
return $fields;
} );
The default priority for billing_email is 110, so setting it to 1 puts it first. Test it on a staging copy; some checkout-customization plugins override field order, and your theme may restyle the row width.
Then confirm your recovery plugin saves the address as it is entered, before the order is placed. Most do this when the field loses focus, but the setting name and behavior differ by plugin, so look in its settings for something like "capture guest email at checkout" and test it yourself:
- Open your store in a private window, logged out.
- Add a product to the cart and go to checkout.
- Type an email address, then click into the next field.
- Close the tab without ordering.
- Check whether the cart appears in the plugin's abandoned-cart list with that address.
On the block checkout, nothing needs moving. Run the same test.
Add a prompt before they leave
Some shoppers never reach checkout. They add to cart, look at the shipping cost, and close the tab. For them you need a prompt on the cart or product page.
| Method | Catches | Weak spot |
|---|---|---|
| Email field first at checkout | Shoppers who start checkout | Misses anyone who never gets there |
| Exit-intent popup | Desktop users moving to close the tab | No reliable exit signal on mobile |
| Timed or scroll popup on the cart page | Mobile and desktop | Feels pushy if it fires too early |
| Cart-page email box ("save my cart") | People comparing or undecided | Few will use it without a reason |
My pick: the checkout field first, then a cart-page prompt triggered after some seconds of inactivity rather than on page load. Skip exit intent as your only method; it can't fire reliably on phones.
Discounts can backfire
A permanent popup discount teaches shoppers to abandon on purpose. Keep the incentive small, tied to the email address, and set to expire.
Make the discount nudge safe
A discount gives shoppers a reason to hand over an address. Keep it small and tied to the email:
- In WooCommerce, create a coupon under Marketing > Coupons.
- Under Usage restriction, use Allowed emails so only that address can redeem it.
- Under Usage limits, set Usage limit per coupon to
1, and set an expiry date. - Generate coupons per subscriber through your popup or recovery plugin rather than publishing one shared code.
Free shipping over a threshold sometimes beats a percentage, since unexpected shipping cost is a common reason to leave. I can't give you a number for what converts best on your store; test it.
Tell people what the email is for
Capturing an address before the order exists needs a clear reason on the form. Add a short line such as "We'll email you a reminder if you leave something behind." In the EU and UK, cart reminders sent to someone who never opted in can be a legal problem, and rules differ by country. Read our email marketing laws guide and the compliance checklist, and if you add the address to a marketing list, use double opt-in. This is not legal advice; ask someone qualified if you sell into the EU.
Recover the orders that already have an email
Not every abandoned checkout lacks an address. If a customer submitted the form and payment failed, WooCommerce has an order in Pending payment or Failed status with the email attached. Filter your orders by those statuses first. That is recoverable revenue today, and it tells you whether your problem is early drop-off (no email) or payment friction (email, no payment).
Wire up GA4 so you can see where they leave
The email field only fixes recovery. To reduce abandonment, you need to know which step loses people. GA4 is free to use, but WooCommerce doesn't send ecommerce events to it by default; you have to add them. Store owners who have dropped paid analytics tools often end up here, and the part that trips them up is that GA4 needs Google Tag Manager, usually with a plugin such as GTM4WP (Google Tag Manager for WordPress) that pushes WooCommerce ecommerce data into the data layer.
The events you want, using GA4's standard names:
view_itemadd_to_cartbegin_checkoutadd_shipping_infoadd_payment_infopurchase
Steps:
- Create a GTM container and install it on the site via the plugin.
- In the plugin's settings, enable the WooCommerce / ecommerce integration.
- In GTM, create a GA4 event tag that fires on those data layer events.
- Use GTM Preview mode to check each event fires, with values, on a test order.
- In GA4, open Explore and build a funnel exploration from
add_to_carttobegin_checkouttopurchase.
The ratio between those steps shows whether shoppers leave before checkout (a cart, shipping or trust problem) or during it (form length, payment options). Our cart abandonment rate calculator gives you the headline figure to track.
If you want to watch what people do instead of reading funnel numbers, a session recording tool such as Hotjar can show where they stall on the checkout form. Check its current free-plan limits before relying on it; those change.
Why capture still fails
| Cause | Symptom | Fix |
|---|---|---|
| Page or fragment caching | Email typed, cart never saved | Exclude cart and checkout pages from caching |
| Browser autofill | Fields fill without the event your plugin listens for | Test with autofill on; ask the plugin vendor |
| Consent banner blocks the script | Carts missing until visitors accept cookies | Check how the plugin's script is categorized |
| Ad blockers | Popups or tracking scripts blocked | Can't be fully fixed; rely on the checkout field |
| Testing as admin | Admin carts behave differently | Test as a guest in a private window |
Test on a phone
Run the capture test on a real phone as well as a desktop browser. Autofill and popup behavior differ, and most abandoned carts on many stores come from mobile.
Checklist before you judge the results
- The email field is first on your checkout, classic or block.
- A guest test in a private window puts a cart with an email into the plugin's list.
- Cart and checkout pages are excluded from caching.
- Coupons are locked to one email, limited to one use, and expire.
- The form says what the email will be used for.
- GA4 shows
add_to_cart,begin_checkoutandpurchasewith values on a test order. - Orders in Pending payment and Failed status have been reviewed.
What the recovery email should do
Once you have the address, send the first reminder within about an hour and a second the next day, and put the discount only in the later message so you don't discount buyers who would have returned anyway. Plain, short copy usually does the job; see our abandoned cart swipe file, subject line ideas and the ecommerce email flows for structure.
If nothing works
If carts still arrive without emails after the tests above, the problem is likely in the plugin or in a conflict with your theme or cache, so contact your recovery plugin's support. Send them the plugin and WooCommerce versions, whether you use the block or classic checkout, the steps of your guest test, and a screenshot of the plugin's capture setting. For GA4 events that don't appear, include a screenshot of GTM Preview mode.
Subject: Guest email not saved at checkout (WooCommerce)
Hi, abandoned carts on my store arrive with no email address.
Setup: WooCommerce {version}, {plugin name and version}, {block or classic} checkout, caching plugin: {name or none}.
Test: as a guest in a private window, I add a product, type an email on checkout, click the next field, and close the tab. The cart does not appear in the abandoned-cart list.
Already tried: email field moved to first position, cart and checkout excluded from caching.
Screenshot of the capture setting attached. What else should I check?
Common questions
Can I recover a cart that never had an email?
No. Without an address there is nothing to send to. You can only prevent it next time by asking earlier, or retarget through ads if you have separate consent for that.
Is an exit-intent popup enough on its own?
No. It depends on cursor movement toward the browser's close button, which phones don't provide. Pair it with the checkout email field and a timed cart-page prompt.
Do I need GTM to use GA4 with WooCommerce?
Not strictly, since some WooCommerce analytics plugins send the events for you, but GTM with a data-layer plugin such as GTM4WP is the common route. Whichever you pick, verify each event on a test order.
When should the discount go out?
In the second reminder, not the first. Many shoppers come back after a plain nudge, and holding the offer back protects your margin.
Explore: Email Marketing Strategy
Related Articles
414 Request-URI Too Large in n8n's Amazon SES node: fix
The error 414 Request-URI Too Large in n8n's AWS SES node means a server in the path refused a request whose URL was too long, which a long HTML body can cause when it travels in the URL. Send through the SES v2 API with an HTTP Request node, or use SES SMTP.
Access denied, bad outbound sender: Outlook cold email fix
"Access denied, bad outbound sender" (550 5.1.8) means Microsoft 365 has put your mailbox on its restricted users list for spam-like sending. An admin must unblock it under Restricted entities in the Microsoft Defender portal. Then clean your list, lower your volume and resume gradually.
Acoustic Campaign "Application error" on login: bookmark fix
Acoustic Campaign shows "application error" at login when you open it from a bookmark saved while you were logged in, because the bookmark carries the old session. Log out, type your pod URL (campaign-us-[X].goacoustic.com) into the address bar, log in, then save a fresh bookmark.
ActiveCampaign 502 Bad Gateway and Tags Failed to Load: Fixes
"Bad gateway Error code 502" in ActiveCampaign means Cloudflare, the proxy in front of the app, got no valid response from ActiveCampaign's servers. That is usually their side. Check the status page, retry in a clean browser session, clear cookies, then send support the Ray ID if it persists.
Ready to supercharge your email marketing?
Start sending smarter emails with AI-powered campaigns. No credit card required.
Get Started Free