Agent Directory
With the Agent Directory, your visitors and employees can directly access a specific agent.
- See the availability of each agent (online or offline) with the built-in presence detection
- Display a picture and/or details about the skill of each agent
- Send the Offline Email automatically to a specific agent using a custom form
Click Here to see an example.
Setting Up The Main Button
The main "Click to Chat" button on your Web pages will open a Web page or a pop up window which will display your Agent Directory.
Here is how the "Main Button" tag will look:
|
<!-- BEGIN LivePerson Button Code -->
<a href='#' target='AgentDirectory' onClick="window.open('http://www.yoursite.com/agentdirectory.htm','AgentDirectory',
'width=xxx,height=yyy');return false;"><img src='http://server.iad.liveperson.net/hc/YOURSITEID/?cmd=repstate&site=YOURSITEID
&category=en;liveperson;1&ver=1' name='hcIcon' width=120 height=36 border=0></a>
<!—END LivePerson Button code --> |
Replace YOURSITEID with your LivePerson account number.
Replace http://www.yoursite.com/agentdirectory.htm with the address of your Agent Directory page.
Replace xxx and yyy with dimension of the pop up window for the Agent Directory.
Important Notes
- This button will display the online status (reponline.gif) as long as at least one of your agent is online.
- The chat starting will always be your Agent Directory page. If you want to know on which web page the main to chat button was clicked on, you will need to pass on this information into the referrer variable of the agent button.
Setting Up the Agent Button
The implementation of the Agent Directory is based on the "operator" custom variable. This custom variable routes calls to a specific operator.
The operator name should be exactly as defined in the administration area (case sensitive). Spaces or special characters in the value should be encoded, for example spaces should be replaced by the character “+”.
Example: SESSIONVAR!operator=John+Smith
Here is how the "Agent Button" tag will look:
|
<!-- BEGIN LivePerson Button Code -->
<a href='http://server.iad.liveperson.net/hc/YOURSITEID/?cmd=file&file=visitorWantsToChat&site=YOURSITEID&
byhref=1&SESSIONVAR!operator=Operator+Name'
target='chatYOURSITEID'
onClick="window.open('http://server.iad.liveperson.net/hc/YOURSITEID/?SESSIONVAR!operator=Operator+Name&
cmd=file&file=visitorWantsToChat &site=YOURSITEID&referrer='+document.location','chatYOURSITEID','width=472,
height=320');return false;"><img src='http://server.iad.liveperson.net/hc/YOURSITEID/?operator=Operator+Name&cmd=repstate&site=YOURSITEID&category=
en;liveperson;1&ver=1' name='hcIcon' width=120 height=36 border=0></a>
<!—END LivePerson Button code --> |
Replace YOURSITEID with your LivePerson account number.
Replace (Operator+Name) with the name of the operator as defined in the administration area.
Important Notes
- You can customize the image for each agent. See our customization guide.
- If you would also like to include a general chat button (not agent specific) in your Agent Directory or on your web site, you will need to set the operator variable to null (SESSIONVAR!operator=null).
- If you are using a pop up window for your Agent Directory, do NOT include a monitor tag in the pop up window.
The methodology is very similar to the customization of the offline survey. You will need to append to the URL of the offline survey a unique identifier for each agent.
Our Small Business professional service team can create a great looking Agent Directory for you.