Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Misc

Edward Cui0e2a30460700
diff --git a/server/src/workers/mappings/umami.ts b/server/src/workers/mappings/umami.ts
index 23f944b8f..7412c939d 100644
--- a/server/src/workers/mappings/umami.ts
+++ b/server/src/workers/mappings/umami.ts
@@ -117,7 +117,7 @@ export class UmamiImportMapper implements ImportMapper<UmamiEvent[]> {
screen_height: parseInt(screenHeight, 10),
device_type: row.device ? row.device.charAt(0).toUpperCase() + row.device.slice(1) : "",
type: row.event_type === 1 ? "pageview" : "custom_event",
- event_name: row.event_name,
+ event_name: row.event_type === 1 ? "" : row.event_name,
props: JSON.parse("{}"),
lcp: null,
cls: null,