Trying to understand how to properly inject custom guest attributes for authenticated users into the Genesys Cloud Web Messaging widget. I am using the standard JavaScript snippet in my Rails view.
I attempted to set the guestAttributes object via genesyscloud.setProperties() before initialization, passing user ID and tier. The widget loads, but the attributes do not appear in the /conversations/messages webhook payload.
Is there a specific SDK method or timing constraint I am missing to ensure these attributes persist to the backend conversation context?