Skip to main content

Klaviyo Integration

Here are a few steps to connecting with Klaviyo, including accessing the newest Klaviyo API and updating the UTMs for Triple Pixel tracking.

Chaim Davies avatar
Written by Chaim Davies
Updated over 2 weeks ago

Overview

Klaviyo is an email marketing platform designed for e-commerce businesses to create personalized and targeted email campaigns. It offers advanced segmentation, automation, and detailed analytics to help businesses understand their customers and improve their marketing efforts.

Integrating Klaviyo with Triple Whale allows for a comprehensive analysis of email marketing performance alongside other advertising efforts. This integration helps businesses track customer journeys, measure the impact of email campaigns on sales, and optimize their overall marketing strategy based on unified data insights.

Get Connected

A brief walkthrough video of connecting Klaviyo to Triple Whale.

To set up your integrations, head to Settings > Integrations. Next to Klaviyo, click Connect.

You will be redirected to Klaviyo. Make sure you're already logged into Klaviyo using an account that has access to the Klaviyo account you'd like to connect with Triple Whale. Click Allow to approve the connection. These permissions allow Triple Whale to track activity on your Klaviyo flows and campaigns.

Private API Key No Longer Required

If you had previously connected your Klaviyo account to your Triple Whale account via a Private API Key, you can now remove that API Key. Triple Whale is no longer reliant upon this custom token to import Klaviyo data.

UTM Setup

A UTM, or Tracking Parameter, is a snippet of code that you can add to the end of a URL to track the performance of campaigns and content. By using Triple Whale's custom Tracking Parameters in your marketing content, each visitor will be informing our Pixel exactly which ad they just clicked on before arriving at your store.

To learn more about Pixel tracking & attribution, visit: How the Triple Pixel Works

Head to Klaviyo's UTM tracking page under Settings -> Other. This is where you can set up account-level UTM tracking parameters which can apply to all campaigns & flows.

Update your UTM settings to reflect the below specifications. We provide a detailed explanation of the following table below.

UTM parameter

Campaign value

Flow value

Source (utm_source)

Klaviyo

Klaviyo

Medium (utm_medium)

--

--

Campaign (utm_campaign)

Campaign name (campaign id)

Flow message name (flow message id)

Id (utm_id)

Campaign id

Flow id

Term (utm_term)

--

--

tw_source

klaviyo

klaviyo

tw_profile_id

Klaviyo profile id

Klaviyo profile id

tw_medium

campaign

flow

Step-by-Step UTM Instructions

  1. Source (utm_source) is set to: Klaviyo and Klaviyo

    1. This step isn't necessary, so long as step 4 below is properly applied.

  2. Campaign (utm_campaign) is set to: Campaign Name (campaign id) and Flow Message Name (flow id)

  3. ID (utm_id) is turned on and set to: campaign id and flow id

  4. Add: tw_source and set it to: klaviyo and klaviyo

    1. You will need to create new values for the campaign and flow value

  5. Add: tw_profile_id and set it to: klaviyo profile id and klaviyo profile id

  6. Add: tw_medium and set it to: campaign and flow

    1. You will need to create new values for the campaign and flow value

Ensure that the setting Automatically add UTM parameters to links is set to ON. Finally, Click Save. Your account-level UTM setup is now complete!

Tracking for Existing Campaigns & Flows

Ensure that each of your active campaigns and flows is set to include the tracking parameters we just set up.

1. Campaign settings:

  • When editing your campaign, scroll down to the Tracking section and ensure that Include tracking parameters is set to ON.

  • Do NOT turn on Customize tracking parameters.

Flow settings:

  • When editing your flow, click on each Email or SMS Action. In the righthand column, scroll down to the Settings section and ensure Enable UTM Tracking is set to ON.


Using Klaviyo to QA Triple Whale Data

When analyzing Email and SMS Campaign or Flow metrics from Triple Whale and comparing them with the Klaviyo dashboard, it's important to understand both the available data and which tables to reference for accurate results.

Categories of Klaviyo Data in Triple Whale

Triple Whale organizes Klaviyo Email and SMS data into two main categories:

1. Metrics Over Time

These metrics track performance over time and are based on the event_date.

  • For send and receive metrics, the event_date refers to the date the message was sent or received.

  • For purchase-related metrics, the event_date corresponds to the order date.

Note: The interpretation of event_date varies depending on the metric being analyzed.

To query this data, filter using the event_date field.

2. Metrics by Campaign or Flow

These metrics are aggregated at the campaign or flow level, rather than by date.

To analyze this data:

Filter based on campaign or flow attributes (e.g., campaign name, flow ID), rather than using event_date.

Querying and comparing the data to Klaviyo Dashboards

1. Metrics Over Time

Triple Whale - Email\SMS email_sms_table

  1. clicks

  2. conversion_value

  3. delivered

  4. opened

  5. purchases

  6. received

  7. sent

  8. spend

  9. subscribed_to_listv

  10. unsubscribed

Klaviyo Dashboard

Triple Whale Metric

Klaviyo Location

1. clicks

2. conversion_value

2.a Campaign conversion_value

2.b Flow conversion_value

3. delivered

4. opened

5. purchases

6. received

7. sent

8. spend

9. subscribed_to_list

10.unsubscribed

2. Metrics by Campaign or Flow

Triple Whale - Email\SMS email_sms_settings_table

clicks

  1. clicks_unique

  2. conversion_value

  3. conversions

  4. delivered

  5. opens_unique

Triple Whale Metric

Klaviyo Location

1. clicks_unique

2. conversion_value

3. conversions

4. delivered

5. opens_unique

Want to dive deeper into your metrics?

To understand how metrics are imported from your ad channels and how they're calculated, check out our comprehensive Data Dictionary. It’s your go-to resource for detailed explanations!


Frequently Asked Questions

1. Can I connect multiple Klaviyo accounts to Triple Whale?

  • Only one Klaviyo account can be integrated with Triple Whale at a given time.

2. Why do some metrics not seem to match up?



The main difference between Triple Whale Attribution (TA) and Klaviyo attribution is that TA will only attribute to tracked ad clicks, while Klaviyo will attribute an order to any of the following actions:

  • 5 days for email clicks

  • 5 days for email opens

  • 5 days for text message clicks

  • 1 day for text message opens

  • 12 hours for text message deliveries

  • 24 hours for push opens

  • 5 days for WhatsApp clicks

  • 12 hours for WhatsApp opens

  • 1 day Active on Site (Advanced KDP and Marketing Analytics customers only)

That means if someone simply opens an email (and never clicks through) then buys within a 5-day window, Klaviyo will still attribute that order to the message.

By contrast, Triple Whale only attributes revenue when a tracked ad click occurs and leads to a purchase

3. Some of my Klaviyo data seems off. What could be causing this?

Did this answer your question?