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

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

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

Функции
Сканиране на уебсайт Пропуски в знанията Продуктови карти Динамични продуктови карти Dynamic Images Потребителски контекст Персонализирани инструменти Параметри на връзки Наблюдение на живо Поемане от човек Ескалация ИИ известия Дневен отчет Поток от данни в реално време Максимален поток от данни в реално време Членове на екипа Единичен вход (SSO) Двуфакторна автентикация Включване на изображения Визуално разпознаване на изображения Приспособление за превод Локализация Прозрачност на ИИ Потенциални клиенти Интелигентно събиране на контакти Тикети за поддръжка Резервации Вграждания Изключване на страници Блокирани IP адреси Политика за съхранение Режим нулево съхранение Маскиране на PII Класификатор на отговорите Access Tags Фиксиране на версията на приспособлението Одиторски дневник По-умен модел Активиране на мислене Предложения за отговор Последващи съобщения Реч към текст Изтегляне на стенограма Вграден чат

How to Add Asyntai AI Chatbot to Kartra

Step-by-step guide for Kartra pages and funnels

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

Стъпка 1: Вземете вашия код за вграждане

Първо отидете на вашето Табло за управление на Asyntai и превъртете надолу до секцията "Код за вграждане". Копирайте уникалния си код за вграждане, който ще изглежда така:

<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 a Code Section to Your Page

Kartra lets you drop custom HTML and JavaScript straight into any page you build with the Page Builder. Open the page or funnel step where you want the chatbot to appear, then:

  1. Log in to your Kartra account and open My Pages (or My Funnels and select the funnel step you want to edit).
  2. Click Edit to open the page in the Kartra Page Builder.
  3. Click + Add Section and choose Your Code to insert a full-width code block. Alternatively, open Components and drag a Your Code element into an existing column.

Забележка: Custom Code is available on Kartra's Growth, Professional, and Enterprise plans. If you don't see the Your Code option, check your plan under your account Billing section.

Step 3: Paste Your Embed Code

Kartra requires all custom code to sit inside a special DIV wrapper so it renders correctly once the page is published:

  1. Select the code block you just added and click the orange pencil / edit button to open the code editor. (For an existing section, click the blue gear icon on the section's right edge and choose Edit source code.)
  2. Paste your Asyntai embed code inside the required data-embed wrapper, exactly like this:
<div data-embed="true"> <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> </div>
  1. Click Save to store your code, then close the editor.

Важно: The <div data-embed="true"> wrapper must be used exactly as written. Kartra uses it to identify your custom code, and the widget will not load without it. You may only use one data-embed wrapper per section, but you can place as much code as you like inside it.

Step 4: Save and Publish Your Page

Your changes go live only after the page is published:

  1. Click Save at the top of the Page Builder to save the whole page.
  2. Click Save & Publish (or Next to move through the publish flow) to push your changes live.
  3. Open the live page URL to confirm the chatbot appears.

Съвет: Consider cloning your page before adding code so you have a clean copy to fall back on while you test.

Adding the Chatbot to Multiple Pages

The Your Code element is added per page, so the chatbot only appears on the pages where you place it. To show it across your whole funnel or site:

  1. Repeat Steps 2 and 3 on each Kartra page or funnel step where you want the chatbot to appear.
  2. Use the same embed code and data-embed wrapper on every page.
  3. Publish each page after adding the code.

Забележка: Because Kartra applies custom code at the page level rather than site-wide, there is no single global setting to add the widget everywhere at once. Add the Your Code element to each page you want it on.

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

After publishing your page, open it 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 have both saved and published your page. Confirm your embed code is inside the <div data-embed="true"> wrapper. Clear your browser cache or view in incognito mode, as Kartra may cache pages for a few minutes. Check the browser console (F12) for any JavaScript errors.

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

If you are not comfortable adding custom code, Kartra's support team can help with the Your Code element and page publishing. You can also contact Asyntai support for guidance on installing the chatbot on your Kartra pages.

Професионална поддръжка: Kartra offers a community and support resources, and many Kartra agencies can help if you need professional assistance with custom code or page design.