Component props.
The provider tree wrapping children.
<OptimizationRoot clientId="your-client-id" environment="main">
<App />
</OptimizationRoot>
<OptimizationRoot
clientId="your-client-id"
trackEntryInteraction={{ views: true, taps: true }}
>
<App />
</OptimizationRoot>
<OptimizationRoot clientId="your-client-id" environment="main" liveUpdates={true}>
<App />
</OptimizationRoot>
Recommended top-level wrapper that combines OptimizationProvider with optional live updates and interaction tracking support.
Handles SDK initialization internally — pass config properties directly as props.