Marketing Pages

This example shows how to use feature flags for marketing pages. Dashboard pages are typically static, and served from the CDN at the edge.

When A/B testing on marketing pages it's important to avoid layout shift and jank, and to keep the pages static. This example shows how to keep a page static and serveable from the CDN even when running multiple A/B tests on the page.

Example

The example below shows the usage of two feature flags on a static page. These flags represent two A/B tests which you could be running simulatenously.

The feature flag marketing-ab-test-flag evaluated to true.

The feature flag second-marketing-ab-test-flag evaluated to false.