You can follow up this steps:
- Activate `Phone number` as customer identifier in Widget Builder.
- Copy the widget code in the Code Snippet, then paste it on your website.
- Add this extra script lines inside the
<head>...</head>
section of your website
<script>
//ADD qismoConfig TO CUSTOMIZE DEFAULT COUNTRY CODE
qismoConfig = {
customerIdentifierInputType: 'phone',
initialCountryCode: 'your-country-code',
}
document.addEventListener('DOMContentLoaded', function() {
var s,t; s = document.createElement('script'); s.type = 'text/javascript';
s.src = 'https://s3-ap-southeast-1.amazonaws.com/qiscus-sdk/public/qismo/qismo-v2.js'; s.async = true;
s.onload = s.onreadystatechange = function() { new Qismo("your-app-id"); }
t = document.getElementsByTagName('script')[0]; t.parentNode.insertBefore(s, t);
});
</script>
Comments
0 comments
Please sign in to leave a comment.