Abandoned Cart

Updated on February 9, 2026

This section covers the Abandoned Cart module, which tracks carts that customers leave behind at checkout and syncs them to Mautic so you can send recovery emails and win back lost sales.

When a customer enters their email at checkout but leaves without completing the purchase, the plugin captures the cart contents, generates a one-click recovery link, and pushes the data to Mautic. From there, you can build automated email campaigns that remind the customer about their cart and encourage them to return.

Key Features

  • Cart tracking – Captures cart contents, totals, and product names as soon as a customer enters their email at checkout
  • GDPR consent – Optional consent checkbox at checkout, with a silent capture mode for regions where explicit consent is not required
  • Automatic detection – A background cron job runs every 15 minutes to identify carts that have been inactive beyond your configured timeout
  • Mautic sync – Abandoned cart data, recovery URLs, and coupon codes are pushed to custom fields on the Mautic contact record
  • Tags and segments – Contacts are tagged when their cart is abandoned and again when they recover it, making it easy to build targeted campaigns
  • Recovery coupons – Unique, single-use percentage-discount WooCommerce coupons generated automatically for each abandoned cart
  • One-click recovery – A unique URL that restores the cart contents, auto-applies the coupon, and redirects the customer straight to checkout

How It Works

The module uses a JavaScript snippet on the checkout page to capture the customer’s email and cart contents via AJAX. This data is stored in a dedicated database table. Every 15 minutes, a WordPress cron job checks for carts that have been inactive longer than the abandonment timeout (default: 60 minutes). Carts that qualify are marked as abandoned, synced to Mautic with the appropriate tags and custom field data, and optionally assigned a recovery coupon.

When the customer clicks the recovery link in a Mautic email, the plugin restores their cart, applies the coupon if enabled, and redirects them to the checkout page. If the customer completes the purchase, the cart is marked as recovered and the recovered cart tag is applied to their Mautic contact.

Where to Find the Settings

Navigate to WooCommerce > Mautic Integration in your WordPress admin and click the Abandoned Cart tab. All settings described in this section are located on that tab.

Prerequisites

The Abandoned Cart module requires the Authentication module to be connected and working. Make sure you have completed the steps in the Connection section and that your test connection is successful before enabling Abandoned Cart.

In This Section

  • Enabling Abandoned Cart – How to turn on the module and what it activates
  • GDPR Consent – Configuring the consent checkbox and silent capture mode
  • Abandonment Timeout – Setting the inactivity period and understanding the detection cron
  • Tags and Segments – Configuring Mautic tags and optional segment assignment
  • Recovery Coupons – Generating unique discount coupons for each abandoned cart
  • Recovery URL – How the one-click cart restoration link works
  • Abandoned Cart Mautic Fields – Custom fields used and how to reference them in emails
  • Building a Recovery Campaign – Step-by-step guide to creating a multi-email recovery sequence in Mautic

In Abandoned Cart

Next