Solved

Pop up with offer - unique code?

  • 25 May 2021
  • 1 reply
  • 81 views

Badge

Hoping that someone could point me in the right direction, I can’t seem to find a guide on this. 

With our pop up window, I would like to create a pop up window which offers people who sign up a $10 off code. However, I would like the code to be sent to them via email after they have entered their email address, and I would like the code to be unique to each person. 

Is this possible?

icon

Best answer by Dov 25 May 2021, 15:08

Hi @CleoH,

Thank you for sharing your question with the Klaviyo Community.

Yes, this is entirely possible!

After you create the popup form, you’ll want to create the coupon code. Klaviyo can auto-generate unique coupons in emails for Shopify, Magento 1, and Magento 2 stores. We have comprehensive guides on managing unique coupon codes for these three integrations here. However, if you’re using a different integration or a custom integration, you will have to upload your own unique coupon codes which are typically generated within your own ecommerce platform.

Once you have the coupon created, you’ll want to set-up a list-triggered flow. triggered off of the same list that your popup form submits to. Typically, the popup form submits to the Newsletter list which then triggers a welcome flow

Finally, you’ll need to insert the unique coupon code syntax into the flow email using the following dynamic placeholder variable:

{% coupon_code 'NAME_OF_YOUR_COUPON' %}

where you replace NAME_OF_YOUR_COUPON with the coupon name (must be an exact match of the name -- capitalization matters). For example, if the name of your coupon is Welcome10, the syntax would look like the following in your flow email:

mceclip0.png

When emails are sent out, this variable will be dynamically replaced with a unique, single-use discount code for each recipient in place of {% coupon_code 'NAME_OF_YOUR_COUPON' %}

I recommend reviewing the coupon code guide pertaining to your integration for more details (for example using coupon codes for SMS):

In sum, the workflow looks like the following:

  1. User will submit the sign-up form which adds them to the list (if the list is double opt-in, the user will have to confirm their subscription before being added to the list)
  2. User added to the list, triggers the flow
  3. User receives the first flow email containing this unique, dynamic, single-use coupon code with the discount

Thanks and have a wonderful day.

View original

1 reply

Userlevel 5
Badge +4

Hi @CleoH,

Thank you for sharing your question with the Klaviyo Community.

Yes, this is entirely possible!

After you create the popup form, you’ll want to create the coupon code. Klaviyo can auto-generate unique coupons in emails for Shopify, Magento 1, and Magento 2 stores. We have comprehensive guides on managing unique coupon codes for these three integrations here. However, if you’re using a different integration or a custom integration, you will have to upload your own unique coupon codes which are typically generated within your own ecommerce platform.

Once you have the coupon created, you’ll want to set-up a list-triggered flow. triggered off of the same list that your popup form submits to. Typically, the popup form submits to the Newsletter list which then triggers a welcome flow

Finally, you’ll need to insert the unique coupon code syntax into the flow email using the following dynamic placeholder variable:

{% coupon_code 'NAME_OF_YOUR_COUPON' %}

where you replace NAME_OF_YOUR_COUPON with the coupon name (must be an exact match of the name -- capitalization matters). For example, if the name of your coupon is Welcome10, the syntax would look like the following in your flow email:

mceclip0.png

When emails are sent out, this variable will be dynamically replaced with a unique, single-use discount code for each recipient in place of {% coupon_code 'NAME_OF_YOUR_COUPON' %}

I recommend reviewing the coupon code guide pertaining to your integration for more details (for example using coupon codes for SMS):

In sum, the workflow looks like the following:

  1. User will submit the sign-up form which adds them to the list (if the list is double opt-in, the user will have to confirm their subscription before being added to the list)
  2. User added to the list, triggers the flow
  3. User receives the first flow email containing this unique, dynamic, single-use coupon code with the discount

Thanks and have a wonderful day.

Reply