> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.tyslo.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 如何将 Google Analytics 4（GA4）连接到 EasySell？

**EasySell 会将订单表单的结账和购买事件发送到 Google Analytics 4。您需要 GA4 网站数据流的衡量 ID：它以 G- 开头。**

| ℹ️ 要打开像素页面、保存像素以及将像素限定用于某些产品，请参阅[如何向 EasySell 添加跟踪像素？](https://help.tyslo.com/zh/article/how-to-add-tracking-pixels-to-easysell-1ul4oi1/)

# 在 Google Analytics 中查找您的衡量 ID

1) 登录 [Google Analytics](https://analytics.google.com/analytics/web/) 并选择您的媒体资源
2) 点击**管理**（左下角的齿轮图标）
3) 在**数据收集和修改**中，点击**数据流**，然后点击您的网站数据流（您商店的地址）

![包含数据流和商店网站数据流的管理菜单](https://storage.crisp.chat/users/helpdesk/website/-/4/b/1/5/4b154ca9ad47c000/ga4-streams_7k56g6.webp)

4) 在**数据流详细信息**中，使用旁边的复制图标复制**衡量 ID**（G-XXXXXXXXXX）

![网站数据流详细信息中的衡量 ID](https://storage.crisp.chat/users/helpdesk/website/-/4/b/1/5/4b154ca9ad47c000/ga4-measurement-id_1ihh7v4.webp)

# 在 EasySell 中添加 Google 标签像素

打开**像素**并点击**添加像素**。然后：

1) **像素类型**：选择 **Google Tag / Analytics / GA4**
2) **代码 ID**：粘贴您的衡量 ID（G-...）
3) **像素标签（可选）**：为像素自定义一个名称（例如：商店分析）

![Google 标签像素的像素类型、代码 ID 和标签](https://storage.crisp.chat/users/helpdesk/website/-/4/b/1/5/4b154ca9ad47c000/pixel-ga4_8jvik5.png)

| 💡 请在此处使用 G- ID。对于 Google Ads（以 AW- 开头的 ID），请改为添加带有转化标签的 **Google Ads** 像素：Google 标签像素中的 AW- ID 会作为不带标签的 Google Ads 转化发送。请参阅[如何在 EasySell 中设置 Google Ads 跟踪？](https://help.tyslo.com/zh/article/easysell-google-ads-qfuqtm/)

点击页面顶部栏中的**保存**。您的像素现在会显示在列表中，其中包含其标签、类型和 ID。

![像素列表中已保存的 Google 标签像素](https://storage.crisp.chat/users/helpdesk/website/-/4/b/1/5/4b154ca9ad47c000/pixel-ga4-saved_w14wxc.png)

## 检查是否正常运行（可选）

1) 在新窗口中打开您的商店，打开一个产品页面，再打开订单表单并提交一个测试订单
2) 在 Google Analytics 中，打开**报告 → 实时**。您会看到 **begin_checkout**（表单已打开）和 **purchase**（订单已提交）

**跟踪的事件列表**（位于像素页面底部的**跟踪的事件**中）会显示 Google 标签的相同两个事件。

![发送到 Google 标签的事件：begin_checkout 和 purchase](https://storage.crisp.chat/users/helpdesk/website/-/4/b/1/5/4b154ca9ad47c000/ga4-events_1h3eu43.png)

| 💡 每次购买都包含订单号、总额、产品和税费。GA4 会在**报告 → 创收**中显示您的货到付款订单收入。

| ℹ️ EasySell 会为此 ID 加载自己的 Google 标签。如果另一个标签已向同一 GA4 媒体资源发送数据（例如 Shopify 的 Google & YouTube 应用），某些事件可能会被重复统计。提交测试订单后，请检查**实时**报告。

---

| ℹ️ 如果您在连接 Google Analytics 时需要帮助，请通过聊天联系我们（可从应用中进入）。