HubSpot Abandoned Cart Tracking


Using WP Fusion’s Abandoned Cart addon (available to Plus and Professional license holders), you can track and follow up on abandoned carts from popular WordPress plugins in HubSpot.

WP Fusion’s Abandoned Cart addon works with the following plugins:

After the customer’s name and email have been entered on the checkout form, the customer is added as a contact to HubSpot (even if they don’t complete the checkout).

You can then use workflows in HubSpot to follow up with customers who don’t complete checkout within a specified period of time, including sending a cart recovery URL, and issuing automatic discounts based on lists.

#Setup in WordPress

Download the WP Fusion – Abandoned Cart Addon plugin file from your account and install it on your WordPress site.

The Abandoned Cart settings are found at Settings » WP Fusion » Addons.


There are two important settings:

  1. In the Apply Lists setting, select a list to use for tracking abandoned carts. This list will be applied when a cart is abandoned, and automatically removed once a customer completes checkout.
  2. In the Abandoned Cart Delay setting, select how long (in minutes) WP Fusion should wait after the customer begins to checks out before applying the abandoned cart lists.

Other settings may be shown based on your installed plugins. For more information, see the tooltips or visit the Abandoned Cart Tracking Overview documentation.

#Syncing cart fields

WP Fusion has the ability to sync details about the abandoned cart to custom fields on contact records in HubSpot. These fields can then be added to cart recovery emails using personalization tokens.

To enable these fields, head to Settings » WP Fusion » Contact Fields » WP Fusion Abandoned Cart.

#Recovery URLs

With WooCommerce and Easy Digital Downloads, WP Fusion has the ability to generate a cart recovery URL and sync it to a custom field in HubSpot.

This can be enabled by enabling the Recovery URL field for sync from the Contact Fields list (see above).

When a customer begins to check out (or their cart contents are updated), the cart contents will be saved into a cache in your database, and the recovery URL will be synced to the selected custom field in HubSpot.

The WP Fusion activity logs show the cart data being synced to the CRM once a customer has entered their email address on the checkout page.

You can then use a personalization token in the email editor in HubSpot to include the unique recovery URL.

When the recovery URL is visited the customer’s cart contents will be restored, and the checkout fields will be pre-filled using the information that was entered in the initial abandoned checkout session.

#Setup in HubSpot

First create a static list in HubSpot for tracking abandoned carts. In this case we’ll call it “Abandoned Cart”.

Then, in the WP Fusion settings, click Refresh Available Lists and Fields to load the new list into WordPress.

Create an automation that is triggered when the Abandoned Cart list is applied, and connect it to one or more cart recovery emails.

hubspot abandoned cart workflow

In your email, you can dynamically include the cart recovery URL by inserting the personalize token using the personalize token editor.

hubspot abandoned cart email

Publish the workflow to make it live.


To test your abandoned cart workflow, set the Abandoned Cart Delay setting to 0 to disable the delay. Open a new private browser window and add a product to your cart.

On the checkout screen, enter at least your name and email address. Once your focus leaves the email address field (either by clicking out of the field, or entering text into the next field), a contact will be created in HubSpot, the list will be applied, and the email will be sent.

The WP Fusion activity logs show any data being sent to HubSpot.

You can click the cart recovery link in the email to confirm the customer details and cart contents are successfully restored.

#Further reading

For more information on abandoned cart tracking with WP Fusion, see the Abandoned Cart Tracking overview.

To automatically apply discounts in WooCommerce based on a contact’s lists in HubSpot, see the Automatic Discounts documentation.

Was this helpful?