Google Analytics के लिए, एमसीपी सर्वर आज़माएं. इसे
GitHub से इंस्टॉल करें. साथ ही, ज़्यादा जानकारी के लिए
सूचना देखें.
REST Resource: properties.conversionEvents
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
रिसॉर्स: ConversionEvent
Google Analytics प्रॉपर्टी में मौजूद कन्वर्ज़न इवेंट.
JSON के काेड में दिखाना |
{
"name": string,
"eventName": string,
"createTime": string,
"deletable": boolean,
"custom": boolean,
"countingMethod": enum (ConversionCountingMethod ),
"defaultConversionValue": {
object (DefaultConversionValue )
}
} |
फ़ील्ड |
name |
string
सिर्फ़ आउटपुट के लिए. इस कन्वर्ज़न इवेंट का रिसॉर्स का नाम. फ़ॉर्मैट: properties/{property}/conversionEvents/{conversionEvent}
|
eventName |
string
इम्यूटेबल. इस कन्वर्ज़न इवेंट का नाम. उदाहरण: 'क्लिक', 'खरीदारी'
|
createTime |
string (Timestamp format)
सिर्फ़ आउटपुट के लिए. प्रॉपर्टी में इस कन्वर्ज़न इवेंट को बनाने का समय. आरएफ़सी 3339 का इस्तेमाल करता है. इसमें जनरेट किया गया आउटपुट हमेशा Z-नॉर्मलाइज़्ड होगा और इसमें 0, 3, 6 या 9 दशमलव अंक इस्तेमाल किए जाएंगे. "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
सिर्फ़ आउटपुट के लिए. अगर इसे 'सही है' पर सेट किया जाता है, तो यह कन्वर्ज़न इवेंट किसी कस्टम इवेंट को रेफ़र करता है. अगर इस वैल्यू को 'गलत' पर सेट किया जाता है, तो यह कन्वर्ज़न इवेंट, GA में मौजूद डिफ़ॉल्ट इवेंट को रेफ़र करता है. आम तौर पर, GA में डिफ़ॉल्ट इवेंट का खास मतलब होता है. आम तौर पर, GA सिस्टम आपके लिए डिफ़ॉल्ट इवेंट बनाता है. हालांकि, कुछ मामलों में प्रॉपर्टी एडमिन भी इन्हें बना सकते हैं. कस्टम इवेंट की संख्या, हर प्रॉपर्टी के लिए बनाए जा सकने वाले कस्टम कन्वर्ज़न इवेंट की ज़्यादा से ज़्यादा संख्या में गिनी जाती है.
|
countingMethod |
enum (ConversionCountingMethod )
ज़रूरी नहीं. वह तरीका जिससे किसी सेशन में कई इवेंट में कन्वर्ज़न की गिनती की जाएगी. अगर यह वैल्यू नहीं दी जाती है, तो इसे ONCE_PER_EVENT पर सेट कर दिया जाएगा.
|
defaultConversionValue |
object (DefaultConversionValue )
ज़रूरी नहीं. किसी कन्वर्ज़न इवेंट के लिए डिफ़ॉल्ट वैल्यू/मुद्रा तय करता है.
|
ConversionCountingMethod
वह तरीका जिससे किसी सेशन में कई इवेंट में कन्वर्ज़न की गिनती की जाएगी.
Enums |
CONVERSION_COUNTING_METHOD_UNSPECIFIED |
गिनती करने का तरीका नहीं बताया गया है. |
ONCE_PER_EVENT |
हर इवेंट इंस्टेंस को कन्वर्ज़न माना जाता है. |
ONCE_PER_SESSION |
किसी इवेंट इंस्टेंस को हर उपयोगकर्ता के हर सेशन में ज़्यादा से ज़्यादा एक बार कन्वर्ज़न माना जाता है. |
DefaultConversionValue
किसी कन्वर्ज़न इवेंट के लिए डिफ़ॉल्ट वैल्यू/मुद्रा तय करता है. वैल्यू और मुद्रा, दोनों की जानकारी देना ज़रूरी है.
JSON के काेड में दिखाना |
{
"value": number,
"currencyCode": string
} |
फ़ील्ड |
value |
number
इस वैल्यू का इस्तेमाल, तय किए गए eventName के उन सभी कन्वर्ज़न की वैल्यू अपने-आप भरने के लिए किया जाएगा जिनमें इवेंट "value" पैरामीटर सेट नहीं है.
|
currencyCode |
string
अगर इस eventName के लिए किसी कन्वर्ज़न इवेंट में कोई मुद्रा सेट नहीं है, तो यह मुद्रा डिफ़ॉल्ट रूप से लागू हो जाएगी. यह ISO 4217 मुद्रा कोड फ़ॉर्मैट में होना चाहिए. ज़्यादा जानकारी के लिए, https://en.wikipedia.org/wiki/ISO_4217 देखें.
|
तरीके |
create (deprecated)
|
इस्तेमाल नहीं किया जा सकता: इसके बजाय, CreateKeyEvent का इस्तेमाल करें. |
delete (deprecated)
|
इस्तेमाल नहीं किया जा सकता: इसके बजाय, DeleteKeyEvent का इस्तेमाल करें. |
get (deprecated)
|
इस्तेमाल नहीं किया जा सकता: इसके बजाय, GetKeyEvent का इस्तेमाल करें. |
list (deprecated)
|
इस्तेमाल नहीं किया जा सकता: इसके बजाय, ListKeyEvents का इस्तेमाल करें. |
patch (deprecated)
|
इस्तेमाल नहीं किया जा सकता: इसके बजाय, UpdateKeyEvent का इस्तेमाल करें. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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. |"]]