Commit Graph
183 Commits
Author SHA1 Message Date
Francis Cao 4ecef2e290 add better metrics to revenue page AOV/ARPU 2026-03-03 16:00:39 -08:00
Francis Cao 5e68661c5d session replay updates. add clickhouse implementation, filters, tables 2026-03-03 12:47:27 -08:00
Francis Cao ddddd5e6bc add event-data GET route 2026-03-02 13:21:14 -08:00
Mike Cao e73d827d21 Merge branch 'session-recording' into dev 2026-02-25 02:32:07 -08:00
Mike Cao e2ab4af493 Merge branch 'performance' into dev 2026-02-25 02:27:46 -08:00
Francis Cao 99b5d9dde8 remove currency from params and references. optimize CH queries with subquery 2026-02-21 23:23:56 -08:00
Francis Cao 5144aff9cd revenue report enhancements. 2026-02-21 10:57:52 -08:00
Francis Cao 530c21dac0 add limit 50 to event chart, metrics table, and UTM report 2026-02-17 21:55:35 -08:00
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
Mike CaoandClaude Opus 4.6 0a3cf7a9ff Rename session recording to session replay across the codebase.
Renames all files, components, database schema, API routes, hooks,
messages, and build config from "recording" to "replay" terminology.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 00:38:47 -08:00
Mike CaoandClaude Opus 4.6 72b5c658e2 Add rrweb-based session recording feature.
Implements full session recording with rrweb for DOM capture and rrweb-player
for playback. Includes: Prisma schema for SessionRecording model, chunked
gzip-compressed storage, recorder script built via Rollup, collection API
endpoint, recordings list/playback UI pages, website recording settings,
and cascade delete support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 15:49:59 -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 Cao 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 Cao 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 Cao 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 Zhang 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 Cao 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-rq 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