כדאי לנסות את שרת ה-MCP ל-Google Analytics. אפשר להתקין מ-
GitHub, ולקרוא את
ההודעה לפרטים נוספים.
ParameterMutation
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מגדירה פרמטר של אירוע שיש לשנות.
ייצוג JSON |
{
"parameter": string,
"parameterValue": string
} |
שדות |
parameter |
string
חובה. שם הפרמטר שיש לשנות. הערך חייב: * להכיל פחות מ-40 תווים. * יהיה ייחודי בכל השינויים בתוך הכלל * מורכב רק מאותיות, ספרות או _ (קווים תחתונים) עבור כללי עריכת אירועים, ניתן להגדיר את השם גם כ-'eventName' כדי לשנות את שם האירוע במקומו.
|
parameterValue |
string
חובה. מוטציה של הערך שרוצים לבצע. * האורך המרבי הוא 100 תווים. * כדי לציין ערך קבוע לפרמטר, משתמשים במחרוזת של הערך. * כדי להעתיק ערך מפרמטר אחר, משתמשים בתחביר כמו "[[other_parameter]]" פרטים נוספים זמינים במאמר הזה במרכז העזרה.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eDefines an event parameter for mutation using JSON representation with \u003ccode\u003eparameter\u003c/code\u003e and \u003ccode\u003eparameterValue\u003c/code\u003e fields.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eparameter\u003c/code\u003e specifies the event parameter's name for mutation, adhering to specific length, uniqueness, and character constraints.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eparameterValue\u003c/code\u003e defines the mutation, either as a constant string value or by copying from another parameter using a specific syntax.\u003c/p\u003e\n"]]],["The provided JSON structure defines event parameter mutations, requiring a `parameter` name and its `parameterValue`. The `parameter` must be a unique string (under 40 characters), containing letters, digits, or underscores; 'eventName' is also acceptable for event edits. `parameterValue` (under 100 characters) can be a constant string or reference another parameter using the format \"\\[\\[other_parameter\\]\\]\". This controls how an event's parameter should be changed.\n"],null,["# ParameterMutation\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nDefines an event parameter to mutate.\n\n| JSON representation |\n|-----------------------------------------------------------|\n| ``` { \"parameter\": string, \"parameterValue\": string } ``` |\n\n| Fields ||\n|------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parameter` | `string` Required. The name of the parameter to mutate. This value must: \\* be less than 40 characters. \\* be unique across across all mutations within the rule \\* consist only of letters, digits or _ (underscores) For event edit rules, the name may also be set to 'eventName' to modify the eventName in place. |\n| `parameterValue` | `string` Required. The value mutation to perform. \\* Must be less than 100 characters. \\* To specify a constant value for the param, use the value's string. \\* To copy value from another parameter, use syntax like \"\\[\\[other_parameter\\]\\]\" For more details, see this [help center article](https://support.google.com/analytics/answer/10085872#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters). |"]]