Commit Graph

79 Commits

Author SHA1 Message Date
Brian Cao
b484286523
Feat/um 305 unique session ch (#2065)
* Add session_data / session redis to CH.

* Add mysql migration.
2023-05-31 21:46:49 -07:00
C-A de Salaberry
d00d4f7343
chore(tracker): 🏷️ add types for tracker 2023-05-03 19:52:59 +02:00
Mike Cao
938047ce45 Revert tracker logic. Bump search depth. 2023-04-25 21:03:26 -07:00
Mike Cao
ae85bf696b Allow tracker to traverse all levels to find anchor. 2023-04-25 19:12:17 -07:00
Truimo
4876684461 fix: added check if there is no parent element 2023-04-26 00:10:33 +08:00
Mike Cao
c23373d164 Check page title exists first. 2023-04-24 18:07:27 -07:00
Mike Cao
47f63d80c4 Fix tracker. 2023-04-21 21:28:02 -07:00
Mike Cao
00d0421623 Make title optional. 2023-04-21 17:59:03 -07:00
Mike Cao
71fcad26a5 Updated .track method functionality. 2023-04-21 15:55:52 -07:00
Mike Cao
eaaf3a0a5c Merge branch 'master' into dev 2023-04-21 15:16:26 -07:00
榆木
5d8fb2f791
Update index.js
Do not send the x-umami-cache request header when the cache is not defined (the first request sent to the umami server when the visitor opens the page)
2023-04-21 12:04:30 +08:00
Mike Cao
1baf4d5571 Code style fix. 2023-04-20 15:19:09 -07:00
Leon Schmidt
a84d2181e7
Adjusted tracking script to find parent a-tag for click tracking 2023-04-20 17:14:41 +02:00
Mike Cao
84894a5b80 Updated tracker to handle links. 2023-04-04 00:34:07 -07:00
Francis Cao
58197116dd remove getPath from initial referrer 2023-04-03 19:34:41 -07:00
Mike Cao
e2b95f2235 Merge remote-tracking branch 'origin/dev' into dev 2023-03-31 05:56:01 -07:00
Mike Cao
9dd35b3766 Fixed metrics display. 2023-03-31 05:55:28 -07:00
Francis Cao
b7c3b58072 fix to page title collect 2023-03-30 23:13:03 -07:00
Mike Cao
cdacb640c6 Updated tracker and collect. 2023-03-26 04:15:08 -07:00
Brian Cao
9979672de5
Feat/um 202 event data new (#1841)
* Add event_data base.

* Add url_path.

* Add eventData back.

* Finish event_data relational.

* resolve comments.
2023-03-23 14:01:15 -07:00
Mike Cao
54051d7204 Updated tracker script name and endpoint. 2023-03-15 16:27:05 -07:00
Mike Cao
696d9c978c Updated date range handling. Fixed share page. 2023-03-08 16:37:43 -08:00
Francis Cao
65691f5912 fix referrer domain on tracker load 2023-03-03 10:38:14 -08:00
Brian Cao
82f0bc3d2b
remove event_data. (#1804) 2023-03-01 16:42:47 -08:00
Francis Cao
6c302a7325 collect pagetitle, update subdivision2 data type 2023-02-28 17:40:18 -08:00
Brian Cao
ef9d915592 Fix event var names. 2022-12-26 23:21:54 -08:00
Brian Cao
17041efaae use uuid 2022-10-31 23:42:37 -07:00
Mike Cao
99c8752aa5 Add guard around location redirect. 2022-10-24 15:25:07 -07:00
Brian Cao
78338205a3
Feat/um 62 prisma property names (#1562)
* checkpoint

* fix pg schema

* fix mysql schema

* change property names
2022-10-10 13:42:18 -07:00
Mike Cao
1a6af8fc41 Update tracker to use no dependencies. 2022-08-28 15:55:18 -07:00
Mike Cao
bc75b622b5 Updated test console. Refactored fetch for tracker. 2022-08-09 10:27:35 -07:00
Brian Cao
8f934c7e6c checkpoint 2022-07-29 22:30:09 -07:00
Maxime-J
24ddf41331 tracker: collect in one place with fetch 2022-07-06 14:06:28 +00:00
rohandebsarkar
a33293066e
Update tracker/index.js: SendBeacon() to Fetch API 2022-05-22 23:18:26 +05:30
Mike Cao
7cf0927741 Enabling caching in tracker script. 2022-03-18 22:26:23 -07:00
Mike Cao
281671b792 Fixed XML error in Firefox. Renamed telemetry env var. 2022-03-18 19:02:23 -07:00
Mike Cao
cdd7273194 Added css-events tracker parameter. Closes #1018. 2022-03-10 23:04:05 -08:00
Mike Cao
17790aa5a8 Fix issue with sendBeacon request. 2022-03-10 19:01:33 -08:00
Mike Cao
de50109b3e Use beacon api for links. Closes #446. 2022-03-04 20:36:13 -08:00
Mike Cao
940a752c38 Updated prisma and next. 2022-02-15 20:58:17 -08:00
Mike Cao
6a8de2aeec Added option to remove trailing slash from urls. 2022-01-25 21:23:40 -08:00
Mike Cao
698d4d2687 Update className check in tracker. 2022-01-21 14:49:18 -08:00
Mike Cao
2f18aa29eb Lint fix. 2022-01-14 19:10:46 -08:00
Mike Cao
f4d365bf78 Fix tracker for IE 11. 2022-01-14 00:17:06 -08:00
JeDaYoshi
cbf64e561a
QoL changes on tracker
- Remove redundant checks and returns
- Add an additional check for local storage (some browsers still lack it)
- Using some better practices
- Use MutationObserver for events
- Add initial events on DOM full render, send first trackView on complete readyState
2021-11-08 15:01:35 -04:00
Mike Cao
b1d8a58e22 Update tracker script. 2021-02-01 22:49:00 -08:00
天空Blond
7d3bc66a50
fix pjax, tested on my website
Signed-off-by: 天空Blond <hurui200320@skyblond.info>
2021-02-01 11:50:39 +08:00
Mike Cao
598a95af94 Fix tracker for IE 11. 2020-12-04 22:41:30 -08:00
Mike Cao
7e29aee798 Updated packages. Expose event methods in tracker. 2020-12-02 19:27:57 -08:00
Mike Cao
e0c2354169 Added check to disable tracking. 2020-11-01 22:01:30 -08:00