> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.omegatheme.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).

# 检查GA4是否正常工作的几种方法

### 检查GA4是否正常工作的几种方法  
您可以选择以下三种方法中的任意一种进行验证：



#### # 方法一：使用GA4 DebugView  
**安装浏览器扩展：**  
* 使用 [Google Analytics Debugger](https://chromewebstore.google.com/detail/google-analytics-debugger/jnkmfdileelhofjcijamephohjechhna) 扩展  
* 安装后启用调试模式  
![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_prrmgp.png) 

**打开Google Analytics：**  
* 登录您的GA4媒体资源  
* 左侧导航栏选择 **Admin** → 在Property栏下选择 **DebugView**  
![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_13fui77.png) 

**触发网站事件：**  
在调试模式下浏览网站，执行会触发事件的操作（如页面跳转、按钮点击等）  
![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_cflyg8.png) 

**查看DebugView事件流：**  
* 右侧将实时显示事件流，每个点代表一个触发事件（如`page_view`、`scroll`、`add_to_cart`等）  
* 点击事件可查看详细参数和用户属性  
![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_f85s5z.png) 



#### # 方法二：检查GA4实时报告  
**操作步骤：**  
1. 登录 [Google Analytics](https://analytics.google.com/)  
2. 选择对应的GA4媒体资源  
3. 左侧菜单进入 **Reports** → **Real-time**  
4. 新标签页访问您的网站  
5. 返回实时报告查看数据：  
* **Active Users**：应显示≥1活跃用户（即您自己）  
* **Page Views**：当前浏览页面应出现在列表中  
* **Location**：可能显示您的地理位置  
![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_gqz38a.png) 



#### # 方法三：使用浏览器扩展工具  
**安装扩展：**  
* [Tag Explorer](https://chromewebstore.google.com/detail/tag-explorer/obhceflecohdhjjomleeakkogaiclhoo?hl=en)  
* [Google Analytics Debugger](https://chromewebstore.google.com/detail/google-analytics-debugger/jnkmfdileelhofjcijamephohjechhna)（需启用调试模式）  

**触发并监测事件：**  
执行以下操作时，Tag Explorer中的事件计数会实时更新：  
* 页面跳转（→ `page_view`）  
* 查看商品页（→ `view_item`）  
* 点击"加购"（→ `add_to_cart`）  
* 开始结账（→ `begin_checkout`）  
* 页面滚动（→ `scroll`）  
![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_1i08iwt.png) 

**验证特定事件：**  
在扩展搜索栏使用`en=`语法：  
* 搜索页面浏览：`en=page_view`  
* 搜索加购事件：`en=add_to_cart`  
* 其他事件同理（`purchase`/`view_item`等）  
![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_lq8gai.png) 

**查看事件详情：**  
点击事件可查看完整参数：  
![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_1j30vmj.png) 
![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_17uilje.png) 

