Analyse and act
Explore
Build ad-hoc queries from metrics and events, filter and break them down by player, then save them or add them to a dashboard.
Explore is the query builder behind every chart in Bloxlytics. You pick up to five series, choose how to slice them, and see the result as a chart, a number or a table. The same engine draws the charts on dashboards, so a query you build here behaves identically when you add it to one.
Open it from Explore in the project sidebar. Anyone with the View analytics permission can run queries. Saving queries needs Create funnels, segments, dashboards, experiments and alerts (analytics.configure). See roles and permissions.
Almost everything in Explore comes from the Luau SDK. Without it, only Concurrent players has data (from Roblox's public player count). See data sources.
#How a query is put together
A query has these parts:
| Part | Where you set it | Limits |
|---|---|---|
| Series | Series panel on the left | 1 to 5 |
| Breakdown | Break down by | Optional; top 2 to 12 groups (the picker offers 3, 5, 8, 10, 12; default 8) |
| Display | Display | One of seven chart types |
| Comparison | Compare with the previous period | On or off |
| Date range | Filter bar above the chart | A preset or a custom range |
| Segment | Filter bar | One saved segment, or All players |
| Player filters | Filter bar, Add filter | Up to 8 filters, each with up to 20 values |
The result updates as you edit. If something is missing, the chart area shows what to fix, such as "Choose an event." or "Choose a numeric property."
#Series
Each series is lettered A to E. Use Add metric or Add event to add one, and the cross to remove it. Every series has an optional Name (up to 60 characters) that replaces its label on the chart, in tables and in CSV exports.
#Metrics
Set the series type to Metric and choose one of these. The "Measured as" column is how the series is reduced to the single number shown in the totals table, the Number display and digests.
| Metric | What it counts | Measured as |
|---|---|---|
| Active players | Distinct players with activity in each period | Average per period |
| New players | Players whose first session falls in each period | Total in range |
| Returning players | Active players minus new players in each period (never below zero) | Average per period |
| Sessions | Sessions started | Total in range |
| Average session length | Mean length of completed sessions | Average session length |
| Concurrent players | Highest player count sampled in each period | Peak in range |
| Revenue | Robux from completed purchases | Total in range |
| Purchases | Completed purchases | Total in range |
| Paying players | Distinct players with a completed purchase in each period | Average per period |
| Events | Every event received, except the SDK's server heartbeats | Total in range |
Concurrent players uses Roblox's own count when it was sampled during the range and SDK server heartbeats otherwise; the two are never mixed in one series. Because it is counted per server rather than per player, it can't take player filters, a segment or a breakdown. When any of those are set, the series is left out and a note under the chart says so.
#Events
Set the series type to Event and pick an event. The picker groups them:
- Sessions: Joined game.
- Purchases: Purchase attempted, Purchase completed.
- Progression: Progression started, Progression completed, Progression failed.
- Funnel: <name>: each step tracked with
TrackFunnel. - Custom events: everything you send with
TrackEvent(see custom events).
Then choose an aggregation:
| Aggregation | Result |
|---|---|
| Count | Number of times the event happened |
| Unique players | Distinct players who sent it |
| Average per player | Count divided by unique players |
| Sum of a property | Sum of a numeric property |
| Average of a property | Mean of a numeric property |
| Minimum of a property | Smallest value of a numeric property |
| Maximum of a property | Largest value of a numeric property |
The four property aggregations need a numeric property. The list offers the properties seen on that event in the last 30 days.
An event series's total is calculated over the whole range, not added up from the periods. Unique players over a 30-day range therefore counts each player once, even if they played every day. The totals table labels this "Over the range".
#Property filters
Under an event, Where property… adds a filter on the event's own properties. Up to five filters per series, all of which must match. Operators are =, ≠, >, < and contains (case-insensitive). > and < compare numbers.
Once you've entered a property, the value box suggests the values seen for it in the last 30 days, with how many events had each. You can still type a value that isn't listed.
#Breakdowns
Break down by splits every series into groups. Two kinds are offered:
- Player dimensions: Country, Language, Premium, Account age, Place and New or returning (described in player filters).
- Event: An event property…, which splits by the values of one property. It's only offered when the query has exactly one series and that series is an event.
Show top keeps the groups with the largest totals over the range. With Compare with the previous period on, the previous period uses the same groups, so the comparison is like for like.
Players with no value for the dimension, or events without the property, appear as (unknown). For Country and Language, players whose sessions were recorded before the SDK reported these values also appear as (unknown), and a note under the chart says so.
With one series, each group is labelled by its value (GB, Yes). With several series, labels read Revenue · GB.
When an event is broken down by one of its properties, each row of the totals table has Filter to this. It adds a property = value filter to the event and removes the breakdown, so the chart shows that one value on its own.
#Player filters
The filter bar above the chart narrows every series to a set of players. Add filter opens a picker: choose a Player property, is or is not, then tick values. For free-text dimensions the list shows values seen recently with their player counts; type into the search box and choose Add “…” to filter by a value nobody has yet.
| Dimension | Values | Taken from |
|---|---|---|
| Country | Two-letter code Roblox reports, such as GB |
Player's latest session |
| Language | Roblox locale, such as en-us |
Player's latest session |
| Premium | Yes, No | Whether they had Premium at their latest session |
| Account age | Under 30 days, 30 days to 1 year, 1 to 3 years, Over 3 years | Account age at their latest session |
| Place | Place ID | Place of their latest session |
| New or returning | New, Returning | New if their first session falls in the query's date range |
Every dimension except New or returning describes the player as of their most recent session, so a filter means the same thing on every metric and every date range. Country codes are matched in upper case and locales in lower case, so gb and GB are the same filter.
Several filters combine with AND. Values within one filter combine with OR: "Country is GB, US" matches players in either.
The Segment button applies a saved segment on top of the filters. Clear removes the filters and the segment together.
#Date range and granularity
The date range button offers Today, Yesterday, Last 7 days, Last 30 days, Last 90 days, Last 12 months and a Custom range (pick From and To, then Apply). New queries start at Last 30 days.
All ranges are whole UTC days. The "last N days" presets include today, so Last 7 days is today plus the six days before it.
Granularity follows the length of the range:
- Ranges of two days or less (Today, Yesterday, a one- or two-day custom range) are plotted per hour.
- Anything longer is plotted per day.
Compare with the previous period runs the same query over the period of equal length immediately before. When the chart has a single line (one series, no breakdown), it also draws the previous period as a second line. Otherwise the comparison appears in the totals table.
#Display types
| Display | Shows |
|---|---|
| Line | Each series over time |
| Area | Each series over time, filled |
| Columns | Each series as columns per period |
| Stacked columns | Columns stacked, useful with a breakdown |
| Number | Each series's total, with the change against the previous period when comparing, and a trend line when there's one series |
| Table | One row per series with its total |
| Pie | Each series's (or group's) share of the combined total |
Charts plot up to 12 series. They share one y-axis in the first series's units, so if you mix Robux with player counts a note reminds you to hover for each value.
Under every display except Table, a totals table lists each series with Value, Previous period and Change (when comparing) and Measured as.
#Exporting to CSV
Select the download button in the chart header:
- Download over time (CSV): one row per hour or day. The first column is
Date (UTC)orHour (UTC), then one column per series, plus a(previous period)column for each series when comparing. Numbers are raw, so they're ready for a spreadsheet. - Download totals (CSV): the totals table, one row per series.
The file is named after the query (Untitled query until you save it). Text cells that a spreadsheet would run as a formula (starting with =, +, - or @) are prefixed with a quote.
#Saved queries
Select Save query, give it a Name (up to 80 characters) and an optional Description (up to 240). Saved queries are shared with everyone in the project who can view analytics. A project can hold up to 500.
Saved queries in the header lists them, with how many series each has and how many dashboards use it. Open one to load it. Once you change it, the header says Changed from the saved version; choose Save to overwrite it or Save as new to keep both.
Saving changes to a query updates every dashboard widget that follows it, straight away. The save dialog lists those dashboards first. Deleting a saved query leaves those widgets showing a message until someone picks another query.
The address bar holds the open query (?q=<id>), so you can link a colleague to it.
#Adding a query to a dashboard
Select Add to dashboard and fill in:
- Dashboard: any dashboard you can edit. Private ones are marked "(private)".
- Widget title.
- Width: Quarter, Third, Half or Full width.
If the query is saved and unchanged, you also choose what happens When “…” changes:
- Update the widget too: the widget follows the saved query.
- Keep this version: the widget gets its own copy.
An unsaved or edited query is always added as a copy. The widget goes at the bottom of the dashboard. The dashboard's date range and filters then apply to it unless you turn Use the dashboard's filters off in its settings. See dashboards.
#Worked example: revenue by country
To see which countries' revenue moved this month:
Step 1: Choose the metric
Leave series A as Metric and choose Revenue.
Step 2: Break it down
Set Break down by to Country and Show top to 5.
Step 3: Compare and display
Choose Stacked columns and turn on Compare with the previous period. Leave the range at Last 30 days.
Step 4: Read the totals
The totals table lists the five countries with the most revenue, each with its total for the last 30 days, the 30 days before, and the change.
#Worked example: one value of an event property
To count how many burgers were served, where a Served event has a MenuId property:
Step 1: Choose the event
Set series A to Event, choose Served and leave the aggregation at Count.
Step 2: Filter to the value
Select Where property…, enter
MenuId, leave the operator at=and chooseBurgerfrom the suggested values.Or, to compare first: set Break down by to An event property… and choose
MenuId. Then select Filter to this on theBurgerrow.Step 3: Read the total
Choose Number to show the total for the range as one figure.
#Linking to a query
Explore also opens from a link with the whole query in the def parameter, as URL-encoded JSON. Open in Explore on an event's page uses this. The JSON has the same shape as a saved query's definition:
{
"series": [
{ "id": "a", "kind": "event", "event": "<event name>", "aggregation": "sum", "property": "<numeric property>", "filters": [] }
],
"breakdown": { "kind": "property", "property": "<property>", "limit": 8 },
"filters": [{ "dimension": "premium", "operator": "is", "values": ["Yes"] }],
"range": "30d",
"compare": false,
"display": "line"
}range takes today, yesterday, 7d, 30d, 90d, 365d or custom (with from and to dates). A link with an invalid definition opens an empty query instead.
#Freshness and limits
- Results are cached for 60 seconds when the range includes the current time, and for 10 minutes otherwise.
- Up to 240 queries a minute can be run from one connection.
- Queries read the same data as the rest of the app, so numbers match the overview, monetisation and events pages for the same range and filters.