
π Retail & E-commerce Β· Sankey
Where visitors drop off on the way to an order: traffic sources, product views, carts, checkout and completed orders.
Drawing diagramβ¦
A Sankey diagram of an online store's funnel per 10,000 visitors: organic search 4,000, paid ads 3,500, social 1,500, direct 1,000 visitors arrive; 6,000 view a product and 4,000 leave; 1,800 add to cart and 4,200 leave after viewing; 900 start checkout and 900 abandon the cart; 540 place an order and 360 abandon checkout.
sankey-beta Organic search,Visitors,4000 Paid ads,Visitors,3500 Social,Visitors,1500 Direct,Visitors,1000 Visitors,Product views,6000 Visitors,Bounced,4000 Product views,Added to cart,1800 Product views,Left after viewing,4200 Added to cart,Started checkout,900 Added to cart,Cart abandoned,900 Started checkout,Orders,540 Started checkout,Checkout abandoned,360
An online store split into microservices: catalog, cart, orders, payments and search, with Kafka events connecting them to shipping and notifications.
What happens when a shopper clicks Pay: stock is reserved, the payment is authorised, the order is created and stock is released again if payment fails.
Every status an online order moves through, from placed to delivered, including cancellations, returns and refunds.
A flexible product catalog: categories, products with variants (size, colour), prices, stock per warehouse and images.
How stock stays in sync across stores, warehouses and marketplaces so the same item isn't sold twice.
How an online store handles a return: eligibility, pickup, quality check at the warehouse and the refund or replacement.