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
Reorder UTM params.
Mike Cao57e64893cf0d
diff --git a/src/app/(main)/reports/utm/UTMView.tsx b/src/app/(main)/reports/utm/UTMView.tsxindex 11a64edbf..16b275888 100644--- a/src/app/(main)/reports/utm/UTMView.tsx+++ b/src/app/(main)/reports/utm/UTMView.tsx@@ -2,6 +2,7 @@ import { useContext } from 'react';import { firstBy } from 'thenby';import { ReportContext } from '../[reportId]/Report';import styles from './UTMView.module.css';+import { UTM_PARAMS } from 'lib/constants';function toArray(data: { [key: string]: number }) {return Object.keys(data)@@ -21,7 +22,7 @@ export default function UTMView() {return (<div>- {Object.keys(data).map(key => {+ {UTM_PARAMS.map(key => {return (<div key={key}><div className={styles.title}>{key}</div>