Google Tag Manager Integration
Put the Asyntai chat widget on your site from Google Tag Manager, without touching your code
概述
Google Tag Manager holds the third party scripts that run on your website, and you publish them without a developer. Asyntai has an official tag in the Community Template Gallery. You add the tag, paste your widget ID, and your chat assistant goes live. You edit no templates and paste no code into your website.
工作原理
你的代码管理器容器已经在网站的每个页面上。Asyntai 代码告诉这个容器,用你的窗口 ID 加载聊天窗口。其他什么都不变,而且即使容器再次触发,代码每页也只添加一次窗口。
要求
- 一个 Asyntai 账户。注册免费,免费套餐就足以试用该窗口。
- A Google Tag Manager web container, already installed on your website
- Permission to edit and publish that container
安装
Follow these steps to add Asyntai to your website through Google Tag Manager:
复制你的窗口 ID
打开 Asyntai 后台的「安装」页面。窗口 ID 就是那里显示的代码中 data-asyntai-id 的值。
data-asyntai-id="asyntai_xxxxxxxxxxxx"
创建代码
In Tag Manager, open Tags, then New, then Tag Configuration. Choose Discover more tag types in the Community Template Gallery, search for Asyntai, and add it to your workspace.
Paste Your Widget ID
The tag asks for one value only. Paste your widget ID into the Widget ID field.
Give It the All Pages Trigger
Choose the All Pages trigger, so the widget appears on every page. Then name the tag and save it.
发布
Press Submit in Tag Manager to publish the container. Open your website and the chat bubble is there.
提示: 发布前,请在 Asyntai 后台添加你的文档、问答和说明,这样助手从第一位访客起就能答得准确。
这个代码做什么
- 它用你填写的窗口 ID 加载 Asyntai 聊天窗口
- It runs only on the trigger you choose, so your pages stay fast
- 即使容器再次触发该代码,它每页也只添加一次窗口
- 当窗口 ID 为空时,它什么都不做
如何移除
Pause or delete the Asyntai tag in Tag Manager and publish the container again. The widget disappears from your site at once.
隐私
The tag sends no data on its own. Asyntai receives data only when a visitor opens the chat and writes a message, exactly as it would with a snippet pasted by hand. 隐私政策.
套餐与价格
The tag is free, and the widget works on every Asyntai plan, including the Free plan. Each plan includes a monthly number of messages, shared across your website widget and all your integrations. Paid plans raise that number. 查看定价.
需要帮助?
如果您有任何问题或遇到困难,请通过 [email protected] 联系我们。