Solved Can Live Chat recognize authenticated users?

Status
Not open for further replies.

KenStokes

Premier Customer
Joined
Feb 15, 2021
Messages
1
Reaction score
0
We use the Live Chat for both authenticated and un-authenticated web pages.

On the un-authenticated pages we certainly need to ask for the name and email address to initiate the chat.

However, it seems clunky to have to ask for a name and email on a webpage (student portal) where the user is already known and authenticated.
We would like to be able to skip asking the user for that information, since we already know it.
We would also like to be able to pass it in to the call-us tag so that the representative could see who is requesting the chat.
For clarity, we have the skills to program and use APIs. We just need to know if this is possible? And if so, is there a reference document or API that we should look to?
 
Hello @KenStokes ,

There are two attributes as part of call-us code that you can feed with your data. As soon as you feed them with data, then the form will be shown pre-filled with the customer information (editing will be disabled).
  • visitor-name
  • visitor-email
The user then can click chat to start chatting.
1614842282789.png
 
Hi,
I had a similar requirement and tried this solution.
Could you clarify how to send the visitor-email and visitor-name ?

I tried appending to the url but it had no effect...
/callus/#xyz?visitor-name=John&visitor-email=[email protected]
 
Is there any documentation about this?
If I use
<script defer src="https://myserver.com/3cx_msg/callus.js?visitor-name=myauthuser" id="tcx-callus-js"></script>

it still asks for the name of the user
In the widget generation tool I tried it with Required chat box fields NAME ONLY and NONE but neither one passes the name onwards.
 
Last edited:
  • Like
Reactions: VasilisV_3CX
Thanks Frederick, that worked perfectly!

Jan
 
Glad you've got this working @JW Ronken, if you require any further assistance, feel free to open a new thread!
 
Status
Not open for further replies.

Forum statistics

Threads
112,147
Messages
590,961
Members
165,167
Latest member
Finatra.us