Francis Cao
1a91b5f1f3
fix event_name parameter collision. Closes #4461
2026-08-18 10:49:14 -07:00
Francis Cao and NoiceHax
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
Francis Cao
712b32c7bf
sparkline performance
2026-07-14 14:58:11 -07:00
Francis Cao
86b35475c0
Add sparklines to Website, Pixel, Link tables
2026-07-08 10:03:08 -07:00
Francis Cao
952143ba5e
match order by with clickhouse queries
2026-07-02 10:32:43 -07:00
Francis Cao
2575f11d26
Merge pull request #4365 from PeterUstinox/fix/eventdata-events-groupby-postgres
...
fix(events): add GROUP BY to getEventDataEvents no-event relational branch (PostgreSQL 42803)
2026-07-02 10:30:27 -07:00
Francis Cao
4c4071b270
keep createSession raw writes on primary when replicas are enabled
2026-07-01 09:53:08 -07:00
PeterUstinox
7b2a235741
fix(events): add GROUP BY to getEventDataEvents no-event relational branch
...
The no-event branch selects event_name, data_key and data_type alongside
count(*) without a GROUP BY, which throws on PostgreSQL (42803) and on MySQL
with ONLY_FULL_GROUP_BY. The event-filtered branch and both ClickHouse
branches already group correctly. Fixes #4359 .
2026-06-28 23:38:00 +02:00
Francis Cao
42765249ee
remove shouldSkipSnapshot rule
2026-06-23 15:10:27 -07:00
Francis Cao
8a0bdc2727
heatmap migration/code clean-up
2026-06-23 15:01:00 -07:00
Francis Cao
129681ebd7
fix: harden analytics writes and hide internal server errors from client
2026-06-22 22:07:07 -07:00
Mike Cao
5ebb49a8f1
Group heatmap overlays by screen width
2026-06-22 17:26:51 -07:00
Mike Cao
a0587f72e5
Switch heatmap snapshots to iframe previews
2026-06-20 22:51:45 -07:00
Francis Cao
05b9b42a8b
Fix column alais collision for session filters
2026-06-18 09:39:58 -07:00
Francis Cao
c61c01e3bb
implement session replay filters
2026-06-17 11:38:57 -07:00
Francis Cao
b51e4b5d12
first pass for self-hosted heatmap rrweb
2026-06-15 10:54:45 -07:00