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 a week ago

Time-Sensitive Update to Klaviyo API

On June 30th, 2024, Klaviyo is deprecating the current API access which your Triple Whale account may previously have been connected to. Reconnect your Klaviyo data to Triple Whale to ensure your Klaviyo data remains up to date and accurate.

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 OR utm_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

  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: utm_source and set it to: klaviyo and klaviyo

    1. If you are using something else for utm_source, add: tw_source set to klaviyo and klaviyo

    2. You will need to create new values for each

  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 each

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

You may want to compare specific metrics reported in Triple Whale to their origin metric in Klaviyo. The following list indicates where to find the equivalent values of specific Triple Whale metrics.

Triple Whale Metric

Klaviyo Location

Total Revenue

Campaign Revenue

Flow Revenue

Subscribed to List

Unsubscribed

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?

  • Klaviyo's default attribution window is 5 days, whereas Triple Whale's default is 28 days. Additionally, Klaviyo's attribution model is Last Click, whereas Triple Whale provides the ability to select a variety of models. As a result, Klaviyo's reported revenue for campaigns & flows will often differ from the revenue reported by Triple Whale.

  • In Triple Whale, a conversion occurs when a recipient opens your message and then takes another action (such as placing an order) within the conversion period or the attribution window. By contrast, Klaviyo defines conversion events that involve orders (e.g. Placed Order, Fulfilled Order, Ordered Product, etc.). However, this does not include if a subscriber simply opened your email or started a checkout.

  • By default, Klaviyo's "Dashboard" analytics reports based on the send date/time of your campaign and flow (i.e. if someone makes an order from Campaign A on January 1, but Campaign A was sent on December 25, that order revenue is attributed back to December 25).

    • This is inherently different from how Triple Whale attributes revenue (i.e. on the Order Date). Triple Whale's reported metrics about Klaviyo's performance will therefore most closely resemble the reports generated in Klaviyo's Metric Analytics.

Did this answer your question?