roundtable:ready
event on window
as soon as it finishes loading. Block 2 listens for that event so you can safely call window.setRoundtableUserId
once the script is loaded.
data-site-key
(required) – Your workspace’s site key (find it in the Roundtable Dashboard).data-user-id
(optional) – A stable identifier for a logged‑in user to track them over multiple sessions (a hashed value is fine).public/index.html
:
currentUser
changes, so it sets the UID immediately on page‑refresh and again right after a fresh login.
rtSessionId
. You can reference this ID to pull risk scores and data from the session in your back end.