Quantcast
Channel: LivePerson Connect : Popular Discussions - All Communities
Viewing all 2324 articles
Browse latest View live

Mobile Chat on Android Browser

$
0
0

Hi Folks


We've recently implemented mobile chat on our website www.eircom.ie. So far we are seeing 20% of chats now coming from mobile devices, which is great. However, we have an issue with chatting from Android devices.

 

We have noticed that whilst mobile chat works great on iOS devices, it appears to be really intermittent on Android. In working with our Liveperson engineer we have identified that it appears that mobile chat does not work on our responsive pages when "pinch and zoom" is available on the page. So the easy answer for us is to restrict pinch and zoom. However, we don't want to restrict this as sometimes it is required.

 

Has anyone else run into this issue and found any way around it?

 

Thanks

 

John


Change "Begin Chat" text on surveys

$
0
0

Does anyone know how to change the button on a survey to say something besides "Begin Chat"?

 

Thank you in advance

Engagement Window

$
0
0

Has anyone tried use the new Engagement Window?  I am trying to play with it in my Clone Account with very little success.

 


URL to download reports

$
0
0

All,

 

I found the PDF that describes how to download reports in XML format (or have them sent to an FTP server), using the report export feature. Is there any way to use a URL to get the reports in Excel format?

Using Liveperson with Single Page Application

$
0
0

Hello

 

We develop an web site with single page application pattern, in which the user stays mostly on the same pages. How can I make sure Liveperson does not consider such user as idle, since he or she is not navigating between pages?

 

Thanks,

 

 

Gil

 

 

account key for android apps

$
0
0

Hi guys,

i ran into some problem and very confused how to troubleshoot it..

so, i have tried the Android sample code on my eclipse IDE

and it gives me the following error in the console:

07-12 15:15:20.930: E/LivePersonChat(25338): com.liveperson.android.ChatApiException: Account expired

 

after searching, i follow this document to create new appkey

http://community.liveperson.com/docs/DOC-1024

 

when i'm to choose the type of API key

http://community.liveperson.com/create-app-key!input.jspa?targetUser=5636

for android apps i'm confused but i just choose two of those as suggested in the iphone sample code discussion thread

 

APIs Used:
Chat API (Unsigned REST) visit-rest-api-unsigned - Development

 

is this correct? I mean which one should i tick when creating app key? for android apps development

 

another problem i encountered when i try to install in account

i quote these from the create new appkey document

5.  Install the Application on the Test Account:  After developing your application, you will need to add the application to your account so that the application can be tested. From the Resources menu, point to API Keys & Accounts and the select View My Applications. Click the Install in Account link.

so, when i clicked 'install in account' and then asked  about account number, user ID, and password.

after i completed all the fields, i'm redirected to a page

on the tab 'Account Set Up › Applications"

it says:

The application you are trying to install was developed using someone else�s development key. It can be installed on account with developer id: null.

 

what's wrong here? how to resolve it?

 

and one more thing when i checked the console of my eclipse IDE

it says the following error

07-12 15:09:25.870: E/LivePersonChat(23724): Couldn't initiate chats
07-12 15:09:25.870: E/LivePersonChat(23724): com.liveperson.android.ChatApiException: Server is temporarily unavailable

 

I'm using this variable for the server & site ID (for development purpose), is this correct?

private String server = "lpwebdemo.liveperson.com";
private String siteID = "30352262";

 

 

How to retrieve/create a direct link to live chat room/window?

$
0
0

Hi All,

 

This is my first discussion post. I am seeking guidance on how to create/retrieve a direct link from of my organization's live chat rooms. I would like to insert this link in emails that are delivered to our clients and stakeholder. I am aware that this type of implementation is unsupported by LivePerson, due to unpredictable behavior and lost of functionality. I have been also made aware that the button need to be hardcoded, otherwise the link will default to the primary pre-chat survey.

 

Can anyone assists me with this inquiry?

 

 

Thanks!

LivePerson/Engage Javascript slowing down site

$
0
0

The following is a yslow of my site in regards to live person java-script downloads. nothing seems to be gzip, all expires are in the past and total load time is around 8s.

ylsow-homepage.pngIs there something we can do to increase the speed and caching of these files?

 

Here is our JavaScript from our footer

 

