Skip to content

Klaviyo Integration

Get answers about klaviyo. Understand the key concepts and how they apply to your conversion tracking setup for optimal performance and tracking accuracy.

Whether email marketing is part of your omnichannel marketing strategy or it’s the core of your business, tracking beyond your open and click-through rate is key to your business growth.

When you acquire your customers through paid media campaigns, your goal is to drive maximum ROAS to your campaigns. Yet, when email marketing is part of your marketing, the customers acquired through paid ads will hopefully come back to your shop via your email campaigns, promotions, and loyalty programs.

In these marketing scenarios, the repeat purchases will be attributed to your email campaigns rather than to your paid ads channels.

Over time, and if you are successful at your email marketing campaigns, the ratio of purchases attributed to your email campaigns, rather than your paid ad campaigns, will grow and will prevent you from clearly seeing the true ROAS of your paid ads.

How the Klaviyo AnyTrack integration solves this challenge 

Section titled “How the Klaviyo AnyTrack integration solves this challenge ”

Once you enable the integration, AnyTrack will attribute your subscribers according to their original ad campaign sources, and any subsequent conversions, regardless of when they happen, will be attributed and reported according to their original ad campaigns.

AnyTrack documentation screenshot

Step #2: Create the new parameters according to the illustration (below)

Section titled “Step #2: Create the new parameters according to the illustration (below)”
    1. Click on Add a custom UTM Parameter
    2. Set the UTM Parameter name to atclid
    3. Select the Campaign Email Value: External id ($id)
    4. Select the Flow Email Value: External id ($id)
    1. Click on Add a custom UTM Parameter
    2. Set the UTM Parameter name to: klcid
    3. Select the Campaign Email Value: Klaviyo Profile ID
    4. Select the Flow Email Value: Klaviyo Profile ID
AnyTrack documentation screenshot
  1. Section titled “Enable the option Automatically add UTM parameters to links”
AnyTrack documentation screenshot
https://trafficker.io/?utm_source=Validation%20List&utm_medium=email&utm_campaign=Email%20Campaign%202022-02-09%2011%3A27%3A59%20%28WdtdaU%29&atclid=NhxpyvtKqj4LHWztCo7OWsSAbai9bMhSMa&klcid=01FVF08F97FWFPNTF3QA9HE2A0&_kx=T1KE0FgC53Gam3d7suloSQsGG6dUsEpupU1V_20OP2M%3D.XMEqAB

Step #3: Navigate to the Klaviyo API settings

Section titled “Step #3: Navigate to the Klaviyo API settings”
  1. Create a new API Key
  2. Reveal the key and copy it (you will need it in the following steps)

Step #4: Add the Google Tag Manager container to your website

Section titled “Step #4: Add the Google Tag Manager container to your website”

This step is required if you have published Klaviyo forms on your website and visitors are subscribing to your Klaviyo account prior to making a purchase.

  1. Download the GTM container template.
  2. Import the container into your Google Tag Manager workspace.
  3. Update the AnyTrack Property ID with your property id.
  4. Submit your new container.

Once you have followed the instructions, you can request the integration using this form.

  1. Provide the PropertyID for which this integration will be activated - How to find my propertyId
  2. Provide the Klaviyo API Key you created in Step #3
  3. Provide the Klaviyo List ID against which AnyTrack will validate and update the subscribers 
    • We recommend creating a new list for this specific purpose.
    • Make sure this is not a Segment ID, or the validation will fail.
AnyTrack documentation screenshot
  1. Go through your funnel using a clean browser (clean of Klaviyo cookies)
  2. Once you subscribe to your list you should see the external_id set under the new subscribers.
  3. Trigger an email from Klaviyo.
  4. Click on the email and inspect the landing page URL to see if the tracking parameters were appende