Обратно към таблото

Документация

Научете как да използвате Asyntai

Първи стъпки
Инсталация База знания Как ИИ получава достъп до вашето съдържание Свържете сайта си Тествайте вашия AI Управление на уебсайтове Съвети за ИИ инструкции Преминаване от друг чатбот Сравнение на планове
Функции
Ask AI лента AI лента за търсене Сканиране на уебсайт Пропуски в знанията Продуктови карти Динамични продуктови карти Динамични изображения Потребителски контекст Персонализирани инструменти Параметри на връзки Проактивни съобщения Наблюдение на живо Поемане от оператор Ескалация AI известия Известия в браузъра Дневен отчет Поток от данни в реално време Данни в реално време Max Членове на екипа Единичен вход (SSO) Двуфакторно удостоверяване Включване на изображения Разпознаване на изображения Уиджет за превод Локализация Прозрачност на ИИ Лийдове Интелигентно събиране на лийдове Тикети за поддръжка AI отговори на имейли Категории на чатовете Помощен център Резервации Гласов агент Вградено съдържание Изключване на страници Блокирани IP адреси Политика за съхранение Режим без съхранение Маскиране на PII Класификатор на отговорите Access Tags Фиксиране на версията на уиджета Журнал за одит Предложения за отговор Последващи съобщения Реч в текст Изтегляне на разговора Вграден чат Вграждане чрез iframe

How to Add Asyntai AI Chatbot to Lightspeed

Step-by-step guide for Lightspeed eCom stores

Вземете код за вграждане

Стъпка 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>

Забележка: Кодът по-горе е само пример. Трябва да копирате собствения си уникален код за вграждане от вашето Табло за управление, тъй като съдържа вашия личен ID на уиджета.

Step 2: Add the Code via Web Extras (Recommended)

Lightspeed eCom (C-Series) has a built-in Custom JavaScript field that loads on every page of your online store — this is the easiest place to add your Asyntai widget. No theme editing required.

  1. Log in to your Lightspeed eCom Back Office
  2. In the left-hand menu, go to Settings
  3. Under Website settings, click Web Extras
  4. Select the Custom JavaScript tab
  5. Paste your Asyntai embed code into the text field
  6. Кликнете Save, за да приложите промените

Съвет: Code added in the Custom JavaScript field runs on all pages of your store automatically, so the chat widget appears everywhere without touching your theme files.

Забележка: The Custom JavaScript field expects a full script tag. Paste your embed code exactly as it appears in your Dashboard — including the opening and closing <script> tags.

Важно: Only add code from trusted sources over a secure (SSL / HTTPS) connection, and make sure all tags and brackets are correctly closed. Malformed scripts can interfere with your store's checkout and layout. The Asyntai embed code is a single, self-contained script that is safe to add here.

Alternative Method: Template Editor

If you prefer to edit your theme directly, or you want the widget on specific pages only, you can add the embed code through the Template Editor instead:

  1. In the Back Office, go to Design → Customize theme
  2. Open the Advanced section and choose Edit code to launch the Template Editor
  3. Open your theme's main layout file (commonly named index.rain or a shared header/footer template)
  4. Find the closing </body> tag
  5. Поставете вашия Asyntai код за вграждане точно преди тага </body>
  6. Click Save to apply your changes

Забележка: The Template Editor is only recommended for experienced users. For most stores, the Custom JavaScript field described above is simpler and safer. Consider duplicating your theme before editing template files so you can easily revert.

Стъпка 4: Проверете инсталацията

After saving your changes, open your Lightspeed store 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've saved all template changes. Clear your browser cache or view in incognito mode. Lightspeed may cache pages, so changes might take a few minutes to appear. Check the browser console (F12) for any JavaScript errors.

Нуждаете се от помощ?

If you're not comfortable editing template files, Lightspeed's Customer Support team can assist with custom code and design requests. You can also contact Asyntai support for guidance on installing the chatbot on your Lightspeed store.

Професионална поддръжка: Lightspeed and its partner network offer custom coding services if you need professional assistance with theme modifications or complex customizations.