mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-02 18:51:52 +02:00
📈 Update analytics
This commit is contained in:
parent
d43bc631f1
commit
6171f46a8b
1 changed files with 3 additions and 1 deletions
|
@ -864,9 +864,11 @@ export const polls = router({
|
|||
distinctId: ctx.user.id,
|
||||
event: "finalize poll",
|
||||
properties: {
|
||||
poll_id: poll.id,
|
||||
poll_time_zone: poll.timeZone,
|
||||
number_of_participants: poll.participants.length,
|
||||
number_of_attendees: attendees.length,
|
||||
dayjs_since_created: dayjs().diff(poll.createdAt, "day"),
|
||||
days_since_created: dayjs().diff(poll.createdAt, "day"),
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue