Commit Graph

61 Commits

Author SHA1 Message Date
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
Mike Cao
e0a7fd9ec4 Fix tracker regex for events. 2020-10-13 18:40:15 -07:00
Mike Cao
56ccdf8c8e Allow tracker script to load even if tracking is disabled. 2020-10-13 18:32:24 -07:00
Mike Cao
195eb06a02 Add domain filter to tracker. 2020-10-04 22:27:59 -07:00
Mike Cao
3d1dc08491 Implement session caching. 2020-10-02 20:33:46 -07:00
Mike Cao
9eca86a4fc Renamed methods in tracker. 2020-09-18 15:26:45 -07:00
Mike Cao
b19889638a Removed polyfills from tracker. Switched to XMLHttpRequest. 2020-09-18 14:16:57 -07:00
Mike Cao
023adafa39 Refactor tracker. 2020-09-18 13:40:46 -07:00
Bartosz Hernas
09235ddacf Reverted tracker to old behaviour while still keeping more advanced use case 2020-09-18 11:33:17 +02:00
Bartosz Hernas
5318accc6f Fixed comments 2020-09-16 12:07:22 +02:00
Bartosz Hernas
241905c5fe Fix uuid passing 2020-09-15 14:10:01 +02:00
Bartosz Hernas
7a71bb1c68 Better snippet 2020-09-15 13:54:35 +02:00
Bartosz Hernas
d5e4914153 Comments fixed 2020-09-15 12:03:34 +02:00
Bartosz Hernas
d6d1c68e6d Fix tracker 2020-09-15 00:12:09 +02:00
Bartosz Hernas
d19bcbabe0 Different method + fixed lint for tracker + added frame mode for shared URLs 2020-09-15 00:09:09 +02:00
Bartosz Hernas
2ea91aaabf Ability to unregister umami 2020-09-14 18:13:59 +02:00
Mike Cao
4ae7ad35ff Update url checking logic. 2020-09-10 21:12:04 -07:00
Mike Cao
0aa6cc939a Allow custom events. 2020-09-03 08:53:39 -07:00
João Pedro Netto
5db40efba6
Fixes tracker code bug on handling pushState
- Enforcing .toString() on navigatedURL, because without it it returns an object and break history state changes;
- Typo `navaigatedUrl` to `navigatedURL`;
2020-09-02 14:38:01 -03:00