How to enable the Klaviyo Integration API

From Spiffy Stores Knowledge Base

Klaviyo is an email marketing platform that can be integrated directly into your Spiffy Store to provide specifically targeted email and SMS messages to your customers.

Like most other email marketing platforms, Klaviyo (https://www.klaviyo.com) provides its customers with ways to create and send emails and SMS messages to specific lists of customers or potential customers. It manages the delivery and list maintenance for customers to opt in and out of this sort of marketing communication.

In addition to these basic functions, Klaviyo also provides an analytics function that is directly integrated into your store. These analytics functions allow you, as a store owner, to track the viewing and purchasing behaviour of customers who have opted-in to receive your marketing communications. These analytics functions enable you to tailor marketing communications to potential purchasers of specific types of products, such as offering special deals using coupon codes. The analytics can also detect actions such as abandoned carts or incomplete checkouts, and trigger follow-up communications to try to encourage the customer to complete the purchase.

Enabling the Integration

The Klaviyo integration for Spiffy Stores is one of the easiest integrations to enable, and requires just a simple checkbox to be enabled. You don't need to edit or modify any theme templates in order to get the full functionality of the integration. This makes our integration probably the easiest to use Klaviyo integration of all major ecommerce platforms.

Create a Klaviyo Account

The first thing is to ensure that you have signed up for a Klaviyo account. You'll need to choose the right plan for your needs, and they offer a free account which is suitable for testing and for merchants with only a small number of potential contacts.

Enable the Integration

Next, navigate to the "Preferences -> General Settings" page. Under "Analytics", you'll see a "Enable Klaviyo Integration" option. Select this, and click the "Apply Settings" button to activate the option.

That's it. There's nothing more to do in your Spiffy Store.

Data Sent to Klaviyo

Once enabled, the integration supports Klaviyo Onsite activity tracking, both in your store-front and in the checkout. This tracking is supported by Javascript snippets that are automatically added to all pages.

In addition, your Klaviyo account will receive event data that will be generated server-side and will not be blocked by any ad-blockers that the customer may have installed.

The following events are tracked:

  • Viewed Product - When someone views a product.
  • Added to Cart - When someone adds an item to their cart.
  • Started Checkout - When someone lands on the checkout page.
  • Placed Order - When someone completes the checkout.

For each event, the following template variables are provided as part of the event.

Note that event data is only sent for identified customers. When new customer commences the checkout and provides their contact information, a Klaviyo profile will be created for them, if it does not already exist. All events will be associated with this customer profile, and can be used to tailor and trigger further marketing communications with the customer.