track join waitlist

This commit is contained in:
m5r 2021-08-30 05:00:34 +08:00
parent 9079ed73ac
commit 0ed516afc8

View File

@ -1,5 +1,6 @@
import { useMutation } from "blitz";
import { useForm } from "react-hook-form";
import * as Panelbear from "@panelbear/panelbear-js";
import joinWaitlist from "../mutations/join-waitlist";
@ -19,6 +20,7 @@ export default function CTAForm() {
return;
}
Panelbear.track("join-waitlist");
return joinWaitlistMutation({ email });
});