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.

fix region constant

Francis Cao9ca5ce18120b
diff --git a/src/lib/constants.ts b/src/lib/constants.ts
index f2a42fa77..5a7c7a69c 100644
--- a/src/lib/constants.ts
+++ b/src/lib/constants.ts
@@ -33,17 +33,7 @@ export const FILTER_REFERRERS = 'filter-referrers';
export const FILTER_PAGES = 'filter-pages';
export const UNIT_TYPES = ['year', 'month', 'hour', 'day', 'minute'];
-export const EVENT_COLUMNS = [
- 'url',
- 'entry',
- 'exit',
- 'referrer',
- 'title',
- 'query',
- 'event',
- 'tag',
- 'region',
-];
+export const EVENT_COLUMNS = ['url', 'entry', 'exit', 'referrer', 'title', 'query', 'event', 'tag'];
export const SESSION_COLUMNS = [
'browser',
@@ -53,6 +43,7 @@ export const SESSION_COLUMNS = [
'language',
'country',
'city',
+ 'region',
'host',
];