↑↓ selectEnter openEsc close

    1. Elbuz

    How to run a prize game on your website

    11 min readUpdated

    A wheel of fortune, scratch card or boxes on your website: the customer plays and gets a one-time discount coupon. The store picks the prize by your weights.

    When you need this:

    • Visitors leave product pages — the game pops up as the cursor nears the close button.
    • You want new customers' e-mails — the game asks, and only opted-in players get the coupon by e-mail.
    • Shipping scares off appliance buyers — a “Free shipping” prize above a set order total.
    • Discounts within budget — “Coupons a day” and “Discount budget a day” stop the wins.

    Where to start: turn on “Games with prizes” and create a game in “Promotions”.

    What a prize game can do

    How to start a game

    Games work when the store has the “Games with prizes” module turned on and at least one campaign currently running. A campaign is one game with its prizes, dates and limits.

    1. Turn on the module. “Store settings” → “Marketing & promotions” → the “Games with prizes” card → the “Enabled” switch → “Save”.
    2. Open the “Games” tab. The “Promotions” window → the “Games” tab → the “+ Game” button.
    3. Name the campaign and choose a game. Only you see the name, and the coupons of this game get the same name.
    4. Set the prizes — at least two, as described below.
    5. Decide where to show it. Turn on “Show the game in a pop-up”, otherwise the game is visible only as a section on a page (more details).
    6. Write the texts for the customer — “Title” and “Description” for each website language. A title with no translation is taken from another language, and if there's none at all, the customer sees “Play and get a discount”.
    7. Click “Save”. The campaign goes to the store right away: you'll see “Saved and applied in the store”.

    Where: Directories → Operations → Promotions → the “Games” tab.

    The Games with prizes module screen
    1Enabled
    2I am not a robot check
    3Coupon by e-mail
    4Requests per minute
    1. Without it no game is shown on the site.
    2. The game checks the shopper with the store captcha.
    3. The coupon also arrives by e-mail if the shopper agreed to e-mails.
    4. Brute-force protection: above this number the game asks to wait.

    Module settings

    They apply to all campaigns at once:

    FieldWhat it doesDefault
    “I am not a robot” checkThe game checks the customer with the store captcha. Works when form protection is selected in “Store options”on
    Coupon by e-mailSends the coupon by e-mail if the customer ticked the consent to e-mailson
    Requests per minute from one addressProtection against brute-forcing: above this number the game answers “Too many attempts. Wait a minute.”10
    Keep the journal, daysHow many days the store remembers games. Older records are deleted daily365

    How the settings window works in general — see “Store settings”; for the captcha — “Protecting forms from bots”.

    Prizes and odds: what comes up and how often

    There are 2 to 12 prizes. Their order is the order of the wheel sectors; you can drag rows with the mouse.

    PrizeWhat the customer gets“Amount”
    Discount, %A percentage off the product totalfrom 0.01 to 100
    Discount, amountA fixed discount in the store's main currencymore than 0
    Free shippingShipping for 0not needed
    No prizeAn empty sector: “No prize this time”not needed

    Other columns of the prize table:

    • Weight — how often the prize comes up. The chance is the weight divided by the sum of all weights. Below the table the app instantly shows: “Chances: −10 % — 30 % · No prize — 70 %”.
    • In stock — how many coupons of this prize can be issued in total. 0 — no limit.
    • Minimum order total — the minimum order amount at which the coupon works. 0 — any amount.
    • Label — the sector name for each language. Empty — the website writes it itself: “10% off”, “Free delivery”, “No prize”.
    Campaign window: Game selector and the prizes table
    1Game choice
    2Weight
    3In stock
    4Minimum order total
    5Chances
    1. Choose a wheel of fortune, scratch card or boxes; the prizes stay the same.
    2. How often a prize drops relative to the others.
    3. How many coupons of this prize can be issued; 0 means unlimited.
    4. The minimum order total for the coupon.
    5. The chance of each prize in percent, calculated instantly.

    A prize with weight 0 never comes up. If the sum of all weights is 0, the app shows “Total weight 0 — nobody wins” and won't save the campaign.

    The issued coupon counter is tied to the prize. If you change −10 % to −15 % or “Discount, %” to “Discount, amount”, it's a new prize, and “In stock” counts from zero. Deleting a prize row deletes its counter too.

    How many plays and how much to give away

    Limits are set in the campaign window, in the “When and for whom” and “Limits and coupons” blocks.

    FieldWhat it limitsDefault
    Start, EndWhen the campaign runs. Empty — no limitempty
    Who plays“Everyone”, “Guests only” or “Registered only”Everyone
    E-mail before playing“Do not ask”, “Optional”, “Required”. A customer with an account plays with their own e-mail and doesn't see the fieldOptional
    Games per shopperHow many times one person can play, from 1 to 1001
    Over how many daysThe period for “Games per shopper”. 0 — the whole campaign0
    Games per network a dayA limit per network over the last 24 hours, from any browsers. 0 — no limit3
    Coupon valid, daysCoupon validity, from 1 to 3653
    Coupons a dayHow many wins per day. 0 — no limit0
    Discount budget a dayThe total discount that can be promised per day. 0 — no limit0
    The When and for whom and Limits and coupons blocks
    1Who plays
    2E-mail before playing
    3Games per network a day
    4Coupons a day
    5Discount budget a day
    1. Everyone, guests only, or only shoppers with an account.
    2. Ask for an e-mail before the game so the coupon can arrive by e-mail.
    3. How many games one internet address can play per day.
    4. How many prizes can be won per day.
    5. How much discount can be promised per day.

    How the store knows a customer has already played

    By account, e-mail, browser, or network together with browser. A new browser with the same e-mail won't give another try.

    A network alone, without a browser match, isn't a repeat: an office has different people on one address. But together they hit “Games per network a day”.

    An anonymous customer on a new device and a new network can't be told apart. For valuable prizes, set “E-mail before playing” to “Required” or “Who plays” to “Registered only”.

    How the budget is counted

    The budget counts the least a prize will give:

    • “Discount, amount” — its size: −UAH 200 takes UAH 200 of the budget.
    • “Discount, %” — the percentage of “Minimum order total”: −10 % of UAH 1,000 takes UAH 100.
    • “Discount, %” without “Minimum order total” and “Free shipping” are not counted or limited by the budget.

    The day for coupons and budget starts at midnight. Used coupons don't return budget: it counts promised discounts, not used ones.

    What happens when a customer plays

    The store server picks the prize, and the browser only shows the animation: the result can't be peeked at or faked. Prizes that can no longer be issued today drop out of the draw, and their chance is split among the rest.

    First the store checks whether the customer can play, then removes exhausted prizes, and only then draws
    noyesnoyesyesnonoyesThe customer clicked “Spin thewheel”Page fresh, not a bot, captchapassed, not too many attempts?The game doesn't start, thecustomer sees the reasonIs the campaign running and thegame for this customer?Already played, network limitreached or required e-mail missing?The store removes prizes that can'tbe given today: “In stock”, couponsa day, budgetIs at least one prize or “No prize”left?“Today’s prizes are gone”Draw by weights among theremaining prizesCoupon on screen or “No prize thistime”
    • Start or end
    • Action or result
    • Decision: the path depends on the answer

    Once “Coupons a day” runs out, only “No prize” remains — customers play and lose. When the budget runs out, only prizes that still fit in the remainder come up, plus those the budget doesn't count.

    If no prize is left, the game says “Today’s prizes are gone” and invites the customer back tomorrow.

    What the customer gets

    After a win, the customer sees “Congratulations, you won!”, the prize, “Coupon code:” with a “Copy” button, the validity period and the minimum order amount. The code is entered in the cart or at checkout.

    The game window after the spin: the wheel stopped on a prize, with the coupon code, a Copy button and the validity date
    1Winning sector
    2Coupon code
    3Copy button
    4Valid until date
    1. The store server chose the prize; the wheel only shows the result.
    2. A one-time code to enter in the cart or at checkout.
    3. Copies the code in one click.
    4. The date through which the coupon is valid.

    The coupon is created in the store at the moment of the win:

    • a 12-character code starting with EG, without look-alike characters (0 and O, 1 and I);
    • one use, one customer, no account sign-in needed;
    • valid until the end of the last day: “Coupon valid, days” is 3, played on 13.11.2026 — “Valid until 16.11.2026”;
    • the store deletes an unused coupon 30 days after it expires.

    The coupon e-mail arrives if “Coupon by e-mail” is on and the customer ticked “I agree to receive e-mails with offers from the shop (the coupon comes by e-mail too)”. Without the tick the coupon is only on screen, and the store doesn't keep the e-mail.

    The Elbuz “Coupons” window doesn't show game codes. An order with such a coupon arrives as a “Customer order” with a “Coupon (CODE)” line — more in “Coupons”.

    Where the customer sees the game

    Pop-up

    The pop-up is turned on by the “Show the game in a pop-up” switch in the campaign window. It opens by itself:

    • “After, seconds” — how many seconds after the page opens, 15 by default;
    • “Show when the shopper is about to leave” — when the cursor leaves the page toward the tabs or the close button;
    • “At most once every, days” — after it's shown, the pop-up won't appear in the same browser for that many days, 7 by default. 0 — on every page until the customer plays;
    • “On which pages” — Home, Categories, Products, Articles, Search, Other. Nothing selected — on all.
    The Pop-up block of the campaign
    1Show in a pop-up
    2After, seconds
    3At most once every, days
    4Show when about to leave
    5On which pages
    1. The game opens by itself over the page.
    2. How many seconds after the page opens.
    3. After showing, the window does not repeat in this browser for the given number of days.
    4. Shows when the cursor moves toward the tabs or the close button.
    5. Pages to show on; nothing selected means all pages.
    The game window on the storefront: a prize wheel with six sectors, an optional e-mail field, a consent checkbox and the Spin the wheel button
    1Prize wheel
    2E-mail field
    3Consent checkbox
    4Spin the wheel button
    1. The sectors are the campaign prizes in the same order.
    2. The e-mail before the game, optional here.
    3. The coupon is sent by e-mail only with this box ticked.
    4. Starts the game; the store server picks the prize.

    The pop-up never appears in the cart, at checkout, in the account or on the contact page. It also doesn't open for those who have already played, or when today's prizes are gone.

    Leaving the page is detected only by the mouse. On a phone the pop-up opens only after the delay, so “After, seconds” = 0 together with “about to leave” shows no game on a phone at all.

    If the website has a cookie consent banner, only those who accepted marketing cookies see the pop-up. When several pop-up campaigns are running, the page shows the newest one that fits this page and this customer.

    Game on a page

    You can also place the game right on a page: the “Prize game” section in the design editor. There you choose the look — wheel, scratch card or boxes — and the prizes and limits come from the campaign. If the same campaign is already a section on the page, there's no pop-up with it on that page.

    How to tell the game is working

    In the “Games” tab list, under each campaign's prizes there's a line for the last 30 days:

    • games — how many times people played, with or without a win;
    • coupons — how many coupons were issued;
    • used — how many of them are already in orders;
    • discount — the discount total from used coupons.
    The Games tab of the Promotions window with the list of game campaigns
    1Games tab
    2Add game
    330-day statistics
    4Ending within 7 days
    5On/off switch
    1. Game campaigns of the store.
    2. Creates a new game.
    3. How many games were played, coupons issued and used, and the discount given over the last 30 days.
    4. The campaign is about to end according to its end date.
    5. Turns the game on or off on the site immediately.

    The “State” column shows “Running”, “Scheduled”, “Ended” or “Off” by dates and the switch, and “Ending within 7 days” means the end is near. 0 games with the “Running” state — nobody sees the game, see troubleshooting below.

    Many coupons but few used — the coupon is valid too briefly or “Minimum order total” is too high. The discount grows faster than you'd like — set “Discount budget a day”.

    Edit, pause or delete a game

    • Edit — click the campaign name, make changes, “Save”. Changes go to the store right away. Keep the prize counter in mind.
    • Pause — the switch in the campaign row. The game disappears from the website right away, while settings, counters and issued coupons remain.
    • Copy — the copy icon in the row: a new campaign with the same fields, its prize counters start from zero.
    • Delete — the trash icon, then confirm “Delete “…”? It disappears from the site at once.” Issued coupons stay valid until they expire, and the game log in the store remains.

    To turn off all games at once — the “Enabled” switch on the “Games with prizes” card in “Store settings”. Campaigns are kept.

    Scenarios

    Home appliances: free shipping on large items

    A wheel of fortune with the prizes “Free shipping” (“Minimum order total” 10000), “Discount, amount” 300, “Discount, %” 3 and “No prize”. A pop-up on “Products” pages after 20 seconds. A customer hesitating over a washing machine gets a reason to order today.

    Electronics: raise the order value

    A scratch card: “Discount, %” 10 with “Minimum order total” 1500 and “Discount, %” 5, “Coupons a day” — 50. To reach UAH 1,500, a smartphone buyer adds a case and a screen protector.

    Clothing: an e-mail instead of a lost visitor

    Boxes in a pop-up when a visitor tries to leave, “E-mail before playing” — “Required”, “Coupon by e-mail” on. Whoever ticks the consent gets the coupon by e-mail, and you get a subscriber who opted in.

    Cosmetics: the first purchase

    “Who plays” — “Guests only”, a pop-up on the “Home” page after 10 seconds, “Coupon valid, days” — 2. A new visitor gets a reason to order now, and signed-in customers don't see the game.

    Holiday: a weekend-only game

    “Start” — Friday 18:00, “End” — Sunday 23:59, “Discount budget a day” — 2000. The campaign turns on and off by itself, and you won't give away more discounts than planned.

    What to do when the game doesn't work

    What you seeWhyWhat to do
    No game on the website, “Running” in the list, 0 games The module is off, the pop-up isn't on or it's the wrong page, the game is for other customers (“Who plays”), the browser already saw the pop-up within “At most once every, days”, or the visitor didn't accept marketing cookies Check “Enabled” on the “Games with prizes” card, “Show the game in a pop-up” and “On which pages”. Test in an incognito browser window
    The customer sees “This game is for other shoppers.” They saw the game, then signed in or out, and “Who plays” no longer matches them Set “Who plays” to “Everyone” if the game is for everyone
    “Today’s prizes are gone. Come back tomorrow.” “In stock”, “Coupons a day” or the budget ran out, and there's no “No prize” sector Raise the limit or add a “No prize” prize
    “Someone on this network has already played today. Try tomorrow.” One internet address has already played as many times as “Games per network a day” allows. This happens in offices or on mobile networks Raise the limit or set 0, and require an e-mail instead
    “Reload the page and try again.” The page has been open too long or the browser doesn't accept the website's cookies The customer should reload the page. Without cookies the game can't be played
    The customer won, but there's no coupon e-mail They didn't tick the e-mail consent, “Coupon by e-mail” is off, or e-mail isn't set up in the store The code is shown on screen right after the game. For e-mails, check “Coupon by e-mail”
    The list header shows “not applied” or “Saved, but the store rejected it: …” The store didn't respond or rejected the campaign Open the campaign, fix the highlighted fields and save again. With nothing highlighted, the changes go out with the next export

    FAQ

    Can I run several games at once?

    Yes. The pop-up on a page shows the newest campaign that fits this page and customer. Separate campaigns by pages, dates or “Who plays”.

    Can a customer find out the result in advance?

    No. The store server picks the prize; the browser receives a finished result and only shows the animation.

    Where can I see all the codes the game issued?

    Elbuz has no separate list of codes. You see the summary in the campaign row, and a used coupon in the order as a “Coupon (CODE)” line.

    Can a game coupon be combined with another coupon?

    No: one coupon per order, a new code replaces the previous one.

    What happens to coupons when the campaign ends?

    Issued coupons stay valid until they expire, even if the campaign is turned off or deleted.

    Where to find it and who has access

    Menu
    Directories → Operations → Promotions → the “Games” tab
    Module
    Store settings → “Marketing & promotions” → “Games with prizes”
    Access rights
    the “Promotions” and “Store settings” windows in group permissions

    Related topics

    • If you need an ordinary promo code for everyone — Coupons.
    • If you want purchase bonuses instead of a game — Promotions and bonuses.
    • If you need to understand how the store settings window works — Store settings.

    Was this article helpful?

    Missing a feature? Tell us.

    We will add it for free if other users need it too.

    If only you need it, we will agree on it separately.

    Article contents

    Suggest an improvement

    Try Elbuz free