Skip to main content

Financial calculator analytics

PostHog events for the public /financial-calculators pages, and how to read the calculator funnel from them: visit, use, signup, connected account, paid. Event names live in lib/financial-calculators/analytics.ts (CALCULATOR_EVENTS). Treat them as append-only. Renaming one silently breaks every saved insight that uses it.

Why this exists

Before CFO-9803 the calculators had no events of their own. A deep dive (Aug 7 to Oct 16, 2026) had to rebuild the funnel from pageview order and autocapture, and could not tell which of the two “Try for free” buttons a signup used, whether a visitor ran the calculator, or which calculator a paying customer came from.

Events

Every calculator event carries slug (directory on the directory page). Events are sent through useCalculatorAnalytics, which applies the same analytics gate as the rest of the site, so nothing is sent from localhost. calculator_calculated and calculator_cta_clicked are also sent by the Ask Silvia chat (CFO-9796), with chat_variant added. Filter on source or chat_variant to separate them. inputs holds the numbers and option values the visitor entered. Calculators ask for no names or contact details, so nothing in it identifies a person.

Person properties

calculator_viewed stamps these on the person. PostHog merges the anonymous visitor into the signed-up user, so the properties follow them through signup, account connection and payment.

Signup page

The signup buttons link to /sign-up?calculator=<slug>&calculator_placement=<result|footer>. signup_page_viewed then carries calculator_slug and calculator_placement, so a calculator button arrival is distinct from one through the top nav. Anyone can edit that URL, so only a slug-shaped calculator and a calculator_placement of result or footer are reported. Anything else is dropped.

Reading the funnel

The full funnel, as a PostHog funnel insight:
  1. calculator_viewed
  2. calculator_calculated (filter source = form to exclude chat)
  3. calculator_cta_clicked
  4. signup_page_viewed
  5. user_signed_up
  6. plaid_account_connected or snaptrade_account_connected or manual_account_created
  7. subscription_started
Break down by slug on step 1 to compare calculators. Signup, connection and payment by first calculator (person property), in HogQL:
This counts the downstream events in the window regardless of order. For “after the first calculator view”, compare timestamps against first_calculator_viewed_at.