# Webflow 的 Google Analytics 整合更新

**‍ 如**您所知，[Google 宣布](https://support.google.com/analytics/answer/11583528?hl=en)Universal Analytics 將於 2023 年 7 月 1 日正式停用，並由 Google Analytics 4 取代。在此日期之後，Universal Analytics 屬性將變為只讀，並將停止從網站接收新數據。

為了幫助 Webflow 用戶為這一變化做好準備，我們對 Google Analytics 集成進行了一些更新，可在“集成”選項卡下的“站點設置”中找到。

<figure><img src="https://assets-global.website-files.com/583347ca8f6c7ee058111b55/63e570aba07473582ae484b2_Updated_Google_Analytics_Integration.png" alt=""><figcaption><p><em>我們對 Google Analytics 集成進行了一些更新，可以通過轉到“站點設置”>“集成”選項卡>“Google Analytics”找到這些更新</em></p></figcaption></figure>

‍ 以下**是您需要了解的內容：**

* 今後，Webflow 的 Google Analytics 集成（可通過您的網站設置獲得）將僅接受 Google Analytics 4 測量 ID。&#x20;
* **如果您當前通過此集成配置了 Universal Analytics 測量 ID**，您現在將在站點設置的“集成”選項卡上看到一條提示，將您現有的測量 ID 替換為 Google Analytics 4 ID。您的 Universal Analytics 腳本將保持不變，並將繼續向該媒體資源傳遞數據，直到該產品被 Google 正式停用，但您可以隨時選擇將其刪除。\ <br>
* **如果您當前通過此集成配置了 Google Analytics 4 測量 ID**，您現在將在站點設置的“集成”選項卡上看到一條提示，提示您重新保存並發布您的站點，以確保在 2023 年 7 月 1 日之後繼續進行跟踪。\ <br>
* 我們刪除了以前允許您啟用或禁用 IP 匿名化和 gtag.js 的開關，因為這兩者都是 Google Analytics 4 中的必需配置。

‍ 我們**將發送一封電子郵件，其中包含有關在未來幾週內更新您的網站跟踪所需的具體操作的更多信息。**&#x540C;時，您可以在 [Webflow 討論區](https://www.webflow.tw/) 上了解有關如何為您的網站設置 Google Analytics 以及如何將現有跟踪更新為 Google Analytics 4 的更多信息。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tenten.co/docs-webflow/webflow-101/changelog/2023/webflow-de-google-analytics-zheng-he-geng-xin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
