Tags and segments let you organize abandoned cart contacts inside Mautic so you can target them with recovery campaigns. The plugin applies tags automatically during the cart lifecycle and can optionally add contacts to a specific Mautic segment.
Abandoned Cart Tag
The Abandoned Cart Tag field sets the tag that is applied to a Mautic contact when their cart is marked as abandoned and synced. The default value is abandoned_cart.
This tag is added during the 15-minute cron sync. When the plugin pushes the cart data to Mautic, it includes this tag in the same API call. You can change the tag name to anything you prefer, such as cart-abandoner or left-items-in-cart.
Recovered Cart Tag
The Recovered Cart Tag field sets the tag that is applied when a customer completes a purchase after previously abandoning their cart. The default value is recovered_cart.
This tag is applied immediately when the order is processed. At the same time, the plugin clears the cart data and recovery URL from the Mautic contact record, since the cart has been recovered and those values are no longer relevant.
How Tags Work During the Lifecycle
Here is the tag behavior at each stage of the cart lifecycle:
- Cart captured – No tags are applied yet. The cart is in active status.
- Cart abandoned and synced – The abandoned cart tag (e.g.,
abandoned_cart) is applied to the Mautic contact. - Cart recovered – The recovered cart tag (e.g.,
recovered_cart) is applied to the contact. The cart data and recovery URL fields are cleared.
Note that the abandoned cart tag is not automatically removed when the cart is recovered. Both tags will exist on the contact. This is intentional, as it lets you build segments and reports in Mautic that distinguish between customers who abandoned and never returned versus those who abandoned and later completed their purchase.
Mautic Segment ID
The Mautic Segment ID field is optional. When set to a value greater than 0, the plugin adds each abandoned cart contact to the specified Mautic segment during the sync. Set it to 0 (the default) to skip segment assignment.
To find a segment’s ID in Mautic, go to Segments in your Mautic dashboard and click on the segment you want to use. The segment ID is visible in the browser URL bar (e.g., /s/segments/view/5 means the ID is 5).
Tags vs. Segments for Campaigns
You can use either tags or segments (or both) to trigger recovery campaigns in Mautic. Here is a quick comparison:
- Tag-based segment – Create a Mautic segment with a filter like “Tag includes abandoned_cart”. This is fully automatic and does not require entering a segment ID in the plugin settings.
- Direct segment assignment – Enter the segment ID in the plugin settings. The plugin adds contacts directly to the segment via the API. This is useful if you have complex segment filters and want to make sure abandoned cart contacts always land in the right place.
For most stores, the tag-based approach is simpler and recommended. You can always add the segment ID later if needed.