Gift Box

Visitors pick one of the gift boxes on screen, open it and get the coupon code of the prize inside. If you like, their email is collected first.

Pro and above Boxes 3Themes 5 optionsLayouts 4 options

What it does#

Gift Box brings three gift boxes onto the screen at the moment you choose. The visitor taps one of the boxes, the box shakes and opens, and the prize appears. If the prize has a coupon code, the visitor sees the code and copies it. If the prize has no code, they see the losing screen.

Which prize comes up is decided by the chances you give the prizes, not by the box the visitor picks. With Ask for an email turned on, the visitor's email address is collected before the box opens. You can see the addresses with the Collected emails button in the editor and download them as a CSV file.

Good to know: the widget only shows the coupon code you wrote for the prize. It does not apply the discount by itself. You need to set up the same code in your store's coupon or discount settings. Everyone who wins a prize gets the same code.

Setup#

  1. Open the widgetIn the panel, choose Gift Box from the Widget Gallery.
  2. Enter the prizesIn the Prizes section, write each prize's name, chance and coupon code. Leave the coupon code empty for a prize you want to be a loss.
    The Prizes section in the panel: the name, chance and coupon code of an open prize, with the other prizes below
    1. Write the prize name. Press the row to open the prize.
    2. Write the prize's chance of coming up as a percentage.
    3. Write the prize's coupon code.
    4. A prize with an empty coupon code shows as "Loses".
  3. Set up the coupons in your storeCreate every code you wrote for the prizes in your store's coupon settings, spelled exactly the same.
  4. Set the look and textsChoose the theme and where the boxes appear on screen. Check the texts of the Box, When they win and When they lose screens in the preview.
    The Appearance and Texts sections in the panel: theme, layout, screen tabs and box texts
    1. Choose one of the five themes.
    2. Choose where the boxes appear on screen.
    3. Switch between the Box, When they win and When they lose screens. The preview shows the screen you pick too.
    4. Write the title of the selected screen. The subtitle and button text are right below it.
  5. Choose when it opensIn the When it opens section, set the moment the boxes appear and how often the same person sees them.
    The When it opens section in the panel: four opening options, page percentage and frequency
    1. Choose the moment the boxes open.
    2. If you chose a delay or scrolling, type the seconds or the page percentage.
    3. Choose how often the same person sees them.
  6. Go liveWhen you see "Ready to publish" in the Checklist section, save and turn the widget on.
    The editor's top bar: widget name and the Active switch
    1. Switch it to "Active", then press the Save button at the top right. The widget starts showing in your store.

Settings#

SettingWhat it does
AppearanceTheme (Classic, Night, Coupon, Neon, Pop) and where the boxes appear on screen (in the center, on the side, at the bottom, full screen).
TextsThe title, subtitle and button text of the Box, When they win and When they lose screens. The "Ask for an email" switch is here too.
PrizesFor each prize: the prize name, chance, coupon code and the result message shown under the code when it is won. There must be at least 2 prizes.
When it opensThe opening moment: when the visitor is about to leave, a while after the page opens, when the page is scrolled or as soon as the page opens. You also choose here how often the same person sees it.
Who sees itPage rules (show on a page, hide on a page) and audience rules (such as device, total visits, visitors with an email, segment).
Code validityIf "Put a time limit on the code" is on, a countdown in minutes runs under the won code.
ChecklistLists what needs fixing before you publish. The "Fix" link takes you to the prize in question.

Common situations#

Every box loses

If no prize has a coupon code, or the prizes with a code have a chance of 0, the boxes never win. The Checklist section shows this with the "No prize in these boxes can be won" warning. Write a coupon code for at least one prize and give it a chance above 0.

A prize with a coupon code still loses

If a prize name contains "empty" or "pas" (which also matches words like "pass"), that prize counts as a loss even with a coupon code. Give a winning prize a name without these words.

The visitor cannot use the code in the cart

The widget only shows the code. Check that the same code is set up in your store's coupon settings, is active and is spelled the same way.

The boxes do not show to the same person again

The frequency setting in the When it opens section decides this. Use a private window for your own tests. A visitor who won a code with a time limit sees a small tab with the time left instead of the boxes until the time runs out.

The visitor typed an email but cannot go on

If Email Collection Consent (KVKK/GDPR) is turned on in your account settings, a consent box is shown with the email field. The visitor cannot go on to the game without ticking it.

Tips#

The chances do not have to add up to 100. Each prize comes up in proportion to its share of the total.

If every prize has a coupon code, every box wins. Unless you want that, add a prize with no code.

The code time limit is only a countdown shown to the visitor. It does not make the code invalid in your store by itself. Set the coupon's real validity period in your store's coupon settings.

Works well with

Was this page helpful?