Klaviyo ESP integration

Klaviyo is an ecommerce marketing automation platform that uses Sendgrid's Email API for its email platform. This means you can send emails through Sendgrid while using Klaviyo's suite of other services alongside.

Here, you can find out how to get set up with Klaviyo and Adjust for email marketing measurement.

Before you begin

Requirements

  • Android SDK v4.28.1 and later
  • iOS SDK v4.29.2 and later

Setup in Klaviyo

  1. Work with Klaviyo to set up your account.
  2. Set up link branding and click measurement.
    • Link branding lets you use your own domain on click-based links, rather than the default Klaviyo domain.

Setup in Adjust

1. Confirm support for deep linking in the SDK

In your app you need to configure the Adjust SDK for direct deep linking, deferred deep linking, and reattribution for deep linking. This ensures your app supports deep link measurement in different scenarios. Use our deep linking developer guides to ensure your app is correctly set up:

2. Set up Link Resolution

When you run email campaigns, Klaviyo wraps all links in the emails with its own click-recording redirect URL. This lets you see your click-through statistics.

However, if the emails contain universal links, the redirect URL causes iOS to not resolve the links properly. Adjust's Link Resolution can solve this problem. Use our developer documentation to ensure Link Resolution is set up in your app.

3. Complete steps from the SendGrid integration

Since Klaviyo uses Sendgrid's Email API, you need to follow certain requirements from the Sendgrid integration.

  1. Set up your domain to conditionally serve an AASA file or proxy to SendGrid. Find details on how to set this up in SendGrid's documentation.
  2. A valid AASA file should be hosted under the path. You can follow Apple's guide to create one or use the example found in SendGrid's documentation.

Prepare your email campaign

  1. Add your Adjust link in your Klaviyo email project.
  2. Make sure to test the integration before launching any live email campaigns.