Class ConversionEvent
A conversion event in a Google Analytics property.
Implements
Namespace: Google.Analytics.Admin.V1Alpha
Assembly: Google.Analytics.Admin.V1Alpha.dll
Syntax
public sealed class ConversionEvent : IMessage<ConversionEvent>, IEquatable<ConversionEvent>, IDeepCloneable<ConversionEvent>, IBufferMessage, IMessage
Constructors
ConversionEvent()
Declaration
public ConversionEvent()
ConversionEvent(ConversionEvent)
Declaration
public ConversionEvent(ConversionEvent other)
Parameters
| Type | Name | Description |
|---|---|---|
| ConversionEvent | other |
Properties
ConversionEventName
ConversionEventName-typed view over the Name resource name property.
Declaration
public ConversionEventName ConversionEventName { get; set; }
Property Value
| Type | Description |
|---|---|
| ConversionEventName |
CountingMethod
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.
Declaration
public ConversionEvent.Types.ConversionCountingMethod CountingMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| ConversionEvent.Types.ConversionCountingMethod |
CreateTime
Output only. Time when this conversion event was created in the property.
Declaration
public Timestamp CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| Timestamp |
Custom
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.
Declaration
public bool Custom { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
DefaultConversionValue
Optional. Defines a default value/currency for a conversion event.
Declaration
public ConversionEvent.Types.DefaultConversionValue DefaultConversionValue { get; set; }
Property Value
| Type | Description |
|---|---|
| ConversionEvent.Types.DefaultConversionValue |
Deletable
Output only. If set, this event can currently be deleted with DeleteConversionEvent.
Declaration
public bool Deletable { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
EventName
Immutable. The event name for this conversion event. Examples: 'click', 'purchase'
Declaration
public string EventName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Output only. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event}
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |