Commit Graph
160 Commits
Author SHA1 Message Date
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
Francis Cao 1809959b99 fix event type queries for pixels/links. remove hardcoded event types 2025-10-01 12:29:31 -07:00
Mike Cao 581ddc0233 Merge remote-tracking branch 'origin/dev' into dev 2025-09-30 16:18:48 -07:00
Mike Cao 8a977b0164 Updated pixel/link endpoints. Added name to rawQuery. 2025-09-30 16:11:21 -07:00
Francis Cao 89d3cd4f5a add timezone to revenue chartData. Fix min/max date for 7day value 2025-09-30 13:11:11 -07:00
Francis Cao bf99068bd7 Remove tables result set from getRevenue. Fix min/max date for revenuechart 2025-09-30 12:03:15 -07:00
Mike Cao b9fbbc6453 Split queries into prisma and sql. 2025-09-29 16:55:07 -07:00
Francis Cao 9d49eaebac fix cohort query for retention report, add filters to weekly traffic route 2025-09-24 10:06:34 -07:00
Mike Cao 04c06443a8 Merge branch 'master' into dev
# Conflicts:
#	.github/workflows/ci.yml
#	src/lang/es-ES.json
#	src/lang/sl-SI.json
#	src/lib/constants.ts
#	src/lib/detect.ts
#	src/queries/sql/reports/getRevenue.ts
2025-09-16 21:11:12 -07:00
Mike Cao 433ce98719 Allow getting team websites. 2025-09-12 08:21:29 -07:00
Mike Cao e610de383a Fix for schema selection in pg adapter. 2025-09-11 12:37:24 -07:00
Francis Cao f3125c2add clean up funnel migration and report errors 2025-09-10 16:38:51 -07:00
Mike Cao 56af91950a Updated components build. 2025-09-01 15:59:06 -07:00
Mike Cao bab4f8ebcc Cohort selection. 2025-08-28 23:29:42 -07:00