Types of Dynamic Configs

CustomFit.ai supports different types of config such as number, string, JSON, color, rich text, boolean, etc

Minimum one variation should be present for all the types of configs. And also the creation of identical variations is prohibited(with same name and value for more than one variations).

Make sure to give the name to your variation as it used to display in the CustomFit.ai dashboard. The description is an optional field which can be used to briefly describe the variation.

String

String config is a collection of characters and numbers. To perform text-based changes in your app at run time use string config.

For example, The greeting message for users can be different based on their age and it can be changed in a few minutes using string config.

Selecting String Config

In create config page after you have given Name, Key, Description, and Tags, you will see an option to select the type of config. This is essentially a drop down which lets you select the type of config. Out of the different options available, select STRING and give the desired text in the value field.

Creating String Variations

Number

Number configs are used to define integer or decimal values. To perform number-based changes in your app at run time use number config.

For example, If you are serving discounted offers to different segment of users based on their age, then it can be achieved using number config.

Selecting Number Config

In create Dynamic Config page after you have given Name, Key, Description, and Tags, you will see an option to select the type of config. This is an essentially a drop down which lets you select the type of config. Out of the different options available, select NUMBER and give the desired number in the value field.

Creating Number Variations

Boolean

A Boolean config has two variations true and false, which works best with your app when you simply want to turn things on and off.

For example, If you want to convert a user to Gold Memeber based on the total billed amount then make use of Boolean config and make it true.

Selecting Boolean Config

In create Dynamic Config page after you have given Name, Key, Description, and Tags, you will see an option to select the type of config. This is an essentially a drop down which lets you select the type of config. Out of the different options available, select BOOLEAN. Two variations will be created automatically with the name and value field as TRUE and FALSE.

JSON

JSON config is a collection of Key-Value pairs which is used to define the structure of an object.

For example, JSON config can be used to display the different products list to different users.

Selecting JSON Config

In create Dynamic Config page after you have given Name, Key, Description, and Tags, you will see an option to select the type of config. This is an essentially a drop down which lets you select the type of config. Out of the different options available, select JSON. A JSON editor appears in create variations page where you can start editing your JSON object.

Creating JSON variations

Color

Color config gives you the control to define the color of elements on your app or website. Pick the color using the color picker tool.

For example, If you are willing to change the theme color of your app based on the season then make use of color config. Color config let you quickly change the color of an element, track the experience of users with it and then roll them out to a different segment of users.

Selecting Color Config

In create Dynamic Config page after you have given Name, Key, Description, and Tags, you will see an option to select the type of config. This is an essentially a drop down which lets you select the type of config. Out of the different options available, select COLOR. A color picker appears where you can pick the color of your choice or give a HEX value of the color at the field in the bottom.

Creating Color Variations

Rich Text

Rich Text config lets you control the content and appearance of text elements on your app or website. Using a built-in editor you can choose from the various formatting options such as indentation, alignment, font, color, lists, etc.

For example, If you want to change the welcome message for the first time user and the comeback user then make use of Rich Text config.

Selecting Richtext Config

In create Dynamic Config page after you have given Name, Key, Description, and Tags, you will see an option to select the type of config. This is an essentially a drop down which lets you select the type of config. Out of the different options available, select RICH TEXT and give the text in the editor.

Following are the list of formatting options you can choose from:

  • Bold

  • Italics

  • Underline

  • Strikethrough

  • Superscript

  • Subscript

  • Quotes

  • Font family

  • Font size

  • Font color

  • Justify content(Right, Left & Center)

  • Indent text (Increase, decrease)

  • List (Numbered, Bullets)

  • Undo/Redo changes

  • Insert link

Creating Richtext Variations