Author Topic: Chat Widgets SessionData  (Read 1371 times)

Offline alejandro.echeverri

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Chat Widgets SessionData
« on: December 04, 2017, 11: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.

Online cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 6577
  • Karma: 56332
Re: Chat Widgets SessionData
« Reply #1 on: December 05, 2017, 12:47:31 AM »
Why are you posting on the business section?