Commit Graph
173 Commits
Author SHA1 Message Date
Mike CaoandClaude Opus 4.6 ce9e2416fb Add Web Vitals performance tracking (LCP, INP, CLS, FCP, TTFB)
End-to-end performance metrics tracking: dedicated database table with
percentile aggregation, tracker collection behind data-perf attribute,
/api/send handling, report API endpoints, and Performance dashboard page
with threshold-based metric cards, time-series chart, and per-page breakdown.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 19:25:20 -08:00
Francis Cao 49adaa32d0 implement UTM filters and fields 2026-02-05 16:30:46 -08:00
Francis Cao 5ea58e2b30 fix total visitors query to exclude event_type 2026-02-04 09:35:50 -08:00
Francis Cao fdb99607bc fix excludeBounce bug when selecting page filter. Use more performant sumIF 2026-02-03 13:10:54 -08:00
Francis Cao ee698b636a implement exclude bounces feature 2026-01-30 00:12:13 -08:00
Francis Cao 9339383497 remove www. prefix from hostname during comparison. Closes #3256 2026-01-28 17:18:03 -08:00
Francis Cao a0886c0594 Correctly pass in timezone into relational query. Closes #3975 2026-01-27 10:03:44 -08:00
Francis Cao a1a092dc19 Add MetricsBar to Events page. Closes #3830 2026-01-26 17:08:34 -08:00
Francis Cao 4867492ca3 Fix breakdown alias column not found bug 2026-01-26 13:52:46 -08:00
Francis Cao 7bb30443a8 Add distinct ID to filters/expanded metrics. Closes #3861 2026-01-26 11:05:20 -08:00
Francis Cao 128217c0f4 add event type filter button and implementation to journeys Close #2803 2026-01-24 10:09:10 -08:00
Francis Cao 3f173889ea Fix "name" alias for relational query to be compatible with Postgres 12. Closes #3970 2026-01-22 22:04:11 -08:00
Francis Cao 7a89bbf19f render links in event, session activity, realtime activity using hostname instead of domain.
Closes #2861
2026-01-22 19:29:25 -08:00
Francis Cao 3a498333a6 Merge branch 'analytics' of https://github.com/umami-software/umami into dev 2026-01-19 12:51:38 -08:00
Francis Cao cd6a28ea4a improve revenue joins and event_data joins to website_event 2026-01-19 12:46:21 -08:00
Mike CaoandGitHub 767fda21cd Merge pull request #3874 from maphubs/fix-session-error
fix prisma session race condition error
2026-01-06 18:01:09 -08:00
Mike CaoandGitHub 42d0594118 Merge pull request #3936 from sbozh/fix/compatible-event-name
Fixed PostgreSQL 12/13 syntax error in Journeys feature
2026-01-02 13:03:34 -08:00
SBOZH 8286af1453 Fixed PostgreSQL 12/13 syntax error in Journeys feature 2026-01-01 15:53:20 +01:00
Francis Cao 3072f02f1b Add table alias to filterQuery. Closed  #3869 2025-12-19 13:32:20 -08:00
Kristofor Carle b088a2ee6e fix prisma session race condition error 2025-12-11 14:53:08 -05:00
Francis Cao 220c2af344 fix revenue type 2025-12-05 09:18:53 -08:00
Francis Cao 83b03d682c fix getRevenue case-insensitivity bug 2025-12-04 12:27:44 -08:00
Francis Cao 5c9403f748 Merge branch 'analytics' of https://github.com/umami-software/umami into dev 2025-11-26 11:03:50 -08:00
Francis Cao ac6ed9d762 add case-insensitivity to currency comparison 2025-11-26 11:01:58 -08:00
Mike CaoandGitHub 5a44e6deb2 Merge pull request #3791 from travzhang/master
fix: fix SQL syntax error in getPageviewExpandedMetrics query
2025-11-25 16:05:58 -08:00
Travis ZhangandGitHub 67e1af7e55 fix: fix SQL syntax error in getPageviewExpandedMetrics query 2025-11-25 21:13:35 +08:00
Mike Cao fa8d8055df Reformatted files with biome. 2025-11-22 22:42:42 -08:00
Mike CaoandGitHub b1dc690e2f Merge branch 'dev' into patch-1 2025-11-14 11:44:20 -08:00
Francis Cao cc8254985b Increase resetWebsite timeout. fix retention bug returning decimal day_number in CH.
Closes #3698
2025-11-14 09:11:26 -08:00
Francis Cao 6751bf88bb fix chart and timezone issues, pass consistent dates to DB.
Closes #3700
2025-11-13 15:52:24 -08:00
Francis Cao 30781430c5 remove timezone from realtime. Closes #3700 2025-11-11 13:13:25 -08:00
Maxime-J 14f3db550b Use raw query with on conflict in createSession 2025-11-11 10:32:31 +01:00
Francis Cao f3e246c64b fix hasdata queries, add hasData to website events, fix sessionactivity truncation, 2025-11-09 23:58:20 -08:00
Francis Cao f30724629c Fix null and string return types from getWebsiteStats 2025-11-09 21:37:35 -08:00
Francis Cao bf548c5aca Fix revenue bigInt but and case insensitive currency 2025-11-09 21:19:38 -08:00
rkoh-rqandGitHub 3cb7fa34b0 fix: quote "event" reserved keyword in journey queries
Fixes PostgreSQL syntax error by quoting the "event" column alias. This was causing the journey query to fail.

"event" is a reserved keyword in PostgreSQL. Added double quotes to treat it as an identifier rather than a keyword.

Changes:
- Quote "event" in PostgreSQL
- Quote "event" in ClickHouse for consistency
2025-11-04 11:00:33 +08:00
Francis Cao c81b1c16c8 fix geteventdatavalues query 2025-10-29 10:10:46 -07:00
Francis Cao 2ffde37f5b v3 prisma queries update 2025-10-27 11:48:35 -07:00
Francis Cao 61b667c587 update psql expanded metrics queries 2025-10-24 10:38:35 -07:00
Francis Cao e71a34d1fa fix getChannelMetrics prisma query 2025-10-23 16:24:58 -07:00
Francis Cao 2e1a5b444a revenue, events, and session activity optimization 2025-10-21 21:12:22 -07:00
Francis Cao 533a42eb2e clean-up session api endpoints and queries 2025-10-21 19:54:50 -07:00
Francis Cao f23d5694ec clean up events/event-data endpoints 2025-10-15 16:44:14 -07:00
Francis Cao a2b1089e62 clean-up event/event-data endpoints. fix for expanded view for mobile 2025-10-15 11:32:19 -07:00
Francis Cao ba45972bd3 fix filter passthrough into event-data endpoints 2025-10-14 11:22:21 -07:00
Francis Cao 0d67f1fdaa optimize getSessionActivity hasData 2025-10-06 22:56:34 -07:00
Francis Cao cc3710880c optimize getWebsiteEvent hasData 2025-10-06 22:50:49 -07:00
Mike Cao 92ee44756c Refactored useDateRange to always use query string. Fixed all time filter. 2025-10-03 17:55:39 -07:00
Mike Cao 1def80ba42 Merge remote-tracking branch 'origin/dev' into dev 2025-10-02 16:57:23 -07:00
Mike Cao da572864ac Added more function names to queries. 2025-10-02 16:56:56 -07:00