Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Lightning Usage by Browser

Returns Lightning Experience usage results grouped by browser instance. This resource is available in REST API version 44.0 and later.

Use this object with the following APIs.

  • Platform
  • Metadata API
  • Tooling API

Syntax

URI: /services/data/vXX.X/sobjects/LightningUsageByBrowserMetrics

Formats: JSON, XML

HTTP methods: GET

Request body: SOQL Query.

Request parameters

Parameter Description
Browser The browser used.
EptBin3To5 Number of times that a page loaded between 3-5 seconds.
EptBin5To8 Number of times that a page loaded between 5-8 seconds.
EptBin8To10 Number of times that a page loaded between 8-10 seconds.
EptBinOver10 Number of times that a page loaded over 10 seconds.
EptBinUnder3 Number of times that a page loaded under 3 seconds.
MetricsDate The date the metric was recorded.
PageName The name of the page.
RecordCountEPT Number of records for a page/browser where the valid EPT was recorded.
SumEPT Sum of the EPT values for page/browser.
TotalCount Total records for a page/browser.

Example

Example Request Body

1SELECT CALENDAR_MONTH(MetricsDate) MetricsDate, Browser Browser, SUM(TotalCount) Total FROM LightningUsageByBrowserMetrics WHERE MetricsDate = Last_N_Months:3 AND (NOT Browser like 'OTHER%') GROUP BY CALENDAR_MONTH(MetricsDate),Browser