Recover abandoned carts
Learn how to recover lost sales and increase conversion rates effortlessly.
Customers may abandon their checkout process for various reasons, such as payment issues, product choices, or pricing concerns. A simple reminder email can often rekindle their interest and encourage them to complete their purchase.
By identifying abandoned carts and sending timely email reminders, you can boost your business and grow your customer base. Chargebee provides tools to detect abandoned carts, automate reminder emails, and convert potential customers into paying clients.
When a customer leaves a checkout page unattended for 30 minutes or closes the webpage without returning within 30 minutes, Chargebee categorizes it as an abandoned cart.
Prerequisite
Make the email address a required field to contact cart owners. Abandoned carts are tracked only when customers provide their email addresses. Learn more about configuring checkout fields.
Enable and track abandoned carts
- Log in to Chargebee.
- Go to Settings > Configure Chargebee > Checkout and Self-Serve Portal > Configuration > Advanced Settings.
- Turn on the Track abandoned carts toggle.
- Click Publish.
Note
Inform customers when you use this feature. Update your terms and conditions and privacy policy to protect customer privacy.
Why don't I see customers in the abandoned cart reports?
- Ensure the Track abandoned carts setting is enabled.
- Make email addresses mandatory to track and retarget potential customers.
Access abandoned cart reports in Chargebee
Chargebee generates a report to track abandoned carts. You can view it at Classic Reports > Revenue Recovery > Abandoned Carts.
- Automatic updates: The report refreshes every 2 hours for live sites and every 12 hours for sandbox sites.
- Comprehensive data: The report includes total cart value, customer details, line items, applied coupons, and payment methods.
Note
The abandoned cart report is currently descoped. Learn more.
Retrieve cart information using the API
Use the Retrieve a Hosted Page API to get the state of a cart.
When a customer visits the cart, the checkout_info contains the following details:
| Field name | Type | Description | ||
|---|---|---|---|---|
client_ip | string | The IP address of the client. | ||
order_value | integer | The value of the order. | ||
currency | string | The currency in which the order is placed. | ||
locale | string | The locale setting for the order. | ||
coupon_actions | array | An array of coupon action objects. | ||
timestamp | integer | The timestamp of the coupon action. | ||
status | string | The status of the coupon action. Possible values: | ||
code | string | The code of the coupon used in the action. | ||
failure_msg | string | A message describing any failure related to the coupon action. | ||
api_error_code | string | The API error code associated with the coupon action. | ||
error_code | string | An error code associated with the coupon action. | ||
checkout_submit | array | An array of checkout submit objects. | ||
status | string | The status of the checkout submission. Possible values: | ||
timestamp | integer | The timestamp of the checkout submission. | ||
gateway | object | An object containing gateway information. | ||
id | string | The ID of the gateway. | ||
name | string | The name of the gateway. | ||
payment_method | string | The payment method used for the checkout submission. | ||
errors | object | An object containing error information related to the checkout submission. | ||
error_msg | string | A message describing any error related to the checkout submission. | ||
api_error_code | string | The API error code associated with the checkout submission. | ||
http_status_code | string | The HTTP status code associated with the error. | ||
vat_validation | array | Status of VAT-validation requests. | ||
order_items | array | An array of order item objects. | ||
entity_type | string | The type of the entity ( | ||
entity_id | string | The ID of the entity. | ||
quantity | integer | The quantity of the entity. | ||
unit_amount | integer | The unit amount of the entity. | ||
subscription | object | An object containing subscription information. | ||
customer | object | An object containing customer information. | ||
billing_address | object | An object containing billing address information. | ||
shipping_address | object | An object containing shipping address information. | ||
shipping_ship_to_billing | boolean | A boolean indicating whether shipping is to the billing address. | ||
coupons | array | An 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?
- Checkout to create a new subscription: Supports all cart abandonment tracking features, including the
checkout_infoparameter. - Checkout for one-time payments: Does not support cart abandonment tracking or the
checkout_infoparameter. - Checkout for updating subscriptions: Supports the
checkout_infoparameter but does not track cart abandonment.
Understanding recovered carts and sending reminders
When a customer completes a purchase after abandoning a cart, it is called a Recovered Cart.
- Identifies when a customer returns to complete a purchase.
- Provides detailed reports with customer information, product details, recovered value, and recovery source.
Set up reminder emails for cart recovery
Configure reminder emails to encourage customers to complete their checkout process.
- Customizable timing: Send reminders from 30 minutes to 30 days after cart abandonment.
- Multiple reminders: Increase recovery chances by sending multiple emails.
- Detailed cart information: Include a breakdown of items left in the cart.
- Seamless checkout: Add a button in the email to resume the checkout session.
- Pre-filled data: Retain customer information to reduce friction.
Go to Settings > Configure Chargebee > Email Notifications > Abandoned Cart Reminders to set up email notifications.
Sample Email:
Access recovered carts reports in Chargebee
Chargebee generates a report with details about recovered carts. You can view it at Reports > Revenue Recovery > Recovered Carts.
The recovery source indicates how the customer returned to the cart:
- Organic: The customer logged in and completed the checkout.
- Email: The customer used the reminder email to complete the checkout.
With Chargebee's Abandoned Cart Recovery feature, you can reclaim lost sales, boost conversions, and provide a seamless shopping experience. Start using it today to grow your revenue!
Articles & FAQs
Was this article helpful?