How-to guide
How to monitor an ecommerce checkout
A home page check will not notice that checkout is broken. Test the journey the way a customer does, and watch real customers on the checkout pages.
3 min read9 sectionsUpdated
On this page
| Layer | What it tells you | Tool |
|---|---|---|
| Synthetic journey | Can a customer complete the steps right now? | Multi-step API check or browser check every few minutes |
| Backend traces | Which step is slow or failing, and why | APM on cart, pricing and payment services |
| Real users | Are real customers hitting errors or slowness? | RUM: JavaScript errors and Web Vitals on checkout pages |
1. POST /api/cart body {"sku":"TEST-SKU-1","qty":1}
expect 201; save $.cartId as cart
2. GET /api/cart/{{cart}} expect 200; body contains "TEST-SKU-1"
3. POST /api/checkout/{{cart}}/quote expect 200; $.total > 0; time < 1500 ms
4. POST /api/checkout/{{cart}}/session expect 200; $.paymentUrl exists (test mode, no charge)
5. DELETE /api/cart/{{cart}} expect 204 (clean up)A browser journey
APIs can pass while the page fails: a JavaScript error, a broken button, a third-party script that blocks the payment form. A headless browser check catches these:
- Go to a product page; expect the price.
- Click "Add to cart"; wait for the cart count to change.
- Go to checkout; fill email and address with test data.
- Expect the payment form (or the provider's iframe) to appear.
- Take a screenshot on failure.
Use a dedicated test product and account, and stop before payment, or use the provider's sandbox.
Alerts
- Journey failed twice in a row: page on-call.
- Payment provider p95 above normal: warn the team; it often precedes failures.
- Checkout JavaScript error rate jumps after a deploy: warn, and consider rollback.
- Orders per hour far below the same hour last week: a business-level safety net for problems no check covers.
In VitalRix
Synthetic monitoring chains API steps with assertions and passes values between them, and browser checks run up to 25 steps in headless Chromium (go to, click, fill, wait for, expect text, screenshot). APM traces the backend, and real user monitoring shows errors and Web Vitals on checkout pages, with masked session replays. See ecommerce monitoring.
Will synthetic checks create fake orders?
Not if you stop before payment, use the provider’s test mode, or clean up test carts. Mark test traffic so analytics can exclude it.
How often should the checkout check run?
Every 5 minutes is a common balance. Busy stores often run the API journey every minute and the browser journey every 5 to 10 minutes.
Related reading
- Best synthetic monitoring tools: Choose a synthetic monitoring tool in 2026: API and browser checks, scripting, locations, private networks and CI use, with well-known options compared.
- Monitoring for fintech and payments: Monitoring for fintech and payments: transaction journeys, payment API latency and errors, audit trails, access control and on-premises options.
- How to monitor a Shopify store: How to monitor a Shopify store: uptime and checkout flow checks, theme and app script performance, Core Web Vitals, custom domain and SSL, and alerts.
- A Checkly alternative: VitalRix vs Checkly: VitalRix vs Checkly: synthetic API and browser checks compared, monitoring as code versus in-app setup, plus APM, real-user data and on-call.
- Black-box vs white-box monitoring: Black-box monitoring tests a system from outside like a user; white-box monitoring reads its internals. Examples of each and how to combine them.
- PostgreSQL idle in transaction: find and fix it: Find and fix PostgreSQL idle in transaction sessions: why they block vacuum and hold locks, which application patterns cause them and which timeout to set.
Watch your own site and services with VitalRix
Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.