Popup Design Advanced

Scratch Card Popup for Shopify: How to Add One

A scratch card popup asks for an email, then shoppers scratch to reveal a discount code. How it works, which prizes to use and how to add one to Shopify.

Denzil Sequeira
7 min read
Live exampleSpin the Drop — BlackInstall free
On this page

Important Notice: This content is for educational purposes only. Results may vary based on your specific business circumstances, industry, market conditions, and implementation. No specific outcomes are guaranteed.

What is a scratch card popup?

A scratch card popup is a popup game: the shopper enters their email, scratches a card on the screen, and reveals a prize, usually a discount code they can use straight away. On Shopify you add one with a popup app, and the code it reveals is a real Shopify discount code that works at checkout.

It turns a plain signup form into a small moment of suspense. The shopper isn't just handing over an email for a code they could predict; they're finding out what they won.

How does it work for the shopper?

  1. The popup opens with an email field, a button and a card that's locked.
  2. The shopper enters their email and taps the button. The card unlocks.
  3. They scratch the card to reveal their prize.
  4. The result shows their code, with a button to copy it.

Each shopper scratches once. If the popup shows again, they see their own result, not a new card. You can try the whole flow before you install anything with the scratch card generator.

Scratch card or spin wheel: which should you use?

Both are prize games that trade a code for an email. The difference is what the shopper sees before they play.

  • A spin wheel shows every prize up front. The shopper sees the range of what they might win, which suits a wheel with several clearly different prizes. See the spin wheel guide.
  • A scratch card hides the prize until it's revealed. The suspense comes from not knowing, so it works well even when everyone wins the same gift.
  • A scratch card is compact. One card and one field, which keeps the popup simple on a phone.

If you want something more seasonal, pick-a-present popups let the shopper choose a gift box, and dart game popups add a board to throw at. Pick one game per campaign; a store that runs three at once feels like an arcade.

Same gift for everyone, or a surprise prize?

This is the first decision, and it shapes everything else.

The same gift for everyone

Every shopper who scratches wins the gift you set: a percentage off, an amount off, or free shipping. It's the simplest setup and the best fit for a sale, because nobody leaves disappointed and your cost per signup is predictable.

A surprise prize

Shoppers win one of several prizes by luck. In Nudgesmart a scratch card holds 2 to 10 prizes, and for each one you choose How often is it won?: Often, Sometimes, Rarely or Never. Nudgesmart balances the chances for you, and Set exact chances lets you type exact numbers. Ready-made sets get you started: Standard, Includes a 'try again', Generous and Conservative.

Keep your biggest prize rare, so it feels like a real win when it lands. If you add a "try again" prize that gives no code, remember that some shoppers will leave with nothing; for list growth, a small prize for everyone is usually the friendlier choice.

Try it here

Set the discounts a shopper could reveal.

Choose a starting set

Pick one and it opens as a set you can reveal straight away. Change the offers, set how often each one comes up, and add your order value to see what a reveal hands out.

Every reveal is drawn in your browser and nothing you type is stored. Want to see the reveal on a real popup design? Open the scratch card generator or the pick a gift popup.

What prizes work on a scratch card?

In Nudgesmart, every scratch card prize is a discount code: a percentage off, an amount off, or free shipping. Within that, a few patterns work for most stores:

  • A small, certain prize. Free shipping or a modest percentage off. Good for a welcome popup.
  • A ladder with one rare top prize. Most cards reveal the small prize, a few reveal something bigger.
  • More off for bigger orders. One scratch can give up to 5 single-use codes, one per spend tier, each with its own minimum spend, and the cart keeps the best code the basket qualifies for. It rewards the bigger basket instead of discounting every order the same.

For more ideas by store type, spin wheel prize ideas applies just as well to a scratch card, and the popup offer picker compares what each kind of offer costs you.

How to add a scratch card popup to Shopify with Nudgesmart

  1. Choose a template. Open Templates, filter to Scratch Cards, and open a design in the editor. Every scratch card template already has the email field, the unlock button, the card and a result page.
  2. Choose what shoppers win. Click the scratch card and answer What should shoppers win? with The same gift for everyone or A surprise prize.
  3. Set up the codes. With a surprise prize, open each prize and turn on Generate Shopify discount code, so each winner gets their own single-use code. Then set when codes expire and any minimum order.
  4. Check the email capture. The email field should collect Email, and the button under it should have the action Play Scratch Card. The card stays locked until both are used.
  5. Write the result messages. Fill in the win message, and the lose message if you have a "try again" prize.
  6. Choose who sees it and when. On the Rules tab, let Nudgesmart pick the moment or set your own rules, and choose how often a shopper can see it.
  7. Publish and test. Set Status to Active, click Save, and play it once on your own store. Use the code at checkout to make sure it works.

