Abandoned Cart Coupon

In this tutorial, we will create a discount code for customers who didn't finish the purchase in your store. With more than 60% of carts abandoned, contextual discounts have become the perfect way to nudge the customers along the sales funnel. 

1
Enable tracking of a particular event on your website or app.
2
Create a segment for customers who performed the given custom event. 
3
Create a 5% off discount campaign.
4
Add segment-based validation rules.
5
Create an automatic distribution which sends a message every time a new customer appears in the segment.

Abandoned cart diagram

Custom Events are actions taken by your customers. Logging a custom event can trigger coupon distribution and enable customer segmentation filters around the event's recency and frequency. Note that your system controls custom events. After they take place, your system sends the trigger to Voucherify, but Voucherify does not check whether the event took place.

1

Track cart_abandoned event

To create a new event, go to Project Settings – Event Schema and click Add Event Definition.


Creating a new custom event

Name your event cart_abandoned and proceed to enable its tracking on your website/app.

New event - cart abandoned

2

Create a new customer segment

Go to the Customers tab and create a new segment.

The segment is for customers who abandoned the cart. It is also an auto-update segment, which means that new customers will be added to this segment each time they perform the action specified in the custom event cart_abandoned.

New customer segment

Click Add and Save to confirm the segment.

3

Launch a coupon code campaign

Go to the Campaigns tab and create a new Bulk Codes Campaign by clicking the plus (+).


Bulk codes campaign

Start by providing basic information about the campaign:

  • Campaign name. 
  • Description (optional)
  • Codes count (how many codes to generate). 
  • Redemption limits (once, X number of times, unlimited). 
  • Code pattern

Program General Information

We highly recommend selecting Auto-Update mode, which will tell Voucherify to generate new vouchers if you run out of the original vouchers.

Decide on the timeframe of your campaign:

  • Start and end date (highly recommended).
  • Specific validity timeframe (e.g., every day between 8 pm and 10 pm). 
  • Valid on particular days only. 
  • Valid X time after publication (increases urgency). 

Timeframe

The vouchers are going to be a 5% discount. You can choose between other incentive types, such as amount, unit, and free shipping discounts. 

5% discount

4

Build segment-based validation rules

In the next step, establish validation rules. Only customers from the "Cart abandoned" segment will be eligible for the discount. Moreover, to protect the promo budget, set up a redemption limit to be once per customer.


customer segment val rules

budhet val rules

5

Build a code delivery automation

Save the Campaign and move on to the Distribution. To create a new automatic, click plus (+) and select the message trigger.


New distribution

Select Customer entered segment as your automation trigger. Next, name the distribution, select the purpose, and audience.

Audience

We want to send unique codes from the cart abandoned campaign to customers from the cart abandoned campaign. 

The message send-out will be triggered by a new customer entering the "Cart abandoned" segment. If you haven't created a proper segment up until now, Voucherify gives you the possibility to create a new segment on the spot. 

In the next step, select proper marketing permissions.

Next, choose your channel (email), title, and design your email message.

Voucherify email template

Thanks to the Distribution mechanism or Publish API, a discount code will be assigned to only one customer profile.

Here is an example of an email message you can create with Voucherify:

Designed message

Each time a customer leaves a cart without completing the purchase, he/she will be automatically assigned to the "Cart abandoned" segment and sent an email message with a unique, one-time 5% discount code.