Sessions Table

The Sessions table tracks unique visits to your website, capturing key information like the session's start time, visitor device details, and the source of traffic. Querying this table reveals patterns in site engagement, such as peak visit times, popular devices, and effective marketing channels, enabling targeted improvements and strategic planning.

📘

Note

event_date is a required field for queries on this table.

A session in Triple Whale is defined as a visit on your website from a Direct, Referral, or UTM source. Sessions are unique per visitor and per tab. A new session starts after 30 minutes of inactivity, or when navigating to a URL with different UTM parameters.

Dimensions

Dimensions are immutable properties that can be used for grouping data.

TitleIDTypeDescription
Event Hourevent_hourstringThe hour of the day the session started, according to a 24-hour clock. Based on the time zone of the shop at the start time of the session.

Example values: 07, 16, 21
Event Dateevent_datedateThe date the session started.Based on the time zone of the shop at the start time of the session.
Event Dayevent_date.daydateThe day on which the event occurred. Derived from event_date.
Event Weekevent_date.weekdateThe Sunday of the week during which the event occurred. Derived from event_date.
Event Monthevent_date.monthdateThe month during which the event occurred. Derived from event_date.
Event Quarterevent_date.quarterdateThe first month of the quarter during which the event occurred. Derived from event_date.
Event Yearevent_date.yeardateThe year during which the event occurred. Derived from event_date.
Ad IDad_idstringThe unique ID for the ad associated with the session. Assigned by the ad platform, captured by Triple Pixel in the UTM query parameters.

Example value: 120210439891110007
Ad Set IDadset_idstringThe unique ID for the ad set associated with the session. Assigned by the ad platform, captured by Triple Pixel in the UTM query parameters.

Example value: 120210439890740003
Web BrowserbrowserstringThe web browser of the session where the order originated.

Example values: Chrome, Firefox, Safari
Campaign IDcampaign_idstringThe unique ID for the marketing campaign associated with the session. Assigned by the ad platform, captured by Triple Pixel in the UTM query parameters.

Example values: 23852438666180053, 531011533, 20620285829
ChannelchannelstringThe platform through which the ad was delivered. Derived from UTM parameters and standardized (e.g. a UTM value of fb is standardized to facebook-ads in Triple Whale).

Example values: facebook-ads, tiktok-ads, Direct
Session CitycitystringThe city of the session where the order originated.

Example values: San Francisco, Tel Aviv, Kyiv
Session CountrycountrystringThe country of the session where the order originated.

Example values: United Kingdom, New Zealand, United Arab Emirates
DevicedevicestringThe type of device used by the visitor for the session.

Example values: mobile, desktop, tablet, wearable
Device Modeldevice_modelstringThe device model used by the visitor for the session.

Example values: SM-A022M, CPH2305, Note 12
DomaindomainstringThe domain through which the session was initiated.

Example value: exampleshop.com
Event Date Timezoneevent_date_timezonestringThe time zone in which the event_date and event_hour are based. Equivalent to the designated timezone of the shop according to the timezone database .
Is New Visitoris_new_visitorbooleanTrue if the session was initiated by a first-time visitor.

Possible Values: true, false
Landing Pagelanding_pagestringThe URL path (without query parameters) of the page the visitor landed after clicking on an ad or link, indicating the first page viewed in a session.

Example value: /myshop/collections/green_sweater
Session IDsession_idstringThe unique session ID assigned by Triple Pixel.

Example value: cltlok4y634IRw62AZ_1710700966152
Session Start Timestampsession_start_tstimestampThe time at which the visitor initiated the session. Formatted according to the ISO 8601 international standard.

Example value: 2022-06-15T19:26:30.000Z
Triple Pixel IDtriple_idstringThe unique ID assigned by Triple Pixel to track visitors across sessions.

Example value: cltlok4y634IRw62AZ
UTM Mediumutm_mediumstringThe UTM medium parameter captured by Triple Pixel from the ad URL

Example values: sponsored, paid, profile_link
UTM Sourceutm_sourcestringThe source of traffic to the site, captured by Triple Pixel in the UTM query parameters.

Example values: web, pos, tiktok

Measures

Measures are numeric fields that can be aggregated and/or combined to calculate new metrics.

TitleIDTypeDescription
Session Durationsession_elapsed_timenumericThe total duration of time elapsed during the session, measured in seconds.
Session Page Viewssession_page_viewsnumericNumber of pages viewed during a website session.

Derived

Derived fields are metrics that are pre-calculated using multiple measures or advanced formulas.

TitleIDTypeDescription
Pixel Sessionssession_countformulaThe Pixel-reported number of online store sessions.

Note that Triple Whale defines and tracks sessions differently from the main sales platform so there may be variance between the two. Learn how Triple Whale defines and tracks sessions.