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

Chat JavaScript v3 Coming Soon & Chat JavaScript v2 Phase Out

$
0
0

Dear LivePerson Developers,

 

I'd like to announce our upcoming version of JavaScript v3 which will be released soon. In order to concentrate our efforts on the new version, we are now phasing out our Chat JavaScript Chat v2.

 

JS v2 added support for surveys, but lacked the integration of dynamic buttons (which exists in JS v1). For new developers we currently recommend using the JS v1. The new JSv3 will support surveys, and later on will also support integration with dynamic buttons.

 

The following functions are not supported in JS v1:

1. getPreChatSurvey()

2. getExitSurvey()

3. submitExitSurvey(survey)

4. getOfflineSurvey()

5. submitOfflineSurvey(survey)

6. onPreChatSurvey(survey)

7. onExitSurvey(survey)

8. onSubmitExitSurvey()

9. onOfflineSurvey(survey)

10. onSubmitOfflineSurvey()

 

 

JS v1 is signified by:

src = c.lpChatSrc ? c.lpChatSrc : '/hcp/html/lpChatAPI.js

 

As a reminder, JS v2 is signified by pulling the following resource, which still remains available for usage:

src = c.lpChatSrc ? c.lpChatSrc : '/hcp/html/jschatapiv2.js

Please let me know if you have any questions.

Best,

Nitay


Viewing all articles
Browse latest Browse all 2324

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>