Skip to content

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

📈 Track guest poll creation

Luke Vella34d1735f7abc
diff --git a/apps/web/src/features/poll/analytics.ts b/apps/web/src/features/poll/analytics.ts
index 14b3d6a93..8e9ab13ba 100644
--- a/apps/web/src/features/poll/analytics.ts
+++ b/apps/web/src/features/poll/analytics.ts
@@ -11,6 +11,7 @@ export interface PollGroupProperties {
name: string; // PostHog group name (same as title)
title: string;
status: PollStatus;
+ is_guest: boolean;
created_at: string;
participant_count: number;
hide_participants: boolean;
@@ -57,6 +58,7 @@ export interface PollCreateEvent extends BaseEventData {
hideScores: boolean;
hideParticipants: boolean;
requireParticipantEmail: boolean;
+ isGuest: boolean;
};
}
diff --git a/apps/web/src/trpc/routers/polls.ts b/apps/web/src/trpc/routers/polls.ts
index 97706d98e..fbd152e30 100644
--- a/apps/web/src/trpc/routers/polls.ts
+++ b/apps/web/src/trpc/routers/polls.ts
@@ -312,6 +312,7 @@ export const polls = router({
hideParticipants: poll.hideParticipants,
hideScores: poll.hideScores,
requireParticipantEmail: poll.requireParticipantEmail,
+ isGuest: ctx.user.isGuest,
},
});