Skip to content

Pick a Box

Pick a Box shows the visitor closed gift boxes and asks them to choose one. Behind the boxes is a list of prizes, each with its own chance and reward code, plus a No Win result for everything else. It is a quicker game than Spin the Wheel and Scratch the Card, and works the same way: the result decides the next step, and the prize can be shown on that step and sent to your integration.

The visitor starts the game by clicking or tapping any box. No button is needed. When the step opens, the boxes wave once to invite a click.

The moment a box is picked, the visitor is taken to the step for their result: Step After Win for a prize, Step After Loss for no prize. At that moment the prize’s headline, description and reward code are pushed to the DataHub, so the result step can show them. If you set up an integration, the result is sent too.

Which box the visitor picks makes no difference. The result is drawn from the chances you set.

Give visitors who get No Win another pick.

  1. Select the game and find Step After Win and Step After Loss under Game Settings.
  2. Set Retries After Loss to the number of extra picks, from 1 to 3. None gives one pick only.
  3. Before a Retry, Show appears. Pick the step a visitor who lost sees while they still have picks left, for example a “So close” step.
  4. On that step, add a button with the action Submit and Continue, worded like “Pick again”, and set its Target Step to the game’s step. Pressing it takes the visitor back to the boxes for a new pick.

What happens on each pick:

  • A loss with picks left takes the visitor to the step chosen under Before a Retry, Show.
  • A loss with no picks left takes the visitor to the Step After Loss.
  • A win always ends the game and takes the visitor to the Step After Win, however many picks are left.

Your integration receives one submission per visitor, once the game is decided: by a win, or by the last losing pick.

The game remembers the visitor’s picks and result for the visit. Reloading the page, closing and reopening the campaign, moving between steps or opening your website in another tab shows the same result. A visitor who lost but still has picks left gets their next pick, never an extra one.

A new game starts when a re-open rule shows the campaign again, or on a new visit once the visitor has been away long enough for a new session to start. A private window also starts over, like any setting kept in the visitor’s browser.

  1. Open the menu of the step section in the builder’s component list, and under Select Element pick Widget.
  2. In the right panel, pick Pick a Box Game in the Widget dropdown.
  3. The game is added to the step with the name Pick a Box Game, and its settings show in the right panel. It starts with one prize and one No Win result.
  4. Add the steps the game leads to (a win step and a lose step), then come back and set Step After Win and Step After Loss to them.
  • Name: the name in the builder’s component list. It starts as Pick a Box Game.
  • Column Count: how many boxes side by side, from 1 to 3.
  • Row Count: how many rows of boxes, 1 or 2. Up to six boxes in total.
  • Step After Win: the step shown when the visitor wins a prize. Next Step means the step that follows the game step.
  • Step After Loss: the step shown when the visitor gets No Win. Next Step means the step that follows the game step.
  • Retries After Loss: how many extra picks (1 to 3) a visitor gets after a loss. None gives one pick. A win always ends the game. See Retries after a loss.
  • Before a Retry, Show: appears when Retries After Loss is above None. The step a visitor who lost sees while they still have picks left, or Game Again to send them straight back to the boxes.
  • Preview Game: plays the boxes’ animation in the builder so you can see how it looks. Reset Game stops it.
  • Space Between Boxes: the gap between boxes, in pixels.
  • Inner Space: the space inside each box.
  • Corner Radius, Border Width and Border Color: the border of each box.
  • Background Color: the color of each box.
  • Image: click Image Manager to choose the picture shown on every box, for example a wrapped gift. It can be translated per language, so each language can have its own picture.

Each prize has a Box 1, Box 2 block and so on:

  • Result Headline: the name of the prize, for example “20% off your order”.
  • Result Description: the details, for example “Use the code at checkout. Valid for 7 days.”

Neither is shown on the box. They are pushed to the DataHub as WINNER_HEADLINE and WINNER_DESCRIPTION, so you can show them on the result step (see Live Data). Both can be translated per language.

Click Add Prize to add another prize, and Delete to remove one. The number of prizes does not depend on the number of boxes.

Click Set Up Chances and Reward Codes to set, for each prize:

  • Probability: the chance of winning this prize, from 0 to 100 percent. The bar beside it shows Chance to win: the chance a visitor actually gets, once the prizes above it in the list are counted.
  • Reward Code: the code the visitor gets for this prize, for example a discount code. Give every prize a code. A prize without one still counts as a win, but sends NO_PRIZE, so your integration cannot tell it from a loss.

The probabilities are not shared out between prizes. A prize set to 20% is won by one visitor in five, whatever the other prizes are set to. What is left below 100% is the chance of No Win, shown as No win under the list of prizes. For example, two prizes at 20% and 10% leave a 70% chance of no prize.

Keep the total at 100% or below. Above that, the prizes at the bottom of the list are never reached: their Chance to win drops, down to 0%.

The result a visitor gets when the draw does not land on a prize. Like a prize, it has a Result Headline and a Result Description, pushed to the DataHub on a loss. Use them on the lose step to say something like “Not this time” or to offer something smaller. There is exactly one No Win result. It cannot be deleted and it has no reward code.

  • Size: the width of the game, from 10% to 100% of its column.
  • Inner Space: the space between the edge of the game area and the boxes.
  • Outer Space: the space between the game and whatever sits around it in the step.
  • Background Color: the color behind the boxes.
  • Corner Radius, Border Width and Border Color: a border around the whole game area.

When a box is picked, three values are pushed to the DataHub. Write them into a Text component or a button on the result step:

Terminal window
{{datahub:WINNER_HEADLINE:You won 20%}}
Terminal window
{{datahub:WINNER_DESCRIPTION:Use this code at checkout}}

In a step:

Terminal window
{{datahub:WINNER_CODE:SAVE20}}

In an integration:

Terminal window
{{datahub:WINNER_CODE}}

On a loss, WINNER_HEADLINE and WINNER_DESCRIPTION hold the No Win texts and WINNER_CODE is NO_PRIZE.

The game also adds the reward code to the submission, as a field of its own next to the answers on the same step. Map it in Campaign Integrations like any other field. A loss sends NO_PRIZE.

A loss is still a result. If the step you send losers to has no submit button, the submission is sent to your integration as soon as that step opens, with NO_PRIZE. Two ways to change that:

  • Put a submit button on the lose step. Nothing is sent until the visitor presses it, so only visitors who choose to go on reach your integration.
  • Map the code so the integration treats it as a non-win. Every game still sends a submission, and you can tell the losing ones apart by NO_PRIZE on the receiving side.

With a language other than the default picked in Language, click the translate button at the end of a field to set it per language (see Campaign Localization):

  • Result Headline and Result Description of every prize and of No Win.
  • The box Image.

Probabilities, reward codes and the steps the game leads to are the same in every language.

On the mobile tab, tick Override Desktop Properties to change the game for mobile visitors (see Campaign Device Customization).

  • Can be set per device: the Result Headline and Result Description of each prize and of No Win, the box Image, Preview Game, and the look of the game (Box Appearance except Space Between Boxes, Dimensions, Background and Border).
  • Shared by every device, set on desktop: Column Count, Row Count, Space Between Boxes, Step After Win, Step After Loss, Retries After Loss, Before a Retry, Show, and every Probability and Reward Code.