Web
Switch the Stories

Switch the Story to Show Inside the Widget

The initFloatingWidget function removes the existing widget before initializing. So, you can simply call the initFloatingWidget function again with a different story id to show different stories.

window.ShareloSDK.initFloatingWidget({ storyId: "another-story-id" });