Попробуйте сервер MCP для Google Analytics. Установите его с
GitHub и ознакомьтесь с
анонсом для получения более подробной информации.
ParameterMutation
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Определяет параметр события для изменения.
JSON-представление |
---|
{
"parameter": string,
"parameterValue": string
} |
Поля |
---|
parameter | string Необходимый. Имя параметра для изменения. Это значение должно: * быть менее 40 символов. * быть уникальным для всех мутаций в правиле * состоять только из букв, цифр или _ (подчеркивания). Для правил редактирования событий имя также может быть установлено на «имя_события», чтобы изменить имя_события на месте. |
parameterValue | string Необходимый. Мутация значения, которую необходимо выполнить. * Должно быть менее 100 символов. * Чтобы указать постоянное значение для параметра, используйте строку значения. * Чтобы скопировать значение из другого параметра, используйте синтаксис типа «[[other_parameter]]». Более подробную информацию можно найти в этой статье Справочного центра . |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 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). |"]]