Abandoned cart: Getting started - Magento 2

Shopify connector user, or Dotdigital platform-only user?

If so, abandoned cart functionality is configured and implemented differently - and the information below will not apply. Please instead read the Shopify connector or platform-only (abandoned carts module) articles.


The Magento connector allows you to either enrol your abandoned carts into an Dotdigital program, enabling you to execute an omnichannel strategy, or send an abandoned cart email series to both your customers and guests of your website.

Whilst it's possible to run a program and the email series alongside each other, it's likely that you'll want to avoid this duplication. In which case, remember to disable any abandoned cart email series that you might already have running when enabling an abandoned cart program.

Enabling an abandoned cart program

An abandoned cart program enrols logged in users, guests, and guest subscribers.

CartInsight (Dotdigital's version of Insight data for abandoned carts) gets stored against a contact in Dotdigital when they abandon their basket. CartInsight is then used to power the abandoned cart block in a campaign, allowing you to preview the abandoned cart block's content in EasyEditor.

To enable an abandoned cart program, follow these steps:

  1. Create the abandoned cart program you wish to implement within your Dotdigital account
  2. Go to STORES > Configuration > Dotdigital > Abandoned Carts > Abandoned Cart Program, and select the program you created from the 'Enrol abandoned cart to' dropdown (only programs in an active state are listed)
  3. Set the time period for enrolment after a cart is abandoned (15 minutes, 30 minutes, one hour, six hours, or 12 hours)


How the abandoned cart email series works

Each type of site visitor - customers and guests - can receive three different emails scheduled for different times, each with different email content.

You have two options which provide the ability to include the contents of visitors cart within the emails you send:

Please note: To find the external dynamic content URL for abandoned carts, go to STORES > Dynamic Content > External Dynamic URL.


Our abandoned carts functionality works via an analysis every five minutes of quotes in the core Magento quotes table. In this table, your visitor's last modified date is within the time settings you have set and contains an email address or one associated to a registered customer. It is important to note that this functionality will not work if you are not using the default Magento quote functionality.

We allow you to set up to three emails to be triggered when a cart is abandoned, and you are also allowed to set up different emails for customers and guests. In addition to this, as per all of our features, you can configure different settings per website.

Enabling abandoned cart emails

To do this, follow these steps:

  1. Create the campaigns you wish to send as abandoned cart emails within your Dotdigital account.
  2. Go to STORES > Configuration > Dotdigital > Abandoned Carts, and select whether you are setting these up for Customers or Guests.
  3. Enable the amount of abandoned cart emails you require, set the time delay for the sending of the emails after the cart is abandoned, and then select the relevant campaign you created in step 1 from the 'Campaign to Send' dropdown.

  4. Click Save Config in the top right. Magento will then confirm that the settings have been saved. Your abandoned cart emails will send accordingly.

Adjusting abandoned carts email limit

The ability to adjust abandoned carts email limit is found in the 'Abandoned carts' section by going to STORES > Configuration > Dotdigital > Configuration.

You can restrict the sending of an abandoned cart email to a contact if they've already received a previous one within a set amount of hours. This avoids overloading contacts' inboxes if they do tend to have a habit of regularly abandoning their carts. Select from options between 1 to 240 hours and click Save Config once happy with the setting.


Sending abandoned cart emails only to newsletter subscribers

You can restrict abandoned cart emails so that they are only sent to newsletter subscribers by going to STORES > Configuration > Dotdigital > Configuration.

To send abandoned cart emails only to newsletter subscribers, click No in the 'Allow abandoned cart for non-subscribed contacts' dropdown.



If you only sync subscribed contacts to your account and then allow abandoned cart sends for non-subscribed contacts, this creates contacts in your account anyway, even if they aren't opted in. However, the contacts won't be added to an address book.
Did you find this article helpful?

Can we help?

Thanks for using Dotdigital. If you need more help or support, then contact our support team.