Skip to main content
The analytics query endpoint runs read-only ClickHouse SQL over these tables and views. Project-scoped tables are restricted to the requested project server-side.

Tables

Parameterized view: session_attribution(since=‘YYYY-MM-DD’, until=‘YYYY-MM-DD’), inclusive UTC dates. Computes USD purchase, session, and equal-pageview attributed revenue across authorized sibling projects within that window, before domain filters. Cart/checkout views receive no attribution. Deduplicate sessionRevenueUsd by subject before summing. Inherits source row policies. Project scoped: yes.
Raw events with project-local computed session metrics. Use session_attribution for revenue across linked projects. Project scoped: yes.
Currency exchange rates for multi-currency reporting. Project scoped: no.
Pre-aggregated daily page metrics by day, domain, path, and UTM source. Revenue/conversion attribution is project-local; use session_attribution across linked projects. Project scoped: yes.
Pre-aggregated daily project traffic metrics by day and UTM source. Project scoped: yes.
Pre-aggregated daily purchase metrics by day and UTM source. Project scoped: yes.

External metric views

Each connected integration below exposes parameterized views. Call them with named since and until dates (YYYY-MM-DD, inclusive). Views ending in _metrics_daily return date, metric, value, _metrics_totals return metric, current, previous, and _metrics_list return metric. The Google Analytics, Search Console and ROI report views also take settings JSON, and Intelligems experience views take experience_id. Credentials and project scope are injected server-side.