From 0ed516afc81690d269af2d8868c586ccef7b810d Mon Sep 17 00:00:00 2001 From: m5r Date: Mon, 30 Aug 2021 05:00:34 +0800 Subject: [PATCH] track join waitlist --- app/public-area/components/cta-form.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/public-area/components/cta-form.tsx b/app/public-area/components/cta-form.tsx index e8b86af..4bb8a44 100644 --- a/app/public-area/components/cta-form.tsx +++ b/app/public-area/components/cta-form.tsx @@ -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 }); });