Build a popup · Generators · Free tool

Scratch card popup generator for Shopify

Last updated

Step 1 of 3 · choose a card design

Pick a design and it opens as a working scratch card on the real storefront code, with a starter prize mix you can rewrite. Your prizes, odds, colour and headline are edits to it from there.

What sits under the foil

A scratch card popup hides one prize under a foil panel the shopper rubs away with a finger or cursor, and the prize printed beneath it is settled by shares you assign before any foil is cleared, so a free shipping tile given a share of 30 turns up for around 30 out of each hundred shoppers who scratch.

The cards are scratch card templates from the Nudgesmart library, rendered by the same storefront code a merchant ships, and a card only renders when its chances add up to exactly 100, the rule that code enforces. No figure on this page is a measurement of any store.

Each shopper scratches one card and uncovers one tile. Behind that single reveal sit a handful of decisions: which tiles exist, what a winning tile hands over, and how often each one is printed under the foil.

Foil panel
The scratchable layer over the result. Rubbing it away uncovers a tile that was already chosen, which is what makes the reveal feel like luck while the odds stay precisely where you put them.
Win tile and lose tile
A win tile carries a reward and leads to a code; a lose tile carries none and leads to the losing message. Every tile needs its own wording, because the card rejects two that read the same.
Near miss
A lose tile worded to feel almost won, such as So close. It costs nothing in the table, and it is the tile most likely to leave a shopper annoyed if half the cards carry it.
Share
A whole number from 1 to 100 giving how many cards per hundred print this tile. No tile may sit at 0, and the shares on one card must reach exactly 100.
Average basket (AOV)
Your typical order size. A percent-off tile has no cash value until it lands on a basket, so the giveaway figure needs this number whenever a percent tile is on the card.
Giveaway per 100 reveals
About what a hundred scratched cards return to shoppers if each winning tile becomes an order of your usual size, in the currency you pick. Skip a cost and the figure names what it is waiting for instead of inventing a number.

Nudgesmart is available on the Shopify App Store. Browse the template library or see what it costs.

Seven prize mixes and what 100 plays give away

Illustrative store numbers, not customer data: a $85.00 average basket, free shipping that costs the store $11.00 to fulfil and a free gift that costs $18.00 to buy in, with every winning tile turned into an order. Each row is produced by the same function the generator above runs.

Scratch card prize mixes with illustrative store numbers: how many plays in 100 win, and what 100 plays give away
Prize mixPrizes (chance in 100)Plays in 100 that winGiven away per 100 playsPer winning play
Every card wins (three tiers)20% off (20), 15% off (30), 10% off (50)100$1,147.50$11.48
Weighted to the smallest code5% off (70), 10% off (25), 25% off (5)100$616.25$6.16
Win or so close15% off (15), 10% off (35), So close (50)50$488.75$9.78
One rare jackpot50% off (2), 10% off (38), Try again (60)40$408.00$10.20
Free shipping firstFree shipping (60), 10% off (30), 20% off (10)100$1,085.00$10.85
Gift with orderFree gift (15), 10% off (40), 5% off (45)100$801.25$8.01
Nearly flat 10 percent10% off (90), 15% off (10)100$892.50$8.93
The rare jackpot card has the biggest single prize on the page and still gives away less than any card where every play wins, because 60 in 100 of its cards are a near miss. How often a prize turns up moves the cost more than how large it is.

Where the prize table stops

Twenty cards prove nothing

A tile with a share of 5 can surface twice among the first ten shoppers and then vanish for a long stretch. The table describes where several hundred reveals settle, not what tomorrow morning brings.

Unused codes shrink the real bill

The figure books every winning tile as a finished order at your usual basket size. Lots of shoppers scratch, glance at the code and never check out, and those who do rarely spend precisely your average. Use it to rank one mix against another, not as money already spent.

A discount tile is paid from gross margin

Say a 15 percent tile lands on a $85.00 basket in a store running a 40 percent gross margin. $12.75 comes off a sale that earns the store $34.00 before the prize, so more than a third of the contribution on that basket goes to the tile, and every cent is wasted on a shopper who was going to check out regardless. The card cannot spot those shoppers.

One reveal per shopper is a store setting

The preview lets you scratch as often as you like. On a live store, cap how often one visitor sees the card with its frequency setting: a shopper who can reload until the big tile appears turns a share of 5 into a near certainty.

A handset-sized frame, not your theme

What you scratched here is the card on its own, sized like a mid-range handset. On your store it sits over your theme, larger screens lay it out differently, and targeting decides which visitors ever meet it. Nothing here is installed anywhere.

Scratch card questions

When is the prize on a scratch card decided?

Before the foil comes off. The card settles its tile from the shares you set, and scratching only uncovers it, so how quickly or where a shopper scratches cannot change the outcome. A tile with a share of 10 lands on around 10 cards per hundred. Shoppers only ever meet their own tile, which is why the table next to the card is the one place the full mix is written down.

Why will the card not run until its shares reach exactly 100?

The game code checks three things before it will draw a card: the shares reach 100 on the dot, no tile sits at 0, and no two tiles carry identical wording. A card that fails any of them shows an error panel instead of foil. This editor runs the same three checks as you type, and the Update button waits until all of them pass.

Should every scratch card win something?

That comes down to what the popup is for. A card where every tile wins is the dearest: at a $85.00 basket, the three-tier card in the worked table returns $1,147.50 to shoppers per 100 reveals. The win-or-so-close card, where half the tiles read so close, returns $488.75, but half its players scratch for nothing. A near miss is cheap in cash and costly in goodwill, so weigh it against your gross margin and how the losing message reads.

Is free shipping a cheaper prize than a percent off?

Only when fulfilling the shipping costs you less than the discount would. On the free-shipping-first card, 60 tiles in each hundred are free shipping at $11.00 apiece, and the whole card still hands out about $1,085.00 per 100 reveals, not far below the all-percent ladder. Type what a delivery costs you, not the price a shopper pays at checkout.

Is the code revealed in the preview a working discount?

No. Once the foil clears, the preview prints a placeholder code invented on this page, and no store is touched. When the card runs through Nudgesmart, each code it hands out is reported as displayed, copied and redeemed, so the prize table can be checked against what shoppers went on to use.

How many tiles should a scratch card carry?

The game takes 2 to 10. A shopper uncovers a single tile and never learns which other tiles existed, so a long list adds nothing they can feel. Two or three winning tiles, with or without a near miss, makes the table easy to check and the cost easy to explain.

Get started

A scratch card is only worth what the right shopper uncovers.

Scratch cards, spin wheels and pick-a-present are campaign types in Nudgesmart, each starting from a ready-made template, and every code a game hands out is reported as displayed, copied and redeemed.

Scratch Card Popup Generator for Shopify | Nudgesmart