How Abandoned Cart Tracking Works #
The Pro add-on monitors WooCommerce cart activity and detects when a customer abandons their cart.
Cart Monitoring #
The plugin hooks into woocommerce_add_to_cart, woocommerce_cart_item_removed, and cart update events. Cart data is stored in transients with a 7-day expiry.
Email Capture #
Customer email is captured at checkout via the classic WooCommerce form, WooCommerce Blocks/Store API, and a custom REST endpoint — even before the order is placed.
Abandonment Detection #
A scheduled check runs every 15 minutes (via Action Scheduler). Carts that have been inactive for longer than the configurable threshold (default: 30 minutes) are marked as abandoned.
Tag Actions #
- Abandoned Cart Tags — Applied when a cart is detected as abandoned.
- Recovery Tags — Applied when the user returns, with options to remove abandoned tags.
- Re-abandonment — Abandoned tags can be re-applied if the user abandons again.
- Purchase Cleanup — Abandoned tags are removed when the user completes a purchase.
Abandoned Cart Opportunities #
Optionally create GHL pipeline opportunities for abandoned carts, enabling your sales team to follow up.
