Blog · August 24, 2026 · 4 min read
Get an alert the moment someone signs up
Early on, every signup is an event. You want to know the day it happens, not discover it three days later while scrolling a dashboard. This walkthrough wires that up in FocusStat with three pieces: a custom event, a goal, and an alert. It is exactly how we watch FocusStat's own signups, with FocusStat tracking itself.
Step 1: fire a custom event when signup finishes
Somewhere in your app there is a moment that means "this person is now a user": a welcome screen, a first dashboard load, a confirmation landing. On that page, call the tracker:
window.analytics.track("signup_completed")
One line, no schema, no registration. The event shows up in Behavior → Events on the next page load. If your signup flow ends with an email confirmation link, fire the event on the page that link lands on, so you count confirmed humans rather than form submissions. Details and event properties are in the tracking API docs.
Step 2: turn the event into a goal
Open Settings → Goals & Alerts on the site, name the goal ("Signup"), and set the target to signup_completed. Anything not starting with a slash matches a custom event name; if you would rather match a page, use a path like /welcome instead and skip step 1 entirely.
signup_completed twice in one session is one conversion, which is what you want when the question is "how many people signed up?"From that moment the dashboard's Conversions metric, the sessions table, and funnels all understand signups. Filter by country, referrer, or device and the conversion numbers follow.
Step 3: turn the goal into an alert
In the same settings screen, add an alert: metric Conversions, condition Goes above value, threshold value 0, window 1440 minutes. Read it as: if the number of converted sessions in the last 24 hours goes above zero, tell me.
Alerts are evaluated every 10 minutes and post to the Insights page. After firing, an alert stays quiet for 6 hours before it can fire again, so a good day of signups reads as a few notifications rather than a notification per signup.
Tuning it as you grow
- Trickle stage: conversions above 0, window 1440. Any signup in a day is news.
- Steady stage: raise the threshold (above 5 in a day) so the alert means "unusually good day", and add a second alert with condition Drops more than % to catch a broken signup form.
- Something is wrong: the Stops completely condition on sessions is the smoke detector; if a deploy kills the tracker, you hear about it within the window you set.
The pattern generalizes past signups: purchases, first project created, trial started. Any moment worth knowing about is one track() call, one goal, and one alert away.