<script type="text/javascript">

        window.lpTag=window.lpTag||{};if(typeof window.lpTag._tagCount==='undefined'){window.lpTag={site:'XXXXXXXX',section:lpTag.section||'',autoStart:lpTag.autoStart||true,ovr:lpTag.ovr||{},_v:'1.4',_tagCount:1,protocol:location.protocol,events:{bind:function(app,ev,fn){lpTag.defer(function(){lpTag.events.bind(app,ev,fn)},0)},trigger:function(app,ev,json){lpTag.defer(function(){lpTag.events.trigger(app,ev,json)},1)}},defer:function(fn,fnType){if(fnType==0){this._defB=this._defB||[];this._defB.push(fn)}else if(fnType==1){this._defT=this._defT||[];this._defT.push(fn)}else{this._defL=this._defL||[];this._defL.push(fn)}},load:function(src,chr,id){var t=this;setTimeout(function(){t._load(src,chr,id)},0)},_load:function(src,chr,id){var url=src;if(!src){url=this.protocol+'//'+((this.ovr&&this.ovr.domain)?this.ovr.domain:'lptag.liveperson.net')+'/tag/tag.js?site='+this.site}var s=document.createElement('script');s.setAttribute('charset',chr?chr:'UTF-8');if(id){s.setAttribute('id',id)}s.setAttribute('src',url);document.getElementsByTagName('head').item(0).appendChild(s)},init:function(){this._timing=this._timing||{};this._timing.start=(new Date()).getTime();var that=this;if(window.attachEvent){window.attachEvent('onload',function(){that._domReady('domReady')})}else{window.addEventListener('DOMContentLoaded',function(){that._domReady('contReady')},false);window.addEventListener('load',function(){that._domReady('domReady')},false)}if(typeof(window._lptStop)=='undefined'){this.load()}},_domReady:function(n){if(!this.isDom){this.isDom=true;this.events.trigger('LPT','DOM_READY',{t:n})}this._timing[n]=(new Date()).getTime()}};lpTag.init()}else{window.lpTag._tagCount+=1}

    </script>



Detect when dynamic chat button is displayed/hidden

$
0
0

Hi,

 

I need to detect when a dynamic LiveEngage chat button is shown and hidden (both events) on a page. I need to display and hide other corresponding elements on a page. Is there an API or events I can hook into for this?

 

I have seen the page Browser-Based Solutions Using the Monitor Tag, however I can't figure out (or get working) the examples, and I'm not even sure they are still relevant (given the page was last updated 4 and a half years ago).

 

Can someone assist with documentation and/or examples please.

 

Thanks,

Jason

Page Speed Optimization: Compressing LivePerson .js files

$
0
0

Hello,

 

My site http://hartfordrents.com/ is currently running the chat module on all of it's pages and it's a great tool for our sales staff to engage potential leads who are browsing our site.  However, while optimizing the site for faster load time I noticed that about a half-dozen files like http://server.iad.liveperson.net/hc/s-79072622/?cmd=lpTagGetJsSnippets are being requested and delivered to the end user uncompressed.

 

Is there a way to enable compression or CDN caching to speed up the delivery of these files?

 

Thanks,

Eric

Can the knowledgebase facility be branded for your own company

$
0
0

A number of customers have highlighted they feel thay are going outside our site when using the knowledgebase. The main reason being is that it cannot be branded on our own company colours?

 

Any ideas?

Is this the right forum? (Trying to style my chat popup window).

$
0
0

I have inherited this project from another developer.  I thought it would be much easier to apply css to this, or least find out how to do so.  I even tried inserted a JQuery CSS statement into the window.open

<a  class="live-chat-link" onclick="launchChat();return false;">Live Chat</a>

<script>

    function launchChat(){

        window.open("/chat", "_blank", "width=410, height=400");

        $(.LPMcontainer).css("border", "none");

  $(.LPMoverlay).css("border", "none");

  )}

</script>

 

Using API for pre-chat survey and chat window, can I use a stock exit survey?

$
0
0

I have been through a very long development process switching my client from a LivePerson-hosted pre-chat survey to one hosted on their own site using the LP API so it can be tightly integrated into the site (no popup window). In order to maintain session info, this also required building a custom chat window, also hosted by my client, using the LP API.

 

This is all working now, but we're finding that when chat ends, the exit survey does not appear. I had been assuming that ending the chat would prompt the page to reload with the exit survey, and we could tackle updating the design of the exit survey at a later date.

 

Now that we're finding it not working, I'm assuming that it's because we're using the API. Do we really have to build a new API-based Exit Survey page, or is there some way to simply redirect the user to the exit survey they're using now? I'm successfully receiving the event that the chat session has closed and can act on that however is needed, but I don't know where to redirect them.


This has been a trying process with little information from LP about the implications of using the API. It took months to finally determine (even while working with LP support!) that if you use the API, you have to use the API for both the PCS and the chat window in order to maintain session info.

 

If someone from LivePerson had simply said "if you want to use the API, be prepared to use it for the entire beginning-to-end chat session flow" it would have changed how we approached this.

Sample code for IOS Native App ?

New LiveEngage Chat Question

$
0
0

We are going to implement 3PN calls from live chat to our website.

1.  Where can I find the detail implementation document ?

2.  How to create a custom variable and send it back to live chat.

 

Thanks for your help in advance.


REST API - How to detect and respond to a chat invitation from operator

$
0
0

Hi

 

