◾Mini-games on the landing pages
Mini-games can work for anonymous users visiting your landing pages before completing registration.
You can display the Loyalty Wheel, Scratch & Catch, GiftBox, and most other games on your landing pages. After playing the game and completing registration, the user will receive a prize according to the prize pool definition.
Before you proceed with the setup of the mini-games, read the article about enabling Visitor mode and placing the proper script on the landing pages
Important.
Smartico supports two modes to run mini-games for anonymous users.
The current page explains the setup of the game in your main "retention" label, with the possibility to issue prizes after the user completes registration
Another approach is to set up games under the Acquisition label, where prizes cannot be transferred after registration, but you can still use Popups and Push notifications for anonymous users.
Setting up the game template in Smartico BackOffice
You need to create a mini-game template for the Visitor mode and define the prize pool the same way as for the real users.


After creating a template, take the template ID and use it on the landing page as described below
Display the game on the landing page, add the following JavaScript to execute and show the game:
Set
template_idto the ID of the mini-game template set up in the Smartico BackOfficeDefine the
onWincallback function and retain the value ofprize.visitor_win_uuid, which should be passed to your main site after the user completes the registration
Setting a position for the mini-game
By default, the mini-game is opened in the center of the screen as a modal overlay.
You can optionally position the mini-game in a specific place on the page, rather than as a modal.
For this, you need to define an iframe with the required dimensions and position, and instruct the script to load the game within it.
Setting up Smartico scripts on the main site.
When the user completes registration and is redirected to the main site, you need to transfer visitor_win_uuid to the main site.
1st option is just to pass it as a query parameter to the main site. .e.g
2nd option, you are transferring the value in any way you prefer, but on the main site, you will need to set it in the global variable, like this.
Extended possibilities on the landing page
You can get more details about the won prize using the following code:
You can prevent the user from playing the game until they complete some steps in the registration process:
The onBeforePlay callback should return true or false, indicating if a visitor is already allowed to play the game or still needs to pass some steps in the registration process.
Show the game immediately when a visitor opens the landing page
If you want to show the game immediately when the landing page opens, place the script in the correct order, as in the example.
FAQ
Q: Does the Visitor mode require additional configurations?
A: Yes, the Visitor mode requires additional configurations that should be done by Customer Success Managers. If you have a multi-brand solution, this setup should be done for all brands associated with your landing pages. You should create and provide a test user ID - this test user should be used only for this.
Q: Is there abuse protection for multiple wins in the game engine?
A: Yes, the game's engine has abuse protection for multiple wins. Once a visitor plays a game on the landing page and receives a prize after registration, they won't receive additional prizes if they play the visitor game again.
Q: Can the MatchX game run for the visitor?
A: MatchX is not supported in visitor mode. It is still possible to provide it to non-registered users, but it will require creating separate labels and additional configuration. If you are interested, please contact your Customer Success Manager.
Q: How are items deducted from the prize pool?
A: The items in the prize pool are fixed and are not depleted when won by players.
Q: How do we prevent visitors from playing the game multiple times?
A: You can put a cookie or localStorage value in the user's browser in the onWin callback. Verify the value on the next visit, and don't show the mini-game if the value is set. Smartico doesn't have any logic to prevent the visitor from playing the game multiple times.
Q: Can we give multiple attempts for the visitor to play?
A: Smartico has no restrictions on how many times a specific visitor can play the game. If you want to apply limitations, do so using the operator's custom logic defined on the landing page.
Q: What happens if existing users who registered a long time ago play in the visitor game and win the prize?
A: There is a protection that will not issue prizes to the players who are playing "visitor' games after they registered.
Last updated
Was this helpful?