Help

Understanding Analytics

Last updated: October 2026

Before you read metrics

Analytics baseline: when CodeRally started counting orders: app install or your last data cleanup. Only Shopify orders on or after this time are included in CodeRally metrics.

Date range picker (last 7 / 30 / 60 / 90 days): Most tabs use the effective window: your selected last N days, but not before the analytics baseline. Some metrics ignore the picker (called out below).

Three metric groups:

  1. Since CodeRally started: does not change when you change the date range.
  2. Selected period: follows the date range (clipped to baseline).
  3. Catalog snapshot: current catalog size; not filtered by date range.

Tooltips (? icons) in the app match this article where possible.


Tab: Discount impact

Focus: how CodeRally discounts perform vs total store sales in the selected period.

TermDefinition
CodeRally salesOrder totals from orders where a CodeRally discount was used (includes full-price lines in the same order).
Total store salesCompleted order totals from baseline through the effective date range. Responds to the date range picker.
Discounts givenTotal customer savings from CodeRally discounts in the selected period.
AdoptionShare of completed orders since baseline that used a CodeRally discount. Not limited to the date picker.
Active discountsCodeRally discounts currently published and active in Shopify.
Total usesHow many times customers applied a CodeRally discount at checkout.
Max discount per active promoLargest per-item discount amount among current promos: not historical discount spend.

Tab: Margin Guard (Analytics)

Current promotion settings and guard status: not filtered by the date range picker. Period-based avg margin and checkout profit on this tab do follow the selected range where shown.

TermDefinition
Margin floorMinimum profit margin you allow after discount and cost. Same setting as Settings → Margin Guard.
COGS coverageShare of variants with product cost on Product Costs.
Margin-safe promosRecommended promos that still meet your floor after discount and cost.
Clamped to floorPromos CodeRally reduced so discount cannot push margin below floor.
Promos below floorPromos that would sit below floor: review in Promotions.
When below floorWarn only vs auto-cap at checkout vs block checkout (Scale + additional features).

Tab: By discount

Per-discount table for the selected period.

TermDefinition
UsesTimes this discount was used at checkout.
SalesNet revenue on line items attributed to this discount: not full order total if other lines were full price.
Discount amountTotal savings customers received from this discount.
ROIGross profit earned for each $1 of discount given (after product cost where available).

Tab: Profit & checkout profit (Growth+)

CodeRally profit from orders that used your promos in the selected period. Requires COGS.

TermDefinition
Gross profitRevenue on discounted lines minus COGS. Lines without cost are excluded from totals.
Avg marginAverage margin on discounted lines with cost; revenue-weighted.
Lines below floorDiscounted lines under your margin floor after cost.
Line statusSafe = above floor; BOGO line = low margin by design; Below floor = review.

Quick reference: date range vs baseline

MetricRespects date picker?
Adoption, CodeRally order shareNo: full history since baseline
Total store sales, discounts given, by-discount tableYes: effective window
Margin Guard promo counts / floor settingsNo: current settings
Product/collection countsNo: catalog snapshot

Related

Product costs · Margin Guard · Additional store features · Checkout enforcement

Subscribe

Ready to boost your Shopify store's performance?

Discover strategies and tools to increase sales, speed, and customer engagement.