Docs

Log in to read the version of docs relevant to your site, or use the dropdown versions

Recover Abandoned Carts

Discover how to recover lost sales and increase your conversion rates effortlessly!

Sometimes, customers abandon their checkout process for various reasons, such as payment method issues, product choices, or pricing concerns. However, a simple reminder email can often rekindle their interest and make them complete their purchase.

Taking a proactive approach by identifying abandoned shopping carts and sending timely email reminders can significantly benefit your business and expand your customer base. Chargebee offers a suite of powerful tools designed to help you detect abandoned carts, automate reminder emails, and turn potential customers into loyal, paying clients.

With this feature, when a customer leaves a checkout page unattended for thirty minutes or closes the webpage without returning within thirty minutes, it's categorized as an Abandoned Cart.

Prerequisite

It is essential to make the email address a mandatory field to have a way to contact cart owners. Please note that abandoned carts are only tracked when customers provide their email addresses. Learn more about working with fields for Checkout.

Enable and Track Abandoned Carts

  1. Login to Chargebee.
  2. Go to Settings > Configure Chargebee > Checkout & Self-Serve Portal > Configuration > Advanced Settings and turn on the Track abandoned carts toggle.
  3. Click Publish.

Note

It is advisable to inform customers when this feature is used and update the terms and conditions along with the privacy policy to protect customer privacy.

Why don't I see customers in the abandoned cart reports?

Ensure that you have the track cart abandonment setting enabled. Ensure email addresses are captured from customers. It's always good to make email a mandatory field to ensure that we're able to track and retarget potential customers.

Accessing Abandoned Cart Reports in Chargebee

Chargebee generates a report to track abandoned carts. You can view this at Classic Reports > Revenue Recovery > Abandoned Carts.

  • Regular automatic report updates: Refreshes every 2 hours for the live site and 12 hours for the sandbox site.
  • Comprehensive report table: Includes data on total cart value, customer details, line items, applied coupons, and payment methods when relevant.

Note

Currently, abandoned cart report is descoped. Learn more.

Retrieve Cart Information Using API

You can obtain the state of a cart by retrieving the hosted page for the cart using the retrieve a hosted page API.

Once the customer has visited the cart, the checkout_info will contain the following information as applicable.

Field name
Type
Description
client_ipstringThe IP address of the client.
order_valueintegerThe value of the order.
currencystringThe currency in which the order is placed.
localestringThe locale setting for the order.
coupon_actionsarrayAn array of coupon action objects.
timestampintegerThe timestamp of the coupon action.
statusstringThe status of the coupon action. Possible values: "succeeded," "failed," "removed."
codestringThe code of the coupon used in the action.
failure_msgstringA message describing any failure related to the coupon action.
api_error_codestringThe API error code associated with the coupon action.
error_codestringAn error code associated with the coupon action.
checkout_submitarrayAn array of checkout submit objects.
statusstringThe status of the checkout submission. Possible values: "succeeded," "failed."
timestampintegerThe timestamp of the checkout submission.
gateway

objectAn object containing gateway information.
idstringThe ID of the gateway.
namestringThe name of the gateway.
payment_methodstringThe payment method used for the checkout submission.
errorsobjectAn object containing error information related to the checkout submission.
error_msgstringA message describing any error related to the checkout submission.
api_error_codestringThe API error code associated with the checkout submission.
http_status_codestringThe HTTP status code associated with the error.
vat_validationarrayStatus of vat-validation requests.
order_itemsarrayAn array of order item objects.
entity_typestringThe type of the entity (plan, addon, charge, adhoc).
entity_idstringThe ID of the entity.
quantityintegerThe quantity of the entity.
unit_amountintegerThe unit amount of the entity.
subscriptionobjectAn object containing subscription information.
customerobjectAn object containing customer information.
billing_addressobjectAn object containing billing address information.
shipping_addressobjectAn object containing shipping address information.
shipping_ship_to_billingbooleanA boolean indicating whether shipping is to the billing address.
couponsarrayAn array of coupon codes.

Example Checkout

API Response

{
    "hosted_page": {
        "id": "tIo4cdJ0di93mVVltYzcZFoIWYRyoGO7D",
        "type": "checkout_new",
        "url": "https://honeydukes-test.chargebee.com/pages/v4/tIo4cdJ0di93mVVltYzcZFoIWYRyoGO7D/",
        "state": "requested",
        "embed": false,
        "created_at": 1694682418,
        "expires_at": 1694693218,
        "object": "hosted_page",
        "updated_at": 1694682444,
        "resource_version": 1694682444868,
        "checkout_info": {
            "client_ip": "54.88.235.200",
            "order_value": 100000,
            "currency": "USD",
            "locale": "en_GB",
            "order_items": [
                {
                    "entity_type": "plan",
                    "entity_id": "cbdemo_advanced-USD-monthly",
                    "quantity": 1
                },
                {
                    "entity_type": "addon",
                    "entity_id": "cbdemo_additional-users-USD-monthly",
                    "quantity": 2,
                    "unit_amount": 50000
                }
            ],
            "customer": {
                "first_name": "Minerva",
                "last_name": "McGonagall",
                "email": "minerva@hogwarts.com"
            },
            "subscription": {
                "cf_butterbeer_type": "Frozen Butterbeer"
            }
        }
    }
}

Is tracking carts applicable for all types of checkout?

Understanding Recovered Carts and Sending Customer Reminders

When a customer who had previously abandoned a cart returns to complete their purchase, it is referred to as a Recovered Cart.

  • Identifies when a customer returns to complete an abandoned cart purchase.
  • Provides detailed reports generated by Chargebee.
  • Reports include customer information, product details, recovered value, and checkout recovery source.

Setting up Reminder Emails for Cart Recovery

Configure reminder emails to customers reminding them about their abandoned carts so that they complete their checkout process.

  • Configurable reminder email timing: Choose when to send reminders, from as soon as 30 minutes after cart abandonment to as late as 30 days.
  • Multiple reminder emails: Set up and send multiple reminders to increase the chances of recovering abandoned carts.
  • Detailed cart information: The email includes a breakdown of items left in the cart, making it easy for customers to recall their selections.
  • Seamless checkout resumption: A prominent button in the email allows customers to effortlessly return to their abandoned checkout session.
  • Retargeted checkout experience: Customers are taken to a checkout page identical to the one they initially left, with all previously entered information pre-filled.
  • Reduced friction: By retaining customer data, our system minimizes the effort required to complete the checkout process.

Navigate to Settings > Configure Chargebee > Email Notifications > Abandoned Cart Reminders to configure the email notifications and their content.

Sample Email:

Accessing Recovered Carts Reports in Chargebee

Chargebee automatically generates a report that provides information about recovered carts. This report contains details such as the customer's information, the product(s) involved, the recovered value, and the source of recovery during checkout.

You can view this report at Reports > Revenue Recovery > Recovered Carts.

Recovery Source shows how the customer was led to the cart recovery.

The sources are as follows:

  • Organic: The customer logged in to your website and checked out the cart on their own.
  • Email: The customer checked out through the Chargebee reminder email they received about the abandoned cart.

With Chargebee's Abandoned Cart Recovery feature, you can reclaim lost sales, boost conversions, and provide a seamless shopping experience for your customers. Start using it today to see your revenue grow!

Was this article helpful?