Mike Cao
e73d827d21
Merge branch 'session-recording' into dev
2026-02-25 02:32:07 -08:00
Mike Cao and Claude 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 Cao and Claude 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
GochoMugo
8cc571f548
fix: handle denied storage access
2025-12-11 08:53:13 +03:00
Mike Cao
fa8d8055df
Reformatted files with biome.
2025-11-22 22:42:42 -08:00
Mike Cao
5ded9abbfe
Added data-fetch-credentials attribute. Closes #3644
2025-11-13 19:42:04 -08:00
Mike Cao
592f7c0ae7
Added check for REDIS_URL. Closes #3677 .
2025-11-10 21:08:55 -08:00
Mike Cao
3acb34d599
Merge branch 'master' into dev
2025-09-16 22:45:10 -07:00
Mike Cao
6799bd113a
Allow async beforeSend function. Closes #3584
2025-09-09 15:23:49 -07:00
Chairil Fauzi Firmansyah
c5298d5d45
fix(hash): improve URL normalization and handling in tracking functions
2025-09-04 18:00:28 +07:00
Mike Cao
5ed1d710cb
Merge branch 'master' into jajaja
...
# Conflicts:
# package.json
# pnpm-lock.yaml
# src/lib/detect.ts
2025-07-08 18:45:02 -07:00
Sov3rain
42c0ccc2eb
Add keepalive option to tracker fetch request
2025-06-23 15:17:22 +02:00
Mike Cao
94b4b66a3d
Merge branch 'dev' into jajaja
...
# Conflicts:
# package.json
# pnpm-lock.yaml
2025-05-09 21:56:07 -07:00
Mike Cao
64505bb417
Added before-send attribute to tracker.
2025-05-07 16:16:38 -07:00
Mike Cao
9101f8a478
Merge branch 'dev' into script-simplification
2025-05-05 18:59:11 -05:00
Ali Khaleqi Yekta
9b9cf32ee7
Script simplification: Final minor cleanups
2025-05-04 12:24:23 +03:30
Ali Khaleqi Yekta
5369144b64
Script simplification: Less nesting
2025-05-04 12:18:49 +03:30
Ali Khaleqi Yekta
b26fc15fa0
Script simplification: Greatly clarify element tracking logic
2025-05-04 12:17:08 +03:30
Ali Khaleqi Yekta
671dcfceb5
Script simplification: Use Element.closest + less nesting
2025-05-04 12:13:15 +03:30
Ali Khaleqi Yekta
e12e5b0d2e
Script simplification: In-place headers + re-order
2025-05-04 12:12:23 +03:30
Ali Khaleqi Yekta
1f36726f73
Minor enhancements and clarifications
2025-05-01 18:34:18 +03:30
Ali Khaleqi Yekta
130c024c3e
Simplify title: No need to observe
2025-05-01 17:33:46 +03:30
Mike Cao
be1b2fc272
Merge dev.
2025-04-28 20:09:58 -07:00
Mike Cao
e8a933f80e
Updated id logic.
2025-04-25 03:19:37 -07:00
perso182
d966668257
Added type check for id
2025-04-01 16:56:17 +02:00
perso182
37ae0374d8
Added id as a parameter to identify and include it in the payload. Removed the usage of localstorage
2025-04-01 11:24:06 +02:00
perso182
224961447c
Refactored index.js
2025-03-31 11:04:57 +02:00
perso182
109e8d6d31
Added error handling for JSON.parse
2025-03-31 10:14:31 +02:00
perso182
2c80aa0b24
Use props passed to identify to define session
2025-03-28 11:02:56 +01:00
Mike Cao
0f6cdf8b80
Updated reports components.
2025-03-26 21:54:23 -07:00
Mike Cao
cb7eef200c
Added check for do not track to tracker.
2025-03-01 17:18:46 -08:00
Mike Cao
21adbc29d4
Added hostname back to tracker.
2025-02-10 17:43:52 -08:00
Mike Cao
a2a39b7ecd
Updated tracker to send full url.
2025-02-07 23:10:27 -08:00
Mike Cao
99edacebf4
Handle target=_top links. Closes #3187
2025-02-07 12:08:42 -08:00
Mike Cao
628e1aa5eb
Merge pull request #3176 from iffa/fix/tracker-omit-credentials
...
Omit credentials in tracker fetch request
2025-01-21 13:04:32 -08:00
Santeri Elo
5ed622760c
Omit credentials in fetch request
2025-01-17 07:04:26 +02:00
Mike Cao
fbea08ae59
Removed encoding.
2025-01-10 09:10:41 -08:00
Mike Cao
c0a67dadd5
Updated send logic.
2025-01-08 17:00:59 -08:00
Mike Cao
4ddf8d0d56
Added option to exclude hash.
2024-12-25 21:01:15 -08:00
Kilian Valkhof
e7a7156b9a
explicitly use the current location.href
2024-12-04 12:00:23 +01:00
Kilian Valkhof
c85f82819e
fix #3083 improve the parseURL function to handle page-relative URLs like pushState
2024-12-04 09:08:43 +01:00
Mike Cao
4de884010a
Code cleanup.
2024-11-20 21:09:01 -08:00
Mike Cao
6ed660d8a7
Fixed referrer check. Closes #3016 .
2024-11-20 15:13:02 -08:00
Mike Cao
9758b5523a
Merge pull request #2960 from DDDDD12138/feat-support-hash-route
...
feat: Add support for hash-based routing tracking
2024-10-29 09:26:34 -07:00
wuzhiqing
3fb68e1684
feat: Add support for hash-based routing tracking
2024-10-28 02:01:46 +00:00
Mike Cao
801200c0bf
Fixed tracker.
2024-10-09 12:39:45 -07:00
yArna
be656f0b63
fix tracker localStorage DOMException in data URLs
2024-09-18 18:17:15 +08:00
yArna
d4da5aef00
fix 'none' as hostname when 'data:' URLs
2024-09-18 18:13:13 +08:00
Mike Cao
291c64f7b0
Updated initialization process.
2024-08-27 14:01:29 -07:00
eagleon
60d4d8db22
fix: Compatible with browsers that do not support ES2019
2024-07-15 11:23:21 +08:00