Genesys CTI User Forum

Genesys CTI User Forum => Business Side of Genesys CTI => Genesys CTI-related Products => Topic started by: alejandro.echeverri on December 04, 2017, 02:50:08 PM

Title: Chat Widgets SessionData
Post by: alejandro.echeverri on December 04, 2017, 02:50:08 PM
Hello everybody,

We setted up chat widgets with gms, we know how to send userdata, but i need the sessiondata (or userdata) to send custom survey with interactionid, firstname, lastname in every moment of chatsession.

I'm doing tests without cookies, because finally the solution is going to be deployed in a bank, and by the way we can't use cookies.

I took a look of documentarion and i found the getUserData function, i tough that was fine use it but i had no success, this is an example how i'm trying it:

window._genesys.widgets.webchat.session.getUserData('FirstName').done(function(event){
      console.log(event);
}).fail(function(event) {
      console.log(event);
})

I'd would like firstable if i can use that getuserdata function, or if existe another way to do it without cookies.

Thanks all.

AlejandroE.
Title: Re: Chat Widgets SessionData
Post by: cavagnaro on December 04, 2017, 03:47:31 PM
Why are you posting on the business section?