Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

📈 Update participant count

Luke Vellade87b495e0ce
diff --git a/apps/web/src/features/analytics/service.ts b/apps/web/src/features/analytics/service.ts
index c6723d461..3ff70a3c5 100644
--- a/apps/web/src/features/analytics/service.ts
+++ b/apps/web/src/features/analytics/service.ts
@@ -69,6 +69,12 @@ export class AnalyticsService {
this.setPoll(event.pollId, toSnakeCaseKeys(event.properties));
break;
+ case "poll_response_submit":
+ this.setPoll(event.pollId, {
+ participant_count: event.properties.totalResponses,
+ });
+ break;
+
default:
break;
}