Skip to content
tezvyn:

How do you track events and calculate funnel drop-off?

Source: posthog.comEasyHow cards are made

How do you track events and calculate funnel drop-off?

Tests event mapping and funnel math. Answer: one event per step (page view, email submit, profile done); compute relative step conversion and overall rate from top; deduplicate users. Red flag: raw pageviews instead of uniques.

What's really being asked

The interviewer wants to see if you can translate a product flow into an analytics schema and apply correct funnel math. At the senior level they care about event granularity, user identity, and the difference between relative and overall conversion. They also want to know you understand sequence windows and deduplication, because messy instrumentation destroys experiment validity.

The full answer

A strong response names three specific tracked events that match the three steps, such as signup_page_viewed, email_entered, and profile_completed. It then explains two calculations in order. First, relative conversion between each adjacent pair, which is step N divided by step N minus one, revealing exactly where friction lives. Second, overall conversion from the initial step to each later step, which is step N divided by step one, showing total funnel yield. It adds that every event must be tied to a stable user identifier so anonymous page loads do not create duplicates. It also mentions setting a conversion window, for example seven days, so a user who returns next week does not break the sequence or inflate earlier steps.

The mistakes people make

A red flag is suggesting a single success event and deriving drop-off from page differences, because you cannot see where users quit. Another mistake is using raw event counts rather than unique users, which overstates volume when someone refreshes the page. Proposing optional steps inside the funnel is also risky because it filters out users who skip them and skews the true drop-off rate. Finally, ignoring the time window between steps makes the funnel meaningless if a user can complete step three months after step one.

What usually comes next

The interviewer may ask how you would handle users who enter the flow multiple times, which leads to first-touch versus last-touch attribution. They might ask how to combine events inline using a logical OR for steps that can be triggered by different UI elements. They could also ask what you would do if the email step fires on keystroke rather than blur, which creates duplicate events and requires filtering for the first occurrence.

A concrete example

Imagine one thousand unique users view the signup page, six hundred enter an email, and three hundred complete the profile. Relative conversion from page to email is six hundred divided by one thousand, which is sixty percent. Relative conversion from email to profile is three hundred divided by six hundred, which is fifty percent. Overall conversion from page to profile is three hundred divided by one thousand, which is thirty percent. Drop-off is therefore forty percent at the email step and fifty percent at the profile step, or seventy percent overall from top to bottom.

Interview question

In a three-step funnel, how do you correctly calculate relative conversion between step two and step three?

  • a.Divide unique users at step three by unique users at step one
  • b.Derive the drop-off from the difference in pageviews between step two and step three
  • c.Divide unique users at step three by unique users at step twoCorrect
  • d.Divide raw event counts at step three by raw event counts at step two
Why?

Relative conversion between adjacent steps requires dividing unique users at step N by unique users at the previous step. Option A measures overall conversion from the top, option D inflates numbers with refreshes, and option B relies on page differences that hide exactly where users quit.

Just read this? Test yourself on what you have been reading.

Read the original → posthog.com

You just looked this up. Could you explain it out loud?

That is the part interviews actually test. Tezvyn takes questions like this one and gives you what the interviewer is really checking, the answer that lands, and the mistake that ends the conversation, in the four minutes before your next meeting.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Open roles that interview on growth — each one lists the topics its interview covers.

See open roles