Commit Graph
632 Commits
Author SHA1 Message Date
Mike Cao 4fbaa5300d docs(api): deprecate report routes and document migration compatibility 2026-09-09 19:28:03 -07:00
Mike Cao 007919b173 refactor(ui): use feature analytics and saved definition routes 2026-09-09 18:59:08 -07:00
Mike Cao e202b740a1 feat(api): split performance and UTM analytics datasets 2026-09-09 18:55:35 -07:00
Mike Cao 8c17658ac1 feat(api): add saved funnel and goal resources and stats 2026-09-09 18:54:05 -07:00
Mike Cao f28fb0108a feat(api): add website-scoped analytics GET routes 2026-09-09 18:53:22 -07:00
Mike Cao b185837063 Remove OAuth authorization flows and use API key authentication for MCP 2026-09-09 15:22:15 -07:00
Mike Cao 8b9ba7cce9 Merge pull request #4519 from umami-software/testing
Add API integration test suite with Postgres and ClickHouse coverage
2026-09-06 20:49:39 -07:00
Mike Cao e18769e8cf Add API integration test suite with Postgres and ClickHouse coverage 2026-09-06 16:42:53 -07:00
Mike Cao 67449d76ef Harden OAuth metadata fetching and make token rotation transactional 2026-09-05 14:09:33 -07:00
Mike Cao 65bf19e067 Add OAuth-protected MCP server with generated API client packages 2026-09-03 16:58:47 -07:00
Mike Cao f1c5b4f7bb Add account API key management 2026-09-01 21:50:07 -07:00
Mike Cao e1a4934038 Generate explicit OpenAPI contracts for API routes 2026-09-01 15:09:10 -07:00
Mike Cao 64e4cc1c3b Add website annotations with chart markers and CRUD management 2026-08-27 00:09:03 -07:00
Francis Cao c3a70b123d fix(relational): prevent orphaned website_event sessions and keep event pagination stable. Closes #4462. 2026-08-18 14:16:03 -07:00
Francis Cao 1a91b5f1f3 fix event_name parameter collision. Closes #4461 2026-08-18 10:49:14 -07:00
Francis CaoandNoiceHax d6a3b8c6d3 fix(auth): lowercase existing usernames for pre-3.2 accounts
Co-authored-by: NoiceHax <yashasprakash021@gmail.com>
2026-08-17 10:39:49 -07:00
Francis Cao 5ca2be7598 expanded metrics performance updates. 2026-08-13 10:16:29 -07:00
Francis Cao 3e729bc0e4 harden eventData delete. Add translations. Closes #4435. 2026-08-10 12:41:41 -07:00
Francis Cao d4e864e4d9 Session/Event Property CSS fixes. Session Activity performance changes 2026-08-06 10:14:40 -07:00
Francis Cao 92fd4b71c3 Fix TopNav prisma error 2026-08-06 09:20:27 -07:00
Francis Cao 8d6943bf51 fix count query 2026-08-05 11:33:05 -07:00
Francis Cao 69cd0941ad revert getWebsiteEvent 2026-08-05 10:54:08 -07:00
Francis Cao ff08111ef1 Fix getWebsiteEvents 2026-08-05 10:41:15 -07:00
Francis Cao 311190f44a getWebsiteEvent optimizations 2026-08-05 09:24:00 -07:00
Francis Cao 8a438e10ae use pivot table for hasData column. 2026-08-03 17:40:00 -07:00
Francis Cao 079cfdde84 Improve website events query performance and fix activity search persistence 2026-08-03 16:30:19 -07:00
Francis Cao b6b500ea4f fix 500 websiteEvent 2026-08-03 16:02:22 -07:00
Francis Cao d08acc9853 performance/UI fixes for events pages. 2026-08-03 15:48:48 -07:00
Francis Cao 7c030e4c5d fix unique constraint on relational session data. Closes #4183 2026-07-30 10:39:38 -07:00
Francis Cao b3aec54bb3 Fix excludeBounce query, simplify bounce definition for SPA websites, query routing for performance, add tests 2026-07-30 09:34:35 -07:00
Federico D'Eredità 92e9b276d2 fix(queries): count custom events correctly on the hourly rollup, trying to address greptile findings
`website_event_stats_hourly` sets `views` to
`sumIf(1, event_type NOT IN (2, 5))`, so `views` is 0 on custom event
rows and the `events_count` join was summing zeroes. Switched it to
`sum(length(event_name))`, which is how `getWebsiteSessionStats`
already counts custom events on that table.

