Events
Columns
Name
Type
Dimension
DefaultMetric
DefaultDimension
Description
Date
Date
True
The date of the session formatted as YYYYMMDD.
Year
Integer
True
The year of the session. A four-digit year from 2005 to the current year.
Month
Integer
True
The month of the session. A two digit integer from 01 to 12.
Week
Integer
True
The week of the session. A two-digit number from 01 to 53. Each week starts on Sunday.
Day
Integer
True
The day of the month. A two-digit number from 01 to 31.
Hour
Integer
True
A two-digit hour of the day ranging from 00-23 in the timezone configured for the account. This value is also corrected for daylight savings time.
EventCategory
String
True
True
The category of the event.
EventAction
String
True
The action of the event.
EventLabel
String
True
The label of the event.
TotalEvents
Integer
False
True
The total number of events for the profile, across all categories.
UniqueEvents
Integer
False
True
The total number of unique events for the profile, across all categories.
EventValue
Long
False
True
The total value of events for the profile.
SessionsWithEvent
Integer
False
True
The total number of sessions with events.
AvgEventValue
Double
False
True
The average value of an event.
EventsPerSessionWithEvent
Double
False
True
The average number of events per session with event.
StartDate
String
Start date for fetching Analytics data. Either a date string or a relative date (e.g., today, yesterday, or #daysAgo).
EndDate
String
End date for fetching Analytics data. Either a date string or a relative date (e.g., today, yesterday, or #daysAgo).
Dimensions
String
A comma-separated list of dimensions to retrieve in addition to the columns defined in the schema. Set to empty string to retrieve no dimensions.
Metrics
String
A comma-separated list of metrics to retrieve in addition to the columns defined in the schema.
CohortTypes
String
Available only when using the V4 API. A comma-separated list of cohort types. The default value is FIRST_VISIT_DATE
CohortStartDates
Date
Available only when using the V4 API. A comma-separated list of cohort start dates.
CohortEndDates
Date
Available only when using the V4 API. A comma-separated list of cohort end dates.
SamplesReadCounts
String
Comma separated list of samples read counts when the response data is sampled.
SamplingSpaceSizes
String
Comma separated list of samples space sizes counts when the response data is sampled.
Pseudo-Columns
Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.
Name
Type
Description
Segments
String
Segments the data returned for your request. Either a SegmentId or a custom segment.
Profile
String
The Profile ID or website URL to retrieve data from.
Last updated