> For the complete documentation index, see [llms.txt](https://docs.abtasty.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.abtasty.com/integrations/push-integrations/klaviyo.md).

# Klaviyo

<div align="left"><figure><img src="https://2350286830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Yw9IRJ6KbbucQPwZUCZ%2Fuploads%2F6EdABDK0xqz4ylwrj8bL%2FKlaviyo-Logo.webp?alt=media&amp;token=ac71651c-9bc4-4961-96d1-d16259a95b64" alt="" width="188"><figcaption></figcaption></figure></div>

## Sending AB Tasty campaign data to Klaviyo

#### What this integration does

When AB Tasty assigns a visitor to a campaign and variation, the integration updates two fields on the user’s Klaviyo profile — only if the user is identified in Klaviyo:

* `abtasty_campaign` → the campaign name (and ID)
* `abtasty_variation` → the variation label (e.g., `A`, `B`, `Control`) and ID      &#x20;

That’s it. We don’t create lists, segments, or events for this push.

***

### Requirements

* Your site loads the Klaviyo onsite script and identifies users after signup/login.
* AB Tasty tag is loaded on your website
* Access to AB Tasty → **Settings** → **Integrations**.

***

### Turn it on (AB Tasty)

1. Go to **Settings** → **Integrations** → **Klaviyo**
2. Click **Create Connector**
3. Give your connector a name
4. To finalise, click **Create**

***

### Check it works (Klaviyo)

1. Launch a small AB Tasty test with two variations.
2. Visit the page as a known user (ensure your site calls Klaviyo `identify`).
3. In Klaviyo → **Profiles**, open your test profile\
   under **Profile properties**. You should see:
   * `abtasty_campaign = [campaignID] Your Campaign Name`
   * `abtasty_variation = [VariationID]Variation Name`&#x20;

<figure><img src="https://2350286830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6Yw9IRJ6KbbucQPwZUCZ%2Fuploads%2F23teXJc9ITkHnLN0cItD%2FCapture%20d%E2%80%99e%CC%81cran%202025-08-25%20a%CC%80%2018.27.51.png?alt=media&amp;token=55100052-f2d2-4373-bcae-5bb75ef27ff3" alt=""><figcaption></figcaption></figure>

If nothing appears, confirm the user is identified, the integration is enabled, and scripts load in the right order.

***

### Use it in Klaviyo

Segment by exposure

* *Properties about someone* → `abtasty_campaign` equals `HP Hero Test`
* *AND* `abtasty_variation` equals `B`

Branch a flow

* Conditional Split → `abtasty_variation` equals `A` → send version A content, otherwise version B.

Create a report based on AB tasty variation & campaigns

* Get the profile exposed to your several AB tasty campaigns


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.abtasty.com/integrations/push-integrations/klaviyo.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
