Analytics limits and how to work within them
These are deliberate bounds of the query and insight features, not bugs. Each one says why it exists and what to do instead.
These are deliberate bounds of the query and insight features, not bugs. Each one says why it exists and what to do instead.
Persons behind a chart point
A persons list shows at most 100 persons by default, at most 10 000 on request (
limit).Save as cohort from a point (
cohorts/from-query) snapshots at most 10 000 persons. The cap keeps one cohort write bounded. For a bigger audience, define a dynamic cohort from the behaviour instead (it is recalculated and has no cap).With group or session aggregation the list shows the persons who had events for those groups or sessions anywhere in the insight's date range, not only in the clicked bucket.
Clicking a compare-segment row or a formula series works; a formula's persons are the persons behind any series the formula reads, with their events summed.
Element breakdown
tag_name, text, href, attr_id, class and selector, each with an optional position @0 to @9 (0 is the clicked element, 1 its parent). selector is the tag.class path of up to five elements starting at that position, root first, joined by >. Values containing ; inside an attribute can confuse the selector path; the other keys are exact.
Funnels
hold_constantholds one property key that every step carries.hold_by_steptakes one key per step (product_id, thenitem_id); in the web builder writeproduct_id|item_id. The held value comes from the event row, not from session or person properties. At most three held entries in total.Engagement effort counts need the browser SDK (
$keystroke_count); mobile and server SDKs send no key counts, so keystrokes read 0 there. Effort counts events inside the funnel date range and does not support month windows.First-time steps search the project's whole event history, which is slow on very large projects.
Optional steps (
optional_steps, middle steps only, sequential order): an entity may skip them, and each optional step counts only the entities that did it. Not combinable with exclusions or held properties. With a breakdown or in the persons drill-down an entity counts at its furthest step.count_mode: totalscounts every pass: a new attempt starts at step 1 after a completion, an expired window, or a fresh step-1 event while still at step 1.value_propertyaddsvalue_k(the property summed over step k's events of the entities that did step k) andvalue_lost_k(that value for entities whose furthest step is k). Both need the Steps view without breakdown or compare; with totals,value_lost_kshares an entity's value by the share of its attempts that stopped at step k.
Confidence intervals and retention
Intervals are normal approximations: Poisson for counts, a z interval for means. With formulas they are first-order propagations assuming the series are independent; a formula shows no interval in a bucket where a series it reads has none.
Retention periods that have not fully elapsed return
retained: nullwithin_progress: true, and the app marks them; months are calendar months. Rolling retention windows measure a month as 30 days by definition. Retention alerts and metric trees skip in-progress periods rather than reading them as zero.
Warehouse tables
Live warehouse views (
wh_<name>) run as the person asking, through a five-minute session. They work in the SQL editor, SQL insights,POST /querywith asqlquery, governed SQL metric runs and non-materialized SQL views. A materialized SQL view, a scheduled dashboard tile, an alert, an endpoint or a data-quality check has no calling user, so none of them can read one: sync the table instead, or run the SQL through the SQL editor.A view returns at most 1000 rows and 100 columns per query and is inlined as literals. Columns come back alphabetical.
Warehouse series in trends, funnels, stickiness and lifecycle: pick the table, the timestamp column and the distinct-id column from the lists. Persons resolve through the distinct-id column or the row id (
id_fieldin the query). Lifecycle "new" means the first row for the entity in the table; point the timestamp at the table's creation time if "new" should mean creation.
Calculated properties
A calc:<name> property works in filters, breakdowns and math properties of insights and in dynamic cohort criteria. The borrow op carries a property from an earlier event ({"op":"borrow","event":"campaign_click","key":"utm_campaign","within":"session","pick":"last","window_secs":null}): every event reads the property of the last (or first) such event at or before it, in the session (looks one day before the range) or for the person (whole history unless window_secs is set). It runs as a window function over the scanned events, so it costs a sort per session or person.
List-of-object properties
A key products[].price reads price from every element of the JSON array products (tags[] reads the elements themselves). As a filter it holds when any element matches; products[all].price needs every element to match. As a breakdown it splits the event into one row per element. [sum], [count], [min], [max] and [avg] turn the list into one number per event for filters, breakdowns and math properties ([] as a number is the sum). The catalog records element fields as <list>[].<field> from the first 20 elements and 50 keys of each array.
Path cleaning in filters
With path cleaning rules set, $pathname filters (and funnel steps), heatmap pages and form pages also match the cleaned path (/users/:id); the raw path keeps matching and negative operators must hold for both. Switch it off in the path cleaning settings (apply_to_filters: false). It does not work in LQL tables (which expose stored columns only), in action matching or in webhooks (those are evaluated per event at ingestion, without the project's calculated properties).
Query endpoints: materialization
A materialized endpoint stores one result per tuple of variable values. That only works for <expr> = {variables.x} conditions combined with AND. A variable-free HAVING, a numeric LIMIT and a numeric OFFSET are fine. OR, LIKE and range comparisons on variables (unbounded value domain), date variables, {filters}, UNION, LIMIT BY, and window functions together with variables are refused when materialization is switched on; leave materialization off and the endpoint runs directly.
Catalog
Metric names for governed kinds (stub, markdown, query, LQL) must match
^[a-z][a-z0-9_]{0,62}$; experiment metric kinds keep free-text names because saved experiments refer to them by name. Experiment metrics are measured inside experiments and cannot be run on their own.The catalog tables are
information_schema_metrics,information_schema_tablesandinformation_schema_relationships(single-part names), built per query and capped at 2000 rows.Accepting a proposed join checks that the keys overlap (a sample of up to 1000 left keys against up to 100 000 right keys) and records the measurement; a join with no overlap is refused. An accepted join is listed in
information_schema_relationships; it is not added to your SQL as an implicit join. Certifications cover SQL views, warehouse views and lookup tables.
Experiments
Layer parameter defaults are baked into each experiment's variants and served to users outside every experiment of the layer.
Variants edited in the visual editor need a draft experiment; a running experiment's variants cannot change under exposed users.
Preview links and QA-user guides are a QA aid, not access control. Factorial designs split traffic equally across cells.
SQL result cells
A cell whose text starts with lc-html: renders as HTML restricted to a safe set of tags (links, bold, italic, lists, line breaks). Every other attribute and tag is dropped, and links must be http, https or mailto.