Le Duy Khuong

Chuỗi: seo-ga4 · Phần 4

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

GA4 + Search Console Integration

GA4 + GSC, monthly SEO review

2026-03-206 phút đọcVI

Định dạng Case Study

This post follows the Problem → Approach → Result → Lessons structure.

GA4 + Search Console Integration

Mở đầu

GA4 cho biết user làm gì trên site. Google Search Console (GSC) cho biết user tìm gì để đến site. Kết hợp cả hai → full picture: từ search query → click → on-site behavior.

Ví dụ: GSC nói "50 users search 'agentic ai' và click vào leduykhuong.com." GA4 nói "Users từ Organic Search đọc trung bình 3 phút." Kết hợp: "Users search 'agentic ai' → đọc bài 3 phút → 60% scroll qua 90%." Insight: content về agentic AI match search intent tốt.

Mục tiêu: Hiểu data nào GSC cung cấp, cách link GSC với GA4, và workflow phân tích kết hợp.


Google Search Console — Data gì?

GSC cung cấp data mà GA4 KHÔNG CÓ:

DataGSCGA4
Search queries (từ khóa user gõ)❌ (bị ẩn)
Impressions (hiển thị trên SERP)
Click-through rate (CTR)
Average position trên SERP
Indexing status
On-site behavior (time, scroll)
Custom events
User demographics

Tại sao GA4 không có search queries? Từ 2011, Google mã hóa search queries cho privacy. GA4 chỉ thấy (not provided) cho Organic Search traffic. GSC là cách DUY NHẤT xem search queries.


Setup Integration

Bước 1: Verify GSC Property

Đảm bảo anh đã verify domain trong GSC. leduykhuong.com dùng DNS TXT record verification (thông qua Cloudflare DNS).

  1. GA4 Admin → Product Links → Search Console Links
  2. Click "Link"
  3. Chọn GSC property leduykhuong.com
  4. Chọn Web Data Stream
  5. Submit

Sau khi link: GA4 nhận data từ GSC. Report mới xuất hiện trong GA4: "Search Console" section.

Bước 3: Enable Reports

GA4 Reports → Library → Search Console:

  • "Google organic search queries" — publish
  • "Google organic search traffic" — publish

Reports xuất hiện trong Reports navigation.


Combined Reports

Organic Search Queries (in GA4)

Sau integration, GA4 hiển thị:

Query              Clicks  Impressions  CTR     Position
──────────────────────────────────────────────────────────
learning in public    45       890      5.1%     4.2
agentic ai            32       650      4.9%     6.8
data as a product     28       420      6.7%     3.1
leduykhuong           20       180     11.1%     1.0
claude code           15       340      4.4%     8.5

Cách đọc:

  • "leduykhuong" — Brand query, position 1.0 (top), CTR 11.1%. Tốt — brand search always rank #1.
  • "data as a product" — CTR cao nhất (6.7%), position 3.1. Content match intent tốt.
  • "claude code" — Position 8.5 (page 1 cuối hoặc page 2), CTR thấp (4.4%). Cải thiện: optimize title/description để tăng CTR, hoặc strengthen content để lên position cao hơn.

Organic Search Traffic (in GA4)

Kết hợp GSC queries với GA4 landing page data:

Landing page                    Clicks  Impressions  Engaged Sessions
──────────────────────────────────────────────────────────────────────
/vi/blog/learning-in-public       45       890           32 (71%)
/vi/blog/data-as-product          28       420           24 (86%)
/vi                               20       180           12 (60%)

Insight kết hợp: "Data as Product" có engagement rate 86% từ organic — content rất match với search intent. "Homepage" từ organic chỉ 60% — users search brand name nhưng bounce nhanh hơn (có thể chỉ kiểm tra site tồn tại).


Workflow Phân Tích — Monthly SEO Review

Mỗi tháng, follow quy trình này:

1. Top Queries Analysis (GSC)

GSC → Performance → Queries tab → Sort by Impressions (desc)

Câu hỏi:

  • Queries nào mang nhiều impressions nhất?
  • CTR cho mỗi query?
  • Position thay đổi so với tháng trước?

