대시보드로 돌아가기

문서

Asyntai 사용 방법 알아보기

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.