Net sales percentile

Automatically assign a top-n percentile (1-100) to your ordered products from the last 30 or 60 days.

This ranks your products by the net revenue contribution (as opposed to volume based ranking) so you may see for example the top 20% of products bringing in 80% of the revenue, following the classic 80/20 Pareto principle

Lower percentiles are better (e.g., 20 means top 20%, 1 means the absolute best/top product, 100 means the worst/bottom product). Ties receive the same (best possible) percentile value. Only the top-1000 products for the period are ranked.

The metafield is automatically set for currently active products ordered in the past 30 or 60 days. If the product is archived/unlisted or outside any orders in the past 30 or 60 days, the metafield is deleted.

Use cases include:

  • Inventory management: never stock out on the 20% that drives 80% of revenue
  • Marketing prioritization: focus ad spend on high-revenue performers
  • Pricing strategy: protect margins on products that actually move the needle
  • Merchandising: feature revenue champions, not just volume sellers

Details

  • Name
    espresso.net_sales_percentile_30_days | _60_days
    Description

    Metafield namespace and key

  • Name
    number_integer
    Description

    Metafield type

  • Name
    product
    Description

    Scope of Shopify object that owns the metafield

Example content

20

When you initially enable this metafield, the individual product metafields will be set in a background task. Once the metafields are set, they will be updated every 4 hours.

Was this page helpful?