How to add a marketing consent checkbox to a popup
Add an unticked consent checkbox under your popup's email field, so only shoppers who tick it join your Klaviyo or Mailchimp list and get their codes by email.
Some shoppers want the discount but not the emails. A consent checkbox lets them say so, and keeps your list to the people who asked to be on it.
TL;DR
In the editor, click your popup's email field. On its Content tab, turn on Ask for marketing consent. An unticked checkbox appears under the field. Write what ticking it means in Checkbox text, then save. Shoppers who leave it unticked still get their codes on screen, but aren't added to your Klaviyo or Mailchimp and aren't emailed their codes.
What the checkbox does
The checkbox starts unticked. When the shopper submits the popup:
| The shopper… | Codes on screen | Added to Klaviyo or Mailchimp | Emailed their codes |
|---|---|---|---|
| Ticks the box | Yes | Yes | Yes, if you send code emails |
| Leaves it unticked | Yes | No | No |
Without a checkbox, every shopper who submits the popup joins your list. If you don't add one, say so near the email field, for example "Sign up for our emails and get your codes."
It works on email signup, scratch card, spin wheel and pick-a-present popups.
Step 1 · Select the email field
Open your popup in the editor and click the email field on the canvas.
On its Content tab, What do you want to collect? should say Email. The switch only shows on an email field.
Step 2 · Turn on the checkbox
Turn on Ask for marketing consent.
An unticked checkbox appears right under the email field, styled to match your popup. Turn the switch off to remove it.
Step 3 · Write the checkbox text
In Checkbox text, say what ticking the box means.
It starts as "Email me my codes and offers. Unsubscribe anytime." Keep it short and plain, so a shopper knows exactly what they're agreeing to.
To change the text's colour or size, click the checkbox on the canvas and open its Style tab.
Step 4 · Save and test
Click Save. Then open your store in a private window and submit the popup twice: once with the box ticked, once with it left unticked, using two different emails.
Both should show a code. Only the ticked email should appear in your Klaviyo or Mailchimp.
Good to know
- One checkbox per popup. It covers the whole popup, even if the popup has more than one email field. The switch shows the same state on each of them.
- Your Shopify customer list isn't changed. The checkbox decides what reaches your email tool. It doesn't change a shopper's email marketing setting in Shopify.
- Returning shoppers. A shopper who already claimed and comes back isn't added to your email tool again, whether they tick the box or not.
- Code emails go through your own tool. Ticked shoppers get their codes by email only when Email the codes to shoppers is on in the popup's Code section. See Email shoppers the codes they win.
Common pitfalls
- I can't see the switch. Select the email field itself, not the button or the text above it, and check What do you want to collect? is Email.
- A shopper who ticked the box isn't in my list. Check Klaviyo or Mailchimp is connected on the Integrations page. Shoppers who unsubscribed from your emails before aren't re-subscribed.
- A shopper didn't get their codes by email. They left the box unticked, or Email the codes to shoppers is off. Their codes still showed on screen.
What to read next
How to create an email capture popup with Nudgesmart
Grow your email list with a focused signup popup, a clear incentive, and a frictionless form for desktop and mobile.
How to give each shopper one code, and use it with other discount apps
Give every shopper one discount code with one real deadline, add it to their cart automatically, and make it work alongside Discount Mixer and other discount apps.