Skip to content

Metric Configuration

Metrics are the outcomes you care about tracking. Configure metrics at the org level so every template can use them as optimization targets and performance indicators.

JustAI supports the following standard metrics, sourced from your ESP’s webhook events:

MetricDescriptionCommon Use
Open ratePercentage of recipients who opened the messageSubject line and preheader testing
Click ratePercentage of recipients who clicked a linkCTA and content relevance testing
Conversion ratePercentage of recipients who completed a target actionRevenue and signup optimization
Unsubscribe ratePercentage of recipients who unsubscribedContent quality and frequency monitoring
RevenueTotal or average revenue attributed to the messageDirect business impact measurement

Your org may have additional custom metrics configured based on your ESP’s event data.

Each template selects one metric as its key metric — the outcome that JustAI’s ranking algorithms optimize for. When you create a new template, you choose the key metric during setup.

The key metric determines:

  • How the multi-armed bandit allocates traffic between variants
  • Which variant Auto-Tune identifies as the winner
  • What lift percentage is shown on the template dashboard

Metric data follows this path:

  1. Your ESP sends a message using content from JustAI
  2. The recipient takes an action (opens, clicks, converts, etc.)
  3. Your ESP fires a webhook event to JustAI with the event details
  4. JustAI attributes the event to the specific variant that was served
  5. The metric appears in the template dashboard and analytics

Accurate metric tracking depends on your ESP integration being properly configured. See your integration guide for webhook setup details.

Two parameters control the time window for metric calculations:

How many days of historical data to include when calculating metric rates and variant performance. A 14-day lookback means analytics reflect the most recent two weeks of data.

When to adjust:

  • Increase for low-volume templates that need more data to show meaningful patterns
  • Decrease for high-volume templates where you want metrics to reflect recent performance more quickly

How many recent days to exclude from analytics calculations. This accounts for the delay between a message being sent and downstream events (like conversions) being recorded.

When to adjust:

  • Increase if your conversion events typically lag by more than 3 days (e.g. purchase decisions that take a week)
  • Decrease if your events are near-real-time (e.g. click tracking)

With lookback_days = 14 and offset_days = 3, on March 15:

ParameterValue
Window startMarch 1 (15 - 14 - 3 + 3 = day 17 ago)
Window endMarch 12 (3 days ago)
ExcludedMarch 13–15 (still accumulating events)

Once configured, metrics show up across the platform:

  • Template Overview — Topline key metric with lift vs. control
  • Variant Performance Table — Per-variant breakdown of all configured metrics
  • Segment Analysis — Metric performance by attribute segments
  • Flows — Aggregated metrics across multiple templates in a journey