📍 Bolt Help / Third-Party Connectors / Marketing & Communications / 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. Using callbacks in checkout, you can configure a variety of Klaviyo’s messaging features manually via Bolt.

Bolt offers two ways to integrate with Klaviyo:

Integration Description
Automatic Integration This integration supports key Klaviyo events including Order Creation and Abandoned Cart.
Manual Integration This integration supports capturing more complex events and SMS marketing.

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 with your commerce platform.
  4. You know which Klaviyo features you would like to enable.

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.

This integration does not natively support SMS marketing.

Available Events

Event Description
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
Abandoned Order You will need to configure a new flow in Klaviyo using this event to trigger abandoned cart notifications. There is ~3 hour delay for this event to be triggered.
Member Registration Occurs when a customer sign up for an account on the site.

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

Limitations

The Automatic Integration does not support the following events and features:

  • Active on site
  • Viewed product
  • Added to cart
  • Started checkout
  • SMS consent capture at checkout
  • Email consent capture at checkout

Set Up Manual Integration

Take advantage of advanced Klaviyo features with the Manual Integration.

Before You Start

  • Install Klaviyo on your ecommerce platform to be able to leverage their APIs to track events.
  • Review Klaviyo’s documentation on using Sign-Up Forms to identify shoppers.

Available Events

Klaviyo tracks shopper activity on your site by capturing events.

Most events are transmitted automatically when you are integrated with Klaviyo. However, a few events such as those related to Checkout (e.g., Started Checkout) require additional setup. To capture these events, identify the shopper through a callback during checkout or through a Klavyo Form using the Javascript Track API.

Expand each section below to learn more about enabling that Klaviyo event or feature with your ecommerce platform.


Active on site



Viewed product



Added to cart



Started checkout



Placed order



Ordered product



Fulfilled, cancelled, or refunded order


Features

Feature BigCommerce Shopify WooCommerce M2 Server-side API
Identify shopper Identify User through Bolt SSO or via callbacks Identify User via callbacks Install WooCommerce plugin for Klaviyo and the Bolt Plugin Identify User via callbacks Integrate a platform without a pre-built Klaviyo integration
Email consent at checkout Server-side API: Captured from platform Customer data Server-side API: Captured from platform Customer data Install WooCommerce plugin for Klaviyo and the Bolt Plugin Server-side API: Captured from platform Customer data Integrate a platform without a pre-built Klaviyo integration
SMS consent at checkout Proxy API Proxy API Install WooCommerce plugin for Klaviyo and the Bolt Plugin Proxy API Integrate a platform without a pre-built Klaviyo integration

SMS Marketing

To use SMS Marketing with Klaviyo, you must first setup an SMS plan and sender number. See Klaviyo’s Getting Started with SMS guide. You can then leverage Klaviyo’s Proxy API along with callbacks to collect customer information and send SMS notifications.

Set Up Callbacks for BigCommerce

Before You Start

Install the Klaviyo native 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 by contacting your customer success manager.

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

Klaviyo then pulls customer emails from the list via the Klaviyo integration installed on the platform. Bolt does not automatically pass this information to Klaviyo.

Enable Callbacks

  1. To include additional Klaviyo functionality on the storefront, merchants should leverage the 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 by contacting your customer success manager.

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

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

Enable Callbacks

  1. To leverage additional Klaviyo functionality, merchants should use 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. To 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

Enable Newsletters

If enabling the newsletter subscriber function, configure a newsletter checkbox in Bolt checkout by contacting your customer success manager.

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

Klaviyo then pulls customer emails from the list 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 use Bolt callback 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 by navigating to Plugins > WooCommerce Bolt Checkout > Settings.

Send Started Checkout Event (Optional)

To trigger the Started Checkout event when an email is captured, add the following snippet to the Bolt plugin Settings in WooCommerce:

window.dispatchEvent(new CustomEvent('boltKlaviyoStartedCheckout', { detail: { email: email }}));

You can collect shopper consent at checkout to opt in to email marketing using the Klaviyo integration. Contact a Bolt representative.

You can collect shopper consent at checkout to opt in to SMS marketing using the Klaviyo integration. Contact a Bolt representative.

Set Up Callbacks for Other Commerce Platforms

In the event that you don’t use any of the ecommerce platforms in this guide, 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.

Direct API

For all events and features, use the Klaviyo guide for direct API implementations: Integrate a platform without a pre-built Klaviyo integration.

Additional Resources

Set Up Klaviyo

📖On This Page
Filter by Section
Filter by Topic