---
title: "Temporarily prevent Klaviyo signup forms from appearing"
canonical_url: "https://help.klaviyo.com/hc/en-us/articles/58479895843483"
markdown_url: "https://help.klaviyo.com/hc/en-us/articles/58479895843483.md"
locale: "en-us"
category: "Sign-up forms"
section: "Form best practices"
updated: "2026-11-10"
---

# Temporarily prevent Klaviyo signup forms from appearing

Use the `kl_forms_off` cookie to prevent Klaviyo signup forms from opening on your website. For example, your developer can set this cookie for visitors arriving from an SMS campaign, email, partner link, or in-app browser.

Your website controls when the cookie is set and removed. Klaviyo does not manage the cookie or automatically set it from URL parameters.

## Before you begin

This setup requires access to your website’s code and may require a developer. The cookie applies to all Klaviyo onsite forms, including popups, flyouts, full-page forms, banners, embeds, and teasers. It also prevents forms opened through custom triggers from opening.

## Prevent forms from opening

Set a first-party cookie named `kl_forms_off` with the value `true` before a form attempts to open:

```javascript
document.cookie = 'kl_forms_off=true; path=/';
```

This example creates a session cookie available across your website’s paths. Your developer can configure an expiration if suppression should last longer.

While the cookie is set to `true`:

- Klaviyo forms and teasers do not open.

- Blocked opens do not record form views or viewed-step metrics.

- Klaviyo’s onsite scripts still load and evaluate form triggers.



The value is case-insensitive and ignores surrounding whitespace. Values such as `false` or `1` do not prevent forms from opening.

## Allow forms to open again

Remove the cookie:

```javascript
document.cookie = 'kl_forms_off=; Max-Age=0; path=/';
```

If your developer set a domain or a different path when creating the cookie, use the same domain and path when deleting it.

Once the cookie is removed, forms can open when their normal targeting and display conditions are met.

## Test your setup

1. On a test website, set the cookie before a form’s display conditions are met.

2. Reload the page and confirm that forms and teasers do not appear.

3. Remove the cookie and reload again.

4. Confirm that eligible forms can appear.



The form editor and onsite preview ignore this cookie. Test on your website to verify suppression.

If a form still opens, check that the cookie name is exactly `kl_forms_off`, its value is `true`, and it is available on the page before the form attempts to open.
