feat: Expose onShoppableAdsReady on RoktManager#1254
Conversation
PR SummaryMedium Risk Overview Updates Reviewed by Cursor Bugbot for commit e04b3f4. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
# [2.66.0](v2.65.0...v2.66.0) (2026-04-27) ### Features * Expose onShoppableAdsReady on RoktManager ([#1254](#1254)) ([9ddea1a](9ddea1a))
|
🎉 This PR is included in version 2.66.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |


Background
As part of embedding the Rokt Thank You Element (TYE) into the Joint SDK, we need a way for partners to register callbacks and listen to TYE events.
Previously, partners were instructed to attach event listeners inside the TYE onLoad handler:
With TYE now internalized within the Joint SDK, this approach is no longer viable.
We also want to allow partners to register event listeners before mParticle or RoktKit is fully ready. To support this, we’ve introduced a new method,
onShoppableAdsReady, which exposes a safe hook for registering TYE event listeners.The updated integration pattern is:
Changes to snippet js.
Integrations will now require
onShoppableAdsReadyto be included in the RoktMethods stub:What Changed
Deployment order
Media
Screen.Recording.2026-04-27.at.9.53.49.AM.mov