Your eCommerce product efficiency experiences are in all probability deceptive you | by Hattie Biddlecombe | Oct, 2024

Why single metrics in isolation fall quick and the way Weighted Composite Scoring can remodel your online business insights

A stickman stands at the top of a tall ladder, peering over a wall. Another stickman with a shorter ladder can’t see over the wall. Beyond the wall are answers to a business’s true product value. The rungs of the ladders represent different metrics, allowing the taller ladder to provide more visibility with additional metrics.

On this planet of e-commerce, counting on particular person metrics to evaluate product and model efficiency may be deceptive. Metrics, in isolation, can create a false sense of success, resulting in overinvestment in merchandise that seem worthwhile however are literally draining your online business’s sources or, conversely, undervaluing objects with untapped potential.

To remain forward, you want a holistic view — one which evaluates product and model efficiency throughout a number of key metrics like ‘gross income’, ‘conversion charge’, ‘gross margin’, ‘buyer acquisition price’, ‘repeat buy charge’, ‘achievement prices’ and ‘return charge’.

Beneath is a typical instance of some eCommerce knowledge that lots of my shoppers work with. To guard consumer confidentiality and guarantee privateness, the info proven right here is artificial, generated utilizing AI. Though it contains quite a lot of necessary metrics, groups usually solely give attention to the metric most related to their objectives which may obscure the larger image. As an illustration, sorting by sales_gross_amount makes ‘Towel 17’ seem like the highest performer:

Desk 1: eCommerce merchandise sorted by product sales quantity

Nevertheless, after we kind by a customized rating that considers all the metrics equally, we discover that ‘Cushion 152’ emerges because the best-performing product, whereas ‘Towel 17’ drops considerably to place 213 out of 500 merchandise:

Desk 2: eCommerce merchandise sorted by weighted composite rating

Aspect notice: In observe, I in all probability wouldn’t use this many metrics concurrently, as it will possibly overcomplicate decision-making. Nevertheless, I needed to provide you an entire image of the various factors you may think about. Additionally, you will have observed that I haven’t included Add to Basket as one of many metrics within the desk. Whereas it’s a helpful early-stage indicator of buyer curiosity, it doesn’t all the time translate into closing gross sales or long-term product efficiency. Nevertheless, some should discover worth in monitoring this metric.

To keep away from these pitfalls of single metric evaluation and to realize a extra correct analysis of product and model efficiency throughout a number of metrics, we use a technique referred to as Weighted Composite Scoring.

A Weighted Composite Rating combines a number of metrics right into a single, insightful metric that gives a complete view of every product’s worth throughout numerous dimensions. Consider it like your closing grade in class — every topic could also be assessed on a unique scale, however in the end they’re mixed into one general rating.

This composite rating will also be weighted to stress particular metrics, permitting you to align with specific enterprise objectives equivalent to prioritising profitability over progress or lowering return charges.

Subsequent, let’s discover the way to implement a Weighted Composite Rating utilizing Python:

import pandas as pd
from sklearn.preprocessing import StandardScaler, MinMaxScaler

product_df= pd.read_csv('product_data.csv') # It is a set of artificially generated knowledge
product_df.head()

Desk 3: eCommerce product knowledge CSV

There are various scaling methods you may apply, however for this dataset, Z-Rating Normalisation is the simplest scaling methodology. Right here’s why:

  • Balances completely different scales: Z-Rating Normalisation converts every metric to have a imply of 0 and a normal deviation of 1. This ranges the enjoying subject for metrics that modify considerably in scale — whether or not it’s hundreds in income or single-digit conversion charges. In the end, this makes it simple to check merchandise throughout completely different dimensions.
  • Handles outliers higher: Not like Min-Max scaling, which may be distorted by excessive values, Z-scores scale back the affect of outliers, guaranteeing fairer illustration of all metrics.
  • Identifies above / beneath common efficiency: Z-scores enable us to see whether or not a price is above or beneath the imply, utilizing optimistic or destructive values (as you may see in Desk 4 beneath). As we’ll see, this perception might be helpful in a while for understanding how particular person merchandise carry out relative to the imply.

Refining with Min-Max Scaling

Whereas Min-Max scaling alone wouldn’t have been appropriate for scaling the uncooked knowledge on this dataset, we utilized it after Z-Rating Normalisation to remodel all of the values right into a constant vary between -1 and 1. By doing this, it turns into simpler to pretty examine metrics as all values are actually on the identical scale, guaranteeing that every metric contributes equally to the ultimate evaluation.

The code beneath demonstrates the way to apply the scaling strategies to our dataframe:

# Choose numeric columns and create corresponding scaled column names
numeric_cols = product_df.select_dtypes(embody=['float64', 'int64']).columns
scaled_cols = ['scaled_' + col for col in numeric_cols]

