> ## Documentation Index
> Fetch the complete documentation index at: https://docs.genlook.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Klaviyo

> Connect Genlook to Klaviyo and trigger email flows when shoppers try on your products.

Connect Genlook to your Klaviyo account in a few clicks. Once connected, every identified try-on is sent to Klaviyo as a **Tried On Product** event, ready to power segments and flows.

<Note>
  Genlook does not send order events. If you use Shopify, Klaviyo's native Shopify integration already tracks purchases.
</Note>

## Before you connect

* Genlook is installed and the try-on widget is live on your store.
* Shoppers can be identified: they're logged in, or you've enabled **Email Collection** in Genlook **Settings** (we recommend asking after the 2nd try-on).

Anonymous visitors who never share an email won't appear in Klaviyo.

## Connect Klaviyo

<Steps>
  <Step title="Open Integrations">
    **Shopify:** In the Genlook app, go to **Integrations**.

    **WooCommerce, PrestaShop, and other platforms:** Sign in at [app.genlook.app](https://app.genlook.app), open your site, then go to **Integrations**.
  </Step>

  <Step title="Click Connect">
    Find **Klaviyo** and click **Connect**. A Klaviyo authorization window opens in a new tab.
  </Step>

  <Step title="Authorize Genlook">
    Sign in to Klaviyo if needed, then approve the connection. When you see the success message, close that tab and return to Genlook.
  </Step>

  <Step title="Confirm Connected">
    Back in Genlook, the Klaviyo row should show a **Connected** badge. You're done; try-on events will sync automatically.
  </Step>

  <Step title="Choose a list (WooCommerce and other non-Shopify platforms)">
    At [app.genlook.app](https://app.genlook.app), open your site's **Integrations** and pick the Klaviyo **list** that consented shoppers should be subscribed to.

    Only emails captured with the marketing opt-in checkbox **shown and ticked** are subscribed, and sync is **ongoing**: emails captured before you choose a list are not backfilled.

    On Shopify you don't pick a list (see [Profiles and list building](#profiles-and-list-building)).
  </Step>
</Steps>

## Build flows in Klaviyo

In Klaviyo, create a **Flow** triggered by the metric **Tried On Product**. A few ideas:

* Send a follow-up email 24 hours after a try-on if the shopper hasn't purchased.
* Target shoppers who tried on a specific product with reviews or a size guide.

Each event includes which product (and variant, when available) the shopper tried on.

## Event properties

The **Tried On Product** event mirrors Klaviyo's native "Viewed Product" shape, so you can segment and filter flows on flat properties. Any field Genlook can't resolve is omitted (never sent as empty).

| Property        | Example                                                       | Notes                                                                                                                 |
| --------------- | ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| `ProductName`   | `Linen Shirt`                                                 | Product title                                                                                                         |
| `ProductID`     | `123456789`                                                   | Bare numeric id; matches the catalog synced by Klaviyo's native integration, so it works with the `{% catalog %}` tag |
| `VariantID`     | `987654`                                                      | Numeric variant id, when a variant was tried on                                                                       |
| `SKU`           | `LIN-SHIRT-M`                                                 |                                                                                                                       |
| `Price`         | `49.99`                                                       |                                                                                                                       |
| `PriceCurrency` | `EUR`                                                         |                                                                                                                       |
| `ProductURL`    | `https://shop.example.com/products/linen-shirt`               |                                                                                                                       |
| `ImageURL`      | `https://cdn.example.com/linen-shirt.jpg`                     |                                                                                                                       |
| `Categories`    | `["Tops", "Shirts"]`                                          | When known                                                                                                            |
| `ItemNames`     | `["Linen Shirt"]`                                             |                                                                                                                       |
| `Items`         | `[{ ProductID, Name, SKU, ItemPrice, ProductURL, ImageURL }]` | One item per event for product blocks                                                                                 |

Use `{% catalog event.ProductID %}` in a flow email to render the tried-on product from your synced catalog.

## Profiles and list building

How consented emails reach Klaviyo depends on your platform.

<Tabs>
  <Tab title="Shopify">
    Genlook does **not** create Klaviyo profiles directly. When a shopper opts in through the widget, Genlook records the consent on their **Shopify customer** record (`emailMarketingConsent: SUBSCRIBED`). Klaviyo's native Shopify integration, which you run alongside Genlook, then syncs that profile and consent.

    This keeps Shopify the single source of truth for consent and avoids duplicate or conflicting profiles. Genlook's job on Shopify is the **Tried On Product** event; profiles come from the native sync.
  </Tab>

  <Tab title="WooCommerce and other platforms">
    There's no native Klaviyo integration for these platforms, so Genlook subscribes consented shoppers directly. Pick a **list** in your site's **Integrations** (see the connect steps above); consented emails are added to it with `SUBSCRIBED` marketing consent and a `Genlook Try-On Widget` source.

    * Only emails captured with the marketing checkbox **shown and ticked** are subscribed.
    * Sync is **ongoing**: there's no backfill of emails captured before you pick a list.
    * Profiles are deduplicated by email, so re-subscribing is safe.
  </Tab>
</Tabs>

## Verify it's working

1. Complete a test try-on as a logged-in customer, or after submitting an email through the widget.
2. In Klaviyo, open **Analytics → Metrics** and look for **Tried On Product**.
3. Open a customer profile and confirm the event appears.

## Disconnect

In Genlook **Integrations**, click **Disconnect** on the Klaviyo row. Events stop syncing immediately; existing Klaviyo data is not deleted.
