Suite | Team, Growth, Professional, Enterprise, or Enterprise Plus |
Support | Team, Professional, or Enterprise |
Google Analytics 是一个帮助您了解和分析您的网络流量的分析工具。Web Widget(经典)支持报告 Google Analytics(分析)中的小组件事件和渠道事件。这样可以深入了解用户与小组件的互动情况。
本文章介绍了小组件中跟踪的活动日志、设置活动报告,以及在 Google Analytics(分析)中查看活动报告。
本文章包含以下主题:
相关信息:
启用 Google Analytics 的Web Widget(经典)活动报告
在 Google Analytics 中查看Web Widget(经典)活动数据
您可在 Google Analytics 帐户中查看并筛选小组件活动数据。
访问 Google Analytics 上的活动数据
- 登录您的 Google Analytics 帐户。
- 在左侧栏上,选择 行为>活动日志>最重要的活动日志。
- 在 活动类别下,选择 Zendesk Web Widget。
禁用 Google Analytics 的Web Widget(经典)活动报告
分析设置 API 用于禁用 Google Analytics(分析)的自动Web Widget(经典)事件跟踪。
禁用 Google Analytics 的小组件事件报告
- 对于每个带有小组件的网页,添加设置为“false”的分析设置脚本。请确保它位于正文元素中的 小组件代码段 之前。
<script type="text/javascript"> window.zESettings = { analytics: false }; </script> <!-- Start of your_subdomain Zendesk Widget script --> <script id="ze-snippet" src="https://static.zdassets.com/ekr/{YOUR_SNIPPET_KEY}"> </script> <!-- End of Zendesk Widget script -->
已报告小组件事件
事件是对已发生活动的描述。下表列出并描述了Web Widget(经典)中报告的事件。
小组件渠道 | 类别 | 操作 | 活动日志标签 | 描述 |
通用 | Zendesk Web Widget(经典) | Web Widget(经典)已打开 | 当终端用户打开小组件时 | |
Zendesk Web Widget(经典) | Web Widget(经典)最小化 | 当终端用户最小化小组件时 | ||
Chat | Zendesk Web Widget(经典) | 在线交谈开启于 | 当 Chat 启动时 | |
Zendesk Web Widget(经典) | 已显示在线交谈 - 与 已开启在线交谈相同 | 当 Chat 启动时 | ||
在线交谈由接线员提供服务 |
专员昵称 |
当操作员加入发起的在线交谈时 | ||
Zendesk Web Widget(经典) | 在线交谈评价为不好 | 当终端用户在在线交谈后提交不好评价时 | ||
Zendesk Web Widget(经典) | 在线交谈评价为好 | 当终端用户在交谈后提交好评价时 | ||
Zendesk Web Widget(经典) | 在线交谈评论已提交 | 当终端用户提交评论及其评价时 | ||
Zendesk Web Widget(经典) | Chat 请求表格已提交 | 部门名称 | 当终端用户提交在线交谈请求表格时 | |
Zendesk Web Widget(经典) | 在线交谈离线消息已发送 | 当终端用户在专员离线时提交在线交谈消息时 | ||
联系人和工单表格 | Zendesk Web Widget(经典) | 已显示联系表格 |
如果工单表格也已启用,则标签将包括 工单表格 ID 和工单表格名称 |
当向终端用户显示联系表格时 |
Zendesk Web Widget(经典) | 联系表格已提交 | 工单表格 ID、工单表格名称 | 当终端用户提交联系表格时 | |
帮助中心 | Zendesk Web Widget(经典) | 已显示帮助中心 | 当向终端用户显示帮助中心时 | |
Zendesk Web Widget(经典) | 帮助中心搜索 | 搜索词 | 当终端用户在小组件中搜索帮助中心时 | |
Zendesk Web Widget(经典) | 已查看的帮助中心文章 | 文章 ID、文章名称 | 当终端用户查看帮助中心文章链接时 | |
Zendesk Web Widget(经典) | 帮助中心查看已单击的原始文章 | 文章 ID、文章名称 | 当终端用户查看帮助中心文章时 | |
语音 | Zendesk Web Widget(经典) | Talk 已显示 | Talk 联系选项 | 当向终端用户显示通话选项时 |
Zendesk Web Widget(经典) | Talk 回拨请求已提交 | 当终端用户提交回拨请求时 | ||
帮助中心 | Zendesk Web Widget(经典) | Answer Bot文章已查看 | 文章 ID、文章名称 | 当终端用户查看推荐文章列表中的文章时 |
翻译免责声明:本文章使用自动翻译软件翻译,以便您了解基本内容。 我们已采取合理措施提供准确翻译,但不保证翻译准确性
如对翻译准确性有任何疑问,请以文章的英语版本为准。
29 条评论
Viktor Osetrov
To add the Web Widget (Classic) via Google Tag Manager, you don't actually need a specific Zendesk trigger.
Please use the following steps:
1) Create a New Tag in Google Tag Manager: Open your Google Tag Manager account, navigate to your website's container, and click on "New Tag".
2) Configure the Tag:
- Click on "Triggering" and then click on "All Pages" to make sure that the Web Widget is added to all pages on your website. You might need to set up a different trigger if you want the widget to show on specific pages only.
4) Save and Publish: Click "Save" and then "Publish" to make your changes live.Hope it helps.
Thanks.
0
Laura
Hi Viktor Osetrov,
Thanks for your assistance. I tried adding the widget as a tag via GTM (option 2). However it requires adding a trigger. What would the trigger be? It doesn't show on the article
Thanks
Laura
0
Viktor Osetrov
Thanks for your question. We have 2 custom options there:
1. Customizing Web Widget events tracking to third-party analytics services via Google Analytics trackers
2. Another option is to add the Web Widget (Classic) via Google Tag Manager for tracking custom events there
You can deploy GTM tags using Tag Assistant.
Best
0
Laura
Hi team,
It mentions that the widget supports GA4 now, but the events aren't tracking on GA4 for some reason. Can you please assist? Should I try using GTM to trigger the events to GA4? Integrating the Zendesk Widget with GA4 | Tracking Chef
Laura
0
Elad Levy
Hey all
I've been struggling with tracking Zendesk+GA4 for my clients as well, and ultimately came up with a simple script that uses the Zendesk JS API to trigger events into GA4 (directly or via GTM).
You can see the full details in this blog post I've written
Integrating the Zendesk Widget with GA4 | Tracking Chef
If you have any questions on this just reply to this comment :)
Elad
0
Lucija Files
Hi! I was wondering if it's possible (through Zendesk) to import a DataLayer so the DL triggers when a user sends his first message via chat. We are deploying GA4, but as I saw in the previous comments, GTM is the only solution?
Thank you in advance for your reply!
Lucija
0
Viktor Osetrov
Thanks a lot for your reply. I can confirm that we have some active work regarding natively supporting GA4 and Zendesk integration. However, unfortunately, I couldn't provide any ETA about the topic at this moment.
0
Marc Soares
Hi Viktor Osetrov. Thank you for the suggestion. The documentation is not entirely comprehensive, but I think I can see how we can send events to GA4 using the method described here: https://developer.zendesk.com/documentation/classic-web-widget-sdks/web-widget/getting-started/customizing-web-widget-events-tracking-to-third-party-analytics-services/.
Since this would require custom development effort, can you provide an update on when Zendesk will natively support GA4? Universal Analytics is being sunset, and your clients are already deploying GA4. It would be advisable for you to support GA4 as soon as possible.
0
Viktor Osetrov
That's a good question. In this case, we highly recommend setting up the Web Widget with GTM. That helps you analyze Web Widget analytics separately via Custom HTML Tag inside GTM. Please follow the steps from this article from our developer portal - Adding the Web Widget (Classic) via Google Tag Manager.
Kind Wishes
0
Jessica Owen
Yea that was my response back :) I am more interested in tracking the widgets actions like-for-like with the UA integration versus the pages themselves.
0
请先登录再写评论。