Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
feat(analytics): track dr trial clicked
Marc Seitzd228708af76c
diff --git a/components/billing/upgrade-plan-modal.tsx b/components/billing/upgrade-plan-modal.tsxindex 1d453ab9..e7ec6d4a 100644--- a/components/billing/upgrade-plan-modal.tsx+++ b/components/billing/upgrade-plan-modal.tsx@@ -257,7 +257,10 @@ export function UpgradePlanModal({<div className="flex items-center justify-center space-x-2">{plan === "Business" ? (<DataroomTrialModal>- <button className="text-center text-xs text-muted-foreground underline-offset-4 transition-all hover:text-gray-800 hover:dark:text-muted-foreground/80 hover:underline">+ <button+ className="text-center text-xs text-muted-foreground underline-offset-4 transition-all hover:text-gray-800 hover:dark:text-muted-foreground/80 hover:underline"+ onClick={() => analytics.capture("Dataroom Trial Clicked")}+ >Looking for a dataroom trial?</button></DataroomTrialModal>