()
| 22 | } |
| 23 | |
| 24 | export function initializeExperiments() { |
| 25 | if (initialized) return |
| 26 | initialized = true |
| 27 | // *** Example test code *** |
| 28 | // const testName = '$test-name$' |
| 29 | // const xbucket = bucket(testName) |
| 30 | // const x = document.querySelector(...) |
| 31 | // x.addEventListener('click', () => { sendSuccess(testName) }) |
| 32 | // if (xbucket === TREATMENT) applyTreatment(x) |
| 33 | } |