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>