๐Ÿ“ Bolt Help / Developers / Developer Guides / Integration Setup / Connect Klaviyo with Bolt

Connect Klaviyo with Bolt

Klaviyo is a marketing automation tool that merchants can use to send marketing newsletters, abandoned cart and abandoned checkout emails, SMS marketing, and other custom customer communication flows.

The Bolt automatic integration with Klaviyo will send data about purchase events directly to your Klaviyo dashboard. You can use this shopper behavior information to inform campaigns and content funnels. You can also enable callbacks in checkout, configuring a variety of Klaviyo’s messaging features via Bolt’s Checkout.

Before You Start

Before you can integrate Bolt with Klaviyo, ensure that:

  1. You have an active Klaviyo account.
  2. You have an active Bolt Merchant account.
  3. You have successfully integrated Bolt and Klaviyo with your commerce platform.
  4. You know which Klaviyo features you would like to enable.

Feature Enablement Options

Capability Enablement Details
Email Marketing Requires a newsletter checkbox in Bolt checkout. Automatically adds users to Magento 2 and BigCommerce subscriber lists.
SMS Marketing Use Bolt callbacks to capture a customerโ€™s phone number and send that information to their Klaviyo instance.
Abandoned Cart / Checkout Marketing Use Bolt automatic integration, or callbacks to capture a customerโ€™s email (via the onEmailEnter callback), or cart contents.
Member Registration Use automatic integration, or capture a customer’s email via onEmailEnter callback.
Order Creation Use automatic integration or capture a conversion using the onSuccess callback.

Set Up Automatic Integration


This feature is currently available to participating Beta merchants.


To send event information from Bolt to Klaviyo, obtain a Public API Key from Klaviyo and provide it to your Bolt Support Representative. No further action is needed.

  • For order created: In the Klaviyo Dashboard under Profiles you will see the email addresses associated with Bolt orders and the following additional information:
    • orderNumber
    • price
    • quantity
    • sku

If you use BigCommerce or Magento 2 as your commerce platform, you can follow the explicit instructions below to set up checkboxes and callbacks for the features you want to enable.

Set Up Callbacks for BigCommerce

Before You Start

Install the Klaviyo integration in BigCommerce, according to Klaviyo’s How to Integrate with BigCommerce guide.

Enable Newsletters

If enabling the newsletter subscriber function, configure a newsletter checkbox in Bolt checkout.

This automatically adds anyone who opts-in to newsletters when checking out via Bolt to the email list.

Klaviyo then pulls customer emails from these places via the Klaviyo integration installed in the platform. Bolt does not directly pass this information to Klaviyo.

Enable Callbacks

  1. To leverage any additional Klaviyo functionality, merchants should leverage our callbacks functionality to trigger messaging based on shopper actions in checkout.

  2. If you are unsure which properties are available in a given callback, use console.log to return the arguments object. You’ll then see all available arguments you can use to build out callbacks in checkout:

    console.log(arguments) / console.log(JSON.stringify(arguments))
    

Set Up for Magento 2 / Adobe Commerce

Before You Start

Install the Klaviyo integration in Magento 2, according to Klaviyo’s How to Integrate with Magento 2 guide.

Enable Newsletters

If enabling the newsletter subscriber function, configure a newsletter checkbox in Bolt checkout.

This automatically adds anyone who opts-in to newsletters when checking out via Bolt to the subscriber list.

Klaviyo then pulls customer emails from these places via the Klaviyo integration installed in the platform. Bolt does not directly pass this information to Klaviyo if you are integrating with callbacks.

Enable Callbacks

  1. To leverage any additional Klaviyo functionality, merchants should leverage our callbacks functionality to trigger messaging based on shopper actions in checkout.

  2. If you are unsure which properties are available in a given callback, use console.log to return the arguments object. You’ll then see all available arguments you can use to build out callbacks in checkout:

    console.log(arguments) / console.log(JSON.stringify(arguments))
    
  3. Configure the desired callbacks in your Magento admin account. Go to:

    • Stores > Configuration > Sales > Payment Methods > Bolt Pay > Advanced Options

Set Up for WooCommerce

Before You Start

Install the Klaviyo integration in WooCommerce, according to Klaviyo’s How to Integrate with WooCommerce guide.

Enable Newsletters

If enabling the newsletter subscriber function, configure a newsletter checkbox in Bolt checkout.

This automatically adds anyone who opts-in to newsletters when checking out via Bolt to a list.

Klaviyo then pulls customer emails from these places via the Klaviyo integration installed in the platform. Bolt does not directly pass this information to Klaviyo.

Enable Callbacks

  1. To leverage any additional Klaviyo functionality, merchants should leverage our callbacks functionality to trigger messaging based on shopper actions in checkout.

  2. If you are unsure which properties are available in a given callback, use console.log to return the arguments object. You’ll then see all available arguments you can use to build out callbacks in checkout:

    console.log(arguments) / console.log(JSON.stringify(arguments))
    
  3. Configure the desired callbacks in your WooCommerce admin account.

    1. Navigate to Plugins > WooCommerce Bolt Checkout > Settings.

Set Up Callbacks for Other Commerce Platforms

In the event that you don’t use BigCommerce or Magento 2 / Adobe Commerce, you may still be able to set up an integration between Klaviyo and Bolt using callbacks.

How you do this usually varies per commerce platform, however, it typically requires providing your Publishable Bolt API key and enabling Bolt Pay. Then, you’ll need to set up callbacks and other Bolt functionalities in checkout according to the Klaviyo Feature Enablement Options section.

Additional Resources

Set Up Klaviyo

Set Up Bolt

๐Ÿ“–On This Page