Sessions

Field

Data type

Description

ym:s:visitID

UInt64

Session ID

ym:s:counterID

UInt32

Tag ID

ym:s:watchIDs

Array(UInt64)

Pageviews in this session. Array size is limited to 500 page views

ym:s:date

Date

Session date

ym:s:dateTime

DateTime

Session date and time (in the tag's time zone)

ym:s:dateTimeUTC

DateTime

Event date and time (in the UTC+3 time zone)

ym:s:isNewUser

UInt8

User's first session

ym:s:startURL

String

Landing page

ym:s:endURL

String

Exit page

ym:s:pageViews

Int32

Page depth (detailed)

ym:s:visitDuration

UInt32

Time on site (detailed)

ym:s:bounce

UInt8

Bounce rate

ym:s:ipAddress

String

IP address

ym:s:regionCountry

String

Country (ISO)

ym:s:regionCity

String

City (name in English)

ym:s:regionCountryID

UInt32

Country ID

ym:s:regionCityID

UInt32

City ID

ym:s:clientID

UInt64

Anonymous user ID in the browser (first-party cookies)

ym:s:counterUserIDHash

UInt64

User ID (within a single browser) used to count unique site users in the Yandex Metrica interface

ym:s:networkType

String

Connection type. This dimension is outdated and will soon be removed from the API.

ym:s:goalsID

Array(UInt32)

IDs of the goals completed in this session

ym:s:goalsSerialNumber

Array(UInt32)

Serial numbers of completed goals with a specific ID

ym:s:goalsDateTime

Array(DateTime)

Time of each goal completion (in the UTC+3 time zone)

ym:s:goalsPrice

Array(Int64)

Goal value

ym:s:goalsOrder

Array(String)

Order ID

ym:s:goalsCurrency

Array(String)

Currency ID

ym:s:<attribution>TrafficSource

String

Traffic source

ym:s:<attribution>AdvEngine

String

Advertising system

ym:s:<attribution>ReferalSource

String

Referral traffic

ym:s:<attribution>SearchEngineRoot

String

Search engine

ym:s:<attribution>SearchEngine

String

Search engine (detailed)

ym:s:<attribution>SocialNetwork

String

Social network

ym:s:<attribution>SocialNetworkProfile

String

Social network group

ym:s:referer

String

Referrer

ym:s:<attribution>DirectClickOrder

UInt32

Yandex Direct campaign

ym:s:<attribution>DirectBannerGroup

UInt32

Ad group

ym:s:<attribution>DirectClickBanner

String

Yandex Direct ad

ym:s:<attribution>DirectClickOrderName

String

Yandex Direct campaign name

ym:s:<attribution>ClickBannerGroupName

String

Ad group name

ym:s:<attribution>DirectClickBannerName

String

Yandex Direct ad name

ym:s:<attribution>DirectPhraseOrCond

String

Ad impression criteria

ym:s:<attribution>DirectPlatformType

string

Platform type

ym:s:<attribution>DirectPlatform

String

Platform

ym:s:<attribution>DirectConditionType

String

Type of ad impression criteria

ym:s:<attribution>CurrencyID

String

Currency

ym:s:from

String

"From" tag

ym:s:<attribution>UTMCampaign

String

UTM Campaign

ym:s:<attribution>UTMContent

String

UTM Content

ym:s:<attribution>UTMMedium

String

UTM Medium

ym:s:<attribution>UTMSource

String

UTM Source

ym:s:<attribution>UTMTerm

String

UTM Term

ym:s:<attribution>openstatAd

String

Openstat Ad

ym:s:<attribution>openstatCampaign

String

Openstat Campaign

ym:s:<attribution>openstatService

String

Openstat Service

ym:s:<attribution>openstatSource

String

Openstat Source

ym:s:<attribution>hasGCLID

UInt8

GCLID tag present

ym:s:<attribution>GCLID

String

GCLID tag

ym:s:browserLanguage

String

Browser language

ym:s:browserCountry

String

Browser country

ym:s:clientTimeZone

Int16

Difference between the user's time zone and UTC (in minutes)

ym:s:deviceCategory

String

Device type. Possible values: 1 — desktop, 2 — mobile phone, 3 — tablet, 4 — TV

ym:s:mobilePhone

String

Device manufacturer

ym:s:mobilePhoneModel

String

Device model

ym:s:operatingSystemRoot

String

Group of operating systems

ym:s:operatingSystem

String

Operating system (detailed)

ym:s:browser

String

Browser

ym:s:browserMajorVersion

UInt16

Major version of the browser

ym:s:browserMinorVersion

UInt16

Minor version of the browser

ym:s:browserEngine

String

Browser engine

ym:s:browserEngineVersion1

UInt16

Major version of the browser engine

ym:s:browserEngineVersion2

UInt16

Minor version of the browser engine

ym:s:browserEngineVersion3

UInt16

Build version of the browser engine

ym:s:browserEngineVersion4

UInt16

Revision version of the browser engine

ym:s:cookieEnabled

UInt8

Cookies present

ym:s:javascriptEnabled

UInt8

JavaScript present

ym:s:screenFormat

String

Aspect ratio Possible values:

  • undefined
  • 9:21
  • 9:16
  • 3:5
  • 10:16
  • 2:3
  • 3:4
  • 4:5
  • 5:4
  • 4:3
  • 3:2
  • 16:10
  • 5:3
  • 16:9
  • 21:9

ym:s:screenColors

UInt8

Color depth

ym:s:screenOrientation

UInt8

Screen orientation. 1 - portrait, 2 - landscape

ym:s:screenOrientationName

String

Screen orientation

ym:s:screenWidth

UInt16

Logical width

ym:s:screenHeight

UInt16

Logical height

ym:s:physicalScreenWidth

UInt16

Physical width

ym:s:physicalScreenHeight

UInt16

Physical height

ym:s:windowClientWidth

UInt16

Window width

ym:s:windowClientHeight

UInt16

Window height

ym:s:purchaseID

Array(String)

Purchase ID. List of all transaction IDs for a specific session. The IDs are unique.

ym:s:purchaseDateTime

Array(DateTime)

Purchase date and time

ym:s:purchaseAffiliation

Array(String)

Store or branch where the transaction occurred

ym:s:purchaseRevenue

Array(Float64)

Total revenue or total value of the transaction

ym:s:purchaseTax

Array(Float64)

Sum of all taxes for the transaction

ym:s:purchaseShipping

Array(Float64)

Shipping cost for the transaction

ym:s:purchaseCoupon

Array(String)

A promo code associated with the entire purchase

ym:s:purchaseCurrency

Array(String)

Transaction currency

ym:s:purchaseProductQuantity

Array(Int64)

Number of items in the purchase

ym:s:eventsProductID

Array(String)

Product ID or code

ym:s:eventsProductList

Array(String)

A list that includes the products related to the transaction

ym:s:eventsProductBrand

Array(String)

Brand of the product

ym:s:eventsProductCategory

Array(String)

Product category

ym:s:eventsProductCategory1

Array(String)

Product category, level 1

ym:s:eventsProductCategory2

Array(String)

Product category, level 2

ym:s:eventsProductCategory3

Array(String)

Product category, level 3

ym:s:eventsProductCategory4

Array(String)

Product category, level 4

ym:s:eventsProductCategory5

Array(String)

Product category, level 5

ym:s:eventsProductVariant

Array(String)

Product variant

ym:s:eventsProductPosition

Array(Int32)

Product's position in the list or collection

ym:s:eventsProductPrice

Array(Int64)

Product price

ym:s:eventsProductCurrency

Array(String)

Product currency

ym:s:eventsProductCoupon

Array(String)

Promo code associated with the product

ym:s:eventsProductQuantity

Array(UInt64)

Product quantity

ym:s:eventsProductEventTime

Array(DateTime)

Date and time of the event

ym:s:eventsProductType

Array(UInt8)

Event type. Possible values:

  • view_item_list: Viewing the product list.
  • click: Clicking the product.
  • detail: Viewing the product card.
  • add: Adding the item to the shopping cart.
  • purchase: Purchasing.
  • remove: Removing the item from the shopping cart.

ym:s:eventsProductDiscount

Array(String)

Discount percentage on the product

ym:s:eventsProductName

Array(String)

Product name

ym:s:productsPurchaseID

Array(String)

Purchase ID. For each purchased product ym:s:productsID, the transaction in which it was purchased is specified. Duplicate IDs are allowed.

ym:s:productsID

Array(String)

ID or code of the purchased product

ym:s:productsName

Array(String)

Name of the purchased product

ym:s:productsBrand

Array(String)

Brand of the purchased product

ym:s:productsCategory

Array(String)

Category of the purchased product

ym:s:productsCategory1

Array(String)

Category of the purchased product, level 1

ym:s:productsCategory2

Array(String)

Category of the purchased product, level 2

ym:s:productsCategory3

Array(String)

Category of the purchased product, level 3

ym:s:productsCategory4

Array(String)

Category of the purchased product, level 4

ym:s:productsCategory5

Array(String)

Category of the purchased product, level 5

ym:s:productsVariant

Array(String)

Variant of the purchased product

ym:s:productsPosition

Array(Int32)

Position of the purchased product in the list or collection

ym:s:productsPrice

Array(Float64)

Price of the purchased product

ym:s:productsCurrency

Array(String)

Currency of the purchased product

ym:s:productsCoupon

Array(String)

Promo code associated with the purchased product

ym:s:productsQuantity

Array(Int64)

Quantity of purchased products

ym:s:productsList

Array(String)

A list that includes the purchased products related to the transaction

ym:s:productsEventTime

Array(DateTime)

Date and time of product purchase

ym:s:productsDiscount

Array(String)

Discount percentage on the purchased product

ym:s:impressionsURL

Array(String)

Product page URL

ym:s:impressionsDateTime

Array(DateTime)

Date and time of the pageview

ym:s:impressionsProductID

Array(String)

ID of the viewed product

ym:s:impressionsProductName

Array(String)

Name of the viewed product

ym:s:impressionsProductBrand

Array(String)

Brand of the viewed product

ym:s:impressionsProductCategory

Array(String)

Category of the viewed product

ym:s:impressionsProductCategory1

Array(String)

Category of the viewed product, level 1

ym:s:impressionsProductCategory2

Array(String)

Category of the viewed product, level 2

ym:s:impressionsProductCategory3

Array(String)

Category of the viewed product, level 3

ym:s:impressionsProductCategory4

Array(String)

Category of the viewed product, level 4

ym:s:impressionsProductCategory5

Array(String)

Category of the viewed product, level 5

ym:s:impressionsProductVariant

Array(String)

Variant of the viewed product

ym:s:impressionsProductPrice

Array(Int64)

Price of the viewed product

ym:s:impressionsProductCurrency

Array(String)

Currency of the viewed product

ym:s:impressionsProductCoupon

Array(String)

Promo code associated with the viewed product

ym:s:impressionsProductList

Array(String)

A list that includes the viewed products related to the transaction

ym:s:impressionsProductQuantity

Array(UInt64)

Quantity of viewed products

ym:s:impressionsProductEventTime

Array(DateTime)

Date and time of product view. Same as ym:s:impressionsDateTime

ym:s:impressionsProductDiscount

Array(String)

Discount percentage on the viewed product

ym:s:promotionID

Array(String)

Promo campaign ID or code

ym:s:promotionName

Array(String)

Promo campaign name

ym:s:promotionCreative

Array(String)

Ad banner name

ym:s:promotionPosition

Array(String)

Ad banner position

ym:s:promotionCreativeSlot

Array(String)

Ad banner slot

ym:s:promotionEventTime

Array(DateTime)

Date and time of the campaign event

ym:s:promotionType

Array(UInt8)

Type of ad campaign event: promoView — viewing an ad, promoClick — clicking an ad

ym:s:offlineCallTalkDuration

Array(UInt32)

Call duration in seconds

ym:s:offlineCallHoldDuration

Array(UInt32)

Time on hold in seconds

ym:s:offlineCallMissed

Array(UInt32)

Whether the call was missed

ym:s:offlineCallTag

Array(String)

Custom tag

ym:s:offlineCallFirstTimeCaller

Array(Int32)

Whether this is the first call

ym:s:offlineCallURL

Array(String)

Source URL for the call (page associated with the event)

ym:s:parsedParamsKey1

Array(String)

Session parameters, level 1

ym:s:parsedParamsKey2

Array(String)

Session parameters, level 2

ym:s:parsedParamsKey3

Array(String)

Session parameters, level 3

ym:s:parsedParamsKey4

Array(String)

Session parameters, level 4

ym:s:parsedParamsKey5

Array(String)

Session parameters, level 5

ym:s:parsedParamsKey6

Array(String)

Session parameters, level 6

ym:s:parsedParamsKey7

Array(String)

Session parameters, level 7

ym:s:parsedParamsKey8

Array(String)

Session parameters, level 8

ym:s:parsedParamsKey9

Array(String)

Session parameters, level 9

ym:s:parsedParamsKey10

Array(String)

Session parameters, level 10

ym:s:<attribution>RecommendationSystem

String

Click from recommendation systems.Learn more about this parameter

ym:s:<attribution>Messenger

String

Click from a messenger.Learn more about this parameter