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.

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
The form library with the box for Coupons & Offers checked off at the top of the page to narrow the search
  • 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.
  1. 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
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
  1. Configure the Button click action settings to the following:
    • Action: Submit form.
    • List to Submit: Choose your list.
    • After Submit: Show next step.
  2. 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
The Success step selected in the menu bar of the form editor for an example form
  1. Click Add content in the left sidebar to open the Add blocks panel.
  2. 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.
  3. Select the coupon block in the form preview to open its settings.
  1. 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).
The Coupon menu in the sign-up form builder showing a static coupon selected and its name typed into the textbox
The Coupon menu in the sign-up form builder showing a static coupon selected and its name typed into the textbox
  1. 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.
  2. 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
Back arrow within the Coupon block editor
  1. Skip to the final section to finish editing and publish your form.

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.

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 or API coupons 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
The Coupon menu opened in the sign-up form editor showing a unique coupon type selected
  1. 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.
  1. 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.
  2. 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.
  3. You will need to create a static coupon in Shopify first to paste into the Fallback Coupon textbox (e.g. 10PERCENT).
  4. Skip to the final section to finish editing and publish your form.

Uploaded coupons

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
How the Uploaded Coupons toggle appears when this option is turned on
  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
The Create uploaded coupon link selected from the unique coupon set up menu
  1. 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.
  2. 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.

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

  • Expiration date
  • 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.
  • 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 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
The Unique Coupon dropdown in the sign-up form editor with the coupon you just uploaded selected as the coupon option
  1. 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
The fallback coupon message that appears after you configure a coupon for your sign-up form

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.

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.

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

    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

    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

    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
Was this article helpful?
Use this form only for article feedback. Learn how to contact support.

Explore more from Klaviyo

Community
Connect with peers, partners, and Klaviyo experts to find inspiration, share insights, and get answers to all of your questions.
Partners
Hire a Klaviyo-certified expert to help you with a specific task, or for ongoing marketing management.
Support

Access support through your account.

Email support (free trial and paid accounts) Available 24/7

Chat/virtual assistance
Availability varies by location and plan type