项目作者: canerbasaran

项目描述 :
Client Automation for Crisp Chat Basic Package
高级语言: JavaScript
项目地址: git://github.com/canerbasaran/crisp-client-automation.git
创建时间: 2020-05-28T20:29:49Z
项目社区:https://github.com/canerbasaran/crisp-client-automation

开源协议:MIT License

下载


Crisp Client Automation

If you want to use automation feature of Crisp Pro package, so easy.

Installation

Add end of crisp script

  • Start an automatic chat for a new visitor who not click on chat for 3 seconds
    1. l=localStorage;e=()=>l.setItem("n3w",!0);g=()=>l.getItem("n3w");g()||($crisp.push(["on","chat:initiated",e]),$crisp.push(["on","session:loaded",()=>{setTimeout(()=>{g()||($crisp.push(["do","chat:open"]),e())},3e3)}]));

Other Client-Side Commands

https://help.crisp.chat/en/article/how-to-use-dollarcrisp-javascript-sdk-10ud15y