IMPORTANT: This step should be implemented ONLY if you have an agreement with us that the game should be playable only within our portals.
If that’s the case then you can use the isSiteLock() call from the API in order to make the check.The call will not lock the game, but return a Boolean value indicating if the game should be allowed to run or not. In case you receive true you should
- block the game so it’s not playable
- display a message that the game can be played on our portals
- display our portal logo
Before you are able to check if the game should be site locked or not the API must be loaded. Check our article on how to Load the API section).
Next: Add the branding Logo