The Cart Recovery URL is a property included in the “Current Shopping Cart Status” tag. This field stores in the contact's cart a URL to recover the items related to that same cart. This URL can be used in workflows and content to recover the items related to that cart.
This article explains how the Cart Recovery URL works and how it is used in Connectif.
1. Properties
1.1. About the use of the Cart Recovery URL
- The Cart Recovery URL is not a URL generated by Connectif; the client sends it to Connectif through their integration, to be able to use it in Workflows and Content.
- This URL must be valid and allowed in the Authorized Domains ("Store Settings > Web > Advanced Configuration"), otherwise that URL will not be stored.
- This URL is not available in integrations with VTEX Legacy.
1.2. About the Cart recovery URL field
- This field allows storing in Connectif, in each contact's cart, a URL with the items related to that same cart.
2. How the Cart recovery URL works in each CMS
Each CMS manages this type of cart recovery URL differently depending on the integration:
a. How this URL works in Shopify
The Cart recovery URL in Shopify is a URL that contains the exact information of the products the customer currently has in their cart, including information about variants (sizes, colors, etc.) and quantities.
When the contact visits that URL, which takes them directly to the cart page, the entire content of the current session's cart that the contact may have is replaced.
b. How this URL works in Prestashop
The Cart recovery URL in Prestashop is a URL that contains Prestashop's native cart identifier.
Using that cart identifier, the cart information is retrieved from Prestashop itself, including specifically if there are variants with their specific size/color/etc.
When visiting this link, the contact is directed to the cart page with the products it contained, completely replacing the current cart content of the contact’s session, if any.
If the Connectif module is not active at the time of browsing these generated links, the contact is redirected to the home page, without altering the current session cart, if any.
c. How this URL works in Magento 2
The Cart recovery URL in Magento is a URL that contains Magento’s native cart identifier. Using that cart identifier, Magento retrieves information about variants (sizes, colors, etc.) and quantities.
When the contact visits that URL, which takes them directly to the cart page, the entire content of the current session's cart that the contact may have is replaced with the content recovered through the cart identifier in Magento.
If the contact does not have any active cart at that moment, a new one will be created and assigned.
d. How this URL works in WooCommerce
The Cart recovery URL in WooCommerce is a URL that contains the exact information of the products the customer currently has in their cart, including information about variants (sizes, colors, etc.) and quantities.
When the contact visits that URL, which takes them directly to the cart page, the entire content of the current session's cart that the contact may have is replaced.
e. How this URL works in VTEX IO
In VTEX IO, the Cart recovery URL contains the specific product identifiers, including the sales channel (Sales Channel or Trade Policy) and the seller (Seller). This will recover both product variants – for example, specific sizes and colors – and maintain the same prices resulting from choosing one seller or another if the VTEX store acts as a Marketplace.
When visiting the link, the contact is directed to the cart page, with certain features:
- If the contact has other products in the cart, these remain and the new ones are added; that is, previously added items to the recovery are not lost.
- The URL also recovers out-of-stock products. VTEX handles displaying a stock warning so the contact can remove them from the cart before proceeding with the purchase.
- An error warning is shown for products that do not exist or are disabled.
f. How this URL works in BigCommerce
The Cart recovery URL in BigCommerce is a URL that contains the exact information of the products the customer currently has in their cart, including information about variants (sizes, colors, etc.) and quantities.
When the contact visits that URL, which takes them directly to the cart page, the entire content of the current session's cart that the contact may have is replaced.
g. How this URL works in Tiendanube
The Cart recovery URL in Tiendanube contains the information of the products the customer currently has in their cart, including quantities and selected variants such as size or color.
When the contact accesses this URL, they will arrive directly at the cart page, and its content will replace the cart they had in the current session.
h. How this URL works in custom integrations
In custom integrations, the Cart recovery URL must be generated and managed by the Ecommerce platform itself.
To do this, the Cart Token field can be used, available in nodes related to carts. This field contains the necessary information to reconstruct the cart content, such as the identifiers of the included products and their quantities, allowing the generation of a custom recovery URL.
When the contact visits that URL, the Ecommerce must process the received token and reconstruct the corresponding cart according to the logic implemented on the platform.
Therefore, the behavior of the cart recovery URL will depend on the implementation carried out by each Ecommerce, including aspects such as product recovery, management of out-of-stock items, or interaction with an existing cart in the contact’s session.
3. How to use this URL in Connectif
To obtain the Cart recovery URL through a workflow, it must be done via the "Get last cart" and "On cart abandonment" nodes, then mapped into the variables of the content to display or send.
Below is an example with the "Get last cart" node, based on a monthly cart recovery strategy, available in Connectif’s workflow templates.
Through the "Get last cart" node, the Cart recovery URL is obtained and sent in the "Send email" node, where a variable including it has been configured.
When configuring the "Send email" node, this variable (right column) must be associated with the Cart recovery URL (left column).
With this, the workflow sends an email with the Cart recovery URL to each contact.
Keep learning!
To make the most of your Connectif account’s potential, we recommend continuing with the following articles:
Integration via tags, to learn about all the notifications you can send from your eCommerce to Connectif and how they work.
Integration via JavaScript events, to learn about this integration method that gives you greater control over when and how to send events.
Integration with Connectif via API, to synchronize contacts, products, purchases, and coupons.
Check integration with eCommerce, to ensure all data is synchronizing correctly in your Connectif account.