Also dropped the `getEventExpandedMetrics` change from the previous
commit. That report is filtered to custom events, so every visit it
lists has already fired at least one, and its `bounces` column counts
visits where the event fired exactly once rather than visits with a
single pageview. The threshold rule does not apply there, so the query
is left untouched.
2026-07-26 18:49:59 +02:00
Federico D'Eredità cb035fdc1a feat(queries): add BOUNCE_THRESHOLD and enhance bounce calculation logic
Updated bounce calculations to account for visits with custom events
(`EVENT_TYPE.customEvent`). A visit counts as a bounce only when its
custom event count is below `BOUNCE_THRESHOLD`, so engaged single
pageview visits are no longer misreported.

Since #3614 was opened v3 moved `getInsights` into `getBreakdown` and
copied the old formula into the channel, pageview and session
breakdowns, so those are updated too.
2026-07-26 18:49:59 +02:00
Federico D'Eredità 19fcde2c9c refactor(queries): replace hardcoded event types with constants
Replaced hardcoded `event_type` values with named constants from
`EVENT_TYPE`, as in #3614. Added the `BOUNCE_THRESHOLD` constant and
documented it in `docker-compose.yml`.
2026-07-26 18:49:58 +02:00
Mike Cao 0714ebdbe3 Merge pull request #4397 from Sagittarius/codex/clickhouse-22-date-format
fix: support ClickHouse 22 date formats
2026-07-24 21:26:39 -07:00
Mike Cao 08030db836 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-07-24 18:49:23 -07:00
Mike Cao dab6180056 Escape channel metrics literals and bypass website transfer lookup for admins 2026-07-24 18:49:02 -07:00
Francis Cao 44eb78f553 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-07-24 15:47:05 -07:00
Francis Cao f9850f02b3 add session delete feature to relational only. add test, share conditions, and permissions. Closes #2940 2026-07-24 15:47:01 -07:00
Mike Cao 8148d775b0 Add coverage for send route and core permission and query logic 2026-07-24 15:27:17 -07:00
Francis Cao 13d18c0880 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-07-23 11:50:39 -07:00
Francis Cao d05d9c4f34 Session and event property filtering. Closes #2945. Closes #4008. 2026-07-23 11:50:35 -07:00
Mike Cao 36bd9d33b8 Merge pull request #4205 from boutterudy/feat-2FA
feat(login): add 2FA
2026-07-23 11:45:20 -07:00
Mike Cao aafe068bc1 Merge branch 'dev' into feat-2FA 2026-07-23 11:14:59 -07:00
Francis Cao 78346795eb Fix revenue query filtering. Closes #4286 2026-07-23 09:41:59 -07:00
Francis Cao 58ee28a55e remove session recalculate and related queries 2026-07-21 12:33:41 -07:00
Francis Cao 9bf95ef112 updaet session stitching model for post-identify reads. fix fullPath search 2026-07-20 12:21:07 -07:00
Mike Cao 4691a344c5 Merge branch 'dev' of https://github.com/umami-software/umami into dev 2026-07-18 01:35:25 -07:00
Mike Cao bc97f9f439 Enforce a per-plan team limit when creating teams in cloud mode 2026-07-18 01:35:13 -07:00
Vincent Chan e7c18860f1 fix: support ClickHouse 22 date formats 2026-07-18 03:23:54 +08:00
Francis Cao 7afc4ccf6b session activity identify stitching 2026-07-15 11:20:27 -07:00