All Collections
Tracking features
Set up abandoned cart with WooCommerce
Set up abandoned cart with WooCommerce

Remind your customers' of their abandoned carts on your WooCommerce store.

Gareth Burroughes avatar
Written by Gareth Burroughes
Updated over a week ago

The WooCommerce connector allows you to send abandoned cart emails to your website's logged-in customers and guests.

The scenarios below outline the main processes that trigger enrolment for logged-in customers:

  • Shopper logs into their account ➔ Adds items to their cart ➔ Abandons

  • Shopper adds items to their cart ➔ Logs into their account ➔ Updates their cart ➔ Abandons

The scenarios below outline the main processes that trigger enrolment for guests:

  • Adds items to their cart ➔ Signs up to newsletter ➔ Abandons

  • Adds items to their cart ➔ Enters an email address during checkout ➔ Abandons

  • Clicks through an email campaign ➔ Adds items to their cart ➔ Abandons

At this point, the cart details are stored as a record in that contact's CartInsight data collection. This CartInsight data includes items such as the URL of the cart, the products in the cart and the price of the cart.


The abandoned cart feature is quick to set up and intuitive, and you don't need to add any custom code to your store. You need to build a program and map that program from the settings of the connector.

You have complete control over your program and can decide how many campaigns should be sent, the cadence of these campaigns, and the content within those campaigns. Cart content is easily inserted into the campaign by using the abandoned cart block. Enrolment can happen as soon as 30 minutes after the cart has been abandoned.

Before you start

Things you need to know:

  • Check out The WooCommerce integration checklist to help track your progress.

  • To use the latest WooCommerce Abandoned Cart functionality you must be on Dotdigital for WooCommerce version 1.3 or later.

    To check your version, in Wordpress, go to Admin > Plugins > Installed Plugins.

  • Abandoned cart relies on Web behavior tracking to trigger and import cartInsight data. When adding products to a cart for testing, you must refresh the page or browse to another page for Web behavior tracking to trigger, otherwise you cart might appear empty and not sent abandoned cart emails.

1. Create an abandoned cart email

An abandoned cart email contains the latest contents of a contact's cart in a pre-built layout, which is populated with CartInsight data. Abandoned cart emails are sent automatically through programs. Therefore, make sure you create an abandoned cart email as a triggered campaign.

Create an abandoned cart email by going to Automation > Triggered email > ADD NEW.

2. Preview the content of an abandoned cart block

You can preview the text displayed to a contact when the email is sent by using the personalised preview.

  1. In the EasyEditor design view of your abandoned cart campaign, select PREVIEW.

  2. Select the Personalisation icon.

  3. Enter the email address of a contact that has a CartInsight data record. To find out which contacts have a CartInsight data record, create a segment that contains those contacts.

    Learn more in Create a segment.

If you need additional help with building an email campaign, read the Email basics section of the Help Centre.

3. Create an abandoned cart program

Contacts are enrolled into an abandoned cart program when they abandon items in their shopping cart while browsing your site. The enrolment into the program is configured in your ecommerce integration, but in order to do this you need to create and activate an abandoned cart program.

Create an abandoned cart program by going to Automation > Programs > NEW PROGRAM.

New to Automation?

If you are new to program building we suggest you watch the Automation training videos or review our Automation section.

Step 4: Set up abandoned carts in WooCommerce

  1. In Wordpress, go to Dotdigital for WooCommerce > Settings.

  2. Under the heading Abandoned Carts, select the Enable abandoned carts check box.

  3. For Abandoned cart Program ID, enter the ID for your abandoned cart program in Dotdigital.

    You can find the program ID by opening the program in Dotdigital and checking the URL:

  4. For Allow abandoned cart delay (minutes), enter the amount of time in minutes that you want to pass before the customer enters your abandoned cart program.

  5. To let customers who aren't subscribed to your marketing communications enter your Abandoned cart program, select the Allow abandoned cart for non-subscribed contacts check box. You also need to make sure Enable guest carts is selected on your Web Behavior Tracking profile.

  6. Select Save Changes.


  • The abandoned cart program must be active for enrolment to begin.

  • If you're currently using version 1.2 or earlier of our WooCommerce connector, you must upgrade to the latest version for improved functionality. After upgrading, in Dotdigital, go to Connect and select the WooCommerce tile, then deselect the abandoned cart trigger. You can then follow the steps in Set up abandoned carts in WooCommerce to set up abandoned carts.

Did this answer your question?