Checkout X gives you several options to choose for setting an abandonment cart, one of them is our own cart recovery solution. However, one of the most popular and powerful email marketing solutions in the e-commerce world is Klaviyo.

Using Klaviyo gives you access to creating advanced email funnels, detailed metrics on the performance of your emails, and a powerful visual and intuitive drag-n-drop editor for creating quick email designs and the look and feel of your emails. Find out more about Klaviyo’s features by checking out their page.

How Checkout X’s Klaviyo integration works

Checkout X works on top of your Klaviyo <> Shopify connection.

If you haven't already connected Klaviyo to your Shopify store, you can set up your account from here.

Sending cart abandonment email.

When a customer enters his email address on your checkout and abandons it without buying anything from you, Checkout X will save the email and provide it to Klaviyo, so that the automatic cart abandonment email from Klaviyo can be sent.

The automatic abandonment cart email will be sent to your Klaviyo Queue in 15 mins after the cart abandonment action is triggered.

Checkout X works with automatic cart abandonment emails, which you can set up in Klaviyo.

Cart Recovery Metrics

You need to know that when using a 3rd party integration like Klaviyo with Checkout X your cart abandonment metrics and emails will appear in Klaviyo, not Checkout X!

1.Creating a cart abandonment campaign in Klaviyo

Our checkout will provide Klaviyo with your customer’s email so that Klaviyo can send the automatic cart abandonment email. That’s why we will first set up a cart abandonment campaign and after that connect Klaviyo integration in Checkout X.

STEP 1: First, you need to create your Klaviyo Account and from there to create your Klaviyo API Key following these steps:

  1. Log in to your Klaviyo account.

  2. Click on your profile on the top-right corner and choose Account.

  3. Go to Settings.

  4. Select API Keys.

  5. Click on Create API Key to generate a new Private API Key and copy it.

STEP 2: Add your Klaviyo API Key to Checkout X by following these steps:

  1. Click on Configuration.

  2. Go to Integrations.

  3. Find Klaviyo.

  4. Add your Klaviyo Private API Key from your Klaviyo account.

  5. Don’t forget to click Save Checkout.

Note: Now the integration is active and Checkout X will send live events to Klaviyo.

Events on checkout

Checkout X will send two events to Klaviyo:

  • Checkout X - Email Filled

  • Checkout X - Order created

Checkout X - Email Filled

Whenever someone comes to the checkout page and starts filling their email address, they will trigger this event. After 5 minutes, Klaviyo will receive a notification with the event, the customer details ( email, names if filled ), the contents of the cart, and a cart recovery URL.

Checkout X - Order created

Every time an order is created we'll send a notification to Klaviyo containing the customer details ( email, names ) and the contents of the cart. Using this event, you can filter people who actually made a purchase, from the ones that didn't.

2. Setting up an Abandoned Cart Flow

To create an abandoned cart flow, you need to use both Checkout X - Email Filled and Checkout X - Order Created events.

STEP 1: Create the flow on Klaviyo and choose the action, by following these steps:

  1. Log in to your Klaviyo account.

  2. Go to Flows.

  3. Select Create Flow.

  4. Click on Create from Scratch, add the name of your flow, and click on Create Flow.

  5. Choose the Metric trigger.
    The trigger is the thing that needs to happen in order for Klaviyo to send emails to the customers. Whenever someone fills their email on the checkout page and doesn’t create an order, the email will be sent.

  6. In the Actions section choose Checkout X - Email Filled event.

  7. Click Save.

STEP 2: Set up the Flow Filters, by following these steps:

  1. Select Flow Filters and Add a Flow Filter

  2. Select What someone has done (or not done) condition.

  3. In the field “Person has” choose Checkout X - Order Created.

  4. Then, choose Zero times in the next field.

  5. After that, choose In the last 30 days.

  6. Click Save.

  7. Click Done.

STEP 3: Add a Time Delay to the trigger, so you won’t bother the customers at the time they fill in their information, but later to remind them to finish their purchase. You could do this by following these steps:

  1. Drag and drop the Time Delay section under the Trigger section.

  2. Set the delay for 1 hour (or a time delay of your preference).

  3. Click Save.

3. Creating a cart recovery email in Klaviyo

Once you create the flow in Klaviyo, you need to add the email option in the trigger section. Then, make sure that you have created an email in the Klaviyo integration because the emails in the Checkout X app won’t be sent.

STEP 1: First, you need to add the email option to the Trigger section in the flow in Klaviyo, following these steps:

  1. Drag and drop the Email section under the Time Delay in the Trigger section.

  2. Click on the Email #1 section.

  3. Go to Configure Content to edit the content of the email.

STEP 2: Create your first email in Klaviyo, following these steps:

  1. Choose the option Rich HTML (Use our drag & drop editor) from Create Content.

  2. Select 1 Column.

  3. Go to Edit Content.

STEP 3: Edit your email, following these steps:

  1. Add your store’s logo by clicking on the image section and selecting the picture.

2. Next, add the text content. You could go to the section on the left and edit the text. Use our email tags to personalize the email. You could check our video:

3. Add a button with a dynamic URL to your email, so you could direct the customer easily to the checkout page:

4. Add a view of the items the customer left in their cart:

⚠️ Make sure you add the information correctly. The “Repeat For” field needs to contain the “event.items” tag. The “Item Alias” field needs to contain “item” in it. Don't use capital letters like "Item", "ITEM" and don't use plural like "items".

5. The last step is to preview your email:

Email Tags

When setting up the content of your emails you can use the following tags within your email:

Generic Tags:
{{ email }} / Email of customer
{{ first_name }} / First Name of customer
{{ last_name }} / Last name of customer
{{ full_name }} / Full Name of customer

Checkout X event specific tags
{{ event.checkout_id }} / Id of the checkout
{{ event.order_total }} / Total price ( without currency )
{{ event.recover_url }} / The url to recover this checkout
{{ event.items }} / Array with the contents of the cart

Items - Use with the Repeat function of Klaviyo
{{ item.img_url }} / The url for the cover img of the product
{{ item.price }} / Price ( without currency )
{{ item.quantity }} / Quantity
{{ item.title }} / Product title
{{ item.variant_title }} / Variant title

More info on Klaviyo's email tags you can find here:


🙋 What If I have already set up an abandonment cart flow with Checkout X?

By having both solutions activated, our Free cart abandonment solution, and Klaviyo, your customer will receive abandonment cart emails only from the Klaviyo integration.

Did this answer your question?