---
title: "How to add coupon codes to sign-up forms"
description: "Learn how to add static and unique coupon codes to your sign-up forms to drive higher submission and conversion rates, and encourage customers to spend more on your site."
canonical_url: "https://help.klaviyo.com/hc/en-us/articles/6038674938523"
markdown_url: "https://help.klaviyo.com/hc/en-us/articles/6038674938523.md"
locale: "en-us"
category: "Content"
section: "Getting started with coupons"
updated: "2026-10-30"
---

# How to add coupon codes to sign-up forms

## You will learn

Learn how to add static and unique coupon codes to your sign-up forms to drive higher submission and conversion rates, and encourage customers to spend more on your site.

It’s a best practice to add the coupon code directly to the success message of your form, as it incentivizes sign-ups and allows your shoppers to claim the coupon without leaving your site. If you’re using Shopify and unique Shopify coupons on your sign-up forms, the coupon will be automatically applied to a customer’s cart at checkout when they complete the form.

## Before you begin

There are a few types of coupons: 

- **Unique codes**
Unique, also called "dynamic," coupon codes are a random series of numbers or letters that a recipient can use 1 time. Each recipient will receive their own coupon code, and no 2 recipients will have the same code. Unique coupon codes are typically longer and more complicated than static codes.

- **Static coupon**
Static coupon codes are a single code for all customers to use (e.g., Welcome20). Every person will receive the same code to use on your site. Static codes can be shared out; however, they are easier to remember and use. 



The process of configuring the coupon will differ depending on the type of coupon you use (i.e., static coupon, unique Shopify coupon, or uploaded unique coupon); however the first 2 sections of this guide should be followed regardless of coupon type.

**📝 Note:** Banner forms can use static coupons. If you want to offer a unique coupon, place its block on the success step. When collecting sign-ups with a unique coupon, make the email or phone number field required.

## Prepare your sign-up form

1. Navigate to **Website > Sign-up forms** in Klaviyo's left-hand navigation.

2. Choose one of the following options. If you are prompted for a form name and channel after clicking **Create form**, enter a name, select **Web**, and click **Create**.

   - Option 1: choose 1 of your existing forms to edit and add a coupon to.

   - Option 2: choose a pre-built template from the form library that has a coupon block already included. Select **Create form**, then open **Template type** and select **Coupons and offers** to filter the library. Select a template, choose its list, and click **Create form**.



![The form library with the box for Coupons & Offers checked off at the top of the page to narrow the search](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/aeb1a1f1a06ee105a4af1172e6dd1016d7e4cb8d-904x153.jpg?auto=format)

  - Option 3: create a new form from scratch and configure it with a coupon. Select **Create form**, then **Create blank form**. Enter a name, choose a form type and list, and click **Create form**.

3. If you chose an existing form, open it in the form editor.



With any of the options above, you can easily add a coupon block to your sign-up form in the form builder.

## Add a coupon block to the success step of your form

Once you're in the editor for your sign-up form, you can add and configure your coupon. Follow these setup instructions for both static and unique coupons:

1. In the form editor, select the submit button in the preview.




![The button menu showing in the form editor for an example form with the Action set to Submit Form and the After Submit set to Show Next Step](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/735a0bfe9b600a1a66bfb0fb561f5aeb9569d0d3-2268x928.jpg?auto=format)

2. Configure the **Button click action** settings to the following:

   - **Action**: **Submit form**.

   - **List to Submit**: Choose your list.

   - **After Submit**: **Show next step**.

3. At the top of the page, select **Success** to open your form’s success step. This is the page that visitors will see when they submit the form.




![The Success step selected in the menu bar of the form editor for an example form](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/d7bd4b9c6f814c724c5ee5045ce7e19d9b43dabc-591x109.jpg?auto=format)

4. Click **Add content** in the left sidebar to open the **Add blocks** panel.

5. Drag and drop a **Coupon** block (located under **Elements**) into the preview wherever you'd like the coupon to appear in your form, if there is not one there already.

6. Select the coupon block in the form preview to open its settings.



