xyd 0.1.0-alpha - Coming Soon

Integrations
/
AB Testing
/
GrowthBook

GrowthBook

The GrowthBook integration allows you to run A/B tests and feature flags in your documentation. This enables you to experiment with different content, layouts, and features to optimize user experience and engagement.

Configuration

To enable the GrowthBook integration, add the following configuration to your docs.json:

{
"integrations": {
"abtesting": {
"providers": {
"growthbook": {
"apiHost": "https://cdn.growthbook.io",
"clientKey": "required"
}
}
}
}
}

This approach allows you to conditionally render different content sections based on the feature flag value, with the featureDefault attribute specifying which version to show when the flag is not set.

Reference

  • apiHost
    string
    Required
    GrowthBook API host
  • clientKey
    string
    Required
    GrowthBook client key
AB Testing IntegrationsLaunchDarkly
Built with

Show your support! Star us on GitHub ⭐️