Hey, I want integrate my call center chatbox in shopify website. I have got a script from call center software team but i don't know where should i put this script.
is there anyone who can help me to do this?? script is below:
<div id ="chat_customer_window" style="visibility:hidden;">
</div>
<div id="chat_btn">
</div>
<script type="text/javascript">
function chat_with_live_agent(status){
if(status == 'open'){
document.getElementById("chat_customer_window").setAttribute("style"," visibility:visible;");
document.getElementById('chat_btn').innerHTML="<div onclick=\"chat_with_live_agent('close')\" style=\"position: fixed; bottom: 0; right: 0; margin:20px;z-index: 9999999999999999;\"><img src=\"http://182.160.114.69/chat_customer/images/chat_close.png\" style=\"height: 60px;width: 60px;\"></div>"; }else{
document.getElementById("chat_customer_window").setAttribute("style"," visibility:hidden;");
document.getElementById('chat_btn').innerHTML="<div onclick=\"chat_with_live_agent('open')\" style=\"position: fixed; bottom: 0; right: 0; margin:20px;z-index: 9999999999999999;\"><img src=\"http://182.160.114.69/chat_customer/images/chat_open.png\" style=\"height: 60px;width: 60px;\"></div>"; }
}
</script>