# klaviyo-back-in-stock

> Klaviyo back-in-stock form, in a dialog or popover, for the current variant.

Status: Ready (Smootify 2.0)  
URL: https://www.smootify.io/docs/astro/reference/elements/klaviyo-back-in-stock  
Updated: 2026-10-21

## Where it can go

- **Inside** [`smootify-product`](https://www.smootify.io/docs/astro/reference/elements/smootify-product).
- **Must contain** `form`, `button[type="button"]`.
- **Must contain one of** `dialog`, `[popover]`.
- **Out of place,** Smootify removes it from the page: also without data-company-id.

## What it requires

Nothing beyond Smootify: it works on every plan.

## Fields in the form

Each field’s `name` attribute tells Smootify what the field holds.

| Name | Field | What it does |
|---|---|---|
| `email` (any case), else the first `input[type="email"]` | `input type="text"`, `input type="email"` | **Required** (“Invalid Email” without it). The address Klaviyo alerts; every other field is ignored. |

## Attributes on the element

- **It reads** `data-company-id`.

## Loading

Its code loads only on pages that have `klaviyo-back-in-stock`.
