Klaviyo Integration

Learn how to use Klaviyo with AnyTrack.io to track and attribute conversions across your marketing stack and increase ROAS.


Limited Support for Custom Integrations

We currently do not offer setup support for custom integrations not listed in the Integration Catalog. Any guidance provided in our documentation for such integrations is to be used at your own risk and may no longer be updated or maintained.

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.



While this integration does not require any programming or technical skills, it still requires that you update settings in your Klaviyo account and set up a Google Tag Manager container. If you are unable to follow the instructions below, please fill out this form.


About Klaviyo:

is a marketing automation platform that automates SMS and email marketing to help businesses acquire, retain and grow their customers. Klaviyo is well known and used by eCommerce owners as it integrates seamlessly with most eCommerce platforms such as Shopify, Woocommerce, and others.

The Tracking and Attribution Challenge

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 

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.



  • The integration does not affect the Ad Networks attribution window.
  • In Klaviyo, conversions will still be attributed based on the email campaigns subscribers receive since the conversions are synced from your Shop integration to Klaviyo.
  • You still need a working integration between your Shop and Klaviyo.



  1. You need a Klaviyo account.
  2. You need an AnyTrack account with a Personal Plan or higher.
  3. You need a Google Tag Manager Account.

Setup instructions:

Step #1: In Klaviyo navigate to the UTM Tracking settings

Click on UTM Tracking

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

  1. AnyTrack tracking parameter: atclid

    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)
  2. Klaviyo id parameter: klcid

    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
Click on Users
  1. Enable the option Automatically add UTM parameters to links

Click on Automatically add UTM parameters to links


Good to know:

The UTM Tracking will automatically append these new parameters to your campaign's URLs which will enable AnyTrack to attribute any new conversion to its original acquisition source.


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

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.


Good to know:

To capture Klaviyo form submission events and their associated data accurately, standard tracking methods are ineffective due to the use of JavaScript. To address this issue, we recommend utilizing Google Tag Manager (GTM), which offers the necessary data collection capabilities required by AnyTrack. By implementing GTM, you can ensure comprehensive tracking and analysis of Klaviyo form data within AnyTrack.


The GTM template enables the following actions:

  • Loads the AnyTrack Tracking Tag.
  • Tracks the Klaviyo Form submission event.
  • Passes Klaviyo event data to AnyTrack JS API.

Step #5: Install the GTM Container

  1. Download the Google Tag Manager container template here.
  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.



If you already have the AnyTrack Tag in your GTM Workspace, you should remove it.

Step #6: Request the integration

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.

Validate your integration

  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

FAQ and troubleshooting

  • Can I update past subscribers with the AnyTrack tracking id?

    Not currently, but any subscriber landing on your website from Klaviyo campaigns will be automatically tagged.
  • Can this integration be implemented for Affiliate Marketers?

    Yes. Since the integration is built around anonymous identifiers, AnyTrack can update the subscribers without the need of the subscriber email address.