Why measure time-to-purchase?
It shows how long it takes for a user to move from first visit to first order. Knowing this cycle is key to planning campaigns and cash flow.
What usually goes wrong?
• Events live across multiple sessions
• First touchpoints are ignored
• Duplicate calculations distort the result
How to do it right?
With SQL you can:
• Anchor each user at their first session timestamp
• Match it with their first purchase timestamp
• Calculate the exact time difference
What’s the benefit?
A precise metric that reflects real buying behavior, not guesses. This insight helps optimize remarketing windows and sales funnels.

Want all my best GA4-BQ queries in one place? I turned them into a Chrome extension — top SQL queries you can search and copy in seconds.
Go here to install it for FREE.
Prefer the web version? It's here.


