ลองใช้เซิร์ฟเวอร์ MCP สำหรับ Google Analytics ติดตั้งจาก
GitHub และดูรายละเอียดเพิ่มเติมได้ที่
ประกาศ
ParameterMutation
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
กำหนดพารามิเตอร์เหตุการณ์เพื่อเปลี่ยนแปลง
การแสดง JSON |
{
"parameter": string,
"parameterValue": string
} |
ช่อง |
parameter |
string
ต้องระบุ ชื่อพารามิเตอร์ที่จะเปลี่ยนแปลง ค่านี้ต้อง * น้อยกว่า 40 อักขระ * ไม่ซ้ำกันในทุกการเปลี่ยนแปลงภายในกฎ * ประกอบด้วยตัวอักษร ตัวเลข หรือ _ (ขีดล่าง) สำหรับกฎการแก้ไขเหตุการณ์ ชื่ออาจตั้งค่าเป็น "eventName" เพื่อแก้ไข eventName ในตำแหน่งนั้น
|
parameterValue |
string
ต้องระบุ การเปลี่ยนแปลงค่าที่จะดำเนินการ * ต้องมีอักขระน้อยกว่า 100 ตัว * หากต้องการระบุค่าคงที่สำหรับพารามิเตอร์ ให้ใช้สตริงของค่าดังกล่าว * หากต้องการคัดลอกค่าจากพารามิเตอร์อื่น ให้ใช้ไวยากรณ์ เช่น "[[other_parameter]]" ดูรายละเอียดเพิ่มเติมได้ที่บทความในศูนย์ช่วยเหลือนี้
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 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). |"]]