You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在Google Analytics中按时间线统计访某页未访另一页的用户?

Got it, let's break this down for you—tracking users who hit your checkout page but never made it to the thank-you page, with a timeline view. I'll cover both GA4 (the current standard) and Universal Analytics (since some folks still rely on it) to cover all bases.

Google Analytics 4 (GA4) Solution

Use Explorations to Build a Custom Timeline Report

This is the most straightforward way in GA4:

  • Head to your GA4 dashboard, click Explorations in the left menu, then create a new Free Form exploration.
  • In the Dimensions panel, add:
    • Date (this will be your timeline axis)
    • User ID (if you have it enabled; optional, but helps with accurate user counting)
  • In the Metrics panel, add Users (the core metric we care about).
  • The magic happens with Segments:
    1. Create a segment named Users who visited checkout page:
      • Click the + in the Segments panel, choose User segment.
      • Add a condition: Event > Page Location contains your checkout page URL (e.g., /checkout).
      • Make sure the condition is set to User has done this event in any session.
    2. Create a second segment named Users who visited thank-you page:
      • Repeat the above, but set the condition to your thank-you page URL (e.g., /thank-you).
    3. Now, add the first segment to your exploration, then click the Exclude button next to it and select the second segment. This gives you the exact group: users who saw checkout but never reached thank-you.
  • Finally, drag the Date dimension to the Rows section of your free form, and the filtered segment's Users metric to the Columns section. You’ll have a daily/weekly/monthly timeline of your target user count.

Alternative: Custom Events + Calculated Metrics (For Automation)

If you want this data in a standard report instead of explorations:

  • Trigger a custom event (e.g., view_checkout) on your checkout page, and another (e.g., purchase_complete) on your thank-you page.
  • Create a calculated metric that counts users who triggered view_checkout but never triggered purchase_complete. Note: This requires setting up user-level conditions, so explorations are still simpler for one-off reports.
Universal Analytics (UA) Solution

Custom Report + Advanced Segment

  • Go to your UA dashboard, click Customization > Custom Reports, then create a new report.
  • Pick Flat Table as the report type. Add Date as your dimension, and Users as your metric.
  • Click Add Segment, then create an advanced segment named Checkout visitors who didn’t reach thank-you:
    • Set two conditions:
      1. Include: Page > Contains your checkout page URL
      2. Exclude: Page > Contains your thank-you page URL
    • Ensure the segment is set to User-level (not session-level) to capture users who never reached the thank-you page across all their sessions.
  • Save the report, and you’ll see a timeline of user counts broken down by date.

Bonus: Funnel Visualization

UA’s Funnel Visualization can also show you this drop-off: set up a funnel with "Checkout Page" as the first step and "Thank-You Page" as the second. The difference between step 1 and step 2 users is your target group. For a strict timeline, though, the custom report method is more direct.

Quick Notes

  • Double-check your URL matches (include any subdomains or path variations if needed) and filter out test/staging traffic to keep data accurate.
  • GA4 and UA use slightly different user counting logic (GA4 relies on device identifiers/User ID; UA uses cookies), so numbers might not line up exactly between the two.

内容的提问来源于stack exchange,提问作者Dzyner

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.27 06:42:41