UseResponse allows transferring user's data to live chat widget once your client is logged in.
You can pass important visitor's information from your site (names, emails, addresses, etc.) to create a context for chat conversations. If your chat operator has a set of information on a specific customer at the beginning of a conversation, each chat can be handled faster and more efficiently.
To add the ability to authenticate users in our chat, please perform the following instructions:
- On your server-side, you need to generate dynamically SHA256 hash of the string that includes only the user's email and security token. Example: email@example.com
To get a security token, please enable Single Sign-On in Administration » Applications, click Settings, select the OneLogin method and grab Security Key from Integration Details. If you don't want to use Single Sign-On login, please disable the application.
Make sure you can pass generated hash and user's details on every page of your site where you embed live chat widget.
- Please paste the following script on every page of your website where chat code is located. This script should deliver the hash of user's email and security key along with any user's data you want to send to UseResponse instance.
property_172 is user's field id that can be taken from Administration » Custom Fields » Users or if you want to transfer other custom information to the additional chat fields.
188 is the value of a custom field.
To find out the value of a custom field, please use Inspector tool in your browser.
When you finish the setup, you will be able to recognize your customers, grab their data from your database and show that information in your chat window in UseResponse.
You can clear user session every time your client or potential customer closes page in the browser or logs out the application where UseResponse chat widget is located.