Nudgesmart adds the popup through a theme app embed and never edits your theme code. Every setting is covered in the help article on creating a scratch card campaign, and several codes from one scratch card covers spend tiers.

How do you stop the same shopper collecting code after code?

Turn on One code per shopper. A shopper who comes back and enters the same email then gets the same code and deadline they were first given, not a new one, and once that code is used or has expired, the popup gives them nothing new. It works by email address, so it keeps honest shoppers honest rather than stopping every determined one. One discount code per shopper explains why it matters.

What happens after the scratch?

A code only helps if the shopper still has it when they reach checkout. Three settings keep it in front of them:

  • A tab that reopens the code. In tab mode, a small tab stays on the page, and after a claim, tapping it shows the shopper's codes again until they are used or expire.
  • The code by email. Codes a shopper wins can be emailed to them through your own Klaviyo or Mailchimp: Nudgesmart passes the codes to that tool, and your own flow sends the email. See email shoppers the code they won.
  • A consent checkbox. You can add an optional marketing consent checkbox, unticked by default. Shoppers who leave it unticked still get their code on screen, but aren't added to your Klaviyo or Mailchimp and aren't emailed their code.

Nudgesmart reports every code as displayed, copied and redeemed, so you can see whether winners actually spend what they won.

Design tips

  • Say what's at stake. "Scratch to reveal your welcome gift" beats "Sign up". The popup headline generator gives you options to start from.
  • Size the card for a thumb. Nudgesmart's card comes in Small, Medium and Large. Check it on a phone with the mobile popup checker.
  • Give the code an end date. An expiry gives the shopper a reason to use it this week, not someday.
  • Don't show it on every page. Product and collection pages are where a code is most useful; a blog post reader is rarely ready to buy.

Questions merchants ask

Can I try a scratch card before installing an app?

Yes. The scratch card generator lets you set prizes and play the card in your browser.

Can a shopper scratch more than once?

No. Each shopper scratches once, and if the popup shows again they see their own result.

Can I give away a free product?

Not as a scratch card prize in Nudgesmart. Prizes are discount codes: a percentage off, an amount off or free shipping.

Can one scratch give several codes?

Yes. With spend tiers, one scratch can give up to 5 single-use codes, each with its own minimum spend. Codes never combine; the cart keeps the best one the basket qualifies for.

Next step

Decide one thing first: the same gift for everyone, or a surprise prize. Then play a card in the scratch card generator with that setup, and when it feels right, build it on your store. If you are adding your first popup of any kind, how to add a popup to Shopify covers the basics.

Tags

  • scratch-card
  • gamification
  • popups
  • email-capture
  • shopify

Written by

Denzil Sequeira

Founder of Nudgesmart, the Shopify app he builds, and the person who answers its support email.

Put it into practice

Popups built for this

Each one is running live. Open one to see it on desktop, or install free and it is waiting in your template library.

Browse all templates
  • Pick-a-Present · beauty

    Glow Gift — Ritual
    Loading…

    Glow Gift — Ritual

    Pick-a-Present · beauty

    Demo only — nothing is saved, no code issued.

    Desktop view
    Loading…

    Glow Gift — Ritual

    Pick-a-Present · beauty

    Demo only — nothing is saved, no code issued.
    Install free
  • Scratch Cards · food

    A Little Calm — Coconut
    Loading…

    A Little Calm — Coconut

    Scratch Cards · food

    Demo only — nothing is saved, no code issued.

    Desktop view
    Loading…

    A Little Calm — Coconut

    Scratch Cards · food

    Demo only — nothing is saved, no code issued.
    Install free
  • Spin Wheels · home-living

    Spin Anyway — Lifeproof
    Loading…

    Spin Anyway — Lifeproof

    Spin Wheels · home-living

    Demo only — nothing is saved, no code issued.

    Desktop view
    Loading…

    Spin Anyway — Lifeproof

    Spin Wheels · home-living

    Demo only — nothing is saved, no code issued.
    Install free
Free tools

Work out the numbers first