> For the complete documentation index, see [llms.txt](https://docs.getpurpledot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getpurpledot.com/integrations/marketing/klaviyo/connect.md). Agents can also search and read this documentation through its [MCP server](https://docs.getpurpledot.com/~gitbook/mcp).

# Connect Klaviyo

Connect Klaviyo to the Purple Dot checkout.

For checkout behavior and consent, see [How marketing integrations work](https://docs.getpurpledot.com/integrations/marketing/how-marketing-integrations-work.md#how-it-works).

## Before you start

* You use the [Purple Dot checkout](https://docs.getpurpledot.com/understanding-purple-dot/glossary.md#purple-dot-checkout).
* You have a Klaviyo private API key with `events:write`, `lists:write`, `profiles:write`, and `subscriptions:write` scopes.
* This integration runs from the Purple Dot checkout and doesn't depend on which e-commerce platform you use.

## Steps

1. In the Merchant Portal, go to **Settings** > **Integrations** and select **Connect** on the Klaviyo card.
2. Enter your **Private API key**.
3. To track pre-order revenue, turn on **Send placed pre-order events** and enter a **Placed pre-order event name**.
4. To subscribe shoppers to email or SMS marketing, turn on **Subscribe shoppers when they pre-order**.
5. Optional: to add shoppers who give SMS consent to a Klaviyo list, enter its **SMS list ID**.
6. Save the integration.

   <figure><img src="https://2758444809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5A7csYKEplvsuQqHenE%2Fuploads%2Fgit-blob-ca612b71f839ff3284b93519f4049aa9b18f0b88%2Fhow-to-use-klaviyo-with-purple-dot-1.png?alt=media" alt="Klaviyo integration settings for events and subscriptions"><figcaption></figcaption></figure>
7. If you turned on **Subscribe shoppers when they pre-order**, go to **Settings** > **Checkout** and turn on **Collect email marketing consent**, **Collect SMS marketing consent**, or both. The Purple Dot checkout then shows the matching consent box to shoppers.

   <figure><img src="https://2758444809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5A7csYKEplvsuQqHenE%2Fuploads%2Fgit-blob-a3074541788ca439fe3787c6de93eef75be11299%2Fhow-to-use-klaviyo-with-purple-dot-4.png?alt=media" alt="Email marketing consent settings"><figcaption></figcaption></figure>

   <figure><img src="https://2758444809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5A7csYKEplvsuQqHenE%2Fuploads%2Fgit-blob-7486ea0bb11f130e3258d6f3171a54f9d8bd5709%2Fhow-to-use-klaviyo-with-purple-dot-5.png?alt=media" alt="Email marketing consent checkbox at checkout"><figcaption></figcaption></figure>

   <figure><img src="https://2758444809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5A7csYKEplvsuQqHenE%2Fuploads%2Fgit-blob-af5b2d92f6a7834bb77a4be6c0da2b60cb7a45ad%2Fhow-to-use-klaviyo-with-purple-dot-7.png?alt=media" alt="SMS marketing consent settings"><figcaption></figcaption></figure>

## Verify

Place a test pre-order through the Purple Dot checkout and give marketing consent. In Klaviyo, check that the event appears under the name you set and that the shopper's profile shows the subscription. See [Test your setup](https://docs.getpurpledot.com/set-up-and-launch/test-your-setup.md).

## Troubleshooting

* [My integration is not syncing](https://docs.getpurpledot.com/troubleshooting/orders-and-inventory/integration-is-not-syncing.md)
* [Get more help](https://docs.getpurpledot.com/troubleshooting/get-more-help.md)

## Related

* **Concept:** [How marketing integrations work](https://docs.getpurpledot.com/integrations/marketing/how-marketing-integrations-work.md#how-it-works)
* **Look up:** [Klaviyo events and settings](https://docs.getpurpledot.com/integrations/marketing/klaviyo/events-and-settings.md)
* **Fix it:** [My integration is not syncing](https://docs.getpurpledot.com/troubleshooting/orders-and-inventory/integration-is-not-syncing.md)


---

# 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.getpurpledot.com/integrations/marketing/klaviyo/connect.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.
