Experiment implementations should include a call to Experiment#sendExposure() for producing an exposure event which will be used in GrowthBook's experiment assignment queries to:
- establish each subject's earliest exposure to a variation
- determine if any subject was exposed to more than one variation
Specification
| Property | Value |
|---|---|
| action | "experiment_exposure" |
Acceptance criteria
- Implementation
- Test Kitchen JS SDK can be used to log experiment exposure
- Test Kitchen PHP SDK can be used to log experiment exposure
- Unit tests for new method
- Documentation of API
- Code
- Guides/on-wiki (basic usage guidance only, more extensive guide with do's, don't's, thorough examples will be done in T414735)