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.

Update Blank Referrer Text

Nicholas Fasching448a62d884fb
diff --git a/lib/filters.js b/lib/filters.js
index 9503ed674..baefcda78 100644
--- a/lib/filters.js
+++ b/lib/filters.js
@@ -56,7 +56,7 @@ export const refFilter = (data, { domain, domainOnly, raw }) => {
const cleanUrl = url => {
try {
if (url === '') {
- return 'direct/none';
+ return 'Direct / None';
}
const { hostname, origin, pathname, searchParams, protocol } = new URL(url);