設定「收集使用者提供的資料」功能。這是 Google Analytics 資源的單例資源。
| JSON 表示法 |
|---|
{ "name": string, "userProvidedDataCollectionEnabled": boolean, "automaticallyDetectedDataCollectionEnabled": boolean } |
| 欄位 | |
|---|---|
name |
ID。這項設定的資源名稱。格式:properties/{property}/userProvidedDataSettings。範例:「properties/1000/userProvidedDataSettings」 |
userProvidedDataCollectionEnabled |
(選用步驟) 這項資源是否接受傳送給它的使用者提供的資料。 |
automaticallyDetectedDataCollectionEnabled |
(選用步驟) 這個資源是否允許 Google 代碼自動收集網站上的使用者提供資料。只有在 |