כדאי לנסות את שרת ה-MCP ל-Google Analytics. אפשר להתקין מ-
GitHub, ולקרוא את
ההודעה לפרטים נוספים.
DataRedactionSettings
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הגדרות להשמטת נתונים בצד הלקוח. משאב Singleton תחת מקור נתוני אינטרנט.
ייצוג JSON |
{
"name": string,
"emailRedactionEnabled": boolean,
"queryParameterRedactionEnabled": boolean,
"queryParameterKeys": [
string
]
} |
שדות |
name |
string
פלט בלבד. השם של משאב ההגדרות של השמטת נתונים. פורמט: properties/{property_id}/dataStreams/{dataStream}/dataRedactionSettings דוגמה: "properties/1000/dataStreams/2000/dataRedactionSettings"
|
emailRedactionEnabled |
boolean
אם ההגדרה הזו מופעלת, כל פרמטר של אירוע או ערכים של מאפיין משתמש שנראים כמו אימייל יצונזר.
|
queryParameterRedactionEnabled |
boolean
השמטת הפרמטרים של השאילתה מסירה את החלקים של המפתח והערך של פרמטר שאילתה, אם הוא נכלל בקבוצה מוגדרת של הפרמטרים של השאילתה. אם ההגדרה הזו מופעלת, הלוגיקה של החלפת שאילתות על כתובות URL תפעל עבור עדכוני התוכן. כל הפרמטרים של השאילתה שמוגדרים ב-queryParameterKeys יצונזרו.
|
queryParameterKeys[] |
string
המפתחות של הפרמטרים של השאילתות שצריך להחיל עליהם לוגיקת צנזור, אם הם קיימים בכתובת ה-URL. ההתאמה לפרמטרים של השאילתה לא תלוית אותיות רישיות. חייבת להכיל לפחות רכיב אחד אם query_parameter_replacement_enabled מוגדרת כ-True. המפתחות לא יכולים להכיל פסיקים.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eData Redaction Settings allow you to control client-side redaction for a specific Web Stream, including email and query parameter redaction.\u003c/p\u003e\n"],["\u003cp\u003eWhen enabled, email redaction automatically obscures any event parameter or user property value resembling an email address.\u003c/p\u003e\n"],["\u003cp\u003eQuery parameter redaction, when activated, removes specified query parameters and their values from URLs, requiring at least one query parameter key to be defined if enabled.\u003c/p\u003e\n"],["\u003cp\u003eThe resource is identified by a unique name in the format: \u003ccode\u003eproperties/{property_id}/dataStreams/{dataStream}/dataRedactionSettings\u003c/code\u003e.\u003c/p\u003e\n"]]],["Data redaction settings for a web stream can be configured. Email redaction is enabled or disabled via `emailRedactionEnabled`. Query parameter redaction is controlled with `queryParameterRedactionEnabled`, which, when active, redacts specified keys and their values from URLs. The `queryParameterKeys` array lists the specific query parameter keys targeted for redaction; at least one key is required when query parameter redaction is enabled. The `name` field displays the resource name and path.\n"],null,["# DataRedactionSettings\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nSettings for client-side data redaction. Singleton resource under a Web Stream.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"emailRedactionEnabled\": boolean, \"queryParameterRedactionEnabled\": boolean, \"queryParameterKeys\": [ string ] } ``` |\n\n| Fields ||\n|----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Name of this Data Redaction Settings resource. Format: properties/{property_id}/dataStreams/{dataStream}/dataRedactionSettings Example: \"properties/1000/dataStreams/2000/dataRedactionSettings\" |\n| `emailRedactionEnabled` | `boolean` If enabled, any event parameter or user property values that look like an email will be redacted. |\n| `queryParameterRedactionEnabled` | `boolean` Query Parameter redaction removes the key and value portions of a query parameter if it is in the configured set of query parameters. If enabled, URL query replacement logic will be run for the Stream. Any query parameters defined in queryParameterKeys will be redacted. |\n| `queryParameterKeys[]` | `string` The query parameter keys to apply redaction logic to if present in the URL. Query parameter matching is case-insensitive. Must contain at least one element if query_parameter_replacement_enabled is true. Keys cannot contain commas. |"]]