Automated Abandoned Cart
An Abandoned Cart campaign targets users who added an item to their cart but did not complete their purchase. A few timely reminders can provide effective motivation for your customers to revisit their carts and check out.
Abandoned Cart messages send when specific user behaviors occur. A developer must set up your app with events for those behaviors, but anyone with access to create messages in the Airship dashboard can get started now.
With the use of Abandoned Cart messaging in the Airship platform, JCPenney saw a 40% lift in purchase completion rates and Radisson Hotels saw a 11% lift in completed reservations .
Setting up events in the app
A developer must set up Custom EventsEvents that indicate that a user performed a predefined action, such as adding an item to a shopping cart, viewing a screen, or clicking an Unsubscribe button. Custom Events can trigger automation, including Sequences and Scenes. You can code them into your app or website, or send them to Airship from an external source using the Custom Event API. Custom Events contain properties that you can use to personalize messages. in your app or website so they can be used for automation:
Event Name | Description |
---|---|
added_to_cart | An item is added to the cart |
purchased | A user makes a purchase |
empty_cart | The last or only item is removed from the cart |
Setting up events to send to Airship can be done in the iOS, Android, and Web SDKs with the following calls. Use the below templates to create the events. See also Custom Event Templates.
If you use an integration or your application is already instrumented with Custom Events, you may need to adjust the event names for purchased
and added_to_cart
.
Add an event for when a item is added to cart:
Added-to-cart event
RetailEventTemplate.newAddedToCartTemplate().createEvent().track();
let retailTemplate = UARetailEventTemplate.addedToCart()
let retailEvent = retailTemplate.createEvent()
retailEvent.track()
new sdk.CustomEvent.templates.retail.AddedToCartEvent().track()
Add an event for when the cart is purchased:
Purchased event
RetailEventTemplate.newPurchasedTemplate().createEvent().track();
let retailTemplate = UARetailEventTemplate.purchased()
let retailEvent = retailTemplate.createEvent()
retailEvent.track()
new sdk.CustomEvent.templates.retail.PurchasedEvent().track()
And an event for when the last or only item is removed from a cart:
Empty cart event
CustomEvent.newBuilder("empty_cart")
.build()
.track()
let event = CustomEvent(name: "empty_cart")
event.track()
var event = new sdk.CustomEvent("empty_cart")
event.track()
Setting up the automation
You will create a SequenceA series of messages that is initiated by a trigger. Airship sends messages in the series based on your timing settings, and you can also set conditions that determine its audience and continuation. Sequences can be connected to each other and to other messaging components to create continuous user experiences in a Journey. that contains your message and settings for each event. You can set up a Sequence now, even if the events don’t yet exist in your app. Once the app is ready, make the Sequence active. In fact, you can enter whatever events you’d like, but be sure to edit the Sequence for the correct events before making it active.
If you’re creating the Sequence as a test and don’t intend to make it active, you may want to include “Do not start” or similar in the Sequence name as a notice to your team members.
You will configure these Sequence components:
Component | Associated Event | Description |
---|---|---|
Trigger | added_to_cart | Users enter the Sequence when this event occurs. |
Message | n/a | Airship sends the message to users who enter the Sequence. |
Conversion event | purchased | Users exit the Sequence when this event occurs. This prevents sending the Abandoned Cart message to a user if they make a purchase. |
Cancellation event | empty_cart | Users exit the Sequence when this event occurs. This prevents sending the Abandoned Cart message to a user if they no longer have any items in their cart. |
Conversion and cancellation events have the same effect on a Sequence. The different classifications are for reporting and mapping.
New Sequence
To get started, create a new Sequence and give it a name:
- Select the add icon () in the project header and select Sequence, then select Start from scratch.
- Name the Sequence “Abandoned Cart”.
- Select Continue.
You will now be in the Journey MapA visualization of messaging components that can be connected to create a continuous user experience. You can also create and edit from the map., where will you configure the three events.
Trigger
Configure the event that will cause users to enter the Sequence:
- Select the trigger card in the Journey map, then select the edit icon ().
- Select Custom Event.
- Enter “added_to_cart”.
- Select Save.
Conversion event
Configure the event that will cause users to exit the Sequence when they purchase an item:
- Select the Sequence card in the Journey map, then select the add icon () to its right.
- Select Conversion Event, then Custom Event.
- Enter “purchased”.
- Select Save.
Cancellation event
Configure the event that will cause users to exit the Sequence if they no longer have anything in their carts to purchase:
- Select the Sequence card in the Journey map, then select the add icon () to its right.
- Select Cancellation Event, then Custom Event.
- Enter “empty_cart”.
- Select Save.
Your message
While it’s possible to set up multiple messages in a Sequence, our example is for a single message. See Create a Sequence for full documentation.
First, set the Message Delay — the time Airship should wait after receiving the triggering event before sending your message. For our example, set it to send one day after the most recent added_to_cart
event has occurred:
- Select the Sequence card in the Journey map, then select the edit icon (). You will now be in the Sequence ManagerA preview of the messages in a Sequence, with options for editing and testing, and for running experiments..
- Select the arrow icon () next to Conditions to close that page section.
- Under Message Delay, select the default value 1 hour and change it to one day.
- Select Save.
Now you can select the audience and define the message to send:
- Select Add message content.
- Select the Originating ChannelA channel coordination strategy that targets a Named User on the channel that triggered the Sequence. strategy and the channel you set up your Abandoned Cart events for.
- Select Save and continue.
- Select Push Notification, then Add Content.
- In the Text field, enter a message that tells the customer that they have items remaining in their cart.
- Select Review in the header. At this point we recommend verifying what your message will look like on an actual device:
- Select Send Test.
- Enter at least one Named UserA customer-provided identifier used for mapping multiple devices and channels to a specific individual. or Test GroupA preview group is audience group used for previewing personalized content in the dashboard. Wherever a personalization preview is available, you can select a preview group, and its group members’ attributes will appear for any Handlebars references to attributes. You can enable any preview group as a test group so you can send test messages to its group members. These messages appear as tests in Messages Overview. and select from the results.
- Select Send.
The push should appear on test user devices momentarily.
- Select Save and continue, and you’ll be back in the Manage screen.
After you confirm the Sequence is working as expected and events are sending for your customers, select Start on the Manage screen to make it available to your audience.
Next steps
Take your messaging further:
Measure performance — After making a Sequence active, you’ll want to know how users respond to your messaging. See Performance ReportA report that compares audience behavior to a Sequence’s goal. It displays performance metrics and a link to the message report for each message in the Sequence..
Learn about A/B testing — Use A/B testing to determine which version of a message has the best impact on your Sequence. See Sequence A/B Tests.
Personalize it — The most successful Abandoned Cart messaging is personalized for the user. See Personalization.
Learn about Sequence testing — Since our example was for a single message, the steps above had you send a test for the message itself. We also have a Test Run feature that tests the full Sequence so you can ensure the messages are built correctly as they are delivered to your test devices. Test Runs include a report identical to the Performance ReportA report that compares audience behavior to a Sequence’s goal. It displays performance metrics and a link to the message report for each message in the Sequence., but the data is based on your test audience.
Learn about all Sequence testing options in Test a Sequence.
Categories