MyLiveChat Integration Basic Encryption Mode Demo for php

  • Config MyLiveChat Integration Settings
    Login to MyLiveChat, and go to Account Console. Click Advanced Topics -> Integration Settings menu on the left.

    Select Basic mode, input an encryption key you used in this demo.

    img 1

  • Encrypt user key, insert MyLiveChat code, set user key by MyLiveChat javascript API
    <!--This is mylivechat html code-->
    <script type="text/javascript" src="https://www.mylivechat.com/chatbutton.aspx?hccid=MyLiveChatID"> </script>
    <script type="text/javascript">
    function MyLiveChat_OnInit() {
        MyLiveChat_SetUserName("USERNAME", "USERKEY");
    }
    </script>
  • Test