Skip to main content

Creating a spin-to-win

How to create a spin-to-win inside Alia

Bill Wohlers avatar
Written by Bill Wohlers
Updated over a month ago

You can easily add a spin-to-win game within any Alia popup using the spin-to-win element.

Simply go to where you want to add the spin to win, click the "+" icon, and select Games > Spin-to-win from the dropdown that appears.

Slices and chances

You can configure all the slices (4, 6, or 8 slices is recommended), their probabilities of winning, and any actions when those slices win.

The default and most common setup allows only a single winner (with 100% probability) that goes to the next step.

Appearance and styling

You can configure some of the spin-to-win's style using the style editor that appears on the right when the element is selected. Note that some of the colors and sizes are not configurable at the moment. If you'd like more fine-grained customization here, feel free to reach out to us or implement the custom code directly.

You can customize the content in the center of the spin-to-win by editing the child elements inside the spin-to-win. By default, the text simply says "Tap to spin", but an image is also common. You can add an image by setting the background image of the container within the spin-to-win.

Did this answer your question?