Skip to main content
Card class: Cross-ChannelCategory: Monitoring

At a glance

The cart-abandonment rate observed during 5xx-spike windows, compared to the 30-day baseline outside those windows. For a merchant, this is “when the server returned errors, how many shoppers gave up?” Each percentage point above baseline is a quantifiable cost: shoppers who reached the cart but did not complete checkout because the site was broken. The card overlays Datadog 5xx spikes with the commerce-platform abandonment rate.
API endpoints touchedDatadog Metrics API for 5xx-rate spikes (above 1% sustained 5 minutes); commerce-sibling KPI for abandonment rate (carts created vs orders completed).
Metric basisTime-aligned 1-minute buckets in UTC: (1) 5xx rate from Datadog APM, (2) abandonment rate from the commerce sibling. Plotted on a single chart with abandonment-rate spikes annotated by their concurrent 5xx-rate.
Aggregation window1-minute rollup at source; the card displays a 30-day window with the abandonment baseline as a horizontal reference line.
Severity thresholdThe card flags any 5xx spike where concurrent abandonment rate exceeded baseline by more than 5 percentage points. P1 for sustained 5xx above 5% with abandonment above 80%; P2 for 5xx above 1% with abandonment 5pp above baseline.
Alert pre-filteringSynthetic test traffic excluded; health-check 5xxs excluded; non-storefront-channel orders excluded from abandonment denominator (B2B portal, draft orders, POS).
Log Management gatingNot used. The card consumes APM (5xx rate) and commerce-sibling KPI (abandonment); both are independent of Logs.
Commerce-sibling requiredRequired. Abandonment rate is a commerce-platform metric; without one connected, the card cannot function.
What “abandonment” means here(carts_created − orders_completed) / carts_created × 100. A shopper who added items to cart but did not place an order in the same session is “abandoned”. Healthy baseline: 65-80% (most shoppers abandon; this is normal). A spike above this baseline during a 5xx window equals “the errors caused the abandonment”.
Time zoneUTC for cross-connector arithmetic; baseline computed over 30 days excluding 5xx-spike windows.
Why this card existsTo answer “when our server returned errors, did shoppers give up or did they retry?” Some incidents produce mass abandonment (impulse-purchase shoppers); others produce mass retry (high-intent shoppers). The card tells the merchant which kind of shoppers they have.
Time window30D (rolling 30 days)
Alert trigger> 5% above baseline, abandonment 5pp above baseline during a 5xx spike pages on-call.
Rolesowner, marketing

Calculation

Calculated automatically from your Datadog data. See the At a glance summary above for what the metric tracks and the worked example below for a typical reading.

Worked example

A US homewares brand on BigCommerce. 30-day baseline abandonment rate: 71.4%. The card surfaces three 5xx spikes from the past 30 days.
Date5xx peakDurationAbandonment duringBaselineExcess abandonmentEstimated lost orders
21 Apr 266.0%90 min88.5%71.4%+17.1pp124
09 Apr 263.2%78 min78.2%71.4%+6.8pp41
28 Mar 261.5%26 min73.9%71.4%+2.5pp4 (within noise)
The chart shows 5xx rate (left axis, green to red) overlaid with abandonment rate (right axis, blue) over 30 days. Three observations:
  1. The 21 Apr incident produced a 17.1pp abandonment excess. This was the Stripe upstream PSP outage. With ~720 carts created during the 90-minute window, the excess abandonment translates to ~124 carts that would otherwise have completed at baseline. At AOV 74with5074 with 50% recovery via post-incident retry: ~62 orders lost permanently, ~4,600 in revenue.
  2. The relationship is roughly linear above 1.5% 5xx rate. At 1.5% the abandonment excess is barely measurable; at 3.2% it is +6.8pp; at 6.0% it is +17.1pp. The threshold below which 5xx rate produces no detectable abandonment excess is around 1% (which is why the alert threshold is calibrated there).
  3. Mobile shoppers abandon faster than desktop. The breakdown view (not shown in the table above) reveals: during the 21 Apr incident, mobile abandonment hit 94% while desktop abandonment hit 81%. Same 5xx rate, different shopper response. Action insight: mobile-heavy traffic mix means 5xx incidents cost disproportionately more.
