How to refine a bounce rate metric by number of times a specific event was performed, ie Viewed Page once during a session, as opposed to setting the Session Event count in the Session start event as per MixPanel's default Bounce rate template?
Hi Shane, Please stand by as I search the Mixpanel knowledge base for an AI-powered answer. I normally take about 15 seconds or so. In case AI cannot answer your question, feel free to reach out to Mixpanel support at mixpanel.com/get-support. If you have follow-up questions for this thread, please tag me again with your question: @kapa.ai <follow-up question> 👋
Feel free to ask a follow-up question once I've answered by mentioning me with @kapa.ai
You can build a “refined” Bounce Rate in Insights that counts sessions where a specific event (e.g., Viewed Page) happened exactly once in the session, instead of relying on total Session Event Count on Session Start.Here’s a practical approach in Insights: 1) Count total sessions - Query: Session Start - Measurement: Sessions (this counts total sessions). [Session controls; Total Sessions]2) Count sessions with exactly one “Viewed Page” - Query: Viewed Page - Measurement: Sessions (this counts sessions that contain at least one Viewed Page). - Then constrain to “exactly once” by holding a property constant approach won’t help; instead, switch to using Session Event Count but scoped to the specific event: - In Insights, add another metric for the same Viewed Page event with Measurement “Frequency per User” won’t be by session, so it’s not appropriate here. The knowledge sources don’t document a built-in “count event occurrences per session” function. - Given the docs available, the closest supported option is to approximate via Flows/Funnels with Sessions counting, but that still won’t filter to “exactly once” occurrences of a specific event in a session directly in Insights.What is supported: - Sessions as a measurement on any event (e.g., “sessions that contained Viewed Page”). [Session controls; Measurements] - Session Event Count (reserved property) but it counts all non-excluded events in the session, not occurrences of a single event. [Reserved props; Session properties]Given these constraints, the knowledge sources do not explicitly document a way in Insights to filter sessions to “exactly one occurrence of a specific event within the session.” I’m sorry, but there’s no information about a built-in per-session occurrence filter for a single event.Workarounds with documented features: - Funnels with Sessions counting: - Build a two-step funnel within a session: Step A = Viewed Page; Step B = Viewed Page. - Counting Method: Sessions. Conversion Window: Session. - Then look at sessions that did Step A but did not reach Step B within the same session (these would be sessions with exactly one Viewed Page). - Your refined bounce rate ≈ (Sessions with Step A and without Step B) / (Sessions with Step A).
This uses the “Sessions” counting method and session-limited conversion window supported in Funnels. [Funnels methods; Session controls]- Flows with Sessions counting: - Set Counting Method: Sessions. - Start at Session Start, then examine whether Viewed Page appears exactly once by checking if the top path includes one Viewed Page followed by Session End, and exclude paths with multiple Viewed Page steps. This is exploratory rather than a single-number metric, but helps validate your funnel logic. [Flows conversion criteria]If you specifically want a single metric in Insights: - You can compute “sessions with Viewed Page” using Sessions measurement on Viewed Page. - But filtering to “exactly once” for that event in the session is not documented as supported in Insights formulas/measurements. [Measurements; Advanced formulas]Summary: - The default template’s bounce via Session Event Count measures “only one event of any kind.” [Use cases; Session properties] - To refine by a specific event occurring exactly once in a session, use a Sessions-counting funnel with Step A = Viewed Page and Step B = Viewed Page and take “entered but not converted” over “entered” as your bounce rate proxy. [Funnels methods; Session controls]If you share your exact event name and current session definition (timeout/event/property-based), I can sketch the precise funnel setup.
kapa.ai is still learning and improving, please let me know how I did by reacting below.
ℹ️ Tip: Mention @kapa.ai in the thread for follow-ups or DM the app for 1-to-1 help.
