Explore How Feature Flags Affect User Targeting
Learn how to use this visualization tool to help you explore the effects of individual targeting, custom attributes, traffic allocation limits, and dynamic configurations on feature flags.
The Split Boxes demo is a visualization tool that helps you understand how feature flag rules interact with user targeting. Each box represents a unique user, allowing you to explore how individual targeting, custom attribution, traffic limits, and dynamic configurations affect flag evaluation.
You can target users individually or in groups by defining targeting rules based on their attributes. For example, you might target a specific user by referencing a single cell (such as b8 or j5), or define a segment that includes multiple values.

Each box represents a unique user ID in a grid-based layout, and the following targeting attributes are supported: row, col, or account.
row
Alphabetical row identifier (typically matched using is in list).
col
Numeric column identifier (typically matched using is in list).
account
Simulated account name associated with the user. Valid account names include: Nike, Apple, LinkedIn, Best Buy, Google, Microsoft, Pinterest, Dell, Slack, Zoom, Samsung, and Disney.
You can also modify treatment configurations dynamically in the HTML file. For example, the font_size configuration expects standard HTML size values such as medium, large, or x-large.
Setup
The Boxes demo consists of three files that work together to create and evaluate a feature flag locally.
CreateBoxSplit.sh.zip: A script for creating the feature flag using the Admin REST API.
Boxes_split.txt: A text file that contains a baseline definition of the feature flag.
Boxes.htm: An HTML file that includes the SDK and can be run locally or hosted on a server.
In the HTML file, provide the browser API key and the feature flag name as variables for the environment you want to use:
You can create the feature flag and apply the baseline configuration using the provided script. The script requires access to the Split Admin API, jq, and the following parameters:
For example:
To see feature flag changes immediately in Chrome, disable caching on the Network tab in Chrome Developer Tools.

Last updated
Was this helpful?