Blog / ecommerce

E‑commerce Conversion Rate: What Engineering Can Fix

There is no universal good conversion rate. Compare your store with its own history, then fix what code can fix: page speed, checkout friction and measurement.

6 min readHakan

Short answer: conversion rate is orders divided by sessions, and there is no universal good number. Compare your store with its own history, split by device and channel. The engineering work that helps is usually plain: fast selling pages, less checkout friction and correct measurement.

This guide covers that engineering side. It is for e-commerce managers and the agencies that support them. Pricing, ads and copy belong to the people who own them.

What is e-commerce conversion rate?

Conversion rate is the share of sessions that end in an order. Divide orders by sessions and multiply by 100.

Google Analytics 4 calls the actions that matter to your business key events. For most stores, the purchase is the key event to track.

Decide early whether you count sessions or users. The two give different numbers. If you mix them, your trend lines stop meaning anything.

What is a good conversion rate?

We don't quote a benchmark, and we suggest you treat published averages with care. They mix categories, price points, traffic sources and measurement methods. A furniture store and a coffee subscription will never share a target.

The useful comparison is your own store over time. Split the rate by device, by channel and by new or returning customers. A drop in one segment tells you where to look.

Where can engineering improve conversion?

Conversion depends on product, price, trust and traffic quality. Most of that sits outside the code. Engineering helps in three places: page speed, form and checkout friction, and measurement.

Page speed on the pages that sell

Start with product pages, category pages, the cart and the checkout. A fast blog doesn't help if the product page is slow.

Google's Core Web Vitals give a shared target. A good score means LCP within 2.5 seconds, INP within 200 milliseconds and CLS of 0.1 or less. Google assesses them at the 75th percentile of page loads (web.dev).

LCP measures when the main content appears. INP measures how fast the page responds to taps and clicks. CLS measures how much the layout jumps while it loads.

The usual causes are ordinary. Think large images, third-party scripts, blocking web fonts and heavy client-side JavaScript. Marketing tags deserve a close look, because old tags often stay after a campaign ends.

Use field data from real visitors where you have it. Lab tools like Lighthouse are good for diagnosis, but they don't show what your customers experience.

Don't rebuild the storefront only for speed. Most speed problems can be fixed on the current platform, and a rebuild brings its own risk. A headless rebuild makes sense when speed is one reason among several.

Form and checkout friction

Baymard Institute surveys shoppers about why they abandon checkout. Extra costs shown too late top their list of reasons. Slow delivery, forced account creation and long checkouts also rank high.

Baymard also found that most checkouts need about 8 form fields. The average checkout in 2024 had 11.3 (Baymard).

These are the fixes we check first:

  • Show shipping costs and delivery estimates early, on the product page or in the cart.
  • Offer guest checkout. Invite the customer to create an account after the order.
  • Use the right autocomplete attributes and input types, so browsers can fill addresses and cards (web.dev).
  • Remove fields you don't use. Every extra field is another question for the customer.
  • Offer wallet payments such as Apple Pay and Google Pay, where your payment provider supports them.
  • Validate fields as the customer types, with messages that explain the fix.
  • Test the checkout on a real phone, with a real payment, after every release.

On Shopify, much of this sits inside Shopify's own checkout. Shopify made one-page checkout the default in 2023 (Shopify changelog). There, your work is mostly in the product page, the cart and the apps you add.

Measurement you can trust

A test is only as good as its data. Check that each purchase is recorded once, with the right value and currency. Check that checkout steps are recorded in the right order.

Then compare the order count in analytics with the order count in your commerce platform. Expect a gap. Consent choices and ad blockers mean analytics never sees every order.

In the EU, analytics cookies usually need consent. Google's consent mode changes what is recorded when visitors decline. Know the size of your gap, and keep it stable.

Use order data from the commerce platform as the source of truth for revenue. Use analytics to understand the path to the order.

Is A/B testing worth it for your store?

Sometimes it isn't. A test needs enough orders in each variant to show a real difference. A smaller store may wait months for a clear result.

If your traffic is low, ship changes that are clearly better, such as fixing a broken form. Keep a change log and watch the trend. Save formal tests for decisions where you really don't know the answer.

When you do test, pick one primary metric before you start. Decide the sample size in advance. Don't stop a test on the day it happens to look good.

What is not worth doing?

  • Fake urgency. Countdown timers and invented stock warnings cost trust once customers notice them.
  • Another widget on every page. Chat tools and pop-ups add scripts. Measure their effect on speed before you keep them.
  • A redesign for an undiagnosed drop. Find the segment and the step where orders fall first.
  • A copied checkout. Another store has different customers, products and payment methods.

How we help with conversion work

We work on the engineering side of conversion. We make pages faster, fix friction in forms and checkout, and set up the measurement your tests depend on. See conversion rate optimisation for the scope.

We work in your repository, alongside your team or your agency. We don't run ad campaigns or write conversion copy.

Tell us what you are building, your current systems and where you need development support. Discuss a project.

#conversion rate#checkout#performance#Core Web Vitals#analytics

Hakan

Questions

What is a good e-commerce conversion rate?

There is no single good rate. Published averages mix categories, prices and measurement methods. Compare your store with its own history, split by device and channel.

How do you calculate conversion rate?

Divide orders by sessions and multiply by 100. For example, 200 orders from 10,000 sessions is a 2% conversion rate. Use the same definition every time you report it.

Does page speed affect conversion rate?

Slow pages add friction, especially on phones. We don't quote a fixed gain per second, because it varies by store. Fix product, cart and checkout pages first, then measure the effect in your own data.

Should we move to headless commerce to improve conversion?

Not for conversion alone. Most speed and checkout problems can be fixed on your current platform. Headless makes sense when you also need custom product data, content or integrations. See headless commerce.

Do you run A/B tests for us?

We build the variants and set up the tracking, and we check that the data is correct. The test plan and the final decision stay with your team or your agency.

What are you working on?

A new build, an existing product, or extra development support for your team.