How to prepopulate user details in widget?

Answered Mircea 9 years ago

Hi!

How can I prepopulate user name and email in the Support Center widget?

Thanks.

Replies (4)

photo
19

Hello Mircea,


Can we found out the reason for that? All authorized users won't see these fields in widget, as system would define them. In order to make system define authorization that was done outside the system, you can use Single Sign-on https://help.useresponse.com/knowledge-base/article/single-sign-on

Let us know the details on how do you see widget working.

This comment is in trash! Restore
photo
18

Hi, Stas!

My question is related to the following scenario:

I want to embed the Support Center widget inside a web application.

There can be many situations in which the user never reaches the support portal (UseResponse) but only clicks on the widget.

It would make their lives much easier if they weren't required to type "Name" and "Email" as I already know who they are in my web app, so I'd like to have an option of setting those parameters myself when I initialize the widget.

Do you see my point? SSO doesn't help here.

This option is available at Freshdesk and LiveAgent (I know as I'm evaluating them as well).

Is there a way to initialize the widget with those parameters? Just name and email...

This comment is in trash! Restore
photo
15

Thank you for clarification. We would get back to you tomorrow with the solution to make it work. How do you see ideal way to prepopulate these fields? How does it work in other systems technically, so that this method would be universal for other systems to integrate?

This comment is in trash! Restore
photo
19

Thank you as well.

Here is the init script for Freshdesk. Look for "name" and "email" js variables in that string concatenation.


FreshWidget.init("", {"queryString": "&widgetType=popup&formTitle=Support+%26+Feedback&helpdesk_ticket[requester]=" + email + "&helpdesk_ticket[name]=" + name, "utf8": "✓", "widgetType": "popup", "buttonType": "text", "buttonText": "Support & Feedback", "buttonColor": "white", "buttonBg": "#FF7D00", "alignment": "4", "offset": "280px", "formHeight": "500px", "url": "https://myurl...";});


And this is for LiveAgent:

LiveAgent.setUserDetails('customer@email.com', 'First name', 'Last name');

Source: https://support.ladesk.com/418636-Prefill-email-and-name-for-customer

It would be great to have something similar in UseResponse, especially because it makes a better user experience for customers.

Thanks


This comment is in trash! Restore
photo
photo
15

Thank you for providing the detaila. I think we would make it tomorrow and update the system by including it in knowledge base

This comment is in trash! Restore
photo
20

That's more than great.

Big thanks!

This comment is in trash! Restore
photo
18

We have updated the system, so you can pass user email and name to Support Center using javascript code like the following example:

  1. = function () {
  2. UR.userConfig({
  3. userEmail : 'email@example.com',
  4. userName : 'Username'
  5. });
  6. };


Please let us know if it works for you.

This comment is in trash! Restore
photo
photo
18

Thank you very much.

We'll try it out.

That's what I call great support. :)

This comment is in trash! Restore
Leave a Comment
 
Attach a file