Calibration of severity factors using this card:
  - 21 Apr 26 SEV-1 produced 17.1pp abandonment excess
  - At 71.4% baseline + 17.1pp = 88.5% incident abandonment
  - Translates to (88.5 − 71.4) / 100 × 720 = 123 lost orders out of 720 cart attempts
  - Loss rate: 17.1% of cart-attempts during 90 min
  - This validates the 35% traffic-loss assumption for SEV-1
              if traffic loss includes all abandoning visitors plus
              non-arrivals; if the formula uses a different definition,
              recalibrate accordingly
Three takeaways merchants should remember:
  1. The card connects two metrics that live in different tools. Datadog has the 5xx rate; the commerce platform has the abandonment rate. Each tool can show its half, but neither can show the relationship. This card is one of the most valuable cross-channel surfaces in the manifest because the relationship is the actionable insight.
  2. Above 1% sustained 5xx, abandonment becomes measurably elevated. Below, no signal. The 1% threshold is empirically calibrated against many merchants. Use this when prioritising engineering fixes: a chronic 0.8% 5xx rate is not worth fixing for revenue impact alone; a chronic 1.5% rate is.
  3. Mobile shoppers are less patient than desktop. Brands with mobile-heavy traffic see disproportionately higher abandonment for the same 5xx rate. Action insight: if mobile is >60% of your traffic, your tolerance for 5xx is lower than the default. Tune the alert threshold downward (e.g. alert at 0.5% 5xx instead of 1%).

Sibling cards merchants should reference together

CardWhy pair it with Cart Abandonment During 5xx SpikesWhat the combination tells you
5xx Response RateThe driver: 5xx spikes feed this card’s correlation.When 5xx is up but abandonment is flat, shoppers are tolerating the errors (high intent); when both are up, the errors are causing abandonment.
Conversion Drop During IncidentsThe complementary measured-loss view.This card focuses on cart-abandonment specifically; that card focuses on overall conversion. Both quantify customer impact during incidents.
Revenue Lost / MinThe live ticker during the incident.This card is the post-incident view of the same financial reality.
Checkout Service Health × SalesThe latency-vs-orders dual axis.Latency-driven abandonment vs error-driven abandonment are different patterns; pair to determine cause.
Top ErrorsThe triage view: which errors were dominant during the abandonment spike?Helps engineering prioritise which 5xx pattern to fix first.
Cart Abandonment Rate / BC equivalentThe all-window baseline for abandonment.This card uses that baseline as the comparison reference.
Stripe Decline RatePayment-side cause: when 5xx is downstream of payment-PSP issues, declines also rise.Distinguishes “payment-PSP cascade” from “in-house code regression”.
GA4 SessionsIndependent traffic measurement during the window.If GA4 sessions also dropped during the 5xx window, traffic dropped before reaching cart, making the abandonment denominator smaller.

Reconciling against the vendor’s own dashboard

Where to look in Datadog:
APM → Service List filtered by HTTP status code 5xx for the 5xx-rate driver. APM → Traces for the trace-level detail of 5xx requests. Dashboards → APM Overview for the time-series view.
The abandonment side of this card comes from the connected commerce platform’s KPI; open that platform’s analytics for the same windows. Why our values may legitimately differ from a hand-aligned chart:
ReasonDirectionWhy
Time zone alignmentEitherCard aligns both axes to UTC for arithmetic; manual comparison using different timezones produces apparent shifts.
API rate limitsBrief gapsBoth APIs are rate-limited; cached values may be 1-2 minutes stale during burst minutes.
Log indexing latencyNot applicableNeither axis uses Logs.
Cart-source filteringVortex IQ stricterThis card excludes B2B portal carts, draft orders, and POS carts from the abandonment denominator; the commerce platform’s all-channel abandonment may be different.
Order-completion attribution windowEitherSome commerce platforms count an order as “completed” only when payment confirmed; others when the order is created (paid or pending). The choice affects abandonment calculation.
Cross-connector reconciliation:
CardExpected relationshipWhat causes the divergence
shopify.total_revenue / bigcommerce.total_revenue / adobe_commerce.total_revenueExcess abandonment translates to lost orders; lost orders translate to lost revenue.The card’s “estimated lost orders” should be consistent with revenue dips on the platform-side cards during the same window.
google_analytics.ga_sessionsSessions during the 5xx window may also be reduced if the spike caused some traffic to bounce before reaching cart.If GA4 sessions are flat but cart-creation dropped, the issue is at the cart-add step (PDP errors); if both dropped, the issue is upstream (homepage / category errors).
stripe.stripe_payment_health_scorePayment-side cause peer.If Stripe health drops simultaneously, the 5xx spike is downstream of payment-PSP issues; if Stripe health stable, the cause is in your code or another upstream.

