mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-13 17:06:48 +02:00
📈 Include pollId when capturing events (#555)
This commit is contained in:
parent
e77ed269f5
commit
d14a88e9eb
3 changed files with 73 additions and 63 deletions
|
@ -93,6 +93,7 @@ const Page: React.FunctionComponent<CreatePollPageProps> = ({
|
|||
onSuccess: (res) => {
|
||||
setIsRedirecting(true);
|
||||
posthog.capture("created poll", {
|
||||
pollId: res.id,
|
||||
numberOfOptions: formData.options?.options?.length,
|
||||
optionsView: formData?.options?.view,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue