Prognostication For Fun And Profit: States And Events - Shopify
Jul 26, 2011

Summary
This post introduces the fundamental concepts of states and events, and their relationship to intervals and points, as a theoretical basis for calculating e-commerce metrics. It uses accounting as an analogy to explain the difference between balance sheets (counting states at a point in time) and income statements (counting events over a period). The post advocates for starting metric definitions with events due to their less abstract nature compared to states, and discusses how event-based counting offers greater flexibility for adapting to changing business definitions and for building predictive metrics.
More from the E-commerce Metrics Calculation trail
- ShopifyQL Notebooks: Simplifying Querying with Commerce Data Models - Shopify
- Double Entry Transition Tables: How We Track State Changes At Shopify - Shopify
- Bound to Round: 8 Tips for Dealing with Hanging Pennies - Shopify
- How to Make Dashboards Using a Product Thinking Approach - Shopify
- How Shopify Merchants can Measure Retention - Shopify