Known limitations / merchant FAQs

My baseline abandonment is 71%. Is that healthy? Yes. Industry benchmark abandonment rates sit between 65-80% across most ecommerce categories. Luxury / high-consideration purchases typically see higher (75-85%); impulse / discount typically see lower (60-72%). The number is high because most people who add something to cart are window-shopping, comparing prices, or saving for later. The merchant insight is not “lower the baseline”; it is “do not let the baseline rise during your engineering incidents”. Why does this card use abandonment rate and not bounce rate? Bounce rate is too coarse: a shopper who hits a 500 error on the homepage and leaves is “bounced” but the card cares about cart-stage shoppers, who have demonstrated higher purchase intent. Abandonment rate is the right denominator because every shopper in it has reached the “I want this” stage. When 5xx hits these high-intent shoppers, the cost is dollar-real. My commerce platform shows different abandonment numbers. Why? Three reasons: (1) The commerce platform’s all-channel view may include B2B / wholesale / POS carts; this card excludes them; (2) Different attribution windows (some platforms count “abandoned” only after 24 hours; this card uses same-session); (3) Time-zone differences. Confirm by aligning definitions. The card shows no spikes despite obvious 5xx incidents in Datadog. What is wrong? Two possible causes: (1) The 5xx spike was on a non-storefront service (admin panel, internal API, worker), so it did not affect cart-creation; the abandonment denominator was not exposed to the errors. (2) The 5xx spike was very brief (under 5 minutes) and is excluded from the card per pre-filtering rules. Open 5xx Response Rate directly to see the underlying spikes and confirm which case applies. My Logs API returns 400 No valid indexes. Does this card still work? Yes. The card consumes APM (5xx rate) and commerce-sibling KPI (abandonment); both are independent of Logs. Why mobile abandonment is higher than desktop during 5xx events. Mobile shoppers are typically in lower-attention moments (commuting, watching TV, multi-tasking) so any friction causes faster abandonment. Mobile also has more network variability, so a 5xx that resolves on retry for desktop may persist for mobile shoppers on flaky networks. Action insight: if your mobile share is high, your tolerance for 5xx is correspondingly lower. Can I see this card per device type? Yes, in the per-device breakdown panel below the main chart. Vortex IQ disaggregates by device-category from the GA4 (or commerce-platform) session data. Useful for quantifying the mobile-disadvantage when prioritising fixes. What if my commerce platform’s abandonment KPI does not include 5xx-affected sessions? That is exactly what makes this card useful. Some commerce platforms only count carts that the server saw created; if a 5xx prevented the cart from saving in the first place, those carts are not in the denominator. The card uses GA4 (or the chosen session source) as the denominator where possible to capture cart attempts even when the server-side cart save failed. This produces a more accurate abandonment-during-5xx number. My team uses Mixpanel / Amplitude for product analytics. Can I use those for the denominator? Not currently; the card uses GA4 or the commerce platform’s session data as the denominator. Mixpanel/Amplitude integration is on the roadmap. Until then, the card uses whatever session source is connected. My 5xx rate is steady at 0.3% and abandonment is at baseline. Is everything fine? Yes. Below the 1% sustained threshold, 5xx events do not produce detectable abandonment excess in most merchants. The card correctly shows no spike. Steady-state 5xx around 0.05-0.3% is normal and not actionable for this card; only sustained spikes above 1% trigger meaningful customer impact.

Tracked live in Vortex IQ Nerve Centre

Cart Abandonment During 5xx Spikes is one of hundreds of KPI pulses Vortex IQ tracks across Datadog and 70+ other ecommerce connectors. Nerve Centre runs the detection layer; Vortex Mind investigates the cause when something moves; Ask Viq lets you interrogate any number in plain English. Start for free or book a demo to see this metric running on your own data.