כדאי לנסות את שרת ה-MCP ל-Google Analytics. אפשר להתקין מ-
GitHub, ולקרוא את
ההודעה לפרטים נוספים.
REST Resource: properties.conversionEvents
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
משאב: ConversionEvent
אירוע המרה בנכס Google Analytics.
שדות |
name |
string
פלט בלבד. שם המשאב של אירוע ההמרה הזה. פורמט: properties/{property}/conversionEvents/{conversionEvent}
|
eventName |
string
לא ניתן לשינוי. שם האירוע של אירוע ההמרה הזה. דוגמאות: 'click', 'purchase'
|
createTime |
string (Timestamp format)
פלט בלבד. המועד שבו אירוע ההמרה הזה נוצר בנכס. הפורמט הזה משתמש ב-RFC 3339, שבו הפלט שנוצר תמיד יהיה מנורמלי לפי Z וישמש בספרות עשרוניות של 0, 3, 6 או 9. אפשר להשתמש גם בשינויים (offsets) אחרים מלבד 'Z'. דוגמאות: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" או "2014-10-02T15:01:23+05:30" .
|
deletable |
boolean
פלט בלבד. אם האירוע הזה מוגדר, אפשר למחוק אותו כרגע באמצעות conversionEvents.delete.
|
custom |
boolean
פלט בלבד. אם הערך מוגדר כ-true, אירוע ההמרה הזה מתייחס לאירוע מותאם אישית. אם הערך מוגדר כ-false, אירוע ההמרה הזה מתייחס לאירוע ברירת מחדל ב-GA. בדרך כלל, לאירועי ברירת מחדל יש משמעות מיוחדת ב-GA. בדרך כלל מערכת GA יוצרת בשבילכם אירועי ברירת מחדל, אבל במקרים מסוימים אדמינים של נכסים יכולים ליצור אותם. אירועים מותאמים אישית נספרים במסגרת המספר המקסימלי של אירועי המרה מותאמים אישית שניתן ליצור בכל נכס.
|
countingMethod |
enum (ConversionCountingMethod )
אופציונלי. השיטה שבה ההמרות ייספרו במספר אירועים במהלך סשן. אם לא מציינים את הערך הזה, הוא מוגדר כ-ONCE_PER_EVENT .
|
defaultConversionValue |
object (DefaultConversionValue )
אופציונלי. הגדרת ערך ברירת מחדל או מטבע ברירת מחדל לאירוע המרה.
|
ConversionCountingMethod
השיטה שבה ההמרות ייספרו במספר אירועים במהלך סשן.
טיפוסים בני מנייה (enum) |
CONVERSION_COUNTING_METHOD_UNSPECIFIED |
לא צוינה שיטת הספירה. |
ONCE_PER_EVENT |
כל מופע של אירוע נחשב כהמרה. |
ONCE_PER_SESSION |
מופע של אירוע נחשב להמרה לכל היותר פעם אחת לכל סשן לכל משתמש. |
DefaultConversionValue
הגדרת ערך ברירת מחדל או מטבע ברירת מחדל לאירוע המרה. חובה לציין את הערך ואת המטבע.
ייצוג ב-JSON |
{
"value": number,
"currencyCode": string
} |
שדות |
value |
number
הערך הזה ישמש למילוי הערך של כל ההמרות של eventName שצוין, שבהן הפרמטר 'value' של האירוע לא מוגדר.
|
currencyCode |
string
אם לאירוע ההמרה עם שם האירוע הזה לא מוגדר מטבע, המטבע הזה יוחל כברירת המחדל. חייב להיות בפורמט של קוד מטבע לפי תקן ISO 4217. מידע נוסף זמין בכתובת https://en.wikipedia.org/wiki/ISO_4217.
|
Methods |
create (deprecated)
|
האפשרות הזו הוצאה משימוש. במקום זאת, צריך להשתמש ב-CreateKeyEvent . |
delete (deprecated)
|
האפשרות הזו הוצאה משימוש. במקום זאת, צריך להשתמש ב-DeleteKeyEvent . |
get (deprecated)
|
האפשרות הזו הוצאה משימוש. במקום זאת, צריך להשתמש ב-GetKeyEvent . |
list (deprecated)
|
האפשרות הזו הוצאה משימוש. במקום זאת, צריך להשתמש ב-ListKeyEvents . |
patch (deprecated)
|
האפשרות הזו הוצאה משימוש. במקום זאת, צריך להשתמש ב-UpdateKeyEvent . |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eA Conversion Event resource in Google Analytics 4 represents actions like clicks or purchases, allowing you to track and analyze important user interactions.\u003c/p\u003e\n"],["\u003cp\u003eConversion events can be configured with a \u003ccode\u003ecountingMethod\u003c/code\u003e to specify how conversions are tallied during a user's session, such as counting each instance or only once per session.\u003c/p\u003e\n"],["\u003cp\u003eOptionally, a default value and currency can be assigned to a conversion event, automatically populating conversion data when the event's value parameter is not set.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage conversion events using methods like creating, deleting, retrieving, listing, and updating them within a Google Analytics property.\u003c/p\u003e\n"]]],["Conversion events, tracked in Google Analytics properties, capture user actions like 'click' or 'purchase'. Each event has attributes such as `name`, `eventName`, `createTime`, whether it's `deletable` and `custom`. The `countingMethod` determines how conversions are counted, either `ONCE_PER_EVENT` or `ONCE_PER_SESSION`. `DefaultConversionValue` sets a default `value` and `currencyCode` for conversions without these parameters. Lastly, the `create`, `delete`, `get`, `list`, and `patch` methods are deprecated in favor of newer `KeyEvent` alternatives.\n"],null,["# REST Resource: properties.conversionEvents\n\n- [Resource: ConversionEvent](#ConversionEvent)\n - [JSON representation](#ConversionEvent.SCHEMA_REPRESENTATION)\n- [ConversionCountingMethod](#ConversionCountingMethod)\n- [DefaultConversionValue](#DefaultConversionValue)\n - [JSON representation](#DefaultConversionValue.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: ConversionEvent\n-------------------------\n\nA conversion event in a Google Analytics property.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"eventName\": string, \"createTime\": string, \"deletable\": boolean, \"custom\": boolean, \"countingMethod\": enum (/analytics/devguides/config/admin/v1/rest/v1beta/properties.conversionEvents#ConversionCountingMethod), \"defaultConversionValue\": { object (/analytics/devguides/config/admin/v1/rest/v1beta/properties.conversionEvents#DefaultConversionValue) } } ``` |\n\n| Fields ||\n|--------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversionEvent} |\n| `eventName` | `string` Immutable. The event name for this conversion event. Examples: 'click', 'purchase' |\n| `createTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Output only. Time when this conversion event was created in the property. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `deletable` | `boolean` Output only. If set, this event can currently be deleted with conversionEvents.delete. |\n| `custom` | `boolean` Output only. If set to true, this conversion event refers to a custom event. If set to false, this conversion event refers to a default event in GA. Default events typically have special meaning in GA. Default events are usually created for you by the GA system, but in some cases can be created by property admins. Custom events count towards the maximum number of custom conversion events that may be created per property. |\n| `countingMethod` | `enum (`[ConversionCountingMethod](/analytics/devguides/config/admin/v1/rest/v1beta/properties.conversionEvents#ConversionCountingMethod)`)` Optional. The method by which conversions will be counted across multiple events within a session. If this value is not provided, it will be set to `ONCE_PER_EVENT`. |\n| `defaultConversionValue` | `object (`[DefaultConversionValue](/analytics/devguides/config/admin/v1/rest/v1beta/properties.conversionEvents#DefaultConversionValue)`)` Optional. Defines a default value/currency for a conversion event. |\n\nConversionCountingMethod\n------------------------\n\nThe method by which conversions will be counted across multiple events within a session.\n\n| Enums ||\n|------------------------------------------|---------------------------------------------------------------------------------|\n| `CONVERSION_COUNTING_METHOD_UNSPECIFIED` | Counting method not specified. |\n| `ONCE_PER_EVENT` | Each Event instance is considered a Conversion. |\n| `ONCE_PER_SESSION` | An Event instance is considered a Conversion at most once per session per user. |\n\nDefaultConversionValue\n----------------------\n\nDefines a default value/currency for a conversion event. Both value and currency must be provided.\n\n| JSON representation |\n|-----------------------------------------------------|\n| ``` { \"value\": number, \"currencyCode\": string } ``` |\n\n| Fields ||\n|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `value` | `number` This value will be used to populate the value for all conversions of the specified eventName where the event \"value\" parameter is unset. |\n| `currencyCode` | `string` When a conversion event for this eventName has no set currency, this currency will be applied as the default. Must be in ISO 4217 currency code format. See \u003chttps://en.wikipedia.org/wiki/ISO_4217\u003e for more information. |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------------------------------------------------|-------------------------------------------|\n| ### [create](/analytics/devguides/config/admin/v1/rest/v1beta/properties.conversionEvents/create)` ` **(deprecated)** | Deprecated: Use `CreateKeyEvent` instead. |\n| ### [delete](/analytics/devguides/config/admin/v1/rest/v1beta/properties.conversionEvents/delete)` ` **(deprecated)** | Deprecated: Use `DeleteKeyEvent` instead. |\n| ### [get](/analytics/devguides/config/admin/v1/rest/v1beta/properties.conversionEvents/get)` ` **(deprecated)** | Deprecated: Use `GetKeyEvent` instead. |\n| ### [list](/analytics/devguides/config/admin/v1/rest/v1beta/properties.conversionEvents/list)` ` **(deprecated)** | Deprecated: Use `ListKeyEvents` instead. |\n| ### [patch](/analytics/devguides/config/admin/v1/rest/v1beta/properties.conversionEvents/patch)` ` **(deprecated)** | Deprecated: Use `UpdateKeyEvent` instead. |"]]