Discount popup: double opt-in and new subscribers only

The code only after the sign-up is confirmed, or right away; where Magento's newsletter confirmation setting is, sending again, and why existing subscribers get no new code.

⏱ 5 minUpdated 14 Oct 2026

With double opt-in the shopper gets an e-mail with a confirmation link after signing up and receives the code only after clicking it. That way only real addresses get codes, and in Germany and Austria double opt-in is the usual practice for newsletters.

1. Switch on the confirmation in Magento

Stores › Configuration › Customers › Newsletter

In Subscription Options set Need to Confirm to Yes. The setting can apply to all store views or to one (for example the German one). The same section has Allow Guest Subscription, which must be Yes if visitors without an account sign up.

2. Code after the confirmation, or right away

Marketing › Discount Popups › Campaigns › (campaign) › Consents

With Code after the confirmation (double opt-in) (on by default) the code is issued and sent when the subscriber confirms the address, whether by the link in the e-mail, by you in the admin, by an import or over the API. It applies only where Magento asks for a confirmation; elsewhere the shopper gets the code at once.

The One more step pop-up asking to confirm the sign-up, with a Send it again link
While waiting, the pop-up says where the confirmation was sent. Sending again is possible once in 24 hours.

If the shopper opens the link in the same browser, the code is already in the cart and a reminder with the code shows at the top of the store. The code also arrives by e-mail.

The store after the confirmation with the code reminder at the top of the page
After the confirmation in the same browser the code is in the cart and the reminder shows its validity.
The Thank you, your subscription is confirmed e-mail with the discount code and validity date
The e-mail with the code after the confirmation.

3. New subscribers only

With New subscribers only (on by default) an address that already gets the newsletter receives no new code. The form answers it the same way as someone who already took part, so the answer does not reveal who is subscribed. The welcome discount really goes to new subscribers.

By default the pop-up is also hidden from newsletter subscribers who are logged in to their account (Hide from newsletter subscribers in When it shows).

4. Sign-ups waiting for the confirmation

The statistics show how many sign-ups wait for the confirmation and how many have waited for more than 24 hours. Whoever did not get the e-mail can click Send it again in the pop-up (once a day), and you can click Send the code in the sign-ups list, which issues and sends the code at once.

The shopper did not get the confirmation e-mail

Check that the store sends e-mail reliably (working SMTP) and that cron runs. The shopper should also look in the spam folder.

Next: Discount popup: fine print or checkbox, and privacy.

Was this article helpful?

Related

We use cookies for the proper functioning of the site, visit analytics and showing ads tailored to your interests. Read more in our privacy policy. By clicking "Accept all" you agree to the use of all cookies.