# Apply Z-Rating Normalisation after which Min-Max scaling in a single go
scaler = MinMaxScaler(feature_range=(-1, 1))
product_df[scaled_cols] = scaler.fit_transform(StandardScaler().fit_transform(product_df[numeric_cols]))

product_df.head()

Desk 4: Product dataframe displaying scaled metrics

Subsequent, we wish to present the choice for our finish customers so as to add weights to sure metrics. This permits the consumer to provide higher significance to sure metrics based mostly on enterprise priorities or targets. Completely different departments might prioritise completely different metrics relying on their focus. For instance, the Advertising and marketing workforce may be extra fascinated by buyer acquisition and conversion, the place conversion charge, buyer acquisition price (CAC), and repeat buy charge are key indicators of success.

Metrics like achievement prices, CAC, and return charge signify destructive components for a product’s efficiency. By making use of destructive weights, we make sure that greater values in these metrics decrease the general composite rating, reflecting their opposed affect:

# Instance user-provided weights (this may be dynamic based mostly on consumer enter)
user_weights = {
'scaled_conversion_rate': 0.14,
'scaled_sales_gross_amount': 0.14,
'scaled_gross_margin': 0.14,
'scaled_customer_acquisition_cost': -0.14, #discover destructive weight right here
'scaled_fulfillment_costs_per_unit': -0.14, #discover destructive weight right here
'scaled_return_rate': -0.14, #discover destructive weight right here
'scaled_repeat_purchase_rate': 0.14
}

# Calculate weighted composite rating
product_df['weighted_composite_score'] = sum(product_df[col] * weight for col, weight in user_weights.objects()) / sum(user_weights.values())

Weighting Metrics with Regression Evaluation

Simply as a facet notice, a extra data-driven method to assigning weights in a composite rating is to make use of regression evaluation. This methodology assigns weights based mostly on every metric’s precise affect on key outcomes, equivalent to general profitability or buyer retention. By doing so, probably the most impactful metrics naturally carry extra weight within the closing composite rating.

As you may see within the desk beneath (and in addition proven in the beginning of this weblog), after we order by scaled_sales_gross_amount the product ‘Towel 17’ is in high place:

Desk 1: eCommerce merchandise sorted by product sales quantity

Nevertheless, after we order by our new weighted_composite_score , ‘Cushion 152’ is available in high place, whereas the Towel 17 falls all the way in which right down to place 213 out of 500:

Desk 2: eCommerce merchandise sorted by weighted composite rating

Because of the optimistic and destructive Z-scores, we will clearly see in Desk 1 that whereas Towel 17 excels in gross sales and profitability, it struggles with repeat purchases and has a excessive return charge — potential indicators of high quality or buyer satisfaction points. Addressing these challenges may end in vital enhancements in each profitability and buyer loyalty.

In Desk 2, we will see that Cushion 152 performs exceptionally properly by way of profitability (excessive gross margin and low prices), with strong conversion charges and a low return charge. Whereas it doesn’t have the very best gross sales, it stands out as a high performer general because of its effectivity and buyer satisfaction. I’d advocate that this web site improve this product’s visibility by focused advertising campaigns and have it extra prominently on the location to drive extra gross sales.

I additionally analysed the manufacturers within the dataset, and as soon as once more, a unique image emerges after we analyse knowledge by the lens of a Weighted Composite Rating.

At first look, EcoLiving seems to be the highest performer based mostly solely on sales_gross_amount. Nevertheless, our Weighted Composite Rating, which balances all key metrics equally, reveals that PureDecor is probably the most precious model general. This method permits us to determine the model delivering the best all-around worth, moderately than specializing in a single metric or dimension of efficiency:

Desk 5: eCommerce merchandise sorted by weighted composite rating

In conclusion, implementing a Weighted Composite Rating is an easy but extremely efficient methodology for analysing complicated datasets that may be simply built-in into your current reporting instruments.

For my shoppers, this method has had a big affect — it has prevented pointless cuts to merchandise & manufacturers that have been mistakenly considered underperforming. It has additionally helped reallocate sources away from merchandise & manufacturers that have been draining budgets with out delivering proportional worth.

Weighted Composite Scoring may be utilized to any space the place a number of necessary metrics must be balanced. For instance, it will possibly assist optimise net content material, improve website positioning methods & enhance buyer segmentation, making it a transformative device throughout a number of areas of your online business.

If you happen to’d like a hand with implementing a weighted scoring system or simply wish to chat about your knowledge woes, be happy to succeed in out to me by way of electronic mail, my web site, or LinkedIn.

Except in any other case famous, all photos are by the creator