Manage Remote Configs
Set up a remote config
- Create a Remote Config: Navigate to Remote Configs → Click the Create button.
- Decide what type of Remote Config you want to create:
- Backwards compatible
- Enhanced
- Define your key-value pairs:
- Key: The name of the config (e.g. reward_multiplier)
- Value: What it should be set to (e.g. 2)
- Target specific users (optional): Apply filters to limit the configs to specific segments of users, e.g. by country, platform, and OS version.
- Set start and end time (optional): Schedule when your config will be active.
info
You can create up to 50 configs, with a maximum of 50 active at one time.
Backwards Compatible vs Enhanced Remote Configs
Backwards Compatible | Enhanced |
---|---|
Compatible with all SDKS | Compatible with the following SDK versions: |
Up to 2000 characters | Up to 100000 characters |
String support | String support |
No JSON support | JSON support |
No version history | Version history available |
No filtering and grouping support | Filtering and grouping support in Explore |
Use the Remote Config in your game
To use Remote Configs in your game, you’ll need to implement the config handling in your code
//Check if Remote Configs is ready and has been loaded with values.
//It should be ready after initialize.
if(GameAnalytics.IsRemoteConfigsReady ())
{
//Call Remote Configs
}
//Gets Remote Configs value using specified key.
Example:
string value = GameAnalytics.GetRemoteConfigsValueAsString ("difficulty");
//Gets Remote Config using specified key. If there is no value at specified key the call will return the default value (1).
string value = GameAnalytics.GetRemoteConfigsValueAsString ("difficulty”, “1”);
Best Practices and Tips
- Always include a default value in case the config isn’t ready yet.
- Avoid using Remote Configs for security-sensitive logic.
- Test your configs before rolling them out to all players.
- Combine with A/B testing to evaluate which configs perform best.