Use the JavaScript SDK when a custom storefront needs to open, close, embed, or listen to bluebarry quiz behavior.
Main Task

- Review the SDK install snippet.
- Add the SDK to the storefront.
- Use the documented open or embed behavior.
- Test close and result-open callbacks.
- Monitor browser console and analytics events.
After completing the workflow, review the related bluebarry screen or connected system to confirm the change is visible.