GA4 Dimensions & Metrics Explorer

Average session duration averageSessionDuration

Average length of a session, in seconds.

Type
Metric
Scope
Session
Category
Session
Data type
seconds
API name
averageSessionDuration

Compatibility

Likely compatible (scope-based estimate — run fetch_metadata.py for Google's exact matrix):

DatedateDay of weekdayOfWeekHourhourCountrycountryCitycityDevice categorydeviceCategoryOperating systemoperatingSystemBrowserbrowserLanguagelanguageSession default channel groupsessionDefaultChannelGroupSession sourcesessionSourceSession mediumsessionMediumSession source / mediumsessionSourceMediumSession campaignsessionCampaignNameFirst user default channel groupfirstUserDefaultChannelGroupPage pathpagePathPage path + query stringpagePathPlusQueryStringPage titlepageTitleLanding pagelandingPageHostnamehostNameEvent nameeventNameNew / returningnewVsReturningAudience nameaudienceNameActive usersactiveUsersNew usersnewUsersTotal userstotalUsersSessionssessionsEngaged sessionsengagedSessionsEngagement rateengagementRateBounce ratebounceRateViewsscreenPageViewsViews per sessionscreenPageViewsPerSessionEvent counteventCountEvent count per usereventCountPerUserConversionsconversionsKey eventskeyEventsUser engagementuserEngagementDurationTotal revenuetotalRevenueTransactionstransactions

Watch out combining it with: Cohort, Cohort nth day — these can raise incompatible dimensions and metrics.