2. Content Performance (GA4)

GA4 → Engagement → Pages and screens → Filter: /blog/*

Câu hỏi:

  • Bài nào có highest engagement time?
  • Bài nào có views nhiều nhưng engagement thấp (bounce)?
  • Correlation với GSC: bài có high organic traffic có high engagement?

3. Opportunity Identification

High impressions, low CTR (< 3%): → Users thấy site trên SERP nhưng không click → Action: cải thiện title tag và meta description (seoTitle, seoDescription trong frontmatter)

High CTR, low engagement: → Users click nhưng bounce → Action: content không match search intent, hoặc page load chậm

Position 5-15 (page 1-2 border): → Gần page 1 nhưng chưa đạt → Action: strengthen content, add internal links, optimize cho keyword

4. Action Items

Sau phân tích, tạo danh sách:

□ Update seoTitle cho "data-as-product" bài → shorter, keyword-rich
□ Add seoDescription cho 5 bài thiếu
□ Write follow-up bài cho query "agentic ai" (high impressions)
□ Add internal links từ popular posts → underperforming posts

GSC URL Inspection — Debug Individual Pages

Ngoài reports, GSC có URL Inspection tool cho debug:

  1. GSC → nhập URL vào search bar
  2. Tool cho biết:
    • Indexing status: Indexed? Not indexed? Why?
    • Last crawl date: Google crawl lần cuối khi nào?
    • Canonical: Google thấy canonical URL nào?
    • Mobile usability: Issues trên mobile?
    • Rich results: Structured data valid?

Use case: Sau khi publish bài mới:

  1. URL Inspection → nhập URL
  2. "Request Indexing" → yêu cầu Google crawl
  3. Chờ 1-3 ngày
  4. Check lại → "URL is on Google" ✅

Limitations

Data Freshness

SourceĐộ trễ
GA4 Realtime~30 giây
GA4 Standard reports24-48 giờ
GSC Performance2-3 ngày
GSC Index Coverage1-7 ngày

GSC data trễ nhất — query data từ 2-3 ngày trước. Không dùng cho real-time decisions.

Data Sampling

GA4 free tier có thể sample data khi volume cao hoặc date range dài. GSC sample khi impressions > threshold.

Mitigation: Dùng date range ngắn hơn (last 28 days thay vì last 12 months) để reduce sampling.

Query Privacy

GSC ẩn queries có volume thấp (< 10 impressions) để bảo vệ privacy. Nên focus vào top queries thay vì tail.


Thực hành

Nếu chưa link:

  1. GA4 Admin → Product Links → Search Console Links
  2. Link property leduykhuong.com
  3. Enable "Organic search queries" report

Bài tập 2: Top 10 queries

GSC → Performance → Queries:

  • Sort by Impressions
  • Ghi nhận top 10 queries
  • Câu hỏi: Queries nào là brand (chứa "leduykhuong")? Queries nào là content?

Bài tập 3: Monthly review workflow

Chạy quy trình Monthly SEO Review lần đầu:

  1. GSC: Top queries + positions
  2. GA4: Top landing pages + engagement
  3. Cross-reference: high impressions + low CTR → candidates for title optimization
  4. Tạo 3 action items

Tóm tắt

  • GSC có search queries — data duy nhất GA4 không cung cấp (queries, impressions, CTR, position)
  • Integration: GA4 Admin → Product Links → Search Console Links
  • Combined reports hiển thị query → click → on-site behavior trong 1 view
  • Monthly review workflow: Top queries → Content performance → Opportunities → Actions
  • Actionable patterns: high impressions/low CTR → fix title; high CTR/low engagement → fix content
  • Limitations: GSC data trễ 2-3 ngày, sampling khi volume cao, ẩn low-volume queries

Bài tiếp theo

Kết thúc series Google Analytics 4. Series tiếp theo: PostHog Product Analytics — Bài 13 so sánh PostHog vs GA4: khi nào dùng gì, tại sao leduykhuong.com dùng CẢ HAI.

LDK

Le Duy Khuong

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