🎬 [Watch video on Wistia](https://klaviyo.wistia.com/medias/psyi573645)

7. In the settings menu that appears on the left side, choose to set up either a static or unique coupon in your form. 



## Set up a static coupon in your form

1. At the top of the coupon settings menu, select **Static**.

2. Enter the existing coupon code in the **Static coupon** field (e.g., Welcome10).

   - If you do not have an existing static code ready, you will first need to [manually create one in your ecommerce platform](https://help.klaviyo.com/hc/en-us/sections/14545347290651.md).



![The Coupon menu in the sign-up form builder showing a static coupon selected and its name typed into the textbox](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/bcacef3137035ddf8e2fa6bac4290f56a8956e59-1874x1042.jpg?auto=format)

3. Edit the block styles (e.g., background color, corner radius, border style, border thickness, and padding) so that the coupon is large and eye-catching.

4. When you’re finished editing, click the back arrow to return to the form editor. Your changes save automatically.



![Back arrow within the Coupon block editor](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/35cd92f7cd65c0b93b7957480f0e197881041d3c-872x296.png?auto=format)

5. Skip to the final section to [finish editing and publish your form](#h_01HA28D5B1V3AKQ76C5N6TJBGJ). 



## Set up a unique coupon code in your form 

At the top of the coupon settings menu, select **Unique**. Depending on if you are using a Shopify unique coupon or an uploaded unique coupon, your setup will differ slightly.

**📝 Note:** The ability to show unique coupon codes in a success message is currently available only for Shopify coupons, uploaded coupons, and API coupons. While it is possible to create unique coupons in Klaviyo for WooCommerce, Magento 2, and PrestaShop, it's not possible to display those codes in sign-up forms at this time. As an alternative, follow the [uploaded coupons](#h_01HA28D5B051GZENA8E4DCJJCR) or [API coupons](https://developers.klaviyo.com/en/docs/use_klaviyos_coupons_api) instructions to add unique coupon codes in forms.

### Shopify coupons

1. Choose **Shopify Coupon** as your *Unique Coupon Type.*

2. Choose an existing coupon from **Unique Coupon**, or click **Create unique Shopify coupon** to create one. If you already have Shopify coupons, the button is labeled **Create another Shopify coupon**.



![The Coupon menu opened in the sign-up form editor showing a unique coupon type selected](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/c3e1c7d4259efd27f4215b070bd409c5dc19578e-840x610.png?auto=format)

3. If you chose to create a new, unique Shopify coupon code, a **Create unique Shopify coupon** modal will appear asking you to:

   - Name your coupon (e.g. 10OFF), and add an optional Prefix.

   - Select the type of discount that you would like to offer your customers (fixed amount, percentage, or free shipping).

   - Choose the settings for how your coupon will operate (amount, application, activation, and expiration).

     - Klaviyo generates codes automatically when you publish the form, with an initial target of 600 codes per live form, and generates more when fewer than 400 available codes remain. This applies whether **Expiration** is set to **After 1 year**, **On a specific date**, or **After a certain number of days/hours**. You do not need to add Shopify codes manually.



![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/d6bea1268988a6e28cb0de37dee4971000ba4f85-1280x1054.png?auto=format)

4. Click **Create unique Shopify coupon** in the bottom right corner. This takes you back to the form builder with the newly created coupon code selected to use in the form. 

5. Add an existing static coupon as a **Fallback Coupon**. Klaviyo displays this code when it cannot assign a unique code, including when the supply runs out. Use a static code that provides the same discount.

6. You will need to create a static coupon in Shopify first to paste into the **Fallback Coupon** textbox (e.g. 10PERCENT).

7. Skip to the final section to [finish editing and publish your form](#h_01HA28D5B1V3AKQ76C5N6TJBGJ).



### Uploaded coupons

**📋 Requirements:** Before uploading, create unique coupon codes in your ecommerce platform and save them as a CSV file.

![How the Uploaded Coupons toggle appears when this option is turned on](https://klaviyo.zendesk.com/hc/article_attachments/34483801682971)

1. In your form, choose **Uploaded Coupon** as your *Unique Coupon Type*.

2. Choose an existing coupon from **Unique Coupon**, or click **Create uploaded coupon** to create one. If you already have uploaded coupons, the button is labeled **Create another uploaded coupon**.



![The Create uploaded coupon link selected from the unique coupon set up menu](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/d98f6a8cb93415579c65b557b709c7b28b309071-762x564.jpg?auto=format)

3. If you choose an existing coupon, make sure it has available codes. To add more, open a separate browser tab and navigate to **Content > Coupons**, select **Uploaded**, then use the coupon’s 3-dot menu > **Add Codes**. Upload and import your CSV, then return to the form editor.

4. If you chose to create a new uploaded coupon, the **Create coupon** page will open in a new tab. From here:

   - Configure the following details:

     - Name (e.g. JustForYou)

     - **Minimum coupon count** (e.g., 500): the available-code threshold used for low-coupon notifications.



**📝 Note:** Enter a value from 100 to 5,000 for Minimum coupon count. The field is prefilled with 500.

    - Expiration date




![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/a7e010955117d362b7a05f8df47de044419faeed-1040x531.png?auto=format)

  - Click **Create coupon** in the upper right corner. This brings you to the **Uploaded** tab on the Coupons page.

    - On the **Uploaded** tab, open the 3-dot menu to the right of your coupon and select **Add Codes**.



![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/a5da34e4ccd515ec991d8ecaf14f307a0cb99ed2-1598x580.png?auto=format)

  - Upload your CSV file and review the preview. Click **Import Coupons**, wait for processing to finish, then click **Done**. You can reference [our guide for uploading unique coupons](https://help.klaviyo.com/hc/en-us/articles/115005084727.md#h_01HMW7FB2WV5RT1T0EZ3N7TMJ9) for assistance.

  - Navigate back to the sign-up form builder tab and reload the page.

1. If you created a new coupon, select the **Success** step and select the coupon block in the preview.

2. Choose your new uploaded coupon from **Unique Coupon**. If you selected an existing coupon earlier, keep that selection.



![The Unique Coupon dropdown in the sign-up form editor with the coupon you just uploaded selected as the coupon option](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/1f3849f21233dc8ba88ee8df3748032f8a89472f-1878x902.jpg?auto=format)

3. Add an existing static coupon as a **Fallback Coupon**. Klaviyo displays this code when it cannot assign a unique code, including when the supply runs out.

   - Create the static code in your ecommerce platform, then paste it into **Fallback Coupon** (e.g., 10PERCENT). Use a code that provides the discount you want to offer.



![The fallback coupon message that appears after you configure a coupon for your sign-up form](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/b7c38698fcf1969f6b7618978f3db9f6a566304a-876x706.jpg?auto=format)

## Finish editing and publish your form

Once you have coupons set up for your form:

1. Make any final styling changes to the look and text of your coupon, or the other steps on your form.

2. When you're ready to set your form live, click **Publish or schedule**. Choose **Publish now** if a scheduling choice appears, resolve any blocking alerts, then click **Publish now** to publish the form.

3. Go to your site and reload the page to see your form appear.



**📝 Note:** It may take a moment for the form to appear on your site while the unique coupon code generates.

1. Fill out the form to test that your coupon has processed correctly. Once it has, customers will receive a coupon code directly in the success message of your form to copy and use on your site.



**📝 Note:** If you use a Shopify coupon in your sign-up form, it will automatically apply to a customer's Shopify checkout page upon them reaching the form's final step.

## Additional resources

- [Getting started with coupon codes in Klaviyo](https://help.klaviyo.com/hc/en-us/articles/115005084727.md)
  Learn how to create and upload unique and static coupon codes in Klaviyo to incentivize customers to engage with your brand. Offering an incentive can help you improve the customer experience, resulting in higher sales and increased lifetime value.
- [How to create unique coupon codes for Shopify](https://help.klaviyo.com/hc/en-us/articles/115006155388.md)
  Learn how to create single-use coupon codes for your Shopify store so that each customer receives their own unique coupon code for a given promotion on your site. This feature provides an alternative to creating a generic, also known as a static, coupon code, so you don't have to worry about codes being shared.
- [Getting started with Shopify](https://help.klaviyo.com/hc/en-us/articles/115005080407.md)
  Learn how to integrate Klaviyo with Shopify in order to bring your customer profile and order data into Klaviyo and reach customers with targeted messaging. Additionally, enable Klaviyo onsite tracking and sign-up forms, and sync data from Klaviyo to Shopify.
- [Klaviyo practitioner certificate](https://academy.klaviyo.com/en-us/certificates/klaviyo-practitioner-certificate)
