Monkey Bytes - Gain, entertain, retain

Front end

Configuration parameters

Configuration parameters are either passed in as dataset parameters on the script tag for inline integration, or as same value in query search parameter if hosted / iframe integration. In this case, its the same value, but without the data- prefix.

Config ParameterData parameter(script tag)OptionsDefaultComment
environmentdata-environmentstaging, productionproductionWhich environment to load
currencydata-currencyAny ISO 4217 supported codeEUR
whiteLabeldata-white-label%customer%noneIs required. Will be provided to you by your key account manager.
tokendata-tokennonenoneToken should be generated when a user is logged in and passed to this parameter. If a token is present the platform will assume a user is logged in.
basePathdata-base-pathnone/Should be the base path to the game. For instance /sports/fantasy/. Base path should always have a trailing slash.
rootdata-rootAny URLhttps://fantasy-game.api.monkeybytes.devURL to game server.
wsdata-wsAny URLhttps://fantasy-game.ws.monkeybytes.devURL to web socket server.
assetHostdata-asset-hostAny URLhttps://fantasy.assets.monkeybytes.devURL to assets(icons etc).
langdata-langiso-639-1 code. E.g. en
Previous
Iframe integration