Before using event data in a health score, check event meaning, duplicates, properties, filters, missing data, and whether pulls can run reliably.
Key takeaways
- Map each event to a claim you can defend.
- Match event counts to real actions and exclude internal traffic.
- Check properties, units and report filters.
- Separate missing tracking from inactivity.
- Compare repeated pulls of the same window.
That number is only as good as the events underneath it. An event that fires twice, carries no plan name, or quietly skips a group of accounts will rank your customers wrongly, and you usually find out when a renewal has already gone sideways.
In this post, "event data" means the records your product sends each time an account or user does something: logs in, creates a project, invites a teammate, exports a report, or opens a billing page. A health score built on those records is a summary, and every summary hides choices. The six checks below are where those choices get made on purpose instead of by accident.
This post is a decision path. Run the six checks in order. Each one ends with a branch. If the answer is yes, go on to the next check. If the answer is no, do the fix named in that section before you continue. Most of this needs no special tooling. A spreadsheet, a raw export of events for a few accounts you know well, and your product analytics tool's event list will cover nearly all of it.
Check 1: does the event answer the question the score asks?
Start from the question, not the event. "Is this account using the product?" and "Has this account finished setup?" sound similar, but they need different events. When the event is loose, the score is vague, and a vague score gets argued over instead of acted on.
Here is a common failure. A team wants to score adoption and picks a "Dashboard Viewed" event because it is the easiest one to find. It fires whenever anyone loads the home page, including support staff who log in to troubleshoot a ticket. The score now rewards accounts whose staff look at the product, not accounts whose team uses it to get work done. The fix is not more data. It is a better event, such as a report exported or a record edited, that only happens when someone gets value from the product.
Analytics tools often ask you to say which events form a sequence. Mixpanel's flow reports are one example. Its documentation describes a case where the team wants to know how users moved from a landing page to signing up, so it adds "Landing Page" and "Sign Up" as steps in order ( Mixpanel Flows). Use the same discipline for your score. Write each event next to the sentence it is supposed to prove. "Created a project" supports a claim about setup. "Opened the dashboard" supports a weaker claim, that someone logged in during the period.
Make this a plain list, one line for each score input: the event name, the sentence it proves, and whether you would be comfortable explaining that sentence to the account owner. If you would not, the event probably is not ready to carry weight in the score.
- If yes, every event maps to a claim you can defend. Go to Check 2.
- If no, either replace the event with one that proves the claim, or label the input as a proxy in the score documentation and say what the proxy misses. Do not give a proxy the same weight as a direct measure.
For the weighting decision, see health score weights and validity.
Check 2: does each event fire once for each real action, under one name?
Duplicates inflate scores, and gaps deflate them. To find out which problem you have, pick a handful of accounts you know well. Choose a few heavy users, a few light users, and at least one account you know had a bad month. Export their events for the same window you plan to score, sort by time, and read them in order.
Ask whether each event corresponds to something a person actually did. The same event at the same second, twice, is almost always a duplicate, often caused by a button handler that binds twice or a page reload that replays a request. A "Project Created" event with no earlier "Logged In" event might be a legitimate API action, or it might be a missing event from a login path that never reports. You need to know which before you score. If your counts run high, the cause is usually duplication. If they run low, the cause is usually a missing trigger, such as an event that only fires on one path through the app.
Naming causes its own trouble. A feature shipped in one release may send an event called
project_created, and a later release may send
createProject. The score will treat them as two different actions unless you map them together. Choose one canonical name for each action and keep a small mapping table that records which raw names roll up to it. Keep that table with the score documentation so the next person can see it.
Also check whether internal, test, and demo accounts send events into the same stream. A demo account that someone clicks through every week can make a quiet customer look busy. Filter those accounts out before the score sees them, and record the filter.
- If yes, names are stable, the counts match what happened, and internal traffic is excluded. Go to Check 3.
- If no, fix the instrumentation, or add the mapping and the exclusion, then run the hand count again on the same accounts. Do not start scoring until the counts match. A count that is close but not exact still tells you the pipeline is wrong somewhere, and a close count is the one most likely to hide the problem.
Check 3: Do the properties carry the context you will segment or weight by?
An event says that something happened. Its properties say what it was about. Twilio's Segment spec describes properties this way: "Properties are extra pieces of information you can tie to events you track" ( Twilio Segment Track spec). Pendo gives a concrete case. If you set up a track event for a visitor who registers for a new plan, you can use event properties to tell you the name of the plan they picked ( Pendo Track Events). Without that property, the event tells you a signup happened, but not what the customer bought.
For a health score, the properties that usually matter are plan or tier, seat count, team or workspace, and any value field such as revenue or contract size. Check two things about each one. It should be present on the events you need. And it should be consistent in type and unit across releases.
The unit question is where teams get caught. Twilio's spec says a revenue value "should be a decimal value, so a shirt worth $19.99 would result in a revenue of 19.99" ( Twilio Segment Track spec). If one release sends a price in cents as a string and a later release sends dollars as a number, your totals will be wrong, and nothing will throw an error. The sums will simply look plausible, which is the hardest kind of wrong to catch.
Properties also drift over time. An event sent by an older version of your SDK may not carry the plan field at all, while newer releases do. If you join old and new events into one table without checking, the plan column will be filled for some accounts and empty for others. The segment will then look like a real difference in behavior when it is really a difference in what got sent.
- If yes, the properties you need are present, with consistent types and units. Go to Check 4.
- If no, look for the value in a system of record. Billing or the CRM, keyed by account ID, is often a better source for plan and revenue than the product event stream. If you join from another system, write the join into the score documentation, including which field you matched on. If the value cannot be found anywhere reliable, drop any segment or weight that depends on it. A missing segment is a visible gap. A guessed plan name is a hidden error.
Check 4: does the tool show the events you expect, under the filters you think it has?
Before you trust a count, look at what the tool actually received. Pendo's Track Events page "lists all Track Events that Pendo has received and provides data based on the filters set at the top of the page" ( Pendo Track Events). Two things follow from that. The list shows you what arrived, which is the fastest way to spot an event that never shows up. And the filters decide what the numbers mean. A date range left on last week, or a segment filter carried over from an old report, gives a clean-looking number for the wrong group. Check the filters yourself before trusting the figure.
Open the event list and confirm three things. Every event in your score appears in it. Each one shows recent activity, not a last-seen date from months back. And the filters on the page match the population the score covers. If you export data for the score, compare the export's row count with the count the tool shows for the same filters. They should agree, or you should know exactly why they do not.
Look at volume over time, too. A flat line for an event that should move with usage is a warning sign. So is a sudden step change on the day a release shipped. Neither one proves a bug, but either one is a reason to run Check 2 again before you trust the trend.
Finally, pick one account and follow it through the whole path. Find it in the raw export, find it in the tool, and confirm the same events appear with the same properties. A single account that disagrees will point you to the bad join or the bad filter faster than any summary chart.
- If yes, the event list matches your event map and the filters match your population. Go to Check 5.
- If an event is missing from the list, it is not being sent, or it is being sent under another name. Go back to Check 2. If the counts disagree, rebuild the query with the population you want and run the comparison again before going further.
Check 5: what does "no event" mean for the score?
This check gets skipped more than any other. An account with zero events in a window is one case. An account you have no tracking for at all is a different case. In a spreadsheet, both can show up as a blank or a zero, so they look the same. In the score they should not be treated the same, because they mean different things. A zero in a tracked, paying account is often a real signal that the customer is not using the product. A zero in an account whose tracking started last week is a data gap, and scoring it as a zero punishes a new customer for something outside its control.
The average is where this goes wrong most often. If you average activity across every account on your list, including accounts that were never instrumented or never became eligible, the average moves. The ranking built on that average moves with it. Accounts near the boundary between two bands can change bands for reasons that have nothing to do with their behavior.
Consider three accounts over the same window. Account A is paying, has tracking live, and logged no activity. Account B signed up partway through the window, so its tracking began partway through as well. Account C is an internal test account that never had production tracking enabled. Under a plain average that treats every account as zero when silent, all three pull the group figure down in the same way. Under a written rule, only A counts as zero. B is left out until it has a full window of data, and C is excluded before the score ever sees it. The score for A now reflects a real signal, and the group average reflects only accounts that could have shown activity.
Work out the answer for each input separately, because the right answer can differ. Activity inputs may need one treatment, and a value input such as revenue may need another. Decide which accounts belong in each denominator, and write that down next to the input.
- If yes, you have a written rule for zero and missing data, and each input's denominator matches it. Go to Check 6.
- If no, write the rule before the score runs. Review it with the people who will act on the score, because they will have to explain it to a customer.
Check 6: can you pull the data at the volume you need, and rerun it cleanly?
Pulls fail in quiet ways. Many APIs cap how many requests you can make in a period. Read your vendor's rate-limit documentation before you write the export job, and check whether the responses include headers that tell you how many requests remain. A job that hits the cap partway through a run can leave you with a partial dataset. A partial dataset that looks complete is the worst case for a health score, because nothing in the output signals that some of the accounts are missing.
Plan for reruns too. A nightly job that fails halfway and gets restarted should not double-count the events it already wrote. Pull by a fixed time window and use stable event identifiers where the source provides them, so the same window pulled twice produces the same rows. For every run, log the time window, the number of rows returned, and whether the run finished. Those three facts take a minute to record and can save an afternoon the next time a score moves for no visible reason.
Timestamps need one more look. Event data is often stored in UTC, while your team reviews accounts in local time. A window cut at local midnight can split one day's activity across two runs, or drop events near the boundary. Choose one time zone for the window, write it down, and use it for every pull. That way a customer's Monday does not show up on Tuesday in one report and on Monday in the next.
Test the rerun on purpose. Pull a fixed window twice, compare the results, and confirm they match. If they do not, the score depends on something unstable, and you should find it before a customer does.
- If yes, pulls stay within the limits and a rerun of a fixed window gives the same numbers. The inputs are ready, so build the score.
- If no, batch the pull, space out the requests, or narrow the window and store the raw data in your own system so you can rebuild the score from it. If you must score from an incomplete pull, mark the run as partial in the output. Do not place a partial run beside complete runs as if they were comparable.
Wrap-up
None of these checks is hard on its own. The value is in running them in order and writing down what you decided at each branch. When someone asks why a customer dropped from green to yellow, you want to be able to say which event moved, what that event measures, whether its names and filters were right, and how silence was counted.
Today, choose one account you know well and trace its events from the raw export to the score, recording any mismatch.
What should you check first?
Which event belongs in a health score?
Use an event that supports the specific claim the score makes. Start with the question about adoption or setup, then choose the action that answers it.
Should missing tracking count as zero activity?
Missing tracking should be treated separately from confirmed inactivity. Document which accounts are eligible for each input before calculating the score.
When should you repeat these checks?
Repeat the checks whenever engineering changes tracking code, renames an event, or adds a new input to the score.
Related guides
Sources
Limits of this post
This post is general operational information, not legal advice about notice periods or renewal clauses. It does not promise that any method keeps a customer. Software can get a fact wrong, so open the sources before you act.