Skip to content

armgit / umami

Public Imported from GitHub
0

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.

Set tracker’s fetch call priority to low

Antti Hiljae85ef4a9c53a
diff --git a/src/tracker/index.js b/src/tracker/index.js
index b05d90859..319ed8d97 100644
--- a/src/tracker/index.js
+++ b/src/tracker/index.js
@@ -166,6 +166,7 @@
...(typeof cache !== 'undefined' && { 'x-umami-cache': cache }),
},
credentials: 'omit',
+ priority: 'low',
});
const data = await res.json();