GASP
Product Engagement Metrics Operational

Actions per Session

Actions per Session: Average number of meaningful actions per session.

Formula

Actions per Session = Total actions / Total sessions

Computable definition

The canonical formula in the GASP formula grammar. The MCP server compiles it to SQL over the datasets listed below.

sum(field.usage_count) / count_distinct(field.session_id)

Unit: ratio

Data requirements

Grain: Per event, aggregate monthly · Frequency: Daily · Aggregation: aggregate (month) · Staged: no · Main source: Product Analytics.

Field Dataset Type
event_date product_event date
session_id product_event string
usage_count product_event integer
Example SQL (Postgres)
SELECT (CAST((SELECT COALESCE(SUM(usage_count), 0) FROM product_event WHERE event_date >= :period_start AND event_date <= :period_end) AS DOUBLE PRECISION) / NULLIF((SELECT COUNT(DISTINCT session_id) FROM product_event WHERE event_date >= :period_start AND event_date <= :period_end), 0)) AS actions_per_session

From an agent: with the GASP MCP server, call lookup_metric({ "name": "Actions per Session" }) or generate_query({ "metric": "Actions per Session", "adapter": "<your adapter JSON>" }).

What It Tells You

Productivity per session.

Try searching for:

↑↓navigate↵select