Calculated Segment Fields
Create your own custom calculations by combining segment fields together. Use these Calculated Segment Fields inside your segments.
Essentially a calculated segment field is a combination of multiple segment fields, or pieces of data, combined together to make a custom calculation. For example, Net Gaming Revenue or Return to Player.
Historically custom segments fields are something that is set up by FT specifically for each individual operator. They are custom-made by request. It is now possible to create and set up these segment fields by yourself inside FT CRM.
Calculated Segment Fields, once set up, will be displayed as segment fields when creating a new segment or smart segment (link). In the image below, you can see the calculated segments fields available from the segment field dropdown menu.
These Calculated Segment Fields can then be used to target specific player groups such as ‘Net Deposits greater than X’ in an Activity or Lifecycle.
Let's take a look at a couple of examples;
Net Gaming Revenue:
If we consider NGR to be; all bets minus all wins minus bonus costs then we can create a calculated segment field by combining the following segment fields;
Total Bets - Total Wins - Bonus Amount
Return to Player:
If we consider RTP to be; total amount of wins divided by the total number of bets then we can create a calculated segment field by combining the following segment fields;
Total Wins / Total Bets
Create a Calculated Segment Field
You can find Calculated Segment Fields inside Manage Segment Fields from the Setting Menu inside FT CRM.
Settings Menu -> Manage Segment Fields -> Calculated Segment Fields tab
Select New Calculated Segment Field CTA from the top-right corner of the page.
⚙️ General Details
The Name, Label and Description are the general details that you will use to identify your Calculated Segment Field;
- Name - a descriptive name for your Calculated Segment Field. The name should consist of only numbers and/or letters and be separated by an underscore(_). This name cannot be changed once it has been saved. For example; Return_to_player
- Label - this will be the name of the Calculated Segment Field as it will appear in the dropdown menu when creating a new segment or smart segment.
Tip💡 : The label should be as accurate as possible to make sure you and your team can identify it from the list of segment fields when inside an activity or lifecycle.
- Description - use this space to add a detailed description with more information about how the calculated segment field has been created.
- Field Type - this refers to the way the end value of the segment field will be displayed. e.g. numerical, text etc. The type should match what the system is expecting for this particular field. For example, Birth Date should be a Date. Read more below.
- Enabled - select Is Enabled to make your calculated segment field visible from the dropdown menu when creating segments from inside activities, lifecycles and smart segments.
Understanding Field Types
Let's take a deeper look at each available field type from the general settings. We can see what they mean and some real-life examples.
- Integer - a number that can be written without a fraction
- e.g. Deposit Count
- String - any sequence of characters (text, numbers and/or special characters)
- e.g. User Email
- Boolean - data that can only have the value true or false
- e.g. Blocked Players
- Double - number with a fraction (most commonly associated with currency amount)
- e.g. First Deposit Amount
- Datetime - date and time formatted as; YYYY-MM-DD HH:MM:SS
- e.g. Last Deposit Date
- Array - a collection of elements (strings)
- User Roles
🏗️ Aggregate Segment Field Builder
Here you can enter your own formulas into the segment field builder.
Use Add Segment Field to add an existing segment field and use the calculator tools (+ - x / etc.) to connect the fields in the formula. We can see an example of how to calculate Return to Player.
Add as many segment fields as you need until you are satisfied with your calculation.
Aggregate Field Rounding - this setting allows you to identify how the result of the aggregated field should be rounded. In the above example, we can see this is set to 1. That means the value will be rounded to 1 decimal place. For example, the value will be displayed as 25.0.
🧪 Test Calculated Field
Run a test of your calculation using a player from the database to ensure it works as expected. Simply enter the User ID of the desired player and select Test.
✔️ Query Builder Settings
Input Type - this is related to the Field Type that is set in the General Settings of the Calculated Segment Field and defines what type of value you would enter for your segment field. Which in turn also determines what set of controls will be displayed for entering the value.
For example, a date picker to be displayed when entering a date value or a numerical text box to be displayed when entering an integer value.
⛹️♀️ Player Profile
The Calculated Segment Fields will also be displayed on the player profile to give you a customised player overview that is geared towards your business needs.