Setting custom attributes on the Genesys Cloud Web Messaging widget isn’t sticking for logged-in users. I’m using the JavaScript SDK to set attributes after auth, but the widget sends them as empty to the routing engine. Here’s the snippet:
const widget = window.Api;
widget.setGuestAttributes({
userId: '123',
tier: 'premium'
});
The attributes appear in the console log but vanish in the actual interaction payload. Tried calling it before and after startConversation. Any idea why the SDK ignores these values?