" /> Chat Widgets SessionData - Genesys CTI User Forum

Author Topic: Chat Widgets SessionData  (Read 4202 times)

Offline alejandro.echeverri

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Chat Widgets SessionData
« on: December 04, 2017, 02:50:08 PM »
Advertisement
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.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Chat Widgets SessionData
« Reply #1 on: December 04, 2017, 03:47:31 PM »
Why are you posting on the business section?