---
schema_version: "1"
id: 9df01c796edc1baa4adba1387ccdc1e25cb49222e35324b0a5befa105e8e9bf4
title: Embedded Content Delivery Network (eCDN) Metrics
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_metrics_ecdn.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_metrics_ecdn.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c7cd837b4f345d222458ec7caaa3d4d3cf76ed8bd7dfcfa2eda654ec7b4e6b71
description: HTTP traffic metrics for your B2C Commerce storefront help website administrators, DevOps teams, and security professionals monitor and optimize performance, security, and resource utilization. These eCDN metrics are crucial for optimizing website performance, security, and reliability. By actively monitoring these metrics, website administrators can detect issues early, enhance caching efficiency, reduce costs, and improve the user experience.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Embedded Content Delivery Network (eCDN) Metrics

HTTP traffic metrics for your B2C Commerce storefront help website administrators, DevOps teams, and security professionals monitor and optimize performance, security, and resource utilization. These eCDN metrics are crucial for optimizing website performance, security, and reliability. By actively monitoring these metrics, website administrators can detect issues early, enhance caching efficiency, reduce costs, and improve the user experience.

## eCDN Metrics on On-Demand Sandboxes (ODS)

Log Center shows HTTP status codes `502`–`530` from the eCDN layer for ODS zones, the same as for production environments. Use these metrics to monitor traffic, detect anomalies, and troubleshoot issues on ODS instances.

Because ODS uses a shared zone model, metrics reflect aggregate traffic across all ODS instances in the realm rather than per-instance traffic. To narrow results to a specific instance, apply a site context filter in the analytics dashboard — each error type then appears per site.

![eCDN metrics dashboard for an ODS zone showing Success and Errors, Cache Hit Percentage, and Total Requests charts over a one-day period.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/b2c_ecdn_ods_metrics_dashboard.png)

![eCDN metrics dashboard for an ODS zone with a tooltip showing data point details on the Success and Errors chart.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/b2c_ecdn_ods_metrics_tooltip.png)

## Success and Errors

The Success and Errors metric tracks the number of successful HTTP requests (`2XX` status codes) and error requests (`4XX` and `5XX` status codes).

- `2XX` (Success): Indicates that the request was successfully received, understood, and processed by the origin or Cloudflare cache.
- `4XX` (Client Errors): Indicates issues with the client request, such as bad request, unauthorized, forbidden, or not found.
- `5XX` (Server Errors): Indicates failures at the origin server, including internal server errors, bad gateway, and service unavailable responses.

Use cases:

- To monitor website reliability, track the ratio of successful to failed requests.
- Identify client-side issues, such as broken links leading to `404` errors.
- Detect server-side failures that require action, such as origin downtime or misconfigurations.
- To improve API reliability, ensure minimal `5XX` errors for API consumers.

## Cache Hit Percentage

The Cache Hit Percentage metric measures the percentage of requests served directly from eCDN cache instead of the origin server. A higher percentage indicates effective caching, reducing load on the origin server.

Use cases:

- To optimize performance, increase cache hit ratios and reduce origin server load.
- Reduce bandwidth costs because serving content from eCDN cache avoids repeated origin requests.
- Identify cache configuration issues where expected assets, such as static files, aren’t being cached properly.
- To improve content delivery, ensure frequently accessed content remains in eCDN cache for faster load times.

## Total Requests

The Total Requests metric is the total number of HTTP(S) requests received by eCDN for a domain, including cache hits and misses.

Use cases:

- Monitor traffic trends to understand spikes or drops in website visits.
- To analyze DDoS threats, detect sudden surges in requests.
- To evaluate marketing campaign effectiveness, correlate traffic spikes with campaigns.
- To monitor API usage, track request counts on API endpoints.

## Total Bandwidth

The Total Bandwidth metric measures the total amount of bandwidth used by all requests, including cache hits and misses. This metric tracks how much data is transferred between users and eCDN, or between eCDN and the origin.

Use cases:

- To optimize bandwidth costs, increase cache hit rates and use compression (Brotli, Gzip).
- Detect unusual traffic patterns that can indicate abuse, such as scraping or bot attacks.
- To plan for scalability, monitor bandwidth consumption trends over time.
- To reduce load on the origin server, optimize content delivery through eCDN caching and compression.

## Total Page Views

The Total Page Views metric measures the total number of page views received. A page view is counted each time a user loads a page.

Use cases:

- To analyze user engagement, track the number of pages viewed over time.
- Correlate with marketing efforts to evaluate the success of promotions or SEO strategies.
- Monitor bot activity if there are unusually high page views from non-human traffic.
- Compare with unique visitors to determine how many pages each visitor views on average.

## Unique Visitors

The Unique Visitors metric measures the total number of distinct users who have accessed the website over a given period. eCDN typically identifies unique visitors using IP addresses and cookies.

Use cases:

- To measure actual audience size, distinguish individual users from repeat visits.
- To analyze visitor retention, compare unique visitor counts over different periods.
- Detect anomalies in traffic patterns, such as bot activity or sudden increases in new visitors.
- Understand geographic distribution of visitors for localization and content targeting strategies.