Skip to main content
Question

Automatic Shopify Coupon Displays before User Confirms Double Opt-In


Forum|alt.badge.img

New to Klaviyo. I’ve integrated it with Shopify. I set up a new sign-up form and had it link to a list that has double opt-in.

I also set it up to work with unique Shopify coupons codes. However, the coupon code appears when the user hits “subscribe” which means that the user never has to opt in to the list to use the coupon code.

How can I fix this so that the user only received the coupon code after they have opted in?

Did this topic or the replies in the thread help you find an answer to your question?

2 replies

Forum|alt.badge.img
  • Problem Solver II
  • 13 replies
  • February 10, 2025

Hi ​@julie109,

Thank you for reaching out to the community!

The answer depends on how and when you assign coupon codes. If your sign-up form contains a code directly, it is displayed right after hitting subscribe. You must remove any codes from the sign-up form and create the code within a flow. Let me know if the code is displayed on the website directly or if an email with the code is being sent via email before confirming the subscription.

If you added the coupon to a welcome flow and the flow emails contacts without opting in, you must look at the flow’s trigger. Opted-in contacts only appear within the lists after confirming the subscription. However, Klaviyo creates a blank profile for those who fail to engage with the double opt-in email (click here for more info). This means that your trigger needs to be added to the list (with double opt-in activated) OR a segment of those that actively subscribed (can receive email marketing because subscribed).

 

All best,

Andrés @ Melusine Studio // Klaviyo Master Gold

melusine.studio

 

 


Forum|alt.badge.img
  • Author
  • Contributor I
  • 1 reply
  • February 11, 2025

I fixed the problem, and here’s how, in case anyone else comes across this: 

  1. Go to the sign-up form in question and click on Edit
  2. At the top of the screen where there is like “Teaser” and “E-mail Opt-In” there’s a button that says “Success” - click on that
  3. Remove the coupon code stuff
  4. Make sure to include the coupon stuff in my welcome email instead