Newer Version Available
Lightning Usage by Browser
Syntax
- URI
- /services/data/vXX.X/sobjects/LightningUsageByBrowserMetrics
- Available since release
- 44.00
- Formats
- JSON, XML
- HTTP methods
- GET
- Authentication
- Authorization: Bearer token
- 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
This query returns browser distribution details, for the last 3 months.
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),BrowserUsage
Use this object with the following APIs:
- Platform
- Metadata API
- Tooling API