Metric definitions

All default metrics Umami collects along with high level definitions.


Event metrics

Event metrics help identify a unique event for a user. Each event is stored as a unique UUID called an Event ID.

MetricDescription
Website IDA unique UUID value to identify your website included in the payload.
HostnameLocation hostname property included in the payload.
URLURL pathname and search property combined included in the payload.
Query parametersSearch property that is extracted from the URL after the payload is sent.
ReferrerDocument referrer property included in the payload. If the referrer includes the hostname, the value is replaced by the previous URL.
TitleDocument title property included in the payload.
Event NameThe name of a custom event triggered on the page (e.g. signup-button).
TagAn optional label attached to the event via the tracker data-tag attribute.

Session metrics

Session metrics help identify a unique session for a user. Each session is stored as a unique UUID called a Session ID.

MetricDescriptionExamples
BrowserBrowser name extracted from the User-Agent.Chrome, Firefox, iOS, Safari, Edge
OSOperating system name extracted from the User-Agent.Windows 10, macOS, Linux, Android, iOS
DeviceDevice name identified from the combination of OS and screen.Laptop, desktop, mobile, tablet
ScreenScreen width and height property included in the payload.1920x1080, 1280x960
LanguageNavigator language property included in the payload.English, Chinese, German, French
Distinct IDA custom identifier assigned to a visitor via umami.identify(). See Distinct IDs.user-123, [email protected]

Location metrics

Location metrics come from different sources depending on the headers. The IP address sending the request is used to gather these metrics, but is never stored.

MetricDescriptionExamples
CountryName of country following ISO-3166 standards.United States, China, Germany, France
RegionName of region (subdivisions) following ISO-3166-2 standards.California, Ontario, Bayern, Île-de-France
CityName of city.San Francisco, Toronto, Munich, Paris

UTM parameters

UTM parameters are extracted from the URL query string and stored with each event.

MetricDescription
UTM SourceIdentifies the traffic source (e.g. google, newsletter). Maps to utm_source.
UTM MediumIdentifies the marketing medium (e.g. cpc, email). Maps to utm_medium.
UTM CampaignIdentifies the campaign name. Maps to utm_campaign.
UTM ContentIdentifies the specific ad or link content. Maps to utm_content.
UTM TermIdentifies the paid search keyword. Maps to utm_term.

Ad click IDs

Ad click IDs are automatically captured from URL query parameters when present. They are used to attribute conversions back to paid ad campaigns.

MetricDescription
gclidGoogle Click ID, appended by Google Ads.
fbclidFacebook Click ID, appended by Meta Ads.
msclkidMicrosoft Click ID, appended by Microsoft Advertising.
ttclidTikTok Click ID, appended by TikTok Ads.
li_fat_idLinkedIn First-Party Ad Tracking ID, appended by LinkedIn Ads.
twclidTwitter/X Click ID, appended by X Ads.

Core Web Vitals

Core Web Vitals are performance metrics collected from the browser and stored alongside each event.

MetricDescription
LCPLargest Contentful Paint — time (ms) until the largest visible element is rendered.
INPInteraction to Next Paint — responsiveness of the page to user interactions (ms).
CLSCumulative Layout Shift — measures visual stability; a score of 0 means no unexpected layout shifts.
FCPFirst Contentful Paint — time (ms) until the first content is rendered on screen.
TTFBTime to First Byte — time (ms) from the request to the first byte received from the server.

Calculated metrics

Calculated metrics are a combination of total and unique aggregates per website.

MetricDefinition
ViewsThe total number of events that were collected by your visitors.
VisitorsUnique number of sessions. A session is calculated using a hash of data such as Website ID, hostname, User-Agent, etc and a rotating salt that is rotated at the start of every month.
VisitsUnique number of visits. A visit is a more granular range within a user session. A visit is calculated using a hash of the session ID and rotating salt that is rotated at the start of every hour. Visits are able to span across hourly intervals.
Bounce rateA bounce is defined when a visit has only 1 event. A user will enter the website, initially generating a view, then leaving. The bounce rate is calculated by dividing the total number of bounces by unique number of visits.
Visit durationTotal time spent on the website divided by unique number of visits. Total time is only calculated for visitors that visit more than one page. The difference between the first and last event create time per visit are summed into a duration time.