fix(core): event flow handle (#14256)

This commit is contained in:
DarkSky
2026-01-15 00:04:32 +08:00
committed by GitHub
parent 7c24b2521a
commit 13907f7234
18 changed files with 389 additions and 30 deletions
@@ -1,7 +1,7 @@
import { mixpanel, sentry } from '@affine/track';
import { ga4, sentry, tracker } from '@affine/track';
import { APP_SETTINGS_STORAGE_KEY } from '@toeverything/infra/atom';
mixpanel.init();
tracker.init();
sentry.init();
if (typeof localStorage !== 'undefined') {
@@ -18,5 +18,6 @@ if (typeof localStorage !== 'undefined') {
// see: https://docs.mixpanel.com/docs/privacy/protecting-user-data
// mixpanel.opt_out_tracking();
sentry.disable();
ga4.setEnabled(false);
}
}