Pro Plan15 minutesintermediate

E-commerce Revenue Tracking

Track and analyze revenue, orders, and customer lifetime value for your e-commerce business.

ecommercerevenueordersltvanalytics
Last updated: January 15, 2025

Track revenue, analyze order patterns, and understand customer value to grow your e-commerce business.

Revenue Dashboard

Accessing Revenue Analytics

  1. Go to AnalyticsRevenue
  2. Select your e-commerce website
  3. Choose date range

Key Metrics

MetricDescriptionFormula
Total RevenueSum of all ordersΣ order_value
OrdersNumber of transactionsCount of purchases
AOVAverage Order ValueRevenue ÷ Orders
RPVRevenue Per VisitorRevenue ÷ Unique Visitors
Conversion RatePurchasers ÷ VisitorsOrders ÷ Visitors × 100

Revenue Attribution

By Traffic Source

See which channels drive revenue:

SourceRevenueOrdersAOVConv %
Google Organic$45,230412$109.782.4%
Facebook Ads$28,150287$98.081.8%
Direct$18,920156$121.283.1%
Email$12,48098$127.354.2%

By Campaign

Track campaign performance:

  1. Use UTM parameters consistently
  2. View RevenueCampaigns
  3. Compare campaign ROI
https://yourstore.com/?utm_source=facebook&utm_medium=cpc&utm_campaign=summer_sale

By Landing Page

Identify high-converting pages:

  • Which pages generate most revenue
  • Entry page to purchase path
  • Optimize top performers

Order Analytics

Order Details

Each order tracks:

  • Order ID
  • Revenue (subtotal)
  • Tax
  • Shipping
  • Discount applied
  • Items purchased
  • Customer info (if available)

View patterns:

  • Orders by day of week
  • Peak hours for purchases
  • Seasonal trends
  • Month-over-month growth

Order Value Distribution

Understand your customers:

  • % of orders under $50
  • % of orders $50-100
  • % of orders over $100
  • Identify upsell opportunities

Product Revenue

Top Products by Revenue

View in RevenueProducts:

ProductRevenueUnitsAOV
Premium Widget$12,45089$139.89
Basic Widget$8,230411$20.02
Widget Bundle$6,89042$164.05

Category Performance

Revenue by product category:

  • Compare category contribution
  • Identify growth areas
  • Spot declining categories

Product Combinations

See frequently bought together:

  • Bundle opportunities
  • Cross-sell recommendations
  • Category affinity

Customer Revenue

New vs Returning

Compare customer segments:

SegmentRevenueOrdersAOV
New Customers$34,500456$75.66
Returning$48,200312$154.49

Returning customers often have 2x higher AOV.

Customer Lifetime Value (LTV)

Calculate customer value:

  1. Go to RevenueCustomers
  2. View LTV distribution
  3. Segment by acquisition source

LTV Formula:

LTV = Average Order Value × Purchase Frequency × Customer Lifespan

Cohort Analysis

Track customer behavior over time:

  • First purchase month cohort
  • Repeat purchase rates
  • Revenue per cohort

Revenue Tracking Implementation

Standard Purchase Event

zenovay('track','purchase', {
  order_id: 'ORD-12345',
  revenue: 149.99,
  subtotal: 139.99,
  tax: 10.00,
  shipping: 0.00,
  discount: 20.00,
  coupon: 'SAVE20',
  currency: 'USD',
  items: [
    {
      product_id: 'SKU-001',
      product_name: 'Premium Widget',
      quantity: 1,
      price: 99.99,
      category: 'Widgets'
    },
    {
      product_id: 'SKU-002',
      product_name: 'Widget Accessory',
      quantity: 2,
      price: 20.00,
      category: 'Accessories'
    }
  ]
});

Customer Identification

Link orders to customers:

// Identify customer at purchase
zenovay('identify', {
  id: 'customer_123',
  email: 'customer@example.com',
  name: 'John Doe',
  customer_since: '2024-01-15',
  total_orders: 5,
  total_spent: 549.95
});

// Then track purchase
zenovay('track','purchase', { ... });

Refunds and Returns

Track refunds:

zenovay('track','refund', {
  order_id: 'ORD-12345',
  refund_amount: 99.99,
  reason: 'product_return',
  items: [
    {
      product_id: 'SKU-001',
      quantity: 1
    }
  ]
});

Refunds deduct from revenue totals.

Revenue Goals

Set Revenue Targets

  1. Go to GoalsCreate Goal
  2. Select Revenue Goal
  3. Set target amount
  4. Choose timeframe

Examples:

  • $100K monthly revenue
  • $500 daily minimum
  • 1000 orders per week

Alert on Anomalies

Get notified of:

  • Revenue drops below threshold
  • Unusual order patterns
  • High refund rates

Revenue Reports

Scheduled Reports

Set up automatic reports:

  1. Go to ReportsScheduled
  2. Create revenue report
  3. Set frequency (daily/weekly/monthly)
  4. Choose recipients

Report Contents

Include in reports:

  • Revenue summary
  • Top products
  • Source attribution
  • Trend comparisons
  • Goal progress

Export Options

Export revenue data:

  • CSV for spreadsheets
  • JSON for integrations
  • API access for automation

Multi-Currency

Handling Multiple Currencies

If selling internationally:

zenovay('track','purchase', {
  order_id: 'ORD-12345',
  revenue: 129.00,
  currency: 'EUR',  // Currency code
  items: [...]
});

Currency Conversion

Zenovay handles:

  • Automatic conversion to base currency
  • Historical exchange rates
  • Currency breakdown reports

Set Base Currency

  1. Go to SettingsE-commerce
  2. Select base currency
  3. All reports show in base currency

Discounts and Promotions

Track Coupon Usage

zenovay('track','purchase', {
  order_id: 'ORD-12345',
  revenue: 79.99,
  discount: 20.00,
  coupon: 'SUMMER20',
  original_price: 99.99,
  items: [...]
});

Promotion Analytics

View promotion performance:

  • Revenue by coupon code
  • Discount rate impact
  • Promotion ROI

A/B Testing Prices

Track price tests:

  1. Use different product variants
  2. Compare conversion rates
  3. Calculate revenue impact

Integrations

Connect Payment Processors

Automatic revenue sync:

  • Stripe: Real-time webhooks
  • PayPal: Transaction import
  • Square: API integration

Accounting Software

Export to:

  • QuickBooks
  • Xero
  • CSV for any system

Best Practices

Revenue Tracking

  1. Track gross revenue

    • Before refunds
    • Include tax and shipping in separate fields
  2. Use consistent order IDs

    • Prevents duplicates
    • Enables refund matching
  3. Include all line items

    • Enables product attribution
    • Better inventory insights
  4. Track in real-time

    • Fire event on order confirmation
    • Don't wait for shipping

Analysis Tips

  1. Compare periods correctly

    • Same day of week
    • Account for holidays
    • Year-over-year for seasonality
  2. Segment everything

    • New vs returning
    • By traffic source
    • By product category
  3. Watch for anomalies

    • Sudden drops = tracking issue
    • Spikes = investigate source

Next Steps

Was this article helpful?