Le Duy Khuong

Chuỗi: seo-posthog · Phần 3

Năng suất & công cụ dev

Funnels & User Paths

Funnel analysis, path discovery

2026-03-205 phút đọcVI

Funnels & User Paths

Mở đầu

"Bao nhiêu % users vào blog listing → click bài → đọc xong → click bài tiếp?" Câu hỏi này yêu cầu funnel analysis — đo tỷ lệ chuyển đổi qua từng bước. PostHog Funnels cho phép define steps → measure conversion rate giữa các steps → identify nơi users "rớt" (drop-off).

User Paths thì ngược lại: thay vì define steps trước rồi đo, Paths cho thấy actual navigation patterns — users thực sự di chuyển thế nào trên site, không bị giới hạn bởi funnel steps anh định trước.

Mục tiêu: Xây funnel cho leduykhuong.com blog reading journey, đọc Path analysis, và extract improvement opportunities.


Funnels — Define Steps, Measure Conversion

Tạo Funnel trong PostHog

PostHog → Product Analytics → Funnels → New:

Ví dụ: Blog Reading Funnel

Step 1: Pageview /vi/blog (blog listing)
Step 2: Pageview /vi/blog/* (any blog post)
Step 3: Scroll event (scroll > 80%)
Step 4: Pageview /vi/blog/* (second blog post — different from step 2)

Kết quả

Step 1: Blog Listing    ████████████████████ 100% (500 users)
Step 2: Click Article   ████████████████     75% (375 users)  ← 25% drop
Step 3: Deep Scroll     ██████████           48% (240 users)  ← 27% drop
Step 4: Read Another    ███                  12% (60 users)   ← 36% drop

Đọc kết quả

  • Step 1 → 2 (75%) — 75% users từ blog listing click ít nhất 1 bài. Tốt — blog listing effective.
  • Step 2 → 3 (64%) — 64% users đọc sâu (scroll > 80%). Content engaging.
  • Step 3 → 4 (25%) — Chỉ 25% users đọc bài thứ 2. Đây là drop-off lớn nhất.

Actionable: Cải thiện "Next article" discovery:

  • SeriesBox component → highlight next bài trong series
  • Related posts recommendation
  • Sticky "Continue reading" CTA

Funnel Types

PostHog hỗ trợ 3 loại funnel:

TypeMô tảKhi dùng
StepsSequential steps (phải qua step 1 trước step 2)User journey
TrendsEvent counts over timeVolume tracking
Time to convertThời gian từ step 1 → step NSpeed optimization

Time to Convert

Step 1 → Step 2: Median 45 seconds
Step 2 → Step 3: Median 3 minutes 20 seconds
Step 3 → Step 4: Median 8 minutes

Insight: Users mất 45s để chọn bài (scanning titles). 3m20s để đọc (normal). 8 phút trước khi click bài thứ 2 — có thể cần related articles visible sớm hơn.


User Paths — Discover Actual Navigation

Paths analysis cho thấy thực tế users navigate thế nào, không bị giới hạn bởi pre-defined steps.

PostHog → Product Analytics → Paths:

Start: /vi (homepage)
│
├── 45% → /vi/blog
│   ├── 60% → /vi/blog/learning-in-public
│   │   ├── 20% → /vi/blog/data-as-product
│   │   ├── 15% → /vi/blog (back to listing)
│   │   └── 65% → EXIT
│   ├── 25% → /vi/blog/data-as-product
│   └── 15% → other blog posts
│
├── 30% → /vi/about
│   └── 50% → /vi/blog
│       └── ... (continues)
│
├── 15% → /vi/blog/learning-in-public (direct to post)
│   └── ...
│
└── 10% → other pages

Đọc Path Analysis

Common paths:

  1. Homepage → Blog listing → Blog post → EXIT (most common)
  2. Direct to blog post (from search/social) → EXIT
  3. Homepage → About → Blog listing (exploring site)

Insights:

  • 65% users EXIT after reading 1 blog post — confirm funnel data
  • About page serves as "bridge" — users check credibility before reading blog
  • Homepage → Blog is primary flow — navigation đã tốt

Breakdowns — Segment Analysis

PostHog cho phép breakdown funnel theo properties:

By Device

Desktop:  Blog → Article → Deep scroll → Second article
          100%    80%       55%           18%

Mobile:   Blog → Article → Deep scroll → Second article
          100%    70%       40%           8%

Insight: Mobile users ít scroll deep hơn (40% vs 55%) và ít đọc bài thứ 2 (8% vs 18%). Possible causes:

  • Font size trên mobile gây fatigue
  • TOC không visible trên mobile → hard to navigate
  • "Next article" button khó tap trên mobile

By Traffic Source

Organic:  Blog → Article → Deep scroll → Second article
          100%    85%       60%           15%

Social:   Blog → Article → Deep scroll → Second article
          100%    90%       35%           5%

Insight: Social traffic có high initial click-through (90%) nhưng low deep scroll (35%). Users từ social click vì curious nhưng nhanh chóng bounce → content có thể không match social post promise.


PostHog vs GA4 Funnels

FeaturePostHogGA4
SetupDrag-and-drop stepsExploration report
Max stepsUnlimited10
SamplingNo (exact count)Yes (large datasets)
Session replay link✅ Click to watch
BreakdownsAny propertyLimited
FlexibilityVery highMedium

PostHog advantage: Click vào bất kỳ step → xem Session Replay của users tại step đó. Ví dụ: click "users who dropped at step 3" → xem recording → thấy exactly WHY they stopped scrolling.


Thực hành

Bài tập 1: Create Blog Reading Funnel

PostHog → Funnels → New:

  • Step 1: $pageview where URL contains /blog (not /blog/)
  • Step 2: $pageview where URL matches /blog/*
  • Step 3: $pageleave
  • Run → interpret: conversion rate giữa mỗi step?

Bài tập 2: Path from Homepage

PostHog → Paths:

  • Start point: /vi
  • Depth: 3 steps
  • Câu hỏi: Top 3 destinations sau homepage? Bao nhiêu % đi thẳng tới blog?

Bài tập 3: Device Breakdown

Tạo funnel → Add breakdown: Device type

  • Desktop vs Mobile conversion rates
  • Câu hỏi: Step nào có biggest gap giữa desktop/mobile?

Tóm tắt

  • Funnels — Define sequential steps, measure conversion rate giữa mỗi step
  • User Paths — Discover actual navigation patterns (không pre-defined)
  • Drop-off analysis — Identify WHERE users leave → optimize that step
  • Time to convert — Measure HOW LONG each step takes
  • Breakdowns — Segment by device, traffic source, etc. → discover different behaviors
  • PostHog + Session Replay — Click drop-off → watch WHY users left

Bài tiếp theo

Bài 16: Feature Flags & A/B Testing — Bật tính năng cho subset users, test 2 versions, measure impact. PostHog's experimentation framework.

LDK

Le Duy Khuong

AI Transformation & Digital Strategy. Writing about agentic systems, engineering leadership, and building in public.