Web Analytics Table

web_analytics_table

The Web Analytics table tracks user interactions on your website, including page views, session lengths, and actions like adding items to carts or completing purchases. Querying this table helps uncover patterns in visitor behavior, website performance, and the effectiveness of marketing strategies, guiding optimizations for better engagement and conversion rates.

📘

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. Learn more

Dimensions

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

IDTypeDescription
event_datedateThe date the session started. Based on the time zone of the shop at the start time of the session.
event_date.daydateThe day the session started. Derived from event_date.
event_date.weekdateThe Sunday of the week during which the session started. Derived from event_date.
event_date.monthdateThe month during which the session started. Derived from event_date.
event_date.quarterdateThe first month of the quarter during which the session started. Derived from event_date.
event_date.yeardateThe year during which the session started. Derived from event_date.
event_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
landing_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
devicestringThe type of device used by the visitor for the session.

Example values: desktop, tablet, mobile, wearable
browserstringThe web browser used by the visitor for the session.

Example values: Chrome WebView, Opera Touch, Huawei Browser
countrystringThe country from which the session originated.

Example values: Canada, United States, Australia
citystringThe city from which the session originated.

Example values: Sydney, Manchester, New York

Measures

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

TitleIDTypeDescription
Order Revenueorder_revenuenumericOrder Revenue = Gross Product Sales - Discounts + Shipping + Tax
Website Purchasesorders_quantitynumericThe number of purchases (orders) during a website session (excludes recurring subscription purchases).
Session Page Viewssession_page_viewsnumericNumber of pages viewed during a website session.
Time on Sitetime_on_sitenumericTotal time spent by users on the site during a website session, measured in seconds.
BouncesbouncesnumericThe number of single-page sessions where the visitor left the site after a single page view.
SessionssessionsnumericTotal number of online store sessions.

Note that Triple Whale defines and tracks sessions differently from the main sales platform (MSP) so there may be variance between the two. Learn how Triple Whale defines and tracks sessions.
New Visitorsnew_usersnumericThe number of first-time visitors to the site.
Add to Cartsadd_to_cartsnumericThe number of Add To Carts from unique customers.

Derived

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

TitleIDTypeDescription
Conversion Rateconversion_rateformulaConversion Rate = Number of Website Purchases / Number of Sessions