GoogleAnalyticsAdminV1betaKeyEvent
import type { GoogleAnalyticsAdminV1betaKeyEvent } from "https://googleapis.deno.dev/v1/analyticsadmin:v1beta.ts";
A key event in a Google Analytics property.
interface GoogleAnalyticsAdminV1betaKeyEvent {
countingMethod?: "COUNTING_METHOD_UNSPECIFIED" | "ONCE_PER_EVENT" | "ONCE_PER_SESSION";
readonly createTime?: Date;
readonly custom?: boolean;
defaultValue?: GoogleAnalyticsAdminV1betaKeyEventDefaultValue;
readonly deletable?: boolean;
eventName?: string;
readonly name?: string;
}§Properties
§
countingMethod?: "COUNTING_METHOD_UNSPECIFIED" | "ONCE_PER_EVENT" | "ONCE_PER_SESSION"
[src]Required. The method by which Key Events will be counted across multiple events within a session.
§
readonly custom?: boolean
[src]Output only. If set to true, this key event refers to a custom event. If set to false, this key 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 key events that may be created per property.
§
defaultValue?: GoogleAnalyticsAdminV1betaKeyEventDefaultValue
[src]Optional. Defines a default value/currency for a key event.