We used a real ConfigCat feature flag to decide what each visitor sees on this page. Based on a percentage option,
your session was assigned to a group in real time.
Same codebase, different experiences - controlled dynamically with feature flags
Release safely, target users, and change features without redeploying code. Avoid long-lived feature branches and merge hell.
The Craft Conference rollout game is over, but the feature flag is still on.
const client = configcat.getClient("#SDK-KEY#"); const darkMode = await client.getValueAsync("darkMode", false); const salesMode = await client.getValueAsync("salesMode", false); const snowEnabled = await client.getValueAsync("snowEnabled", false); if (darkMode) { enableDarkTheme(); } if (salesMode) { showSalesBanner(); } if (snowEnabled) { startSnowAnimation(); }const client = configcat.getClient("#SDK-KEY#"); const darkMode = await client.getValueAsync("darkMode", false); const salesMode = await client.getValueAsync("salesMode", false); const snowEnabled = await client.getValueAsync("snowEnabled", false); if (darkMode) {enableDarkTheme();} if (salesMode) {showSalesBanner();} if (snowEnabled) {startSnowAnimation();}
Dark mode
Sales mode
Holiday mode
Still want some cool Configcat swag?
Contact us