Instalasi
Tambahkan widget obrolan Asyntai ke situs web Anda
Mendapatkan Kode Embed Anda
To add the chat widget to your website, you need to copy your unique embed code. Go to your Dashboard and scroll down to the "Embed Code" section. You will see your personalized code snippet that looks like this:
<script>(function(){var l=function(){var s=document.createElement("script");s.src="https://widget.asyntai.com/static/js/chat-widget.js";s.async=true;s.setAttribute("data-asyntai-id","YOUR_WIDGET_ID");document.head.appendChild(s)};if(document.readyState==="complete"){l()}else{window.addEventListener("load",l)}})();</script>
Salin kode ini dan tempel ke situs web Anda tepat sebelum tag penutup </body>. Skrip dimuat secara asinkron, sehingga tidak akan memperlambat waktu muat halaman Anda.
Pilih Platform Anda
Pilih platform situs web Anda untuk instruksi instalasi yang spesifik:
Instalasi Cepat (Platform Apa Pun)
Jika platform Anda tidak tercantum di atas atau Anda lebih suka instalasi manual, cukup tempel kode embed sebelum tag penutup </body> di templat HTML atau file tema situs web Anda.
Tip: Sebagian besar pembuat situs web memiliki bagian "Kode Kustom" atau "Injeksi Kode" di pengaturan mereka di mana Anda dapat menambahkan skrip ke semua halaman sekaligus.
Weebly