I've been successfully using the REST Visit and Chat APIs to initiate sessions and start chats from my application.  However, it's not obvious to me from the documentation if/how it's possible for my application to detect that an operator has invited the visitor to chat (i.e. using the LivePerson console, the operator selects the visitor > right-click > "invite to chat").

 

Is it possible to detect this using the REST APIs?  If so, I assume that the visitor application could accept the invitation by initiating a chat?

 

Many thanks,

Nick

Chat time (AHT)

$
0
0

In case of transferring a chat session to another person, does the chat time ends (affecting Average Handle Time), once the chat has been transferred, or chat time is being shared by 2 representatives who handled the chat?

Problems getting started

$
0
0

I am testing out the LivePerson service for the first time and I'm having some difficulty getting the DynamicButton to work.  I've looked through other developer questions and answers and read the API information but nothing seems to clearly explain how to successfully embed a dynamic button.  Thanks.

I am using the following index.html file:

<!DOCTYPE html>

<html>

<title>Live Person Demo</title>

<head></head>

    <body>

        Live Person Demo - Dynamic Button

        <div id="chatbutton-div"></div>

        <script type="text/javascript" src="mtagconfig.js"></script>

    </body>

</html>

Here is my mtagconfig.js file:

 

var lpMTagConfig = {

    'lpServer': "dev.liveperson.net",

    'lpNumber': "******",

    'lpProtocol': (document.location.toString().indexOf('https:') == 0) ? 'https' : 'http'

};

//Dynamic Buttons Array

if(typeof(lpMTagConfig.dynButton)=='undefined') { lpMTagConfig.dynButton = []; }

// This need to be add to afterStartPage will work

if(typeof(lpMTagConfig.ifVisitorCode)=='undefined') {lpMTagConfig.ifVisitorCode = []; }

function lpAddMonitorTag(src) {

    if (typeof(src) == 'undefined' || typeof(src) == 'object') {

        src = lpMTagConfig.lpMTagSrc ? lpMTagConfig.lpMTagSrc : '/hcp/html/mTag.js';

    }

    if (src.indexOf('http') != 0) {

        src = lpMTagConfig.lpProtocol + "://" + lpMTagConfig.lpServer + src + '?site=' + lpMTagConfig.lpNumber;

    } else {

        if (src.indexOf('site=') < 0) {

            if (src.indexOf('?') < 0)src = src + '?'; else src = src + '&';

            src = src + 'site=' + lpMTagConfig.lpNumber;

        }

    }

    ;

    var s = document.createElement('script');

    s.setAttribute('type', 'text/javascript');

    s.setAttribute('charset', 'iso-8859-1');

    s.setAttribute('src', src);

    document.getElementsByTagName('head').item(0).appendChild(s);

}

// this button was added by me on the admin console

lpMTagConfig.dynButton[lpMTagConfig.dynButton.length] = {'name':'chat-button-1','pid':'chatbutton-div','afterStartPage': true,'ovr':'lpMTagConfig.db1'};


if (window.attachEvent) window.attachEvent('onload', lpAddMonitorTag); else window.addEventListener("load", lpAddMonitorTag, false);

 

 

The custom button I specified in the Dynamic Button instance loads correctly, but I cannot click on it. In other words, even though the button is wrapped in an anchor tag, nothing happens.  Not sure why

screenshot.png

Here is how the HTML is ultimately rendered when the LivePerson javascript files are loaded:

              

<!DOCTYPE html>

<html>

 

        <head>

<body>

Live Person Demo - Dynamic Button

<div id="chatbutton-div" style="visibility: visible;">

<a id="lpDynamicButtonHref-996" style="cursor:default" href="#" title="">

<img id="lpDynamicButtonImg-996" border="0" style="border: 0px none" name="lpDynamicButtonImg-996" alt="" src="../images/chat-default.png">

</a>

</div>

<script src="mtagconfig.js" type="text/javascript">

</body>

</html>

Detect when dynamic chat button is displayed/hidden

$
0
0

Hi,

 

I need to detect when a dynamic LiveEngage chat button is shown and hidden (both events) on a page. I need to display and hide other corresponding elements on a page. Is there an API or events I can hook into for this?

 

I have seen the page Browser-Based Solutions Using the Monitor Tag, however I can't figure out (or get working) the examples, and I'm not even sure they are still relevant (given the page was last updated 4 and a half years ago).

 

Can someone assist with documentation and/or examples please.

 

Thanks,

Jason

Sometimes ${vars} don't translate to the relevant value for Operator Alerts

$
0
0

We use operator alerts to pass data to a remote server and record information about the user in our CRM system. For about 1 out of 100 cases, the variables used for the operator alert are not translated to their respective values.

 

For example:

The custom variable ${vars.ActivityId} should be replaced with the value passed to LivePerson for this field. Most of the time this works, but some of the time the operator alert just sends the variable name ${vars.ActivityId}, instead of the actual value.

 

Has anyone seen this behavior before? Is it a known issue?

Viewing all 2324 articles
Browse latest View live