Commit graph

167 commits

Author SHA1 Message Date
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
Some checks failed
Node.js CI / build (push) Has been cancelled
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
Some checks are pending
Node.js CI / build (push) Waiting to run
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
Some checks are pending
Node.js CI / build (push) Waiting to run
2026-01-19 12:51:38 -08:00
Francis Cao
cd6a28ea4a improve revenue joins and event_data joins to website_event
Some checks are pending
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
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
Some checks failed
Node.js CI / build (push) Has been cancelled
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
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
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
Some checks failed
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-12-05 09:18:53 -08:00
Francis Cao
83b03d682c fix getRevenue case-insensitivity bug
Some checks failed
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
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
Some checks failed
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
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.
Some checks failed
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
Closes #3698
2025-11-14 09:11:26 -08:00
Francis Cao
6751bf88bb fix chart and timezone issues, pass consistent dates to DB.
Some checks failed
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
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
Some checks failed
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-10-24 10:38:35 -07:00
Francis Cao
e71a34d1fa fix getChannelMetrics prisma query
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
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
Some checks are pending
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
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
Some checks are pending
Create docker images / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
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
Some checks are pending
Create docker images / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
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.
Some checks are pending
Create docker images / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-09-29 16:55:07 -07:00