Remove plausible

This commit is contained in:
Andras Schmelczer 2025-11-18 22:14:02 +00:00
parent 5cd8cd8725
commit ffcdbac8e2
3 changed files with 0 additions and 19 deletions

View file

@ -871,13 +871,6 @@
"url": "https://opencollective.com/parcel"
}
},
"node_modules/@plausible-analytics/tracker": {
"version": "0.4.3",
"resolved": "https://registry.npmjs.org/@plausible-analytics/tracker/-/tracker-0.4.3.tgz",
"integrity": "sha512-RKTgH5xu7Pa77VS4OEnS4woPhDxRgWLJlt9f6JhwgBC9ilknCfJIVEN2A1D8OR7hzgxMQF/hPyls9iN9ReAm3Q==",
"dev": true,
"license": "MIT"
},
"node_modules/@sentry-internal/browser-utils": {
"version": "10.8.0",
"resolved": "https://registry.npmjs.org/@sentry-internal/browser-utils/-/browser-utils-10.8.0.tgz",
@ -4679,7 +4672,6 @@
"uuid": "^13.0.0"
},
"devDependencies": {
"@plausible-analytics/tracker": "^0.4.3",
"@sentry/browser": "^10.8.0",
"@types/node": "^24.8.1",
"ts-loader": "^9.5.2",

View file

@ -28,7 +28,6 @@
"webpack": "^5.99.9",
"webpack-cli": "^6.0.1",
"webpack-merge": "^6.0.1",
"@plausible-analytics/tracker": "^0.4.3",
"@sentry/browser": "^10.8.0",
"ws": "^8.18.3"
}

View file

@ -1,15 +1,6 @@
import * as Sentry from "@sentry/browser";
import { init as plausibleInit } from "@plausible-analytics/tracker";
export const setUpTelemetry = (): (() => void) => {
plausibleInit({
domain: "vault-link",
endpoint: "https://stats.schmelczer.dev/status",
autoCapturePageviews: true,
captureOnLocalhost: true,
logging: true
});
Sentry.init({
dsn: "https://56accd39d92442e788a457a04623cf57@bugs.schmelczer.dev/1",
skipBrowserExtensionCheck: false
@ -36,6 +27,5 @@ export const setUpTelemetry = (): (() => void) => {
window.removeEventListener("error", onError);
window.removeEventListener("unhandledrejection", onUnhandledRejection);
Sentry.close(5000);
// unloading plausible requires reloading
};
};