🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Enhance event type tracking in UsageService
Bill Yang5861fc081089
diff --git a/server/src/services/usageService.ts b/server/src/services/usageService.tsindex e8d2e194c..251c49b12 100644--- a/server/src/services/usageService.ts+++ b/server/src/services/usageService.ts@@ -151,7 +151,7 @@ class UsageService {site_id,COUNT(*) as countFROM events- WHERE type IN ('pageview', 'custom_event', 'performance')+ WHERE type IN ('pageview', 'custom_event', 'performance', 'outbound', 'button_click', 'copy', 'form_submit', 'input_change')AND timestamp >= toDate({periodStart:String})GROUP BY site_id`,