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
Fix event value display.
Mike Caod4bfc84ff375
diff --git a/components/metrics/EventsTable.js b/components/metrics/EventsTable.jsindex c415a3e91..437942fbc 100644--- a/components/metrics/EventsTable.js+++ b/components/metrics/EventsTable.js@@ -17,7 +17,7 @@ export default function EventsTable({ websiteId, ...props }) {}const Label = ({ value }) => {- const [event, label] = value.split(':');+ const [event, label] = value.split('\t');return (<><Tag>{event}</Tag>diff --git a/pages/api/website/[id]/metrics.js b/pages/api/website/[id]/metrics.jsindex 2aca489f4..ef736ee03 100644--- a/pages/api/website/[id]/metrics.js+++ b/pages/api/website/[id]/metrics.js@@ -20,7 +20,7 @@ function getTable(type) {function getColumn(type) {if (type === 'event') {- return `concat(event_type, ':', event_value)`;+ return `concat(event_type, '\t', event_value)`;}return type;}