Genesys CTI User Forum > Genesys-related Development
Chat Widgets SessionData
alejandro.echeverri:
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.
cavagnaro:
what do you mean by "[font=Verdana][size=2px]every moment of chatsession"?[/size][/font]
alejandro.echeverri:
don't wait to end chat session to send data, i mean, don't wait to on_disconnect function/event to trigger the send data.
What we need is, while client and agent are typing messages, use the firstname, ixn_id, lastname and email to send to client the url survey, for example, until the chat ends, in chat area, the client can receives the url survey (or another url), for example something like this:
http://www.survey.com/survey1?id=XXXX&name=firstname+lastname&email=email_from_form
Cookies is an option the we can't use, because the project what we are doing research is for a bank, and for security issues we can't make it using cookies.
cavagnaro:
But that info was already sent when customer started chat even without agent...so, you could create an automatic response at KM with those variables and send it to customer.
I think you have a missing point at API work mode at IXN.
The customer couldn't be routed initially without that user data sent
Enviado de meu E6633 usando Tapatalk
alejandro.echeverri:
Hi, what we need is the same in this case:
https://genesyspartner.force.com/customercare/CaseDetail?id=5000B00000ap7HoQAI
In that case the example is with CB, but the real needing is do it with widgets.
Navigation
[0] Message Index
[#] Next page
Go to full version