(test: string)
| 13 | } |
| 14 | |
| 15 | export function sendSuccess(test: string) { |
| 16 | return sendEvent({ |
| 17 | type: EventType.experiment, |
| 18 | experiment_name: test, |
| 19 | experiment_variation: bucket(test).toLowerCase(), |
| 20 | experiment_success: true, |
| 21 | }) |
| 22 | } |
| 23 | |
| 24 | export function initializeExperiments() { |
| 25 | if (initialized) return |