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

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

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

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

How to Add Asyntai AI Chatbot to Payhip

Step-by-step guide for Payhip 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 на уиджета.

Requirement: Payhip's code injection feature is only available if you have a custom domain connected to your Payhip store. If your store is still on the default payhip.com/b/... address, you must connect and verify your own domain first before you can add the Asyntai chatbot. See Payhip's help center for how to connect and verify a custom domain.

Step 2: Open the Store Builder

Payhip lets you inject custom HTML and JavaScript into your store through the Store Builder:

  1. Log in to your Payhip account
  2. Go to Store and launch the Store Builder (the visual editor for your storefront)
  3. In the Store Builder, click Change store style
  4. Select the Advanced tab

Съвет: The Advanced tab is where Payhip keeps the Header and Footer HTML/JS Code Injection fields. This is the same place merchants use to add live chat widgets, newsletter forms, and tracking pixels.

Step 3: Paste Your Embed Code into Footer Code Injection

To add the chatbot to every page of your store:

  1. In the Advanced section, find the Footer HTML/JS Code Injection field
  2. Paste your Asyntai embed code into this field
  3. Click Publish to save and apply your changes to the live store
<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>

Съвет: Adding the code to the Footer field (rather than the Header) lets the page load first, which keeps your store fast. The chatbot will then appear on every page of your Payhip store automatically.

Забележка: Injected code does not preview inside the Store Builder. You will only see the chat widget on your live, published store, so always check the real store address after publishing.

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

After publishing, open your live Payhip store (using your connected custom domain) 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 clicked Publish and are viewing the live store, not the Store Builder preview. Confirm your custom domain is connected and verified, since code injection only works on custom domains. Clear your browser cache or view in incognito mode, and check the browser console (F12) for any JavaScript errors.

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

If you're not comfortable editing your store settings, Payhip's support team can assist with custom code and domain questions at [email protected]. You can also contact Asyntai support for guidance on installing the chatbot on your Payhip store.

Професионална поддръжка: Asyntai support is happy to review your embed code and help you confirm the chatbot is set up correctly on your Payhip store.