Integrating Korean Chat Service

Hello,

I would like to install the Korean channel service, Channel.io, and I’m having trouble figuring out what modifications need to be made. Is there anyone who can assist me with this?

Thank you.

<script>
  (function(){var w=window;if(w.ChannelIO){return w.console.error("ChannelIO script included twice.");}var ch=function(){ch.c(arguments);};ch.q=[];ch.c=function(args){ch.q.push(args);};w.ChannelIO=ch;function l(){if(w.ChannelIOInitialized){return;}w.ChannelIOInitialized=true;var s=document.createElement("script");s.type="text/javascript";s.async=true;s.src="https://cdn.channel.io/plugin/ch-plugin-web.js";var x=document.getElementsByTagName("script")[0];if(x.parentNode){x.parentNode.insertBefore(s,x);}}if(document.readyState==="complete"){l();}else{w.addEventListener("DOMContentLoaded",l);w.addEventListener("load",l);}})();

  ChannelIO('boot', {
    "pluginKey": "****",
    "memberId": "USER_MEMBER_ID", // fill user's member id
    "profile": { // fill user's profile
      "name": "USER_NAME", // fill user's name
      "mobileNumber": "USER_MOBILE_NUMBER", // fill user's mobile number
      "landlineNumber": "USER_LANDLINE_NUMBER", // fill user's landline number  
      "CUSTOM_VALUE_1": "VALUE_1", // custom property
      "CUSTOM_VALUE_2": "VALUE_2" // custom property
    }
  });
</script>

What issues are you facing? Have you tried creating a custom block and then using the code above?

I have integrated it into the custom code, but unfortunately, it’s not functioning as expected. It appears that there might be a need for modifications on the user part, but I’m feeling uncertain about how to proceed. As a result, I decided to seek guidance.