Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Ignore errors from telemetry.
Mike Cao6e51d6054e44
diff --git a/scripts/telemetry.js b/scripts/telemetry.jsindex 64e537f3c..100e6864d 100644--- a/scripts/telemetry.js+++ b/scripts/telemetry.js@@ -39,14 +39,18 @@ async function sendTelemetry(action) {upgrade,};- await fetch(url, {- method: 'post',- cache: 'no-cache',- headers: {- 'Content-Type': 'application/json',- },- body: JSON.stringify(payload),- });+ try {+ await fetch(url, {+ method: 'post',+ cache: 'no-cache',+ headers: {+ 'Content-Type': 'application/json',+ },+ body: JSON.stringify(payload),+ });+ } catch {+ // Ignore+ }}module.exports = {