กลับไปที่แดชบอร์ด

เอกสาร

เรียนรู้วิธีใช้ Asyntai

เริ่มต้นใช้งาน
การติดตั้ง ฐานความรู้ AI เข้าถึงเนื้อหาของคุณอย่างไร ทดสอบ AI ของคุณ จัดการเว็บไซต์ เคล็ดลับคำสั่ง AI ย้ายจากแชทบอทอื่น เปรียบเทียบแผน
ฟีเจอร์
การรวบรวมข้อมูลเว็บไซต์ ช่องว่างความรู้ การ์ดสินค้า การ์ดสินค้าแบบไดนามิก Dynamic Images บริบทผู้ใช้ เครื่องมือที่กำหนดเอง พารามิเตอร์ลิงก์ การติดตามแบบเรียลไทม์ Human Takeover การยกระดับ การแจ้งเตือน AI รายงานประจำวัน ฟีดข้อมูลแบบเรียลไทม์ ฟีดข้อมูลแบบเรียลไทม์ Max สมาชิกในทีม การลงชื่อเข้าใช้ครั้งเดียว การยืนยันตัวตนสองขั้นตอน รวมรูปภาพ การมองเห็นรูปภาพ วิดเจ็ตแปลภาษา การปรับให้เข้ากับท้องถิ่น ความโปร่งใสของ AI ลูกค้าเป้าหมาย การจับลูกค้าเป้าหมายอัจฉริยะ ตั๋วสนับสนุน การจอง การฝัง ยกเว้นหน้า IP ที่ถูกบล็อก นโยบายการเก็บรักษาข้อมูล โหมดไม่เก็บข้อมูล การปกปิดข้อมูลส่วนบุคคล (PII) ตัวคัดกรองคำตอบ Access Tags การตรึงเวอร์ชันวิดเจ็ต บันทึกการตรวจสอบ โมเดลที่ฉลาดกว่า เปิดใช้งานการคิดวิเคราะห์ คำแนะนำการตอบกลับ ข้อความติดตามผล เสียงเป็นข้อความ ดาวน์โหลดบันทึกการสนทนา แชทแบบฝังตัว

How to Add Asyntai AI Chatbot to Shoptet

Step-by-step guide for Shoptet e-shops

รับโค้ดฝัง

ขั้นตอนที่ 1: รับโค้ดฝังตัวของคุณ

ก่อนอื่น ไปที่แดชบอร์ด Asyntai ของคุณและเลื่อนลงไปที่ส่วน "Embed Code" คัดลอกโค้ดฝังตัวเฉพาะของคุณซึ่งจะมีลักษณะดังนี้:

<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>

หมายเหตุ: โค้ดด้านบนเป็นเพียงตัวอย่าง คุณต้องคัดลอกโค้ดฝังตัวเฉพาะของคุณจากแดชบอร์ดเนื่องจากมี widget ID ส่วนตัวของคุณ

Step 2: Open the HTML Codes Editor in Shoptet

Shoptet has a built-in section for inserting custom HTML and JavaScript, so you never need to touch the theme's source files:

  1. Log in to your Shoptet administration
  2. In the left-hand menu, open Appearance and content (Czech: Vzhled a obsah)
  3. Click Editor
  4. Select HTML code (Czech: HTML kód)

หมายเหตุ: This section is available on all Shoptet plans and is intended for advanced users. Shoptet technical support does not assist with custom HTML, CSS, or JavaScript, so keep a copy of anything you paste here.

Step 3: Paste the Embed Code into the Footer Field (Recommended)

The HTML code editor has several fields. To load the chatbot on every page of your e-shop, use the footer field:

  1. Find the field labelled Footer (before the closing BODY tag) (Czech: Zápatí (před koncovým tagem BODY))
  2. Paste your Asyntai embed code into this field:
<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>
  1. Click Save to apply the change
  2. The chatbot will now appear on all pages of your store automatically

เคล็ดลับ: Placing the code in the footer field (before the closing BODY tag) ensures the page content loads first, so the chat widget never slows down your store.

Alternative: Use the Header Field

If you prefer to load the script in the page head, the same HTML code editor offers a header field:

  1. In Appearance and content → Editor → HTML code, find the field labelled Header (before the closing HEAD tag) (Czech: Záhlaví (před koncovým tagem HEAD))
  2. Paste the same Asyntai embed code into this field
  3. คลิก Save

หมายเหตุ: You only need to add the embed code in one place. Use either the footer field or the header field, not both, to avoid loading the widget twice. The footer field is recommended for the best page performance.

ขั้นตอนที่ 4: ตรวจสอบการติดตั้ง

After saving your changes, open your Shoptet e-shop in a new browser tab or incognito window. You should see the chat widget button in the bottom right corner. Click it to ensure it opens and functions correctly.

ไม่เห็นวิดเจ็ต? Make sure you saved the HTML code field. Clear your browser cache or view in incognito mode. Shoptet may cache pages, so changes can take a few minutes to appear. Check the browser console (F12) for any JavaScript errors.

ต้องการความช่วยเหลือ?

The HTML code section is intended for advanced users, and Shoptet support does not help with custom code. If you get stuck, contact Asyntai support for guidance on installing the chatbot on your Shoptet store.

การสนับสนุนระดับมืออาชีพ: If you would rather not edit the code yourself, a Shoptet partner or freelance developer can add the embed snippet for you in just a few minutes.