<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Inferentia: Measurement Guides]]></title><description><![CDATA[Practical guides to tracking user behaviour, choosing useful metrics, running experiments and investigating changes in conversion.]]></description><link>https://www.inferentia.in/s/experimentation</link><image><url>https://substackcdn.com/image/fetch/$s_!Ydl9!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20523561-1faf-45ef-81af-96c7aeb07db6_1120x1120.png</url><title>Inferentia: Measurement Guides</title><link>https://www.inferentia.in/s/experimentation</link></image><generator>Substack</generator><lastBuildDate>Thu, 08 Oct 2026 11:34:18 GMT</lastBuildDate><atom:link href="https://www.inferentia.in/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Piyush Ranjan]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[inferentia@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[inferentia@substack.com]]></itunes:email><itunes:name><![CDATA[Piyush Ranjan]]></itunes:name></itunes:owner><itunes:author><![CDATA[Piyush Ranjan]]></itunes:author><googleplay:owner><![CDATA[inferentia@substack.com]]></googleplay:owner><googleplay:email><![CDATA[inferentia@substack.com]]></googleplay:email><googleplay:author><![CDATA[Piyush Ranjan]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[The Art of Event Design: Turning Clickstream Data into into Actionable Insights]]></title><description><![CDATA[From Clicks to Conversions: Building an Analytics Foundation That Drives Results]]></description><link>https://www.inferentia.in/p/mastering-event-design-for-clickstream</link><guid isPermaLink="false">https://www.inferentia.in/p/mastering-event-design-for-clickstream</guid><dc:creator><![CDATA[Piyush Ranjan]]></dc:creator><pubDate>Wed, 19 Mar 2025 04:37:24 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!eiOn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9961f7-e9dd-47da-b9dc-33ee83e47946_1936x1046.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Understanding user behaviour, optimising user experiences, and making data-driven decisions are critical components of successful Conversion Rate Optimisation (CRO). At the heart of these efforts lies event instrumentation&#8212;a process that, when executed well, provides the accurate and actionable data needed to drive meaningful insights. A well-designed event tracking system captures key user interactions, enabling precise analysis of conversion funnels, identification of drop-off points, and detection of user friction. Conversely, poorly structured event tracking can result in unreliable data, scalability challenges, and missed opportunities to improve conversions.</p><p>This blog delves into the art and science of designing event tracking systems specifically for clickstream analytics in CRO. We&#8217;ll explore best practices for event nomenclature, granularity, standardisation, event properties, schema maintenance, and more. Whether you&#8217;re an analyst, product manager, data engineer, or analytics specialist, this guide will equip you with the knowledge and tools to build a robust event tracking framework that directly supports your conversion optimization goals.</p><p>By the end of this post, you&#8217;ll understand how to:</p><ul><li><p>Design events that capture meaningful user behaviors.</p></li><li><p>Establish a scalable and maintainable event schema.</p></li><li><p>Avoid common pitfalls in event instrumentation.</p></li><li><p>Leverage event data to uncover actionable insights for CRO.</p></li></ul><p>Let&#8217;s dive into the principles and practices that will help you create a high-quality event tracking system tailored for CRO success.</p><div><hr></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!eiOn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9961f7-e9dd-47da-b9dc-33ee83e47946_1936x1046.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!eiOn!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9961f7-e9dd-47da-b9dc-33ee83e47946_1936x1046.png 424w, https://substackcdn.com/image/fetch/$s_!eiOn!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9961f7-e9dd-47da-b9dc-33ee83e47946_1936x1046.png 848w, https://substackcdn.com/image/fetch/$s_!eiOn!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9961f7-e9dd-47da-b9dc-33ee83e47946_1936x1046.png 1272w, https://substackcdn.com/image/fetch/$s_!eiOn!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9961f7-e9dd-47da-b9dc-33ee83e47946_1936x1046.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!eiOn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9961f7-e9dd-47da-b9dc-33ee83e47946_1936x1046.png" width="1456" height="787" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4c9961f7-e9dd-47da-b9dc-33ee83e47946_1936x1046.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:787,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!eiOn!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9961f7-e9dd-47da-b9dc-33ee83e47946_1936x1046.png 424w, https://substackcdn.com/image/fetch/$s_!eiOn!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9961f7-e9dd-47da-b9dc-33ee83e47946_1936x1046.png 848w, https://substackcdn.com/image/fetch/$s_!eiOn!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9961f7-e9dd-47da-b9dc-33ee83e47946_1936x1046.png 1272w, https://substackcdn.com/image/fetch/$s_!eiOn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4c9961f7-e9dd-47da-b9dc-33ee83e47946_1936x1046.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h4>Event Nomenclature: Crafting Clear and Consistent Names</h4><p>Event names are the foundation of clickstream analytics&#8212;they identify user actions clearly and consistently. A strong naming convention improves readability, ensures uniformity, and simplifies data analysis across teams and platforms.</p><h4>Guidelines for Event Naming</h4><ul><li><p><strong>Be Descriptive Yet Concise</strong>: Use names that convey the action without excess words (e.g., <code>button_clicked</code> vs. <code>user_clicked_the_submit_button</code>).</p></li><li><p><strong>Follow a Consistent Structure</strong>: Use a verb-noun pattern (e.g., <code>page_viewed</code>, <code>item_added</code>, <code>form_submitted</code>) for uniformity.</p></li><li><p><strong>Use Snake_Case or CamelCase</strong>: Pick one format and stick to it (e.g., <code>item_added</code> or <code>itemAdded</code>) for readability and tool compatibility.</p></li><li><p><strong>Avoid Ambiguity</strong>: Skip vague terms like <code>click</code> or <code>event</code>; specify context (e.g., <code>menu_expanded</code> instead of <code>click</code>).</p></li><li><p><strong>Plan for Scalability</strong>: Add qualifiers to distinguish similar actions (e.g., <code>checkout_started</code> vs. <code>checkout_completed</code>).</p></li></ul><h4>Example Naming Conventions</h4><ul><li><p><strong>E-commerce</strong>: <code>product_viewed</code>, <code>cart_updated</code>, <code>order_placed</code></p></li><li><p><strong>Content Platform</strong>: <code>article_read</code>, <code>video_played</code>, <code>comment_posted</code></p></li><li><p><strong>SaaS Application</strong>: <code>dashboard_loaded</code>, <code>report_exported</code>, <code>user_invited</code></p></li></ul><h4>Benefits</h4><ul><li><p>Analysts interpret events quickly without heavy documentation.</p></li><li><p>Engineers implement and maintain events with less confusion.</p></li><li><p>Scalability improves as new features or products are introduced.</p></li></ul><div><hr></div><h3>Granularity of Events: Striking the Right Balance </h3><p>Event granularity defines the detail level in your tracking system. Too broad, and you miss insights; too detailed, and you&#8217;re buried in noise. The trick is aligning granularity with your business goals and analytical needs.</p><h4>Determining Optimal Granularity </h4><ol><li><p><strong>Start with Objectives</strong>: Identify what you need to measure (e.g., user engagement, conversion funnels, feature usage) and track supporting events.</p></li><li><p><strong>Focus on Meaningful Actions</strong>: Capture significant interactions, not every micro-action (e.g., <code>form_submitted</code> over every keystroke).</p></li><li><p><strong>Consider Downstream Impact</strong>: Ensure granularity supports reporting and analysis without overloading storage or processing.</p></li></ol><h4>Practical Advice</h4><ul><li><p><strong>Low Granularity (Broad)</strong>: Use for high-level insights, like <code>page_viewed</code> for overall traffic.</p></li><li><p><strong>Medium Granularity (Balanced)</strong>: Best for most cases, like <code>button_clicked</code> with properties like <code>button_name</code>.</p></li><li><p><strong>High Granularity (Detailed)</strong>: Use for specific debugging or optimization, like <code>scroll_depth_reached</code> with thresholds.</p></li></ul><h4>Visual Aid: Granularity Flowchart</h4><p>Here&#8217;s a flowchart to guide your granularity decisions:</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!LUG7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce3c6339-2f8b-46b7-9a43-8b52e10e0114_1494x246.png 424w, https://substackcdn.com/image/fetch/$s_!LUG7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce3c6339-2f8b-46b7-9a43-8b52e10e0114_1494x246.png 848w, https://substackcdn.com/image/fetch/$s_!LUG7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce3c6339-2f8b-46b7-9a43-8b52e10e0114_1494x246.png 1272w, https://substackcdn.com/image/fetch/$s_!LUG7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce3c6339-2f8b-46b7-9a43-8b52e10e0114_1494x246.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!LUG7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce3c6339-2f8b-46b7-9a43-8b52e10e0114_1494x246.png" width="1456" height="240" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ce3c6339-2f8b-46b7-9a43-8b52e10e0114_1494x246.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:240,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:145704,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.inferentia.in/i/159304977?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce3c6339-2f8b-46b7-9a43-8b52e10e0114_1494x246.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!LUG7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce3c6339-2f8b-46b7-9a43-8b52e10e0114_1494x246.png 424w, https://substackcdn.com/image/fetch/$s_!LUG7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce3c6339-2f8b-46b7-9a43-8b52e10e0114_1494x246.png 848w, https://substackcdn.com/image/fetch/$s_!LUG7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce3c6339-2f8b-46b7-9a43-8b52e10e0114_1494x246.png 1272w, https://substackcdn.com/image/fetch/$s_!LUG7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce3c6339-2f8b-46b7-9a43-8b52e10e0114_1494x246.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></div></figure></div><p></p><h4>Example Scenario</h4><p>For an e-commerce checkout flow:</p><ul><li><p><strong>Too Coarse</strong>: <code>checkout_event</code> (misses key steps).</p></li><li><p><strong>Too Granular</strong>: <code>mouse_moved</code>, <code>field_focused</code> (overloads pipelines).</p></li><li><p><strong>Just Right</strong>: <code>checkout_started</code>, <code>payment_selected</code>, <code>order_placed</code> (tracks the funnel effectively).</p></li></ul><div><hr></div><h3>Event Standardisation and Taxonomy: Building a Unified Framework </h3><p>A standardised event structure and taxonomy ensure consistency across products, platforms, and teams, making data interoperable and analysis-ready.</p><h4>Best Practices for Standardisation</h4><ol><li><p><strong>Define Categories</strong>: Group events into meaningful, logical categories that reflect user interactions clearly.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1BjR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8f352b1-635b-4c7f-ac24-cc94626e2cde_1176x540.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1BjR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8f352b1-635b-4c7f-ac24-cc94626e2cde_1176x540.png 424w, https://substackcdn.com/image/fetch/$s_!1BjR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8f352b1-635b-4c7f-ac24-cc94626e2cde_1176x540.png 848w, https://substackcdn.com/image/fetch/$s_!1BjR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8f352b1-635b-4c7f-ac24-cc94626e2cde_1176x540.png 1272w, https://substackcdn.com/image/fetch/$s_!1BjR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8f352b1-635b-4c7f-ac24-cc94626e2cde_1176x540.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1BjR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8f352b1-635b-4c7f-ac24-cc94626e2cde_1176x540.png" width="1176" height="540" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c8f352b1-635b-4c7f-ac24-cc94626e2cde_1176x540.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:540,&quot;width&quot;:1176,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:99399,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.inferentia.in/i/159304977?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8f352b1-635b-4c7f-ac24-cc94626e2cde_1176x540.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!1BjR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8f352b1-635b-4c7f-ac24-cc94626e2cde_1176x540.png 424w, https://substackcdn.com/image/fetch/$s_!1BjR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8f352b1-635b-4c7f-ac24-cc94626e2cde_1176x540.png 848w, https://substackcdn.com/image/fetch/$s_!1BjR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8f352b1-635b-4c7f-ac24-cc94626e2cde_1176x540.png 1272w, https://substackcdn.com/image/fetch/$s_!1BjR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8f352b1-635b-4c7f-ac24-cc94626e2cde_1176x540.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p></li><li><p><strong>Create a Taxonomy</strong>: Establish a clear hierarchy for organising events:</p><pre><code><code>Event Taxonomy
&#9500;&#9472;&#9472; Navigation
&#9474;   &#9500;&#9472;&#9472; Viewed
&#9474;   &#9474;   &#9500;&#9472;&#9472; Page (e.g., `page_viewed`)
&#9474;   &#9474;   &#9492;&#9472;&#9472; Menu (e.g., `menu_expanded`)
&#9500;&#9472;&#9472; Interaction
&#9474;   &#9500;&#9472;&#9472; Clicked
&#9474;   &#9474;   &#9500;&#9472;&#9472; Button (e.g., `button_clicked`)
&#9474;   &#9492;&#9472;&#9472; Submitted
&#9474;       &#9492;&#9472;&#9472; Form (e.g., `form_submitted`)
&#9500;&#9472;&#9472; Transaction
&#9474;   &#9500;&#9472;&#9472; Started
&#9474;   &#9474;   &#9492;&#9472;&#9472; Checkout (e.g., `checkout_started`)
&#9474;   &#9492;&#9472;&#9472; Completed
&#9474;       &#9492;&#9472;&#9472; Order (e.g., `order_completed`)
&#9492;&#9472;&#9472; Engagement
    &#9500;&#9472;&#9472; Played
    &#9474;   &#9492;&#9472;&#9472; Video (e.g., `video_played`)
    &#9492;&#9472;&#9472; Reached
        &#9492;&#9472;&#9472; Scroll Depth (e.g., `scroll_depth_reached`)</code></code></pre><p></p></li><li><p><strong>Document Everything</strong>: Maintain detailed documentation for each event, including:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Tp1P!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7e9c754-9e26-4974-b0a7-3f34b63414d4_1192x618.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Tp1P!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7e9c754-9e26-4974-b0a7-3f34b63414d4_1192x618.png 424w, https://substackcdn.com/image/fetch/$s_!Tp1P!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7e9c754-9e26-4974-b0a7-3f34b63414d4_1192x618.png 848w, https://substackcdn.com/image/fetch/$s_!Tp1P!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7e9c754-9e26-4974-b0a7-3f34b63414d4_1192x618.png 1272w, https://substackcdn.com/image/fetch/$s_!Tp1P!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7e9c754-9e26-4974-b0a7-3f34b63414d4_1192x618.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Tp1P!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7e9c754-9e26-4974-b0a7-3f34b63414d4_1192x618.png" width="1192" height="618" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e7e9c754-9e26-4974-b0a7-3f34b63414d4_1192x618.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:618,&quot;width&quot;:1192,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:85161,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.inferentia.in/i/159304977?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7e9c754-9e26-4974-b0a7-3f34b63414d4_1192x618.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Tp1P!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7e9c754-9e26-4974-b0a7-3f34b63414d4_1192x618.png 424w, https://substackcdn.com/image/fetch/$s_!Tp1P!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7e9c754-9e26-4974-b0a7-3f34b63414d4_1192x618.png 848w, https://substackcdn.com/image/fetch/$s_!Tp1P!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7e9c754-9e26-4974-b0a7-3f34b63414d4_1192x618.png 1272w, https://substackcdn.com/image/fetch/$s_!Tp1P!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7e9c754-9e26-4974-b0a7-3f34b63414d4_1192x618.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div></li></ol><h4>Implementation Tips</h4><ul><li><p><strong>Use Prefixes for Multi-Product Setups</strong>: Clearly distinguish events across multiple products or environments (e.g., <code>web_page_viewed</code>, <code>app_page_viewed</code>).</p></li><li><p><strong>Standardise Property Names</strong>: Ensure properties within categories remain consistent for easier aggregation and analysis.<br></p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!osE0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c8f9fa-668f-4dd5-aff3-149cb2855ca7_1192x286.png 424w, https://substackcdn.com/image/fetch/$s_!osE0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c8f9fa-668f-4dd5-aff3-149cb2855ca7_1192x286.png 848w, https://substackcdn.com/image/fetch/$s_!osE0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c8f9fa-668f-4dd5-aff3-149cb2855ca7_1192x286.png 1272w, https://substackcdn.com/image/fetch/$s_!osE0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c8f9fa-668f-4dd5-aff3-149cb2855ca7_1192x286.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!osE0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c8f9fa-668f-4dd5-aff3-149cb2855ca7_1192x286.png" width="1192" height="286" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e6c8f9fa-668f-4dd5-aff3-149cb2855ca7_1192x286.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:286,&quot;width&quot;:1192,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:51805,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.inferentia.in/i/159304977?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c8f9fa-668f-4dd5-aff3-149cb2855ca7_1192x286.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!osE0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c8f9fa-668f-4dd5-aff3-149cb2855ca7_1192x286.png 424w, https://substackcdn.com/image/fetch/$s_!osE0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c8f9fa-668f-4dd5-aff3-149cb2855ca7_1192x286.png 848w, https://substackcdn.com/image/fetch/$s_!osE0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c8f9fa-668f-4dd5-aff3-149cb2855ca7_1192x286.png 1272w, https://substackcdn.com/image/fetch/$s_!osE0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe6c8f9fa-668f-4dd5-aff3-149cb2855ca7_1192x286.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></div></figure></div><p><br></p></li></ul><div><hr></div><h2>Event Properties: Adding Context to Actions</h2><p>Event properties provide depth and critical context to raw event data, enabling richer analysis and actionable insights. Properly defined and structured event properties can significantly enhance the effectiveness of your analytics by providing precise details on user interactions, behaviors, and journeys.</p><h3>Types of Event Properties</h3><h4>1. Event-Specific Properties</h4><p>These properties describe the specific action taken by the user. They provide detailed context directly associated with each individual event.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Mnfe!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4707f48c-4599-44ab-90a0-a5323caae340_1196x462.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Mnfe!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4707f48c-4599-44ab-90a0-a5323caae340_1196x462.png 424w, https://substackcdn.com/image/fetch/$s_!Mnfe!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4707f48c-4599-44ab-90a0-a5323caae340_1196x462.png 848w, https://substackcdn.com/image/fetch/$s_!Mnfe!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4707f48c-4599-44ab-90a0-a5323caae340_1196x462.png 1272w, https://substackcdn.com/image/fetch/$s_!Mnfe!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4707f48c-4599-44ab-90a0-a5323caae340_1196x462.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Mnfe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4707f48c-4599-44ab-90a0-a5323caae340_1196x462.png" width="1196" height="462" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4707f48c-4599-44ab-90a0-a5323caae340_1196x462.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:462,&quot;width&quot;:1196,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:78152,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.inferentia.in/i/159304977?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4707f48c-4599-44ab-90a0-a5323caae340_1196x462.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Mnfe!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4707f48c-4599-44ab-90a0-a5323caae340_1196x462.png 424w, https://substackcdn.com/image/fetch/$s_!Mnfe!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4707f48c-4599-44ab-90a0-a5323caae340_1196x462.png 848w, https://substackcdn.com/image/fetch/$s_!Mnfe!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4707f48c-4599-44ab-90a0-a5323caae340_1196x462.png 1272w, https://substackcdn.com/image/fetch/$s_!Mnfe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4707f48c-4599-44ab-90a0-a5323caae340_1196x462.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h4>2. User-Level Properties</h4><p>User-level properties provide demographic, behavioural, or status information about the user performing the action, helping segment and analyse user cohorts.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IvqF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1049160-0916-4fcb-9069-aa113ea87819_1196x440.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IvqF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1049160-0916-4fcb-9069-aa113ea87819_1196x440.png 424w, https://substackcdn.com/image/fetch/$s_!IvqF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1049160-0916-4fcb-9069-aa113ea87819_1196x440.png 848w, https://substackcdn.com/image/fetch/$s_!IvqF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1049160-0916-4fcb-9069-aa113ea87819_1196x440.png 1272w, https://substackcdn.com/image/fetch/$s_!IvqF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1049160-0916-4fcb-9069-aa113ea87819_1196x440.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IvqF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1049160-0916-4fcb-9069-aa113ea87819_1196x440.png" width="1196" height="440" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d1049160-0916-4fcb-9069-aa113ea87819_1196x440.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:440,&quot;width&quot;:1196,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:72068,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.inferentia.in/i/159304977?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1049160-0916-4fcb-9069-aa113ea87819_1196x440.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IvqF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1049160-0916-4fcb-9069-aa113ea87819_1196x440.png 424w, https://substackcdn.com/image/fetch/$s_!IvqF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1049160-0916-4fcb-9069-aa113ea87819_1196x440.png 848w, https://substackcdn.com/image/fetch/$s_!IvqF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1049160-0916-4fcb-9069-aa113ea87819_1196x440.png 1272w, https://substackcdn.com/image/fetch/$s_!IvqF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1049160-0916-4fcb-9069-aa113ea87819_1196x440.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h4>3. Session-Level Properties </h4><p>These properties describe the context of the session during which events occur. They help analyse user behaviour patterns within specific user sessions.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!HlAI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0735576c-27af-4322-9604-40e811c0bcf8_1182x478.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!HlAI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0735576c-27af-4322-9604-40e811c0bcf8_1182x478.png 424w, https://substackcdn.com/image/fetch/$s_!HlAI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0735576c-27af-4322-9604-40e811c0bcf8_1182x478.png 848w, https://substackcdn.com/image/fetch/$s_!HlAI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0735576c-27af-4322-9604-40e811c0bcf8_1182x478.png 1272w, https://substackcdn.com/image/fetch/$s_!HlAI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0735576c-27af-4322-9604-40e811c0bcf8_1182x478.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!HlAI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0735576c-27af-4322-9604-40e811c0bcf8_1182x478.png" width="1182" height="478" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0735576c-27af-4322-9604-40e811c0bcf8_1182x478.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:478,&quot;width&quot;:1182,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:84107,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.inferentia.in/i/159304977?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0735576c-27af-4322-9604-40e811c0bcf8_1182x478.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!HlAI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0735576c-27af-4322-9604-40e811c0bcf8_1182x478.png 424w, https://substackcdn.com/image/fetch/$s_!HlAI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0735576c-27af-4322-9604-40e811c0bcf8_1182x478.png 848w, https://substackcdn.com/image/fetch/$s_!HlAI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0735576c-27af-4322-9604-40e811c0bcf8_1182x478.png 1272w, https://substackcdn.com/image/fetch/$s_!HlAI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0735576c-27af-4322-9604-40e811c0bcf8_1182x478.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>Guidance for Defining Event Properties</h3><h4>Keep Properties Relevant</h4><ul><li><p>Only include properties that directly support business objectives or analytical needs.</p></li><li><p>Avoid unnecessary properties that clutter data and complicate analysis.</p></li></ul><h4>Use Consistent Formats</h4><ul><li><p>Standardize naming conventions for clarity (e.g., snake_case or camelCase).</p></li><li><p>Ensure consistency in data types (dates in ISO format, monetary values as decimals).</p></li></ul><h4>Leverage Nested Structures</h4><ul><li><p>Utilize JSON-like nested structures to represent complex data, especially when dealing with multiple related attributes.</p></li></ul><div><hr></div><h3>Schema Cleanliness and Maintenance: Keeping Your Data Tidy</h3><p>A clean event schema prevents redundancy, reduces errors, and ensures scalability.</p><h4>Strategies for Schema Maintenance</h4><ol><li><p><strong>Conduct Regular Audits</strong>: Quarterly checks for unused or duplicate events.</p></li><li><p><strong>Deprecate Gracefully</strong>: Mark and phase out obsolete events.</p></li><li><p><strong>Version Your Schema</strong>: Use versioning to update without disruptions.</p></li><li><p><strong>Automate Validation</strong>: Implement checks to enforce standards during deployment.</p><p></p></li></ol><div><hr></div><h3>Conclusion </h3><p>Effective event design for clickstream analytics blends art and science. Clear naming, balanced granularity, standardized taxonomy, enriched properties, and schema maintenance unlock actionable insights and scalability. Start small, iterate, and collaborate to build a robust, evolving system that transforms clicks into valuable understanding.</p><p>Happy tracking!</p><div><hr></div><h2>Get Started: Sample Events and Template</h2><p></p><p>Download our comprehensive <a href="https://docs.google.com/spreadsheets/d/1omcBU5UfQDC3fH1_-2ieW1slBELCnrmdEDbn2-HobTc/edit?pli=1&amp;gid=0#gid=0">Event Design Template</a> to standardise and streamline your event instrumentation today.</p><p>To help you kickstart your event instrumentation, here are a few sample events to consider:</p><p><strong>page_viewed:</strong></p><pre><code><code>{
  "event": "page_viewed",
  "properties": {
    "page_name": "product_detail",
    "page_path": "/products/wireless-headphones",
    "page_referrer": "/category/electronics",
    "page_title": "Wireless Bluetooth Headphones | Our Store",
    "scroll_depth": 0,
    "time_on_page_seconds": 0
  }
}</code></code></pre><p><strong>order_completed:</strong></p><pre><code><code>{
  "event": "order_completed",
  "properties": {
    "order_id": "ORD-12345",
    "currency": "USD",
    "total_value": 129.99,
    "tax_value": 10.40,
    "shipping_value": 5.99,
    "coupon_code": "SUMMER20",
    "discount_value": 26.00,
    "products": [
      {
        "product_id": "P-123",
        "product_name": "Wireless Headphones",
        "product_category": "Electronics",
        "product_price": 79.99,
        "product_quantity": 1
      },
      {
        "product_id": "P-456",
        "product_name": "Phone Charger",
        "product_category": "Accessories",
        "product_price": 19.99,
        "product_quantity": 2
      }
    ],
    "payment_method": "credit_card",
    "shipping_method": "standard"
  }
}</code></code></pre>]]></content:encoded></item><item><title><![CDATA[Google Tag Manager (GTM): A Complete Guide to Smarter Tracking & Analytics]]></title><description><![CDATA[From Basic Tracking to Advanced Analytics: How GTM Helps Businesses Make Data-Driven Decisions]]></description><link>https://www.inferentia.in/p/google-tag-manager-gtm-a-complete</link><guid isPermaLink="false">https://www.inferentia.in/p/google-tag-manager-gtm-a-complete</guid><dc:creator><![CDATA[Piyush Ranjan]]></dc:creator><pubDate>Sun, 09 Feb 2025 15:15:45 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!jxm_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c25c1be-6ceb-453f-85e4-c7f649718935_950x534.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h3>What is Google Tag Manager (GTM)?</h3><p>Google Tag Manager is a powerful, free tool from Google designed to simplify the process of managing and deploying marketing tags&#8212;snippets of code or tracking pixels used to collect data&#8212;on websites and mobile apps. It empowers marketers, analysts, and developers to efficiently implement and update tracking codes without the need for constant intervention from a web developer or direct modifications to the website&#8217;s source code. By using a container system, GTM allows all tags to be added, updated, and maintained in one centralized location, streamlining the process and reducing the risk of errors. </p><p>In essence, GTM acts as a bridge between your website and various marketing or analytics tools, enabling seamless data collection and improved workflow efficiency. Whether you're tracking user behavior, measuring campaign performance, or integrating third-party tools, GTM provides a user-friendly interface to manage it all with ease.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jxm_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c25c1be-6ceb-453f-85e4-c7f649718935_950x534.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jxm_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c25c1be-6ceb-453f-85e4-c7f649718935_950x534.png 424w, https://substackcdn.com/image/fetch/$s_!jxm_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c25c1be-6ceb-453f-85e4-c7f649718935_950x534.png 848w, https://substackcdn.com/image/fetch/$s_!jxm_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c25c1be-6ceb-453f-85e4-c7f649718935_950x534.png 1272w, https://substackcdn.com/image/fetch/$s_!jxm_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c25c1be-6ceb-453f-85e4-c7f649718935_950x534.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jxm_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c25c1be-6ceb-453f-85e4-c7f649718935_950x534.png" width="950" height="534" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6c25c1be-6ceb-453f-85e4-c7f649718935_950x534.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:534,&quot;width&quot;:950,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:80753,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!jxm_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c25c1be-6ceb-453f-85e4-c7f649718935_950x534.png 424w, https://substackcdn.com/image/fetch/$s_!jxm_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c25c1be-6ceb-453f-85e4-c7f649718935_950x534.png 848w, https://substackcdn.com/image/fetch/$s_!jxm_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c25c1be-6ceb-453f-85e4-c7f649718935_950x534.png 1272w, https://substackcdn.com/image/fetch/$s_!jxm_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6c25c1be-6ceb-453f-85e4-c7f649718935_950x534.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><h3><strong>What is a Tag?</strong></h3><p>A tag is a small snippet of code&#8212;often JavaScript or HTML&#8212;that is added to a website or mobile app to collect data and send it to third-party tools. These tools can include analytics platforms (like Google Analytics), advertising networks (like Google Ads), or customer relationship management (CRM) systems. Tags are used to track various user interactions, such as page views, button clicks, form submissions, and e-commerce transactions. For example, a tag might be used to monitor how many users clicked on a specific call-to-action button or to measure the success of an online advertising campaign. While tags are essential for gathering insights and optimizing marketing efforts, managing them manually can be complex and time-consuming. This is where Google Tag Manager (GTM) comes in, simplifying the process of deploying and managing tags without requiring extensive technical expertise.</p><h3>A Brief History of Tag Management</h3><p>In the early days of digital marketing, tracking user behavior and collecting data on websites was a cumbersome, technically demanding, and often inefficient process. Before the advent of <strong>Tag Management Systems (TMS)</strong>, businesses had to rely on <strong>manually embedding tracking codes</strong>&#8212;such as those for web analytics, advertising, conversion tracking, and remarketing&#8212;directly into their website&#8217;s source code. This traditional approach posed several challenges:</p><ul><li><p><strong>Heavy Developer Dependency:</strong> Every time a new tag needed to be added, updated, or removed, developers had to modify the website&#8217;s code manually. This process was not only time-consuming but also led to operational bottlenecks, delaying marketing campaigns and data collection.</p></li><li><p><strong>Error-Prone Implementation:</strong> A misplaced snippet, syntax error, or incorrectly deployed tag could break website functionality or lead to inaccurate data collection, making reliable analytics difficult.</p></li><li><p><strong>Performance Issues:</strong> As websites accumulated multiple tracking tags, page load speeds suffered. Excessive scripts could slow down website performance, negatively affecting user experience and even impacting SEO rankings.</p></li></ul><p>As digital marketing evolved, businesses became more <strong>data-driven</strong>, relying heavily on real-time insights to optimize their strategies. However, the limitations of manual tag implementation became more apparent. Marketers needed the ability to <strong>deploy and manage an increasing number of tags</strong> to track critical user interactions.</p><p>Without a <strong>centralized system</strong> to handle these diverse tracking needs, businesses faced inefficiencies, inconsistent data collection, and a lack of agility in responding to new marketing demands. The increasing complexity of digital marketing necessitated a more scalable, efficient, and user-friendly solution&#8212;paving the way for Google Tag Manager (GTM) and other Tag Management Systems.</p><div><hr></div><h3><strong>The Rise of Tag Management Systems</strong></h3><p>The <strong>tag management revolution</strong> gained momentum between <strong>2008 and 2011</strong>, as businesses struggled with the inefficiencies of manually managing tracking codes. Recognizing this challenge, pioneering solutions like <strong>Satellite</strong> (later acquired by Adobe and integrated into Adobe Launch) emerged as some of the first dedicated <strong>Tag Management Systems (TMS).</strong> Soon after, companies like <strong>Tealium</strong> and <strong>Ensighten</strong> entered the market, further solidifying the importance of a streamlined approach to tag deployment. These early innovations demonstrated the immense potential of tag management for marketing and analytics teams by enabling them to:</p><ul><li><p><strong>Deploy Tags Independently:</strong> Reduce reliance on developers, allowing marketers to implement tracking codes quickly and efficiently without modifying website code.</p></li><li><p><strong>Centralize Tag Management:</strong> Provide a single interface to add, update, and organize all tags, ensuring consistency and simplifying maintenance.</p></li><li><p><strong>Improve Efficiency and Accuracy:</strong> Minimize human errors, reduce broken or outdated scripts, and enhance data reliability for better decision-making.</p></li></ul><p>As businesses increasingly relied on <strong>data-driven marketing</strong>, they began to recognize the <strong>strategic advantage</strong> of a centralized tag management solution. By shifting away from manual implementations, organizations not only <strong>improved operational efficiency</strong> but also <strong>enhanced website performance</strong>&#8212;reducing unnecessary code bloat and ensuring faster load times. This shift set the stage for the next generation of tag management tools, with <strong>Google Tag Manager (GTM)</strong> emerging as a game-changer in the industry.</p><div><hr></div><h3><strong>The Emergence of Google Tag Manager</strong></h3><p>As businesses recognized the need for an efficient and scalable tag management solution, <strong>Google disrupted the market in 2012</strong> by launching <strong>Google Tag Manager (GTM)</strong>&#8212;a <strong>free, user-friendly, and powerful</strong> tag management system that quickly became the industry standard. Unlike earlier paid solutions that required significant technical expertise, <strong>GTM democratized tag management</strong>, making it accessible to marketers, analysts, and developers alike.</p><p>What set <strong>GTM apart</strong> was its:</p><ul><li><p><strong>Intuitive Interface</strong> &#8211; A no-code environment that allowed marketers to manage tracking codes without extensive developer involvement.</p></li><li><p><strong>Seamless Integration with Google Ecosystem</strong> &#8211; Native support for Google Analytics, Google Ads, and other Google tools.</p></li><li><p><strong>Flexible Triggers and Variables</strong> &#8211; A highly customizable system to track user interactions dynamically.</p></li><li><p><strong>Version Control and Debugging Tools</strong> &#8211; Features like built-in <strong>Preview Mode</strong> and change history helped teams test and troubleshoot before deployment.</p></li><li><p><strong>Scalability</strong> &#8211; Whether for small businesses or large enterprises, GTM provided a centralized platform for managing tags across websites and mobile apps.</p></li></ul><p>By offering a <strong>free</strong>, <strong>robust</strong>, and <strong>scalable</strong> tag management system, <strong>Google Tag Manager quickly became the go-to choice</strong> for businesses looking to streamline their tracking efforts, improve website performance, and gain deeper insights into user behavior.</p><div><hr></div><h3><strong>The Philosophy of GTM: Breaking It Down</strong></h3><p>At its core, <strong>Google Tag Manager (GTM) is a system that helps you communicate with various tracking tools</strong> (like Google Analytics, Google Ads, Facebook Pixel, etc.) by <strong>managing and deploying tags on your website or app.</strong> But rather than diving straight into the technical details, let&#8217;s simplify it with a real-world analogy.</p><h4><strong>Think of GTM Like a Football (Soccer) Match</strong></h4><p>Imagine you&#8217;re watching a <strong>football (soccer) match</strong>. The striker&#8217;s job is to <strong>score goals</strong>, but to do this successfully, three things need to align:</p><ol><li><p><strong>The Action</strong> &#8211; The striker <strong>kicks the ball toward the goal</strong> to score.</p></li><li><p><strong>When the Action Happens</strong> &#8211; The striker decides to shoot <strong>when they&#8217;re 10 meters away from the goal</strong>.</p></li><li><p><strong>Additional Information</strong> &#8211; The striker considers factors like <strong>wind direction, goalkeeper&#8217;s position, and shot angle</strong> to ensure a successful goal.</p></li></ol><p>This framework&#8212;<strong>Action, When, and Additional Information</strong>&#8212;is the foundation of how <strong>GTM operates</strong> when tracking user interactions.</p><div><hr></div><h3><strong>Applying the Framework to GTM</strong></h3><p>Let&#8217;s say you have a <strong>website button labeled &#8220;Click&#8221;</strong>, and you want to track when users click it. Using the <strong>same football-inspired framework</strong>, here&#8217;s how GTM helps:</p><ol><li><p><strong>The Action</strong> &#8594; Capture the button click and send it to Google Analytics as an event.</p></li><li><p><strong>When the Action Happens</strong> &#8594; The event should trigger <strong>when a user clicks the &#8220;Click&#8221; button</strong>.</p></li><li><p><strong>Additional Information</strong> &#8594; Ensure that you&#8217;re only tracking this specific button and not others (e.g., a second button labeled &#8220;Click Two&#8221;).</p></li></ol><p>By thinking in this structured way, GTM becomes more <strong>intuitive and manageable</strong>&#8212;every task can be broken down into these three simple components.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!malU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc079dd99-6350-437d-b0ea-c8fead30c316_1338x938.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!malU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc079dd99-6350-437d-b0ea-c8fead30c316_1338x938.png 424w, https://substackcdn.com/image/fetch/$s_!malU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc079dd99-6350-437d-b0ea-c8fead30c316_1338x938.png 848w, https://substackcdn.com/image/fetch/$s_!malU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc079dd99-6350-437d-b0ea-c8fead30c316_1338x938.png 1272w, https://substackcdn.com/image/fetch/$s_!malU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc079dd99-6350-437d-b0ea-c8fead30c316_1338x938.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!malU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc079dd99-6350-437d-b0ea-c8fead30c316_1338x938.png" width="1338" height="938" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c079dd99-6350-437d-b0ea-c8fead30c316_1338x938.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:938,&quot;width&quot;:1338,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:627714,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!malU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc079dd99-6350-437d-b0ea-c8fead30c316_1338x938.png 424w, https://substackcdn.com/image/fetch/$s_!malU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc079dd99-6350-437d-b0ea-c8fead30c316_1338x938.png 848w, https://substackcdn.com/image/fetch/$s_!malU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc079dd99-6350-437d-b0ea-c8fead30c316_1338x938.png 1272w, https://substackcdn.com/image/fetch/$s_!malU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc079dd99-6350-437d-b0ea-c8fead30c316_1338x938.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div><hr></div><h2><strong>Breaking Down GTM&#8217;s Three Core Components</strong></h2><p>At the core of Google Tag Manager (GTM) are three essential components: <strong>Tags, Triggers, and Variables</strong>. These elements work together to track user interactions, send data to analytics and marketing platforms, and automate tracking tasks without modifying website code. Understanding how these components interact is key to efficiently using GTM.</p><div><hr></div><h3><strong>Tags: &#8220;What Needs to Be Done?&#8221;</strong></h3><p>A <strong>tag</strong> is an instruction for Google Tag Manager (GTM) to carry out a specific task, such as adding or running code on your website. Tags enable you to collect data, track user behavior, and integrate with third-party tools. Common examples include:</p><ul><li><p>Sending data to analytics platforms like Google Analytics.</p></li><li><p>Informing advertising networks (e.g., Google Ads, Meta Ads) about conversions or user behavior.</p></li><li><p>Running custom HTML or JavaScript code to modify website elements.</p></li></ul><p>Think of tags as <strong>commands</strong> that tell GTM what to do. Each tag specifies:</p><ol><li><p><strong>The Action:</strong> What task should be performed (e.g., track a conversion or load a pixel).</p></li><li><p><strong>Execution Conditions:</strong> When the tag should run (determined by triggers).</p></li><li><p><strong>Dynamic Data:</strong> Additional details (provided by variables) to make the action context-aware.</p></li></ol><p>Tags don&#8217;t execute automatically&#8212;they require triggers to activate them.</p><div><hr></div><h3><strong>Triggers: &#8220;When Does It Happen?&#8221;</strong></h3><p>A <strong>trigger</strong> determines when a tag should fire based on specific conditions. Triggers act as <strong>gatekeepers</strong>, ensuring tags only execute at the right time. Common trigger types include:</p><ul><li><p><strong>Page Loads:</strong> Firing a tag when a specific page is viewed.</p></li><li><p><strong>Button Clicks:</strong> Activating a tag when a user clicks a button.</p></li><li><p><strong>Form Submissions:</strong> Triggering a tag when a form is submitted.</p></li></ul><h4>Key Features of Triggers:</h4><ul><li><p><strong>Event-Based Activation:</strong> Triggers respond to user or system events, like a button click or page view.</p></li><li><p><strong>Condition Checking:</strong> GTM evaluates real-time data (e.g., page URL, click text) to determine if the conditions are met.</p></li><li><p><strong>Flexibility:</strong> A single tag can have multiple triggers, and a single trigger can fire multiple tags. For example, a purchase confirmation trigger might fire both a Google Analytics event tag and a Google Ads conversion tag.</p></li></ul><p>Triggers ensure your tags execute precisely when and where they&#8217;re needed.</p><div><hr></div><h3><strong>Variables: &#8220;What Extra Details Are Needed?&#8221;</strong></h3><p>A <strong>variable</strong> is a placeholder that stores or retrieves specific information, such as a page URL, product price, or user action. Variables make tags and triggers dynamic by providing the necessary details to:</p><ul><li><p><strong>Identify Context:</strong> Which page is the user on? Which button did they click?</p></li><li><p><strong>Pass Data to Tags:</strong> What is the purchase amount? What is the product name?</p></li></ul><h4>Types of Variables:</h4><ol><li><p><strong>Built-In Variables:</strong> Pre-configured options like Page URL, Click Text, and Click ID.</p></li><li><p><strong>User-Defined Variables:</strong> Custom variables for specific needs, such as Order Total or Button Color.</p></li></ol><p>Variables ensure your tags and triggers are context-aware and accurate.</p><div><hr></div><h3><strong>How They Work Together</strong></h3><p>To see how tags, triggers, and variables interact, let&#8217;s walk through a common scenario:</p><h4><strong>Example: Tracking a Purchase Confirmation</strong></h4><ol><li><p><strong>The Tag (The Action):</strong></p><ul><li><p>A <strong>Google Ads Conversion Tag</strong> is created to track purchases.</p></li><li><p>The tag says, &#8220;Send the purchase amount to Google Ads when a conversion is detected.&#8221;</p></li></ul></li><li><p><strong>The Trigger (The Condition):</strong></p><ul><li><p>The trigger is set to fire when the user lands on the &#8220;Thank You&#8221; page.</p></li><li><p>GTM evaluates the Page URL variable to confirm the user is on the correct page.</p></li></ul></li><li><p><strong>The Variables (The Extra Data):</strong></p><ul><li><p>A variable called <strong>Order Total</strong> captures the purchase amount from the data layer.</p></li><li><p>The trigger checks: &#8220;Does the Page URL contain &#8216;/thank-you/&#8217;? If yes, fire the Google Ads tag.&#8221;</p></li><li><p>The tag includes the <strong>Order Total</strong> variable, sending the purchase amount to Google Ads.</p></li></ul></li></ol><p>This seamless interaction ensures accurate and efficient data collection.</p><div><hr></div><h2><strong>The Data Flow Within GTM&#8217;s Architecture</strong></h2><p>Understanding how data moves within Google Tag Manager (GTM) is essential for optimizing tracking accuracy and ensuring seamless communication between your website and external analytics or marketing platforms. GTM operates through a <strong>structured data flow</strong> that enables efficient data collection, processing, and transmission.</p><h4><strong>Step-by-Step Breakdown of GTM&#8217;s Data Flow</strong></h4><ol><li><p><strong>User Interaction (Event Occurs)</strong></p><ul><li><p>A user performs an action on the website, such as clicking a button, submitting a form, or making a purchase.</p></li><li><p>This interaction generates <strong>event data</strong> that GTM can process.</p></li></ul></li><li><p><strong>Trigger Evaluation</strong></p><ul><li><p>GTM checks whether any <strong>triggers</strong> are set up to detect this specific user action.</p></li><li><p>If a trigger condition is met (e.g., the user lands on a "Thank You" page after checkout), it activates the corresponding <strong>tags</strong>.</p></li></ul></li><li><p><strong>Variable Resolution</strong></p><ul><li><p>If the tag requires additional data (e.g., transaction amount, product ID, or user information), GTM fetches the relevant <strong>variables</strong> from either the built-in options, user-defined variables, or the <strong>data layer</strong>.</p></li><li><p>The data layer acts as a structured repository that temporarily holds event-specific information before GTM processes it.</p></li></ul></li><li><p><strong>Tag Execution</strong></p><ul><li><p>Once the trigger fires and variables are retrieved, GTM executes the <strong>tag</strong>.</p></li><li><p>This could mean sending event data to Google Analytics, firing a conversion tag for Google Ads, or passing data to a third-party tool like Facebook Pixel.</p></li></ul></li><li><p><strong>Data Transmission to External Platforms</strong></p><ul><li><p>The processed data is sent to the designated analytics or marketing platform (e.g., Google Analytics, Google Ads, Meta Ads).</p></li><li><p>These platforms then use the data for reporting, attribution, and optimization.</p></li></ul></li></ol><h4><strong>How the Data Layer Enhances GTM&#8217;s Data Flow</strong></h4><p>The <strong>data layer</strong> plays a crucial role in GTM&#8217;s architecture by acting as an intermediary between the website and GTM. It allows structured storage and retrieval of key user actions, reducing reliance on direct page elements and improving tracking flexibility.</p><p><strong>Example Use Case:</strong></p><ul><li><p>Instead of directly pulling an order value from the page (which might be unreliable due to dynamic content changes), the data layer stores the order amount when a user completes a purchase.</p></li><li><p>GTM then retrieves this value dynamically using a variable and includes it in the conversion tag.</p></li></ul><h4><strong>Visualizing the Data Flow in GTM</strong></h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ubqh!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291f3537-5dcb-4f4a-96bc-053dad504462_1342x1170.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ubqh!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291f3537-5dcb-4f4a-96bc-053dad504462_1342x1170.png 424w, https://substackcdn.com/image/fetch/$s_!ubqh!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291f3537-5dcb-4f4a-96bc-053dad504462_1342x1170.png 848w, https://substackcdn.com/image/fetch/$s_!ubqh!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291f3537-5dcb-4f4a-96bc-053dad504462_1342x1170.png 1272w, https://substackcdn.com/image/fetch/$s_!ubqh!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291f3537-5dcb-4f4a-96bc-053dad504462_1342x1170.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ubqh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291f3537-5dcb-4f4a-96bc-053dad504462_1342x1170.png" width="1342" height="1170" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/291f3537-5dcb-4f4a-96bc-053dad504462_1342x1170.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1170,&quot;width&quot;:1342,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:237361,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ubqh!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291f3537-5dcb-4f4a-96bc-053dad504462_1342x1170.png 424w, https://substackcdn.com/image/fetch/$s_!ubqh!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291f3537-5dcb-4f4a-96bc-053dad504462_1342x1170.png 848w, https://substackcdn.com/image/fetch/$s_!ubqh!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291f3537-5dcb-4f4a-96bc-053dad504462_1342x1170.png 1272w, https://substackcdn.com/image/fetch/$s_!ubqh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F291f3537-5dcb-4f4a-96bc-053dad504462_1342x1170.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>By following this structured approach, GTM ensures that tracking remains scalable, accurate, and efficient, reducing the need for hard-coded tracking scripts and enabling businesses to adapt their tracking strategy easily.</p><div><hr></div><h2><strong>Common GTM Use Cases: How Businesses Leverage It</strong></h2><p>Google Tag Manager (GTM) is more than just a tool for simplifying tracking&#8212;it&#8217;s a critical component of <strong>data-driven decision-making</strong> for businesses of all sizes. From small startups optimizing their digital marketing to Fortune 500 companies running complex multi-channel analytics, GTM plays a pivotal role in <strong>streamlining tracking, improving campaign performance, and enhancing user experience.</strong></p><p>Let&#8217;s explore how businesses&#8212;both small and large&#8212;leverage GTM across different industries, with real-world case studies and success stories.</p><div><hr></div><h2><strong>1. E-commerce: Driving Sales and Optimizing Conversions</strong></h2><h3><strong>How GTM Helps:</strong></h3><ul><li><p>Tracks product views, cart additions, and completed purchases.</p></li><li><p>Fires conversion tags for advertising platforms (Google Ads, Meta Ads, TikTok Ads).</p></li><li><p>Helps in <strong>Dynamic Remarketing</strong> by sending product data to ad platforms.</p></li><li><p>Tracks checkout funnel abandonment for CRO (Conversion Rate Optimization).</p></li></ul><h3><strong>Case Study: ASOS &#8211; Scaling Global E-commerce Tracking</strong></h3><p><strong>Challenge:</strong> ASOS, a global online fashion retailer, needed a <strong>scalable tracking system</strong> across multiple countries and currencies while keeping load times minimal.</p><p><strong>GTM Solution:</strong></p><ul><li><p>Implemented <strong>enhanced e-commerce tracking</strong> via Google Analytics through GTM.</p></li><li><p>Created dynamic triggers to fire event tags only when users completed key actions.</p></li><li><p>Used <strong>server-side tagging</strong> to improve data accuracy and comply with privacy regulations.</p></li></ul><p><strong>Impact:</strong></p><ul><li><p>25% <strong>increase in ad efficiency</strong> by sending precise conversion data to Google and Facebook Ads.</p></li><li><p>Improved <strong>real-time tracking</strong> of global user behavior across 196 countries.</p></li></ul><h4><strong>How Small E-commerce Stores Use GTM</strong></h4><p>Even smaller online businesses benefit from GTM by:</p><ul><li><p>Tracking which marketing channels drive the most sales.</p></li><li><p>Setting up <strong>multi-touch attribution</strong> to understand the customer journey.</p></li><li><p>A/B testing checkout flow changes to improve conversions.</p></li></ul><div><hr></div><h2><strong>2. Lead Generation: Capturing High-Quality Leads</strong></h2><h3><strong>How GTM Helps:</strong></h3><ul><li><p>Tracks <strong>form submissions, phone calls, and chat interactions</strong>.</p></li><li><p>Fires conversion pixels for Google Ads and LinkedIn Ads.</p></li><li><p>Measures lead quality by integrating with CRM tools like HubSpot or Salesforce.</p></li></ul><h3><strong>Case Study: HubSpot &#8211; Streamlining B2B Lead Tracking</strong></h3><p><strong>Challenge:</strong> HubSpot, a leading B2B marketing software company, struggled with inconsistent lead attribution across its paid and organic channels.</p><p><strong>GTM Solution:</strong></p><ul><li><p>Implemented <strong>form submission tracking</strong> to capture leads with precise UTMs.</p></li><li><p>Used <strong>custom JavaScript tags</strong> to send CRM-enriched data to Google Ads.</p></li><li><p>Set up triggers to differentiate between high-intent leads (e.g., demo requests) and low-intent leads (e.g., newsletter signups).</p></li></ul><p><strong>Impact:</strong></p><ul><li><p>40% improvement in <strong>lead attribution accuracy</strong> across paid channels.</p></li><li><p>Increased conversion rates by <strong>optimizing ad retargeting campaigns</strong> using first-party data.</p></li></ul><h4><strong>How Small Businesses Use GTM for Lead Generation</strong></h4><ul><li><p>Local service providers track <strong>phone calls and form submissions</strong> to measure ROI.</p></li><li><p>Digital agencies use GTM to <strong>integrate Facebook Pixel and Google Ads</strong> for precise conversion tracking.</p></li><li><p>Law firms and real estate agents set up <strong>scroll-depth tracking</strong> to analyze which pages generate the most engagement.</p></li></ul><div><hr></div><h2><strong>3. Content Marketing &amp; Engagement: Tracking User Behavior</strong></h2><h3><strong>How GTM Helps:</strong></h3><ul><li><p>Measures <strong>scroll depth, video plays, and outbound link clicks</strong>.</p></li><li><p>Tracks <strong>engagement with interactive elements</strong> like quizzes, calculators, and PDFs.</p></li><li><p>Helps publishers and bloggers optimize <strong>time on site and bounce rates</strong>.</p></li></ul><h3><strong>Case Study: The New York Times &#8211; Data-Driven Journalism</strong></h3><p><strong>Challenge:</strong> The New York Times wanted deeper insights into <strong>reader engagement</strong> to personalize content recommendations and increase subscriptions.</p><p><strong>GTM Solution:</strong></p><ul><li><p>Implemented <strong>scroll tracking</strong> to measure which articles users fully read.</p></li><li><p>Used <strong>event tracking</strong> for podcast listens, newsletter signups, and video interactions.</p></li><li><p>Sent real-time engagement data to a <strong>custom machine-learning model</strong> to recommend similar articles.</p></li></ul><p><strong>Impact:</strong></p><ul><li><p>20% <strong>increase in reader retention</strong> by serving personalized article recommendations.</p></li><li><p>Improved ad revenue by <strong>optimizing content layout based on engagement metrics</strong>.</p></li></ul><h4><strong>How Smaller Publishers &amp; Bloggers Use GTM</strong></h4><ul><li><p>Bloggers track which articles drive the most newsletter signups.</p></li><li><p>Digital media sites use <strong>heatmap integration with GTM</strong> to improve UI/UX.</p></li><li><p>Marketers track outbound clicks to <strong>measure content referrals to affiliate partners</strong>.</p></li></ul><div><hr></div><h2><strong>4. User Experience &amp; CRO: Improving Website Performance</strong></h2><h3><strong>How GTM Helps:</strong></h3><ul><li><p>Collects <strong>data for heatmaps, session recordings, and A/B testing tools</strong>.</p></li><li><p>Helps teams test new landing pages and UI changes without developer involvement.</p></li><li><p>Measures <strong>interaction with site elements</strong> like dropdowns, modals, and navigation menus.</p></li></ul><h3><strong>Case Study: Airbnb &#8211; Using GTM for Experimentation &amp; CRO</strong></h3><p><strong>Challenge:</strong> Airbnb needed a fast way to test new <strong>checkout flows, pricing structures, and user interface elements</strong> without relying on developers.</p><p><strong>GTM Solution:</strong></p><ul><li><p>Used <strong>event tracking</strong> to measure <strong>button clicks, time spent on booking pages, and user drop-off points</strong>.</p></li><li><p>Integrated with A/B testing tools like <strong>Google Optimize</strong> to experiment with pricing models.</p></li><li><p>Tracked real-time changes to identify UX friction points.</p></li></ul><p><strong>Impact:</strong></p><ul><li><p>15% <strong>increase in completed bookings</strong> after optimizing checkout flow.</p></li><li><p>Faster experimentation cycles, allowing the team to <strong>test UX changes in days instead of weeks</strong>.</p></li></ul><h4><strong>How Startups &amp; Small Businesses Use GTM for UX Improvements</strong></h4><ul><li><p>Early-stage SaaS startups track <strong>user onboarding progress</strong> using GTM.</p></li><li><p>E-commerce brands use GTM to <strong>run heatmap &amp; session recording experiments</strong>.</p></li><li><p>Landing page optimizers track which <strong>CTAs perform best</strong> through click tracking.</p></li></ul><div><hr></div><h2><strong>5. Privacy &amp; Compliance: Navigating GDPR &amp; CCPA Regulations</strong></h2><h3><strong>How GTM Helps:</strong></h3><ul><li><p>Helps businesses implement <strong>cookie consent banners and tracking opt-outs</strong>.</p></li><li><p>Enables <strong>server-side tagging</strong> to comply with GDPR/CCPA while maintaining data accuracy.</p></li><li><p>Controls <strong>which user data is collected and sent to external platforms</strong>.</p></li></ul><h3><strong>Case Study: European E-commerce Brand &#8211; GDPR Compliance with GTM</strong></h3><p><strong>Challenge:</strong> A European e-commerce company needed to balance <strong>GDPR compliance with effective ad tracking</strong> without violating user privacy.</p><p><strong>GTM Solution:</strong></p><ul><li><p>Implemented <strong>Google Consent Mode</strong> via GTM to adjust tracking based on user consent.</p></li><li><p>Configured <strong>server-side GTM</strong> to anonymize IP addresses before sending data to analytics tools.</p></li><li><p>Used <strong>trigger blocking rules</strong> to prevent tags from firing for users who opt out of tracking.</p></li></ul><p><strong>Impact:</strong></p><ul><li><p>Maintained <strong>80% of ad conversion tracking</strong> while staying compliant with GDPR.</p></li><li><p>Improved trust and transparency by <strong>giving users full control over their data preferences</strong>.</p></li></ul><h4><strong>How Small Businesses Handle Privacy with GTM</strong></h4><ul><li><p>WordPress sites use GTM to integrate <strong>cookie consent banners</strong>.</p></li><li><p>Healthcare websites configure GTM to <strong>restrict data collection on sensitive pages</strong>.</p></li><li><p>Ad-driven businesses use <strong>server-side GTM</strong> to track conversions while complying with privacy laws.</p></li></ul><div><hr></div><h2><strong>Final Thoughts</strong></h2><p>GTM is an essential tool across industries, helping businesses of all sizes track user behavior, optimize conversions, and comply with privacy regulations. Whether it&#8217;s a <strong>global e-commerce retailer refining its ad tracking</strong> or a <strong>small SaaS startup improving lead generation</strong>, GTM provides a <strong>scalable, flexible, and privacy-compliant solution</strong> for modern digital analytics.</p><p>By leveraging <strong>real-time tracking, automation, and integration with marketing platforms</strong>, companies can make <strong>data-driven decisions</strong> that directly impact their revenue and user experience.</p>]]></content:encoded></item><item><title><![CDATA[Server-Side vs Client-Side Tracking: A Comprehensive Guide]]></title><description><![CDATA[As digital platforms rapidly evolve, tracking user interactions remains at the core of understanding customer behavior and optimizing performance.]]></description><link>https://www.inferentia.in/p/server-side-vs-client-side-tracking</link><guid isPermaLink="false">https://www.inferentia.in/p/server-side-vs-client-side-tracking</guid><dc:creator><![CDATA[Piyush Ranjan]]></dc:creator><pubDate>Sun, 02 Feb 2025 14:59:25 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!BC7Q!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd454f7b7-9cc1-4a01-87d0-1c93dab5d82f_1324x764.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>As digital platforms rapidly evolve, tracking user interactions remains at the core of understanding customer behavior and optimizing performance. However, the mechanics of this tracking can differ significantly depending on where the data is collected&#8212;on the client (user&#8217;s device) or the server. In this blog, we enrich our discussion with real-world examples, book quotes, and case studies to illustrate the trade-offs and best practices of server-side and client-side tracking.</p><div><hr></div><h2>Why Tracking Matters</h2><p>Every interaction&#8212;be it a page view, button click, or product purchase&#8212;creates data that can enhance user experiences, inform business strategies, and improve product performance. By leveraging robust tracking methods, organizations gain reliable insights into:</p><ul><li><p><strong>User Engagement</strong>: Which pages do users spend the most time on?</p></li><li><p><strong>Conversion Funnels</strong>: Where do users drop off when completing a purchase or signing up?</p></li><li><p><strong>Content Effectiveness</strong>: What types of content drive the most engagement or revenue?</p></li></ul><p>In his book <em>Data-Driven Marketing</em>, Mark Jeffery emphasizes the importance of accurate data collection, stating that "insights gleaned from poor data can be more damaging than having no data at all." This insight underscores the criticality of methodical and trustworthy tracking, whether performed on the client side or the server side.</p><p>The key question lies in <em>how</em> these interactions are tracked, and that often depends on whether the tracking happens on the client side or the server side.</p><div><hr></div><h2>Client-Side Tracking: Traditional Yet Ubiquitous</h2><h3>Overview</h3><p>Client-side tracking involves embedding scripts within a webpage or mobile app that execute in the user&#8217;s browser. Platforms like Google Analytics, Facebook Pixel, and various marketing automation tools heavily rely on this approach.</p><h3>How It Works</h3><ol><li><p><strong>JavaScript Snippets</strong>: Small chunks of code (tags or pixels) are placed in the webpage&#8217;s source.</p></li><li><p><strong>Event Capture</strong>: As users interact with elements on the page (clicks, form submissions, scrolls), the scripts log these actions.</p></li><li><p><strong>Data Transmission</strong>: Tracked events are sent to third-party analytics servers, often in real time, where they are processed and displayed.</p></li></ol><h3>Strengths</h3><ul><li><p><strong>Ease of Deployment</strong>: Marketing and analytics teams can add or modify tracking with minimal reliance on developers.</p></li><li><p><strong>Real-Time Insights</strong>: Events are processed immediately, enabling agile campaign decisions or rapid testing.</p></li><li><p><strong>Rich Tooling</strong>: A wide range of analytics and ad-tech vendors offer easy-to-integrate client-side solutions.</p></li></ul><h3>Weaknesses</h3><ul><li><p><strong>Ad Blockers</strong>: Users increasingly rely on ad blockers or script blockers, potentially preventing these scripts from running altogether.</p></li><li><p><strong>Performance Impacts</strong>: Each additional script can delay page load times and lead to suboptimal user experiences.</p></li><li><p><strong>Data Vulnerability</strong>: Client-side data transfer can be intercepted or manipulated, raising concerns about accuracy and privacy compliance.</p></li></ul><blockquote><p><strong>Case Study</strong>: A popular news portal found that 20% of its readership used ad blockers, leading to incomplete audience analytics data. As a result, the team struggled to accurately measure campaign ROI for premium content.</p></blockquote><div><hr></div><h2>Server-Side Tracking: Modern and Secure</h2><h3>Overview</h3><p>Server-side tracking shifts the data collection responsibilities from the user&#8217;s browser to your backend infrastructure. This approach focuses on logging events when they hit your server, rather than relying on browser-executed code.</p><h3>How It Works</h3><ol><li><p><strong>Backend Integration</strong>: Your application server (or a dedicated tracking server) captures relevant user actions (e.g., sign-ups, purchases) before rendering a response or after an API call.</p></li><li><p><strong>Data Aggregation</strong>: Events can be aggregated, transformed, or validated within the server.</p></li><li><p><strong>Forwarding and Storage</strong>: Processed data is then forwarded to analytics platforms or stored in a data warehouse, where it undergoes further analysis.</p></li></ol><h3>Strengths</h3><ul><li><p><strong>Resilience to Blockers</strong>: Server-side events aren&#8217;t impacted by client-based blockers or script restrictions.</p></li><li><p><strong>Data Integrity</strong>: Controlling how data is collected and forwarded (on your own server) reduces the risk of manipulation and data loss.</p></li><li><p><strong>Enhanced Security</strong>: Minimizes exposure of sensitive information in the user&#8217;s browser, improving compliance with regulations like GDPR or CCPA.</p></li></ul><h3>Weaknesses</h3><ul><li><p><strong>Higher Complexity</strong>: Requires deeper backend changes and can introduce architectural overhead when you have multiple data sinks.</p></li><li><p><strong>Latency Considerations</strong>: Round-trip communications to external analytics services can introduce slight processing delays.</p></li><li><p><strong>Infrastructure Costs</strong>: More server load and data handling can increase hosting expenses and maintenance efforts.</p></li></ul><blockquote><p><strong>Quote</strong>: In <em>Lean Analytics</em>, Alistair Croll and Benjamin Yoskovitz suggest that "Good data offers clarity; great data drives action." Server-side tracking often provides more reliable data, but it can demand significant resources to implement and maintain.</p></blockquote><div><hr></div><h2>Side-by-Side Comparison</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BC7Q!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd454f7b7-9cc1-4a01-87d0-1c93dab5d82f_1324x764.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BC7Q!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd454f7b7-9cc1-4a01-87d0-1c93dab5d82f_1324x764.png 424w, https://substackcdn.com/image/fetch/$s_!BC7Q!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd454f7b7-9cc1-4a01-87d0-1c93dab5d82f_1324x764.png 848w, https://substackcdn.com/image/fetch/$s_!BC7Q!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd454f7b7-9cc1-4a01-87d0-1c93dab5d82f_1324x764.png 1272w, https://substackcdn.com/image/fetch/$s_!BC7Q!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd454f7b7-9cc1-4a01-87d0-1c93dab5d82f_1324x764.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BC7Q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd454f7b7-9cc1-4a01-87d0-1c93dab5d82f_1324x764.png" width="1324" height="764" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d454f7b7-9cc1-4a01-87d0-1c93dab5d82f_1324x764.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:764,&quot;width&quot;:1324,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:195219,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!BC7Q!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd454f7b7-9cc1-4a01-87d0-1c93dab5d82f_1324x764.png 424w, https://substackcdn.com/image/fetch/$s_!BC7Q!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd454f7b7-9cc1-4a01-87d0-1c93dab5d82f_1324x764.png 848w, https://substackcdn.com/image/fetch/$s_!BC7Q!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd454f7b7-9cc1-4a01-87d0-1c93dab5d82f_1324x764.png 1272w, https://substackcdn.com/image/fetch/$s_!BC7Q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd454f7b7-9cc1-4a01-87d0-1c93dab5d82f_1324x764.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><div><hr></div><h2>Challenges and Caveats</h2><ol><li><p><strong>Compliance Overheads</strong>: Regulations like GDPR require robust data handling. Server-side tracking can simplify compliance but demands rigorous policy enforcement.</p></li><li><p><strong>Tool Compatibility</strong>: Not all third-party analytics tools provide straightforward server-side integrations. Custom solutions may be needed.</p></li><li><p><strong>Ongoing Maintenance</strong>: Both approaches need consistent updates to remain accurate&#8212;browsers evolve, server architecture changes, and new privacy regulations emerge.</p></li></ol><div><hr></div><h2>Real-World Use Cases</h2><ul><li><p><strong>eCommerce</strong>: A high-traffic online store (e.g., Amazon) needing accurate cart abandonment data may lean on server-side tracking to avoid data gaps caused by ad blockers. This ensures more reliable measurement of user pathways.</p></li><li><p><strong>Content Marketing</strong>: A blog or news portal might benefit from the instant feedback loop of client-side tracking, enabling quick content optimizations. <em>For instance, BuzzFeed uses real-time user metrics to decide which headlines to push on social media.</em></p></li><li><p><strong>Enterprise SaaS</strong>: Companies handling sensitive customer information (like Salesforce) often prioritize server-side tracking to maintain stricter compliance and better data governance.</p></li></ul><div><hr></div><h2>Hybrid Approaches: The Best of Both Worlds?</h2><p>Many organizations adopt a blended strategy:</p><ul><li><p><strong>Client-Side for Engagement</strong>: Real-time front-end metrics (page views, clicks, scroll depth) for rapid iteration on UX and campaigns.</p></li><li><p><strong>Server-Side for Mission-Critical Data</strong>: Securely tracking logins, transactions, or subscription details on the server to ensure reliable and compliant data collection.</p></li></ul><p>This hybrid setup can deliver immediate insights while safeguarding crucial user data. Netflix, for example, collects client-side metrics to personalize user interfaces while relying heavily on server-side data to understand streaming quality and user retention rates.</p><div><hr></div><h2>Final Thoughts</h2><p>Tracking is a cornerstone of modern digital strategy, but the choice between server-side and client-side methods can significantly affect data accuracy, performance, and compliance. While client-side tracking remains popular for its simplicity and immediacy, server-side tracking provides a powerful way to ensure data reliability and protect user privacy.</p><p>By understanding the nuanced strengths and weaknesses of both approaches, you can craft a tracking architecture that meets your business objectives, scales with your growth, and respects evolving privacy standards. <em>In the words of Thomas H. Davenport and Jeanne G. Harris from</em> <strong>Competing on Analytics</strong>: "You can&#8217;t manage what you don&#8217;t measure&#8212;accurate measurement is the bedrock of effective analytics." The key is to remain agile&#8212;ready to adapt as technologies and regulations shift, ensuring that your analytics strategy remains both effective and responsible.</p>]]></content:encoded></item><item><title><![CDATA[Running and Analysing Experiments: An End-to-End Example]]></title><description><![CDATA[From Hypothesis to Insight]]></description><link>https://www.inferentia.in/p/running-and-analysing-experiments</link><guid isPermaLink="false">https://www.inferentia.in/p/running-and-analysing-experiments</guid><dc:creator><![CDATA[Piyush Ranjan]]></dc:creator><pubDate>Sun, 26 Jan 2025 14:22:36 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!XYod!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21af22e0-9276-4b71-8c73-2a39a69d74b4_870x334.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h3><strong>Current view &#8212; 3 October 2026.</strong> This fictional example is retained as a practitioner guide and predates Inferentia&#8217;s research standards. Two statistical interpretations below need correction: p &lt; 0.05 does not mean there is a less than 5% chance that this conclusion is wrong; a 95% confidence interval describes the long-run coverage of the interval procedure under its assumptions, not a 95% probability assigned to the fixed effect by this analysis. I would now specify the decision threshold, stopping rule and treatment comparisons in advance; report effect sizes and uncertainty; and check randomisation and logging before interpreting results. A checkout-only analysis also needs an eligibility rule unaffected by treatment. The example does not establish an effect in a real business.</h3><p>References: <a href="https://www.amstat.org/asa/files/pdfs/p-valuestatement.pdf">ASA statement on p-values</a>; <a href="https://www.microsoft.com/en-us/research/articles/diagnosing-sample-ratio-mismatch-in-a-b-testing/">Microsoft&#8217;s sample-ratio mismatch guidance</a>; <a href="https://www.microsoft.com/en-us/research/articles/patterns-of-trustworthy-experimentation-during-experiment-stage/">Microsoft on repeated testing during experiments</a>.</p><div><hr></div><h3>Introduction</h3><p>In today's data-driven world, making informed decisions about product changes is crucial. A/B testing offers a powerful framework for gathering actionable insights and making evidence-based decisions, particularly in web and app development. In this blog post, we delve into the essential principles of designing, executing, and analyzing an A/B test using a practical, real-world example.</p><h3>The Experimental Context: A Widget Store's Coupon Code Dilemma</h3><p>Our example centers on a fictional online commerce platform specializing in selling widgets. In an effort to boost sales, the marketing team proposes a strategy involving promotional emails that include a coupon code for discounts on widgets. This proposal marks a potential shift in the company's business model, as they have never offered coupon codes before. The team is cautious, however, due to findings from prior studies&#8212;such as Dr. Footcare's revenue loss following the introduction of coupon codes (Kohavi, Longbottom et al., 2009) and evidence from GoodUI.org suggesting that removing coupon codes can be beneficial (Linowski, 2018). These insights raise concerns that simply adding a coupon code field to the checkout page might negatively impact revenue, even if no valid codes are available. Users might become distracted searching for codes or even abandon their purchases altogether.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!opMW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c268feb-2507-4678-bc79-f089dc43f97f_776x296.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!opMW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c268feb-2507-4678-bc79-f089dc43f97f_776x296.png 424w, https://substackcdn.com/image/fetch/$s_!opMW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c268feb-2507-4678-bc79-f089dc43f97f_776x296.png 848w, https://substackcdn.com/image/fetch/$s_!opMW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c268feb-2507-4678-bc79-f089dc43f97f_776x296.png 1272w, https://substackcdn.com/image/fetch/$s_!opMW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c268feb-2507-4678-bc79-f089dc43f97f_776x296.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!opMW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c268feb-2507-4678-bc79-f089dc43f97f_776x296.png" width="776" height="296" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9c268feb-2507-4678-bc79-f089dc43f97f_776x296.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:296,&quot;width&quot;:776,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:243182,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!opMW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c268feb-2507-4678-bc79-f089dc43f97f_776x296.png 424w, https://substackcdn.com/image/fetch/$s_!opMW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c268feb-2507-4678-bc79-f089dc43f97f_776x296.png 848w, https://substackcdn.com/image/fetch/$s_!opMW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c268feb-2507-4678-bc79-f089dc43f97f_776x296.png 1272w, https://substackcdn.com/image/fetch/$s_!opMW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9c268feb-2507-4678-bc79-f089dc43f97f_776x296.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Control and Treatment 1</figcaption></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!XYod!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21af22e0-9276-4b71-8c73-2a39a69d74b4_870x334.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!XYod!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21af22e0-9276-4b71-8c73-2a39a69d74b4_870x334.png 424w, https://substackcdn.com/image/fetch/$s_!XYod!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21af22e0-9276-4b71-8c73-2a39a69d74b4_870x334.png 848w, https://substackcdn.com/image/fetch/$s_!XYod!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21af22e0-9276-4b71-8c73-2a39a69d74b4_870x334.png 1272w, https://substackcdn.com/image/fetch/$s_!XYod!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21af22e0-9276-4b71-8c73-2a39a69d74b4_870x334.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!XYod!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21af22e0-9276-4b71-8c73-2a39a69d74b4_870x334.png" width="870" height="334" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/21af22e0-9276-4b71-8c73-2a39a69d74b4_870x334.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:334,&quot;width&quot;:870,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:258783,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!XYod!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21af22e0-9276-4b71-8c73-2a39a69d74b4_870x334.png 424w, https://substackcdn.com/image/fetch/$s_!XYod!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21af22e0-9276-4b71-8c73-2a39a69d74b4_870x334.png 848w, https://substackcdn.com/image/fetch/$s_!XYod!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21af22e0-9276-4b71-8c73-2a39a69d74b4_870x334.png 1272w, https://substackcdn.com/image/fetch/$s_!XYod!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F21af22e0-9276-4b71-8c73-2a39a69d74b4_870x334.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Treatment 2</figcaption></figure></div><p>To assess these potential effects, we adopt a &#8220;painted door&#8221; approach. This involves implementing a superficial change&#8212;adding a non-functional coupon code field to the checkout page. When users input any code, the system responds with &#8220;Invalid Coupon Code.&#8221; By focusing on this minimal implementation, we aim to evaluate the psychological and behavioral impact of merely displaying a coupon code field.</p><p>Given the simplicity of this change, we&#8217;ll test two distinct UI designs to compare their effectiveness. Testing multiple treatments alongside a control allows us to discern not only whether the idea of adding a coupon code is viable, but also which specific implementation is most effective. This targeted A/B test is a crucial step toward determining the feasibility of adopting coupon codes as part of the company&#8217;s broader business strategy.</p><h4></h4><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.inferentia.in/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.inferentia.in/subscribe?"><span>Subscribe now</span></a></p><h4>Hypothesis</h4><p><em>Adding a coupon code field to the checkout page will degrade revenue-per-user for users who start the purchase process.</em></p><p>To test this hypothesis, we consider two UI implementations. This A/B test is a critical step in assessing the feasibility of this business model.</p><h4>Goal Metrics</h4><p>The primary metric, or Overall Evaluation Criterion (OEC), is revenue-per-user, normalized to account for sample size variability. To measure the impact of the change, we define success metrics carefully. While revenue is an obvious choice, using the total revenue sum is not recommended due to sample size variations across variants. Instead, revenue-per-user provides a more accurate and normalized metric. For this metric, it is critical to determine the denominator:</p><ol><li><p>Including all site visitors introduces significant noise, as a large portion of users never initiate checkout. These users do not interact with the modified checkout process and, therefore, cannot provide meaningful data on the impact of the change. Including them dilutes the results, making it harder to detect any real differences caused by the experiment.</p></li><li><p>Restricting to only users who complete the purchase process presents a skewed perspective, as it inherently assumes that the modification influences purchase amounts without considering its effect on conversion rates. This approach excludes users who might abandon the process due to the change, potentially missing a critical aspect of the experiment's impact.</p></li><li><p>The best choice is users who start the purchase process, as they are directly exposed to the change at the checkout stage. This refined approach improves test sensitivity by ensuring that only the users who interact with the modified UI are analyzed. By excluding unaffected users, such as those who browse without adding items to the cart or initiating a purchase, the metric becomes more precise. This specificity helps isolate the true impact of the coupon code field, avoiding noise introduced by broader user behaviors that are irrelevant to the experiment.</p></li></ol><p>With this setup, our refined hypothesis becomes: &#8220;<strong>Adding a coupon code field to the checkout page will degrade revenue-per-user for users who start the purchase process.</strong>&#8221;</p><h4>Hypothesis Testing</h4><p>Before we can design, run, or analyze our experiment, let us go over a few foundational concepts relating to statistical hypothesis testing. First, we characterize the metric by understanding the baseline mean value&#8212;the average of the metric under normal, unaltered conditions&#8212;and the standard error of the mean. The standard error provides insight into the variability of our metric estimates and is crucial for determining the required sample size to detect meaningful differences. By accurately estimating this variability, we can size our experiment properly and assess statistical significance during analysis.</p><p>For most metrics, we measure the mean, but alternative summary statistics, such as medians or percentiles, may be more appropriate in specific contexts, such as highly skewed data distributions. Sensitivity, or the ability to detect statistically significant differences, improves when the standard error of the mean is reduced. This can be achieved by either increasing the traffic allocated to the experimental variants or running the experiment for an extended period. However, running longer experiments may yield diminishing returns after a few weeks due to sub-linear growth in unique users (caused by repeat visitors) and potential increases in variance for certain metrics over time.</p><p>To evaluate the impact of the experiment, we analyze revenue-per-user estimates from the Control and Treatment samples by computing the p-value for their difference. The p-value represents the probability of observing the measured difference, or a more extreme one, under the assumption that the Null hypothesis&#8212;that there is no true difference&#8212;is correct. A sufficiently small p-value allows us to reject the Null hypothesis and infer that the observed effect is statistically significant. But what constitutes a small enough p-value?</p><p>Typically, the scientific benchmark is a p-value less than 0.05. This threshold means there is less than a 5% probability of incorrectly concluding there is an effect when none actually exists, providing confidence in 95 out of 100 cases. Furthermore, another approach to determine significance is through confidence intervals. A 95% confidence interval defines a range where the true difference between Treatment and Control lies 95% of the time. If this interval does not include zero, it reinforces the conclusion that the effect is statistically significant. These tools collectively help establish the robustness of experimental findings, ensuring decisions are data-driven and reliable.</p><h4>Statistical Power</h4><p>Statistical power measures the ability of an experiment to detect a meaningful difference between variants when such a difference truly exists. In simple terms, it is the probability of correctly rejecting the null hypothesis when there is an actual effect. For instance, if a retailer is testing a new homepage layout, statistical power ensures that subtle but real increases in sales do not go unnoticed.</p><p>To achieve reliable results, experiments are often designed with 80-90% power, meaning there is a high likelihood of detecting true changes. Power is influenced by factors such as sample size and effect size; larger sample sizes tend to improve power, but overly small differences might still evade detection. For example, while a large e-commerce platform like Amazon might be interested in detecting a 0.2% increase in revenue-per-user due to its massive scale, a smaller startup might focus only on changes exceeding 5-10% because such increases are critical for their growth.</p><p>While statistical significance helps us understand whether an observed difference is likely due to chance, it does not always translate into practical significance. Practical significance asks a more business-oriented question: Is the observed change large enough to matter? For example, a 0.2% increase in revenue-per-user might be meaningful for billion-dollar platforms like Google or Bing, but for a small startup seeking rapid growth, a 2% increase might still fall short of expectations. Setting clear business thresholds for what constitutes a meaningful change is essential. For our hypothetical widget store, we define practical significance as a 1% or larger increase in revenue-per-user, recognising this as the minimum impact needed to justify potential costs or risks of implementation.</p><h3>Designing the Experiment</h3><p>We are now ready to design our experiment. We have a hypothesis, a practical significance boundary, and we have characterised our metric. We will use this set of decisions to finalize the design:</p><ol><li><p><strong>What is the randomisation unit?</strong> The randomisation unit for this experiment is the user.</p></li><li><p><strong>What population of randomisation units do we want to target?</strong> We will target all users and analyse those who visit the checkout page. Targeting a specific population allows for more focused results. For instance, if the new text in a feature is only available in certain languages, you would target users with those specific interface locales. Similarly, attributes such as geographic region, platform, and device type can guide targeting.</p></li><li><p><strong>How large does our experiment need to be?</strong> The experiment size directly impacts the precision of results. To detect a 1% change in revenue-per-user with 80% power, we will conduct a power analysis to determine the sample size. The following considerations influence size:</p><ul><li><p>Using a binary metric like purchase indicator (yes/no) instead of revenue-per-user can reduce variability, allowing for a smaller sample size.</p></li><li><p>Increasing the practical significance threshold&#8212;for example, detecting only changes larger than 1%&#8212;can also reduce sample size requirements.</p></li><li><p>Lowering the p-value threshold, such as from 0.05 to 0.01, increases sample size needs.</p></li></ul></li><li><p><strong>How long should the experiment run?</strong> To ensure robust results, we will run the experiment for at least one week to capture weekly cycles and account for day-of-week effects. External factors like seasonality and primacy or novelty effects are also important:</p><ul><li><p>User behavior can vary during holidays or promotional periods, affecting external validity.</p></li><li><p>Novelty effects (e.g., initial enthusiasm for a new feature) and adoption effects (e.g., gradual user adoption) may impact results over time.</p></li></ul></li></ol><h3>Final Experiment Design</h3><ol><li><p><strong>Randomization Unit</strong>: User</p></li><li><p><strong>Target Population</strong>: All users visiting the checkout page</p></li><li><p><strong>Experiment Size</strong>: Determined via power analysis to achieve 80% power for detecting a 1% change</p></li><li><p><strong>Experiment Duration</strong>: Minimum of one week to capture weekly cycles and extended if novelty or primacy effects are detected</p></li><li><p><strong>Traffic Split</strong>: 34/33/33% for Control, Treatment 1, and Treatment 2</p></li></ol><p>By carefully designing the experiment with these considerations, we can ensure that the results are both statistically and practically significant. Overpowering an experiment is often beneficial, as it allows for detailed segment analysis (e.g., by geographic region or platform). This approach not only improves the robustness of results but also helps businesses uncover nuanced insights. For example, identifying specific trends in user behavior across different demographics can inform future product iterations and marketing strategies.</p><p>Furthermore, running a well-structured A/B test fosters a culture of data-driven decision-making within the organization. By investing in comprehensive experiment design and analysis, businesses can mitigate risks, allocate resources effectively, and achieve sustainable growth. Ultimately, the insights derived from this experiment will not only validate the feasibility of introducing coupon codes but also set a benchmark for future experimentation, reinforcing the importance of innovation and customer-centric strategies in a competitive market.</p><h3>Running the Experiment and Getting Data</h3><p>Now let us run the experiment and gather the necessary data. To run an experiment, we need both:</p><ul><li><p><strong>Instrumentation</strong> to get logs data on how users are interacting with your site and which experiments those interactions belong to.</p></li><li><p><strong>Infrastructure</strong> to be able to run an experiment, ranging from experiment configuration to variant assignment.</p></li></ul><h3>Interpreting the Results</h3><p>The data collected from the experiment is the foundation for actionable insights, but ensuring its reliability is critical. Before diving into the revenue-per-user analysis, it is essential to validate the experiment's execution by examining invariant metrics, also known as guardrail metrics. These metrics serve two primary purposes:</p><ol><li><p><strong>Trust-related Guardrails</strong>: Metrics such as sample size consistency and cache-hit rates ensure that the Control and Treatment groups align with the experiment configuration. Any deviation here might indicate issues in randomization or assignment.</p></li><li><p><strong>Organizational Guardrails</strong>: Metrics like latency or system performance, which are crucial to business operations, should remain stable across variants. For example, significant changes in checkout latency would signal underlying problems unrelated to the coupon code test.</p></li></ol><p>If these metrics show unexpected changes, it suggests flaws in the experiment design, infrastructure, or data processing pipeline. Addressing these issues before analyzing the core results is vital to maintaining trust in the findings.</p><p>Once the guardrails are validated, the next step is to analyze and interpret the results with precision. For example, if the p-value for revenue-per-user in both Treatment groups is below 0.05, we reject the null hypothesis and conclude that the observed differences are statistically significant. However, statistical significance alone is insufficient. Practical significance&#8212;the magnitude of the observed effect&#8212;determines whether the change is worth implementing.</p><h4>Results Table</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!seBd!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f7ac163-f4b4-4bdf-83b0-ab7945bec07f_1190x420.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!seBd!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f7ac163-f4b4-4bdf-83b0-ab7945bec07f_1190x420.png 424w, https://substackcdn.com/image/fetch/$s_!seBd!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f7ac163-f4b4-4bdf-83b0-ab7945bec07f_1190x420.png 848w, https://substackcdn.com/image/fetch/$s_!seBd!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f7ac163-f4b4-4bdf-83b0-ab7945bec07f_1190x420.png 1272w, https://substackcdn.com/image/fetch/$s_!seBd!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f7ac163-f4b4-4bdf-83b0-ab7945bec07f_1190x420.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!seBd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f7ac163-f4b4-4bdf-83b0-ab7945bec07f_1190x420.png" width="1190" height="420" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7f7ac163-f4b4-4bdf-83b0-ab7945bec07f_1190x420.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:420,&quot;width&quot;:1190,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:67218,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!seBd!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f7ac163-f4b4-4bdf-83b0-ab7945bec07f_1190x420.png 424w, https://substackcdn.com/image/fetch/$s_!seBd!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f7ac163-f4b4-4bdf-83b0-ab7945bec07f_1190x420.png 848w, https://substackcdn.com/image/fetch/$s_!seBd!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f7ac163-f4b4-4bdf-83b0-ab7945bec07f_1190x420.png 1272w, https://substackcdn.com/image/fetch/$s_!seBd!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f7ac163-f4b4-4bdf-83b0-ab7945bec07f_1190x420.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>From the table, we observe that both treatments significantly reduce revenue-per-user compared to the control group. While the p-values confirm statistical significance, the negative impact on revenue highlights the need to reassess introducing coupon codes.</p><h4>Decision-Making Framework</h4><p>Consider the context of your experiment:</p><ul><li><p><strong>Short-Term vs. Long-Term Impact</strong>: Changes with minimal downside risks, such as testing promotional headlines, may allow for lower thresholds of significance. Conversely, introducing high-cost features like a coupon code system requires higher thresholds due to long-term resource commitments.</p></li><li><p><strong>Balancing Metrics</strong>: A decrease in revenue may be acceptable if offset by an increase in user engagement, but only if the net impact aligns with organizational goals.</p></li></ul><p>Ultimately, the results must translate into a clear decision framework. For example:</p><ol><li><p>If the results are both statistically and practically significant, the decision to launch is straightforward.</p></li><li><p>If statistically significant but not practically meaningful, the change may not justify further investment.</p></li><li><p>If results are inconclusive, consider increasing sample size or re-evaluating the design.</p></li><li><p>The result is statistically significant, and likely practically significant. Like prior examples, it is possible that the change is not practically significant. In this situation, repeating the test with greater power is advisable. However, from a launch/no-launch perspective, choosing to launch is a reasonable decision. It is crucial to explicitly document the factors influencing this decision, particularly how they align with the practical and statistical significance boundaries. This clarity not only supports current decision-making but also establishes a solid foundation for future analyses.</p></li></ol><p>By grounding decision-making in robust analysis and broader business considerations, organizations can confidently use A/B testing as a tool for sustainable growth and innovation.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.inferentia.in/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Inferentia! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p>]]></content:encoded></item><item><title><![CDATA[A/B Testing 101: The Power of Experimentation]]></title><description><![CDATA[The $100M Experiment: How A/B Testing Transformed Bing&#8217;s Revenue]]></description><link>https://www.inferentia.in/p/ab-testing-101-a-beginners-guide</link><guid isPermaLink="false">https://www.inferentia.in/p/ab-testing-101-a-beginners-guide</guid><dc:creator><![CDATA[Piyush Ranjan]]></dc:creator><pubDate>Wed, 15 Jan 2025 03:30:33 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0230b97a-bb06-485c-bcb2-fa5e0b7a5304_2770x1038.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>Current view &#8212; 3 October 2026.</strong> This is an earlier practitioner introduction, not research conducted under Inferentia&#8217;s current standards. Results from a large platform do not establish the likely effect or feasible sample size for a smaller Indian commerce business. Random assignment is necessary but does not by itself guarantee a trustworthy result: logging, missing data, interference, the analysis population and stopping rules also matter. I would assess an estimated effect and its uncertainty against a stated decision threshold, rather than treat a statistically significant result as sufficient grounds to launch.</p><p>References: <a href="https://www.amstat.org/asa/files/pdfs/p-valuestatement.pdf">ASA statement on p-values</a>; <a href="https://www.microsoft.com/en-us/research/articles/diagnosing-sample-ratio-mismatch-in-a-b-testing/">Microsoft&#8217;s sample-ratio mismatch guidance</a>.</p><div><hr></div><p><em>"One accurate measurement is worth more than a thousand expert opinions."</em></p><p><em>                                                                                              &#8211; Admiral Grace Hopper</em></p><p>In the digital age, where data reigns supreme, the ability to measure the impact of changes accurately is crucial. The famous quote by Admiral Grace Hopper encapsulates the essence of why businesses like Microsoft's Bing have turned to A/B testing to drive innovation and profitability.</p><h4>The Bing Case Study</h4><p>In 2012, a small yet transformative idea within Microsoft&#8217;s Bing team provided a striking example of the power of data-driven experimentation. A simple suggestion to change ad headlines was overlooked for months, buried under bigger projects. When finally implemented, this idea became Bing&#8217;s most significant revenue-generating change, highlighting the profound impact of rigorous online controlled experiments (A/B tests).</p><p>The proposed change involved extending ad title lines by combining them with text from the line below, creating a more engaging headline. Initially deemed low priority, it wasn&#8217;t until a developer implemented it&#8212;due to its coding simplicity&#8212;that the idea was tested on real users. A/B testing split users between the existing and modified layouts, tracking interactions, clicks, and revenue metrics.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!MK3T!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f8b6056-482f-414f-ac3b-2c463c9e6ada_970x1256.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!MK3T!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f8b6056-482f-414f-ac3b-2c463c9e6ada_970x1256.png 424w, https://substackcdn.com/image/fetch/$s_!MK3T!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f8b6056-482f-414f-ac3b-2c463c9e6ada_970x1256.png 848w, https://substackcdn.com/image/fetch/$s_!MK3T!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f8b6056-482f-414f-ac3b-2c463c9e6ada_970x1256.png 1272w, https://substackcdn.com/image/fetch/$s_!MK3T!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f8b6056-482f-414f-ac3b-2c463c9e6ada_970x1256.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!MK3T!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f8b6056-482f-414f-ac3b-2c463c9e6ada_970x1256.png" width="970" height="1256" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0f8b6056-482f-414f-ac3b-2c463c9e6ada_970x1256.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1256,&quot;width&quot;:970,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:808949,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!MK3T!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f8b6056-482f-414f-ac3b-2c463c9e6ada_970x1256.png 424w, https://substackcdn.com/image/fetch/$s_!MK3T!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f8b6056-482f-414f-ac3b-2c463c9e6ada_970x1256.png 848w, https://substackcdn.com/image/fetch/$s_!MK3T!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f8b6056-482f-414f-ac3b-2c463c9e6ada_970x1256.png 1272w, https://substackcdn.com/image/fetch/$s_!MK3T!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0f8b6056-482f-414f-ac3b-2c463c9e6ada_970x1256.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>Within hours of launch, an anomaly emerged: revenue surged unexpectedly. Teams braced for a potential bug, but upon verification, the results proved legitimate. The new ad layout increased Bing&#8217;s revenue by 12%, equating to over $100 million annually in the U.S. alone, highlighting several key lessons:</p><ul><li><p><strong>Value Assessment:</strong> Even seemingly minor ideas can have significant impacts, yet their value is often underestimated or overlooked.</p></li><li><p><strong>Impact of Small Changes:</strong> A small alteration can lead to massive financial returns if it aligns well with user behavior and expectations.</p></li><li><p><strong>Rarity of Big Wins:</strong> Not every change will yield such dramatic results; this was one of the few blockbuster successes from thousands of experiments conducted annually.</p></li><li><p><strong>Efficiency in Experimentation:</strong> The overhead of running an experiment must be small. Bing&#8217;s engineers had access to ExP, Microsoft&#8217;s experimentation system, which made it easy to scientifically evaluate the idea.</p></li></ul><h4>What is A/B Testing?</h4><p>A/B testing, also known as split testing, is a method of comparing two versions of a webpage, email, or other marketing asset to determine which one performs better. By splitting your audience into two groups and showing each group a different version (Version A vs. Version B), you can measure which variation drives more conversions, clicks, or other desired outcomes.</p><p>Companies like Airbnb, Amazon, Booking.com, eBay, Facebook, Google, LinkedIn, Lyft, Microsoft, and Netflix rely heavily on online controlled experiments (Gupta et al., 2019). These organisations conduct thousands to tens of thousands of experiments annually, often involving millions of users. They test a wide range of elements, such as user interface (UI) changes, relevance algorithms (including search, ads, personalization, and recommendations), latency and performance, content management systems, customer support systems, and more. Experiments span various channels, including websites, desktop applications, mobile apps, and email.</p><p>For example, if you&#8217;re testing a landing page, you might experiment with two different headlines. Group A sees &#8220;Save Big on Your Next Adventure,&#8221; while Group B sees &#8220;Discover Affordable Travel Deals.&#8221; By analysing which headline leads to more sign-ups or sales, you gain valuable insights into what resonates with your audience.</p><p>In typical online controlled experiments, users are randomly assigned to different variants in a consistent manner, ensuring they experience the same variant across multiple visits. In the Bing example, the Control group saw the original ad display, while the Treatment group saw ads with longer titles. User interactions with the Bing website were tracked and logged, enabling the calculation of metrics from the logged data. These metrics were then used to evaluate the differences between the variants.</p><p><strong>Understanding A/B Testing Terminology</strong></p><p>A/B testing, or controlled experiments, involves several terms:</p><ul><li><p><strong>Overall Evaluation Criterion (OEC):</strong> A metric that encapsulates the experiment's goal, like increase in revenue balanced with user experience metrics. The OEC should be measurable within the short timeframe of an experiment while being expected to causally influence long-term strategic goals. </p><p>Experiments may have multiple objectives, and analysis can employ a balanced scorecard approach. However, it is highly recommended to select a single metric, potentially as a weighted combination of these objectives, to streamline evaluation (Roy 2001, 50, 405&#8722;429).</p></li><li><p><strong>Parameters:</strong> A controllable experimental variable, often called a parameter, is a factor that can be adjusted during an experiment and is believed to influence the Overall Evaluation Criterion (OEC) or other key metrics of interest. These parameters are assigned specific values or levels, representing the variations being tested. Understanding how these parameters affect outcomes allows experimenters to optimize for the best results.</p><ul><li><p>Simple A/B Tests:<br>In an A/B test, there is typically one parameter with two levels. A single parameter like button color might have two levels: blue (A) and red (B), with the goal of determining which generates higher click-through rates.</p></li><li><p>Univariable Tests with Multiple Levels:<br>A test with a single parameter that has more than two levels.A parameter like button placement could have levels such as top of the page (A), middle (B), bottom (C), or sidebar (D), to identify the most effective location.</p></li><li><p>Multivariable Tests (Multivariate Tests - MVTs):<br>MVTs test multiple parameters simultaneously, making it possible to analyze how their interactions impact results.Multiple parameters are tested together, such as button shape (round, square) and button text (&#8220;Buy Now,&#8221; &#8220;Add to Cart&#8221;), to evaluate combinations and uncover interactions that maximize conversions.</p></li></ul><p>While simple A/B tests or univariable designs are effective for evaluating straightforward changes, MVTs are particularly useful when multiple factors interact in non-obvious ways. For instance, a font size that performs well with one color might perform poorly with another. By testing these combinations, experimenters can discover a <strong>global optimum</strong>&#8212;the best overall combination of changes that maximizes the desired outcome.</p></li><li><p><strong>Variants:</strong> A user experience being tested is defined by assigning specific values to parameters, creating distinct variants for comparison. In a typical A/B test, these variants are labeled as Control and Treatment, with the Control representing the existing version (baseline) and the Treatment reflecting the modified version being tested. While some literature uses "variant" solely for the Treatment, the Control is also considered a critical variant, serving as the benchmark for measuring changes in key metrics.</p><p>For example, in an experiment testing button colors, the Control might feature the current blue button, while the Treatment introduces a red button. If a bug or unexpected issue arises during the experiment, it is standard practice to abort the test and ensure all users are reverted to the Control variant, thereby minimizing the potential for adverse impacts. This process safeguards the user experience while maintaining the integrity of the baseline performance data for future analysis.</p></li><li><p><strong>Randomisation Unit:</strong> Randomization is a critical component of controlled experiments. A pseudo-randomization process, such as hashing, is applied to units (e.g., users or pages) to assign them to different variants. Proper randomization ensures that the populations assigned to each variant are statistically similar, enabling causal effects to be determined with high confidence. The mapping of units to variants must be both persistent and independent. For example, if a user is the randomization unit, that user should consistently experience the same variant throughout the experiment, and their assignment should reveal nothing about how other users are assigned.</p><p>Using users as the randomization unit is highly recommended for online experiments targeting audiences across websites, apps, or other digital platforms. However, alternative randomization units are sometimes employed based on the experiment's goals. These can include:</p><ul><li><p><strong>Pages</strong>: Randomising content displayed on specific pages.</p></li><li><p><strong>Sessions</strong>: Assigning a variant to a single user session but allowing different experiences across sessions.</p></li><li><p><strong>User-Days</strong>: Ensuring a consistent experience for a user within a specific 24-hour period defined by the server.</p></li></ul><p>Proper randomisation is essential to maintain the integrity of the experiment. In cases where each variant is assigned an equal proportion of users, every user must have an equal probability of being assigned to any variant. This deliberate process eliminates potential biases that could distort results.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!LflP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0230b97a-bb06-485c-bcb2-fa5e0b7a5304_2770x1038.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!LflP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0230b97a-bb06-485c-bcb2-fa5e0b7a5304_2770x1038.png 424w, https://substackcdn.com/image/fetch/$s_!LflP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0230b97a-bb06-485c-bcb2-fa5e0b7a5304_2770x1038.png 848w, https://substackcdn.com/image/fetch/$s_!LflP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0230b97a-bb06-485c-bcb2-fa5e0b7a5304_2770x1038.png 1272w, https://substackcdn.com/image/fetch/$s_!LflP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0230b97a-bb06-485c-bcb2-fa5e0b7a5304_2770x1038.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!LflP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0230b97a-bb06-485c-bcb2-fa5e0b7a5304_2770x1038.png" width="1456" height="546" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0230b97a-bb06-485c-bcb2-fa5e0b7a5304_2770x1038.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:546,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1117466,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!LflP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0230b97a-bb06-485c-bcb2-fa5e0b7a5304_2770x1038.png 424w, https://substackcdn.com/image/fetch/$s_!LflP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0230b97a-bb06-485c-bcb2-fa5e0b7a5304_2770x1038.png 848w, https://substackcdn.com/image/fetch/$s_!LflP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0230b97a-bb06-485c-bcb2-fa5e0b7a5304_2770x1038.png 1272w, https://substackcdn.com/image/fetch/$s_!LflP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0230b97a-bb06-485c-bcb2-fa5e0b7a5304_2770x1038.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><h4>Why is A/B Testing Important?</h4><p>The challenge with data interpretation lies in distinguishing correlation from causation. Observational data can mislead; for instance, users experiencing more errors might show lower churn rates, not because errors are beneficial, but because they are heavy users. Controlled experiments help establish causality by systematically varying one thing at a time while keeping everything else constant.</p><p><strong>Example: Microsoft Office 365</strong></p><p>Consider the case of Microsoft Office 365, a subscription-based software service. Observational data might reveal that users who encounter more error messages and software crashes have lower churn rates compared to others. At a glance, one might conclude that introducing more errors or lowering the software's quality could reduce customer churn, which is clearly not the logical step to take.</p><ul><li><p><strong>Correlation:</strong> The data shows a correlation between seeing error messages, experiencing crashes, and lower churn rates.</p></li><li><p><strong>Misleading Interpretation:</strong> One might mistakenly infer that errors or crashes somehow keep users engaged or less likely to unsubscribe.</p></li><li><p><strong>Actual Causation:</strong> However, the real underlying factor here is "usage". Heavy users of the product are more likely to encounter errors due to the frequency and intensity of their use. These heavy users also tend to have lower churn rates because they find more value in the product or are more invested in it, not because the errors are beneficial.</p></li></ul><p>This example with Microsoft Office 365 illustrates why jumping to conclusions from mere correlations can lead to flawed strategies. <strong>Controlled experiments provide a structured approach to validate hypotheses, ensuring that decisions are based on causal relationships rather than coincidental correlations.</strong> By isolating variables and observing the direct impact of changes, businesses can avoid costly mistakes and invest in strategies that genuinely contribute to better user experiences and business outcomes.</p><h4>Key Elements of an A/B Test</h4><p>For A/B testing to be effective:</p><ol><li><p><strong>Experimental Units (</strong>or Users<strong>):</strong> Must be assignable to different variants without interference.</p></li><li><p><strong>Sufficient Scale:</strong> Enough units to detect even small effects statistically.</p></li><li><p><strong>Metrics:</strong> Key metrics like an OEC must be clearly defined and measurable.</p></li><li><p><strong>Ease of Change:</strong> Software changes should be implementable without significant overhead.</p></li></ol><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.inferentia.in/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.inferentia.in/subscribe?"><span>Subscribe now</span></a></p><p></p><h4>Lessons for Organizations</h4><ol><li><p><strong>Data-Driven Decision Making:</strong> Establish a clear OEC that aligns with strategic goals, ensuring measurable and actionable insights.</p></li><li><p><strong>Invest in Experimentation Infrastructure:</strong> Reliable systems are crucial for managing experiments, logging data, and deriving trustworthy conclusions. Also, implementing software changes with minimal overhead is a critical enabler for effective experimentation. Agile systems and processes should allow teams to make swift updates, test hypotheses, and adapt based on findings. This approach reduces delays, fosters innovation, and ensures experiments can iterate rapidly to achieve meaningful insights without bottlenecks.</p></li><li><p><strong>Embrace Humility in Idea Assessment:</strong> Most ideas fail to deliver the anticipated impact. Controlled experiments help validate assumptions, reducing wasted effort and guiding resources toward high-value initiatives.Common A/B Testing Mistakes to Avoid</p><p></p></li></ol><h4><strong>Strategic and Tactical Benefits</strong></h4><ul><li><p><strong>Strategy Validation:</strong> Experiments can affirm or challenge strategic directions through tangible outcomes.</p></li><li><p><strong>Tactical Optimization:</strong> Small, iterative changes can lead to substantial cumulative gains.</p></li><li><p><strong>Pivoting:</strong> When experiments hint at strategic misalignments, they can lead to strategic pivots or reassessments.</p></li></ul><h4><strong>Conclusion</strong></h4><p>The Bing example serves as a powerful illustration of how A/B testing can revolutionize digital products and experiences. It highlights the importance of fostering a culture that prioritizes data-driven decision-making, backed by robust infrastructure to conduct rigorous experiments at scale. Moreover, it emphasizes the value of intellectual humility&#8212;recognizing that even the most promising ideas must be validated through empirical evidence, as our initial intuitions are often flawed.</p><p>As digital platforms continue to evolve in complexity and scale, the reliance on controlled experiments will become even more indispensable. These experiments not only validate innovations but ensure they deliver measurable value to both businesses and users. By systematically testing and learning, organizations can refine their offerings, reduce risks, and make decisions grounded in objective insights rather than assumptions. In this way, A/B testing acts as a critical enabler of innovation, ensuring that progress is not only creative but also meaningful and impactful.</p><h3>Reference</h3><ol><li><p>Kohavi, Ron, Diane Tang, and Ya Xu. 2020. &#8203;Trustworthy Online Controlled Experiments: A Practical Guide to A/B Testing. Cambridge University Press.</p></li><li><p>Gupta, Somit, Ronny Kohavi, Diane Tang, Ya Xu, and etal. 2019. &#8220;Top Challenges from the first Practical Online Controlled Experiments Summit.&#8221; Edited by Xin Luna Dong, Ankur Teredesai and Reza Zafarani. SIGKDD Explorations (ACM) 21 (1). https://bit.ly/OCESummit1.</p></li><li><p>Roy, Ranjit K. 2001. Design of Experiments using the Taguchi Approach : 16 Steps to Product and Process Improvement. John Wiley &amp; Sons, Inc.</p></li></ol>]]></content:encoded></item><item><title><![CDATA[How Meta leverages the analytics to customise your Facebook feed?]]></title><description><![CDATA[A deep dive into Meta's advanced analytics and experiment framework]]></description><link>https://www.inferentia.in/p/how-meta-leverages-the-analytics</link><guid isPermaLink="false">https://www.inferentia.in/p/how-meta-leverages-the-analytics</guid><dc:creator><![CDATA[Piyush Ranjan]]></dc:creator><pubDate>Sat, 09 Dec 2023 13:53:04 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!D80y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13a3025e-d6f8-4de9-a4b2-966be4098592_2000x1500.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this blog, we'll uncover how Meta uses analytics to personalise your Facebook Feed. We will talk about how Meta fine-tunes the Facebook Feed to better resonate with your interests and preferences.</p><p>Meta prioritise long-term satisfaction over immediate interactions. Their goal is to ensure users connect and find value in their Facebook experience. But figuring out which posts deliver lasting value is tricky. </p><p>Consider a post about a local volunteering opportunity &#8211; a user might get inspired, join, and feel fulfilled over time. On the other hand, a funny meme might get a quick laugh when scrolled past. Which contributes more to the user's long-term satisfaction? Meta uses surveys to ask users directly, but these have limitations in terms of survey volume and imperfections within them. So, they also rely on data analysis and statistics to estimate which content truly enriches users' experiences on Facebook over time.</p><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!D80y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13a3025e-d6f8-4de9-a4b2-966be4098592_2000x1500.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!D80y!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13a3025e-d6f8-4de9-a4b2-966be4098592_2000x1500.webp 424w, https://substackcdn.com/image/fetch/$s_!D80y!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13a3025e-d6f8-4de9-a4b2-966be4098592_2000x1500.webp 848w, https://substackcdn.com/image/fetch/$s_!D80y!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13a3025e-d6f8-4de9-a4b2-966be4098592_2000x1500.webp 1272w, https://substackcdn.com/image/fetch/$s_!D80y!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13a3025e-d6f8-4de9-a4b2-966be4098592_2000x1500.webp 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!D80y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13a3025e-d6f8-4de9-a4b2-966be4098592_2000x1500.webp" width="1456" height="1092" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/13a3025e-d6f8-4de9-a4b2-966be4098592_2000x1500.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1092,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:188742,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!D80y!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13a3025e-d6f8-4de9-a4b2-966be4098592_2000x1500.webp 424w, https://substackcdn.com/image/fetch/$s_!D80y!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13a3025e-d6f8-4de9-a4b2-966be4098592_2000x1500.webp 848w, https://substackcdn.com/image/fetch/$s_!D80y!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13a3025e-d6f8-4de9-a4b2-966be4098592_2000x1500.webp 1272w, https://substackcdn.com/image/fetch/$s_!D80y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13a3025e-d6f8-4de9-a4b2-966be4098592_2000x1500.webp 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><h3>The Experiments</h3><p>To leverage the power of data, Meta employs A/B testing, a widely used method in the industry to understand cause and effect. It begins with crafting meticulous experiments involving multiple variants. For instance, one experiment might expose some Facebook users to more health and wellness-related posts, while others might see increased content about technology and innovation.</p><p>It's crucial to encompass all content types existing on the platform within these experiments. This means testing the shift in distribution for every major content category. The key is to maintain broad content definitions, such as amplifying 'content about hobbies' rather than specific subcategories like 'travel photos.' This approach allows for a diverse range of content without requiring an excessive number of experiments.</p><p>Through a sequence of experiments, the team evaluates user value in each test over an extended period, often spanning months. This extended duration allows them to understand how various content types relate to long-term user value. Upon discerning these relationships, determining which content deserves higher ranking becomes more straightforward. </p><h3>The Meta-Analysis Method</h3><p>After the completion of these experiments, Meta undertakes a comprehensive analysis utilising an experiment meta-analysis method. This method refers to a statistical technique used to analyse and synthesise findings from multiple independent studies or experiments. It involves consolidating the outcomes and results obtained from various experiments conducted to assess user behaviour or satisfaction.</p><p>In this method, the emphasis lies on long-term metrics such as Customer Lifetime Value and retention rates. For instance, let&#8217;s consider the M-1 retention metric&#8212;a metric that quantifies user continuity across consecutive months in platform engagement. This metric offers insights into user persistence, revealing the platform's ability to sustain ongoing user interest and consistent interaction over time.                    </p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\n\\text{(M-1) retention} = \\frac{\\text{# Users in month } M \\text{ who visited in month } (M-1)}{\\text{# users who visited in month } (M-1)}\n&quot;,&quot;id&quot;:&quot;BXGDFNAFID&quot;}" data-component-name="LatexBlockToDOM"></div><p></p><p>Let&#8217;s denote change in M-1 retention metric as Y&#8321;%, Y&#8322;%, and so on, across multiple experiments. For instance, if change in M-1 retention denoted by Y&#8321;%, it signifies the change in user retention percentage across the first experiment, emphasising relative changes rather than absolute numerical values.This analysis aids in understanding how alterations implemented in the experiments influence user behaviour and satisfaction over time, as reflected in metrics like M-1 retention.</p><p>In each experiment, we examine how the mix of content shifts as a result of the design of the experiment. For instance, if there's a 15% increase in news articles displayed, it could mean a slight decrease in other content categories. Remember, it's not just one type of content that changes but multiple types together.</p><p>For illustration, let's say in the first experiment, there's a change of x&#8321;&#8321;% in news articles (where '1' represents news content, and the second '1' signifies the first experiment), a shift of x&#8322;&#8321;% in videos, and x&#8323;&#8321;% in user-generated posts. Similarly, subsequent experiments might show variations like x&#8321;&#8322;%, x&#8322;&#8322;%, x&#8323;&#8322;%, and so forth. Here, x can be negative as well.</p><p>Subsequently, a straightforward linear regression is performed on the aggregated data at the percentage per treatment level. The regression equation is:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;Y_i \\sim \\text{coeff}_1x_1 + \\text{coeff}_2x_2 \\times \\ldots \\times \\text{coeff}_kx_k\n&quot;,&quot;id&quot;:&quot;AUWERUTPLU&quot;}" data-component-name="LatexBlockToDOM"></div><p>where the coefficients (coeff &#8342;) are determined as the elasticities representing the impact of increasing or decreasing the distribution of specific content type x&#8342; in the experiments. </p><h4>Interpreting the coefficients</h4><p> If a coefficient (coeff &#8342;) is statistically significant and positive, it indicates that showcasing more of that specific content type to users (while keeping all other content types constant) would likely lead to a positive impact on user value. </p><p>For example, suppose we're analyzing the impact of increasing video content (let's call it x&#8321;) in our experiments. The coefficient (coeff&#8321;) associated with x&#8321; indicates how much the increase in videos affects the observed outcomes. If coeff&#8321; is positive and significant, it implies that showcasing more videos might positively impact M-1 retention, encouraging users to stay engaged or active over consecutive months.</p><h4>Additional Pointers</h4><p>For a more resilient analysis, it's essential to consider and apply these outlined pointers.</p><ul><li><p>The ideal scenario necessitates as many experiments (n) as independent variables (k), ensuring accurate estimations; thus, k should be considerably lesser than n.</p></li><li><p>To generate new experiments for analysis, diverse treatment strengths, such as altering content distribution by varying percentages (e.g. in one experiment we increase the distribution of meme content by 10%, in another by 20%)), or conducting experiments at different times, prove beneficial.</p></li><li><p>They noted that conducting a smaller number of clear experiments, involving changes in all content types in at least one trial, works effectively.</p></li><li><p>Starting with a simple linear regression serves as a solid starting point before delving into more complex ML models.</p></li><li><p>The linear regression model mentioned earlier assumes constant elasticities. This means that a 1% increase in viewing a specific content type results in a y% change in the outcome variable. It's assumed that a 2% increase in viewing leads to a 2 * y% change. This constant elasticity has been observed at Facebook, scaling consistently across users with varying activity levels.</p><p></p></li></ul><p>In summary, Meta's methodology for optimising the Facebook Feed is a systematic process based on comprehensive experimentation, data analysis, and statistical modelling. By prioritising long-term user satisfaction over immediate engagement metrics, they conduct numerous experiments, utilising A/B testing and regression analyses to determine the impact of different content types on user value, often measured by metrics like M-1 retention. Their approach involves examining content shifts, interpreting coefficients from linear regression models, and ensuring robust experiment designs with various treatment strengths. Ultimately, this data-driven approach helps Meta tailor and refine the Facebook Feed to better match users' preferences, creating a more engaging and satisfying experience for everyone.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.inferentia.in/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Inferentia! Subscribe for free to receive new posts .</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Measuring User Quality: A Practical Guide]]></title><description><![CDATA[Optimising User Engagement and Conversions Through User Quality Segmentation]]></description><link>https://www.inferentia.in/p/measuring-user-quality-a-practical</link><guid isPermaLink="false">https://www.inferentia.in/p/measuring-user-quality-a-practical</guid><dc:creator><![CDATA[Piyush Ranjan]]></dc:creator><pubDate>Tue, 24 Oct 2023 15:57:48 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!pkFC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d81c765-fe0e-4513-8c03-dc24d06cf710_1280x836.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In today's digital age, the online space is incredibly diverse, hosting a multitude of user cohorts, each displaying unique patterns of behaviour. It's no longer sufficient to merely count the number of users. It's about gauging the value and relevance of each user to your goals. By recognising the variations in user behaviour among different groups, businesses and platforms gain the power to fine-tune their strategies. This nuanced understanding allows for the creation of tailored experiences, personalised offers, and relevant user journeys. This ensures that each user feels seen and valued. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!pkFC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d81c765-fe0e-4513-8c03-dc24d06cf710_1280x836.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!pkFC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d81c765-fe0e-4513-8c03-dc24d06cf710_1280x836.png 424w, https://substackcdn.com/image/fetch/$s_!pkFC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d81c765-fe0e-4513-8c03-dc24d06cf710_1280x836.png 848w, https://substackcdn.com/image/fetch/$s_!pkFC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d81c765-fe0e-4513-8c03-dc24d06cf710_1280x836.png 1272w, https://substackcdn.com/image/fetch/$s_!pkFC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d81c765-fe0e-4513-8c03-dc24d06cf710_1280x836.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!pkFC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d81c765-fe0e-4513-8c03-dc24d06cf710_1280x836.png" width="1280" height="836" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6d81c765-fe0e-4513-8c03-dc24d06cf710_1280x836.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:836,&quot;width&quot;:1280,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:787049,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!pkFC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d81c765-fe0e-4513-8c03-dc24d06cf710_1280x836.png 424w, https://substackcdn.com/image/fetch/$s_!pkFC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d81c765-fe0e-4513-8c03-dc24d06cf710_1280x836.png 848w, https://substackcdn.com/image/fetch/$s_!pkFC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d81c765-fe0e-4513-8c03-dc24d06cf710_1280x836.png 1272w, https://substackcdn.com/image/fetch/$s_!pkFC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6d81c765-fe0e-4513-8c03-dc24d06cf710_1280x836.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><h3>Why Quality-Based User Segmentation Is Essential?</h3><p>Segmenting users based on their quality offers numerous strategic advantages. One key benefit lies in crafting precise user targeting. By discerning the quality of users, you can categorise them into distinct segments, such as high-quality, mid-range, or low-quality users. Each of these segments can then be approached with tailored strategies. </p><ul><li><p>For high-quality users, you can design loyalty programs that provide exclusive benefits, nurturing a sense of belonging and engagement. </p></li><li><p>Mid-range users might receive targeted offers that match their preferences, incentivising them to remain active and engaged. </p></li><li><p>Low-quality users, on the other hand, may benefit from re-engagement efforts to improve their experience and potentially transform them into higher-quality users. </p></li></ul><p>In essence, quality-based segmentation forms the foundation for strategies that optimise user engagement, foster loyalty, and drive business growth.</p><h3>The User Quality Score: How We Calculate It</h3><p>Defining the quality of users begins with identifying and measuring their engagement with your platform. This typically involves pinpointing specific, high-value actions (HVAs) that are vital to your business goals. HVAs are actions like "add to cart" or any other significant interaction that drives value. By monitoring both frequency and the variety of HVAs a user engages in, we can assess their quality.</p><p>Calculating the quality score often involves taking a weighted average of the number of times a user performs these HVAs. This weighted average considers the significance of each action; for example, "checkout" might be given more weight than a "product view" because it represents a closer step to conversion. </p><h3>Assigning Weights to High-Value Actions</h3><p>Defining the weights for high-value actions (HVAs) involves a systematic process. We begin by determining a "conversion event," which is the specific action that signifies a user's successful journey or achievement of a significant goal on our platform.</p><p>To assign weights to HVAs, we analyze a set of new users and track how many of them perform a particular HVA before reaching the conversion event. The weight for an HVA is calculated by taking the ratio of users who performed that action before conversion to the total number of users who successfully converted.</p><p>For example, let's say 100 new users successfully converted. Among them, 60 users engaged in a "search" action before converting. This results in a weight of 0.6 for the "search" action. In contrast, only 30 users visited the "product description" section before conversion, resulting in a weight of 0.3 for this action. This process allows us to assign weights based on the influence of each HVA on user conversions.</p><h3>Calculating the Final User Quality Score</h3><p>To determine the final user quality score, we employ a straightforward yet effective method. We start by calculating the sum product of the weight assigned to each high-value action (HVA) and the number of times those HVAs are performed by a user. This gives us a raw score that reflects a user's overall engagement and the significance of their actions.</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\text{User Quality Score} = \\sum_{i} \\text{Weight}_i \\times \\text{Number of HVAs}_i\n&quot;,&quot;id&quot;:&quot;KHJSKPBCND&quot;}" data-component-name="LatexBlockToDOM"></div><p>To account for the frequency of these actions, we implement a normalization process. Instead of relying on absolute numbers, we use percentile distribution among new users who engage in these HVAs before converting. For instance, if 20% of users perform less than 4 searches before converting, then the normalized value for 4 searches would be 0.2. This normalisation ensures that user quality scores are relative and not skewed by extreme values, allowing for a more balanced and accurate assessment.</p><h3>Utilising Quality Score Buckets for Personalisation and Targeting</h3><p>These quality scores can then be segmented into various buckets or categories. Each bucket represents a range of quality scores, allowing us to group users with similar levels of engagement and actions. These score buckets become invaluable for personalisation and targeting strategies.</p><p>Users falling into the same score bucket can receive tailored content, offers, and messages that suit their specific engagement and preferences. This personalisation enhances the user experience, boosts engagement, and increases the likelihood of achieving desired outcomes. It also streamlines marketing efforts by ensuring that promotions and messages are sent to users who are most likely to respond positively. Overall, these quality score buckets serve as a powerful tool for optimising user interactions and achieving business goals.</p><p></p>]]></content:encoded></item><item><title><![CDATA[Investigating a Gradual Drop in Conversion Rate: A Case Study for a Fashion E-commerce Giant- Part II]]></title><description><![CDATA[Unveiling Insights and Taking Action]]></description><link>https://www.inferentia.in/p/investigating-a-gradual-drop-in-conversion-1de</link><guid isPermaLink="false">https://www.inferentia.in/p/investigating-a-gradual-drop-in-conversion-1de</guid><dc:creator><![CDATA[Piyush Ranjan]]></dc:creator><pubDate>Sun, 21 May 2023 04:33:34 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!ch8Z!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F424ebbcf-630c-4036-b484-48bfe6e98862_1792x1344.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>Context note &#8212; 3 October 2026.</strong> This is a fictional teaching example. The characters, business scenario and numerical examples are illustrative; they are not a report using data from any employer. It is retained in Measurement Guides and predates Inferentia&#8217;s research standards.</p><div><hr></div><p>Hey there! Piyush here, and I'm thrilled to bring you another edition of my weekly analytics newsletter. Let's dive right in!</p><p>In the first part of our case study, we explored the initial stages of our investigation into the gradual drop in conversion rate for a fashion e-commerce giant. We witnessed how Rohit, our diligent product analyst, leveraged cohort and funnel analysis to gain valuable insights into the user journey. Now, we dive deeper into the next phase of our investigation, where we uncover conclusive findings and take action to address the identified issues.</p><div><hr></div><p>To revisit the first part of this blog, please refer to the link provided.</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;1940debd-1965-4079-897d-ce4069439fd8&quot;,&quot;caption&quot;:&quot;It was a rainy evening in Bangalore, and Avantika, the Head of Product at an Indian e-commerce giant specialising in fashion and lifestyle products, was meeting with her analytics counterpart, Rohit. As they sipped on their hot cups of tea, Avantika voiced her concern about the gradual drop in session level conversion rate compared to last month. Rohit &#8230;&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;showDescription&quot;:true,&quot;showImage&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Investigating a Gradual Drop in Conversion Rate: A Case Study for a Fashion E-commerce Giant- Part I&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:89365644,&quot;name&quot;:&quot;Piyush Ranjan&quot;,&quot;bio&quot;:&quot;I'm Piyush, a product analyst with 8+ years' experience in e-commerce &amp; fintech. On my blog, I  cover a wide range of topics in the analytics space.&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2fa43421-69a3-46b0-8e12-605bc061406b_1512x1498.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2023-04-24T02:35:11.998Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf6b34e-a2ea-4a6b-b545-25dab180a092_590x658.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://inferentia.substack.com/p/investigating-a-gradual-drop-in-conversion&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:116738215,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:0,&quot;comment_count&quot;:0,&quot;publication_id&quot;:null,&quot;publication_name&quot;:&quot;Inferentia&quot;,&quot;publication_logo_url&quot;:&quot;&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><div><hr></div><p></p><p>As we left off, Rohit had discovered that the drop-off in conversion rate was most prominent for users who reached the product page through search on the app. This insight raised suspicions about potential issues with the app's search functionality or the relevance of search results.</p><h4>The Analytics-Data Science Collaboration</h4><p>In the vibrant and art-adorned office of the fashion e-commerce giant, Rohit crossed paths with Shreyash, the seasoned data scientist leading the search team.</p><p>They had crossed paths on several occasions but had never engaged in a detailed conversation. Little did they know that their encounter would mark the beginning of a remarkable collaboration.</p><p>As Rohit approached Shreyash's desk, he noticed the walls adorned with intricate graphs and equations, a testament to Shreyash's expertise in data science. With a slight hint of nervousness, Rohit cleared his throat and initiated the conversation.</p><p>Rohit: "Hi Shreyash, I hope I'm not interrupting anything important. I've been diving deep into our app's user journey, specifically focusing on the drop in conversion rate for users who reach the product page through search."</p><p>Shreyash, known for his calm demeanour, looked up from his laptop screen and offered a friendly smile.</p><p>Shreyash: "Not at all, Rohit. I'm always open to discussions that can help us uncover insights and improve our systems. Please, have a seat. What have you discovered so far?"</p><p>Rohit took a seat, a sense of anticipation building within him. He began sharing his findings, outlining the peculiar drop-off in conversion rate and the potential issues with the search functionality or relevance of search results.</p><p>Rohit: "As I analysed the data, it became apparent that users who relied on the search feature were experiencing a significant drop in their conversion rate. This led me to suspect that there might be some issues with our search algorithm or the relevance of the search results."</p><p>Shreyash listened attentively, intrigued by Rohit's observations. He leaned back in his chair, ready to contribute his expertise.</p><p>Shreyash: "I appreciate your thorough analysis, Rohit. However, I must inform you that we recently deployed a new search model aimed at enhancing the user experience. The initial feedback and performance indicators have been promising. In fact, let me show you a few key search metrics that demonstrate the positive impact of our latest implementation."</p><p>Shreyash navigated through his meticulously organised dashboards and presented a set of insightful visuals, showcasing the improvement in search metrics.</p><p></p><h4>Analysing Key Search Metrics</h4><p>Shreyash proceeded to share the key search metrics that shed light on the performance of the search results. With a confident smile, he presented a set of insightful visuals, showcasing the following metrics:</p><ol><li><p><strong>Click-through Rate (CTR)</strong>: This metric measures the percentage of users who click on the search results out of the total number of users who view them. Shreyash displayed a graph depicting a significant increase in the CTR for users on the new search model compared to users on the old model. This indicated that the new search algorithm was effectively driving higher engagement and click-through rates.</p></li><li><p><strong>Conversion Rate</strong>: The conversion rate metric measures the percentage of users who complete a desired action, such as making a purchase or signing up for a service, out of the total number of users who interacted with the search results. Another graph demonstrated a noticeable improvement in the conversion rate of users on the new model compared to users on the old model. This suggested that the new search algorithm was more successful in driving desired actions and achieving business objectives.</p></li><li><p><strong>Bounce Rate</strong>: Bounce rate measures the percentage of users who leave the app after viewing a single search result. A high bounce rate may indicate that the search results are not meeting user expectations or are not relevant to their needs. The graph displaying the bounce rate showcased a significant decrease for users on the new model compared to users on the old model. This indicated that the new search algorithm was successful in reducing user bounce rates, implying improved search result relevance and user satisfaction.</p></li><li><p><strong>Zero-Result Rate</strong>: This metric measures the percentage of searches that yield no results. A lower zero-result rate indicates that the search algorithm is effectively returning relevant results for a wide range of user queries.</p></li></ol><p>In addition to these metrics, Shreyash introduced the <strong>Mean Reciprocal Rank (MRR)</strong> as a metric to evaluate the average ranking of the search result clicked by users. MRR takes into account the order of the clicked search results and provides a measure of the effectiveness of the search algorithm in ranking the most relevant results at the top. A higher MRR score indicates a better search result ranking and greater search result relevance.</p><p>Shreyash explained further, "MRR is calculated by taking the reciprocal of the rank of the first relevant search result clicked by the user. For example, if a user clicks on the most relevant result as the third item displayed, the reciprocal rank would be 1/3. A higher MRR score indicates that users are finding more relevant results higher up in the search rankings."</p><p>Rohit's suspicions about the search functionality and relevance began to dissipate as the metrics provided evidence of the new search model's effectiveness. Shreyash's analysis compared users on the new search model to users on the old model, revealing positive improvements in CTR, conversion rate, average time on page, and reduced bounce rates.</p><p>As the conversation progressed, Rohit couldn't help but express his concern about the potential biases in the data. He recognised that the new search model had not undergone an A/B test, which meant there could be hidden influences impacting the results. In an effort to ensure a comprehensive and unbiased analysis, Rohit shared his thoughts with Shreyash.</p><p>"Shreyash, while the metrics indicate positive results, we should be cautious about potential biases in the data. Without an <strong>A/B test</strong>, we need to carefully examine user cohorts and segment-specific behaviours to uncover any hidden influences on the drop in conversion rate. It's crucial that we dive deeper and gain a comprehensive understanding to make informed decisions," Rohit explained.</p><p>Shreyash listened attentively, understanding the importance of addressing potential biases and conducting a thorough analysis. They both agreed that exploring user cohorts, segment-specific search experiences, and delving deeper into the data would be essential to gain a clearer picture of the search dynamics and optimise the search experience for all users.</p><p>With a shared commitment to uncovering the truth and refining the search, Rohit and Shreyash embarked on the next phase of their investigation, eager to unveil the underlying factors that contributed to the gradual drop in conversion rate.</p><p></p><h4>Unmasking the Bias: Investigating User Behaviour and App Adoption</h4><p>As Rohit delved deeper into the analysis, he aimed to examine the possibility of any bias influencing the results. To assess this, he shifted his focus to user engagement and retention metrics that were not directly influenced by the search model.</p><p>Rohit scrutinised metrics such as sessions per user, the mix of new versus repeat users, and the average age of users on the platform. These metrics would help him understand if there were any inherent differences between the two cohorts: users on the new search model and users on the old model.</p><p>To his surprise, Rohit noticed a significant disparity between the two cohorts. Users on the new search model exhibited higher levels of engagement and transactional activity on the platform. However, Rohit questioned whether this improvement was solely due to the new model's performance or if it was a result of selection bias.</p><p>He realised that the users on the new model might appear to have better user metrics not because of the model's performance but because of the selection bias. <strong>It was possible that the users on the new model were of better quality to begin with, leading to better metrics.</strong></p><p>Continuing his investigation, Rohit delved further into understanding the source of the observed bias. He carefully examined the circumstances surrounding the deployment of the new search model and its impact on user behaviour.</p><p>Rohit soon realised that the new model was introduced with a major app release, which included updates and enhancements beyond just the search functionality. As a result, users would only receive the new model if they actively updated their app to the latest version. <strong>This realisation led him to a significant insight&#8212;the bias stemmed from the fact that only active users, who were more likely to engage and transact on the platform, had updated to the new app version and were consequently using the new search model.</strong></p><p>The bias, therefore, originated from the self-selection of users who actively updated their app. These users represented a segment of highly engaged and committed individuals, which naturally influenced the user metrics and potentially skewed the performance evaluation of the new search model.</p><p>With this newfound understanding, Rohit successfully identified the underlying cause of the bias. He gained a valuable insight into the significance of considering user behaviour and adoption patterns when evaluating the performance of the new model. This realisation prompted Rohit and Shreyash to recognise the importance of implementing an AB experiment, which would provide a robust framework for unbiased analysis and enable them to draw causal inferences.</p><p>They understood that conducting an AB experiment was crucial for any new updates or enhancements to negate the impact of biases and accurately assess the effectiveness of changes made. By incorporating this experimental approach, Rohit and Shreyash aimed to establish a causal relationship between the new search model and its impact on user engagement and conversion rates.</p><p></p><h4>The AB Test: Deriving Causal Inference</h4><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ch8Z!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F424ebbcf-630c-4036-b484-48bfe6e98862_1792x1344.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ch8Z!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F424ebbcf-630c-4036-b484-48bfe6e98862_1792x1344.png 424w, https://substackcdn.com/image/fetch/$s_!ch8Z!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F424ebbcf-630c-4036-b484-48bfe6e98862_1792x1344.png 848w, https://substackcdn.com/image/fetch/$s_!ch8Z!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F424ebbcf-630c-4036-b484-48bfe6e98862_1792x1344.png 1272w, https://substackcdn.com/image/fetch/$s_!ch8Z!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F424ebbcf-630c-4036-b484-48bfe6e98862_1792x1344.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ch8Z!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F424ebbcf-630c-4036-b484-48bfe6e98862_1792x1344.png" width="1456" height="1092" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/424ebbcf-630c-4036-b484-48bfe6e98862_1792x1344.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1092,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:157272,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ch8Z!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F424ebbcf-630c-4036-b484-48bfe6e98862_1792x1344.png 424w, https://substackcdn.com/image/fetch/$s_!ch8Z!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F424ebbcf-630c-4036-b484-48bfe6e98862_1792x1344.png 848w, https://substackcdn.com/image/fetch/$s_!ch8Z!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F424ebbcf-630c-4036-b484-48bfe6e98862_1792x1344.png 1272w, https://substackcdn.com/image/fetch/$s_!ch8Z!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F424ebbcf-630c-4036-b484-48bfe6e98862_1792x1344.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Excited by their newfound insights and armed with the understanding of the bias, Avantika, Rohit, and Shreyash embarked on a crucial next step: conducting an AB experiment. They understood that this experiment would provide a rigorous and unbiased evaluation of the new search model's performance. With careful planning and implementation, they executed the experiment, comparing the user engagement and conversion rates between the users on the new search model and a control group on the old model.</p><p>To their surprise, the results of the AB experiment revealed that the new search model performed poorly in terms of user engagement and conversion rates. This outcome validated their initial concerns and highlighted the importance of thorough evaluation and experimentation before implementing major updates. Armed with this knowledge, Avantika, Rohit, and Shreyash were able to make informed decisions for optimising the search experience and driving improved conversion rates.</p><p></p><h4>Key Discoveries and Conclusive Actions</h4><p>The collaborative efforts of Avantika, Rohit, and Shreyash highlighted the importance of leveraging data-driven insights, conducting thorough analysis through funnel and cohort examination, and embracing experimentation to drive innovation and enhance user experiences. By meticulously dissecting the user journey through funnel analysis, they gained valuable insights into the specific stages where the drop in conversion rate occurred, enabling them to identify the root cause with precision. Furthermore, by segmenting users into cohorts and analysing their behaviours, they were able to uncover hidden influences and nuances that contributed to the overall performance of the search model.</p><p>As they concluded their investigation, Avantika, Rohit, and Shreyash eagerly shared their findings and recommendations with the wider team, stressing the significance of funnel and cohort analysis in understanding user behaviour and identifying areas for improvement. They emphasised the need for ongoing monitoring and analysis of key metrics throughout the user journey to ensure a comprehensive understanding of the entire conversion funnel.</p><p>In addition to their focus on funnel and cohort analysis, Avantika, Rohit, and Shreyash recognised the vital role of AB experimentation in deriving causal inferences and drawing accurate conclusions. They highlighted the importance of conducting controlled experiments, where users are randomly assigned to different versions of the search model, to measure the true impact of any changes made. By implementing AB testing, they could negate biases and confidently evaluate the performance of the new search model, ultimately leading to more informed decision-making and continuous improvement.</p><p>Avantika, Rohit, and Shreyash's collaborative efforts established a framework for unbiased evaluation, hypothesis testing, and deriving causal inferences through AB experimentation. Their achievements have set a precedent for future endeavours, ensuring that funnel and cohort analysis, coupled with rigorous AB testing, will remain integral to the company's growth and success in the dynamic world of online retail.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.inferentia.in/p/investigating-a-gradual-drop-in-conversion-1de?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.inferentia.in/p/investigating-a-gradual-drop-in-conversion-1de?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p></p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;c0aa08de-9d4a-42c3-b5b2-893f58f865fc&quot;,&quot;caption&quot;:&quot;It was a rainy evening in Bangalore, and Avantika, the Head of Product at an Indian e-commerce giant specialising in fashion and lifestyle products, was meeting with her analytics counterpart, Rohit. As they sipped on their hot cups of tea, Avantika voiced her concern about the gradual drop in session level conversion rate compared to last month. Rohit &#8230;&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;showDescription&quot;:true,&quot;showImage&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Investigating a Gradual Drop in Conversion Rate: A Case Study for a Fashion E-commerce Giant- Part I&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:89365644,&quot;name&quot;:&quot;Piyush Ranjan&quot;,&quot;bio&quot;:&quot;I'm Piyush, a product analyst with 8+ years' experience in e-commerce &amp; fintech. On my blog, I  cover a wide range of topics in the analytics space.&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2fa43421-69a3-46b0-8e12-605bc061406b_1512x1498.png&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2023-04-24T02:35:11.998Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf6b34e-a2ea-4a6b-b545-25dab180a092_590x658.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://inferentia.substack.com/p/investigating-a-gradual-drop-in-conversion&quot;,&quot;section_name&quot;:null,&quot;video_upload_id&quot;:null,&quot;id&quot;:116738215,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:0,&quot;comment_count&quot;:0,&quot;publication_id&quot;:null,&quot;publication_name&quot;:&quot;Inferentia&quot;,&quot;publication_logo_url&quot;:&quot;&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.inferentia.in/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Inferentia! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Investigating a Gradual Drop in Conversion Rate: A Case Study for a Fashion E-commerce Giant- Part I]]></title><description><![CDATA[A Data-Driven Tale of How Analytics Saved the Day]]></description><link>https://www.inferentia.in/p/investigating-a-gradual-drop-in-conversion</link><guid isPermaLink="false">https://www.inferentia.in/p/investigating-a-gradual-drop-in-conversion</guid><dc:creator><![CDATA[Piyush Ranjan]]></dc:creator><pubDate>Mon, 24 Apr 2023 02:35:11 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!fxyc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf6b34e-a2ea-4a6b-b545-25dab180a092_590x658.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><p><strong>Context note &#8212; 3 October 2026.</strong> This is a fictional teaching example. The characters, business scenario and numerical examples are illustrative; they are not a report using data from any employer. It is retained in Measurement Guides and predates Inferentia&#8217;s research standards.</p><div><hr></div><p>It was a rainy evening in Bangalore, and Avantika, the Head of Product at an Indian e-commerce giant specialising in fashion and lifestyle products, was meeting with her analytics counterpart, Rohit. As they sipped on their hot cups of tea, Avantika voiced her concern about the gradual drop in session level conversion rate compared to last month. Rohit quickly pulled up the conversion dashboard and confirmed Avantika's observation. They both knew that a drop in conversion rate could significantly impact the company's bottom line, and it was crucial to investigate the root cause of the problem.</p><p>"Have you noticed any changes in the mix of our cohorts?" Rohit asked, looking over the data. "Perhaps the new users aren't converting as well as the old ones."</p><p>"That's a good point," Avantika replied, "But we haven't made any significant changes to our acquisition strategy recently."</p><p>"What about any recent changes to the product or the user experience?" Rohit asked, scrolling through the data.</p><p>"I don't think so," Avantika said, thinking hard. "But let's double-check."</p><p>Rohit nodded and promised to conduct a thorough analysis of the data to identify any potential issues.</p><p>Based on the initial conversation between Avantika and Rohit, they both had a few hypotheses about the possible cause of the drop in conversion rate. However, before jumping to any conclusions, they needed to conduct a thorough investigation of the data. Rohit's promise to conduct an analysis was just the beginning of a lengthy process that would require them to dive deep into the data and explore different variables.</p><p>Avantika and Rohit knew that this was not an easy task, but they were determined to get to the bottom of the issue. They realised that every aspect of their business, from the product and user experience to marketing and advertising, could potentially impact the conversion rate. Therefore, they needed to be meticulous in their approach and consider every possible angle.</p><div><hr></div><h3>Initial Analysis</h3><p>Rohit knew that the issue could stem from various factors. He started by analysing the user experience of the app, but after going through the design and user interface, he found only minor issues that were unlikely to cause such a significant drop in conversion.</p><p>He then explored the pricing hypothesis but did not find any significant changes in pricing or discounts that could have led to the decline in conversion. He also investigated whether there was a change in the user mix, but found no significant differences in the demographic distribution of users during the period.</p><p>Additionally, Rohit ran various tests on the app's functionality to check if there were any technical issues that could have caused the drop in conversion rate, but found no glitches that could be responsible.</p><p>Even after thorough analysis, Rohit could not find any significant changes that could explain the decline in conversion rate. He was feeling increasingly frustrated and overwhelmed by the sheer volume of data that he had collected. He realised that without a clear structure in his analysis, he was getting lost in the sea of data and unable to make any meaningful conclusions.</p><h3>Deconstructing the conversion rate: Cohort and Funnel Analysis</h3><p>Rohit's experience highlights the importance of having a structured approach to data analysis. Without a clear structure, it's easy to get lost in the vast amount of data and lose sight of the goal. A structured approach helps to break down the problem into manageable pieces and allows for a more systematic investigation of potential causes.</p><p>Breaking down metrics into different dimensions is essential for a systematic and thorough investigation of potential causes for any issue or problem. This deconstruction allows for a more in-depth analysis of different aspects of the business, making it easier to identify specific areas that might be contributing to the problem.</p><p>Cohort and funnel analysis are two dimensions that are particularly useful in investigating the root causes of changes in conversion rate. Cohort analysis can be thought of as the vertical dimension as it enables businesses to understand how different user groups behave over time, allowing for the identification of specific user groups that might be contributing to the problem. Funnel analysis, on the other hand, can be seen as the horizontal dimension as it helps to identify which parts of the user journey might be causing issues, such as drop-offs in the user journey.</p><p>By breaking down the conversion rate into two dimensions, businesses can approach the problem in a more structured and targeted way. This can help to save time and resources that might otherwise be spent on investigating irrelevant factors or variables.</p><p>Moreover, by focusing on specific dimensions, businesses can develop more targeted and effective solutions to the problem. For instance, if the cohort analysis highlights that a specific user group is experiencing a lower conversion rate, businesses can develop specific strategies to address the issues faced by this group. Similarly, if the funnel analysis identifies that users are dropping off at a specific stage of the user journey, businesses can focus on improving that stage to reduce the drop-off rate.</p><p>Overall, breaking down metrics into different dimensions, such as cohort analysis and funnel analysis, is crucial for a systematic and thorough investigation of potential causes. This approach enables businesses to identify specific areas that might be contributing to the problem, develop targeted solutions, and save time and resources in the process.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.inferentia.in/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.inferentia.in/subscribe?"><span>Subscribe now</span></a></p><p></p><h4>Cohort Analysis</h4><p>Rohit took a structured approach to analyse the conversion rate by deconstructing it into different user cohorts. He began by analysing cohorts based on user acquisition channels, including organic search, social media, and paid advertising. Rohit observed that the conversion rate had dropped across all channels, ruling out the possibility of acquisition issues.</p><p>Next, he looked into user type cohorts, such as new users and returning users. Rohit found that the drop in conversion rate was across new as well as returning users. But the quantum of drop was more pronounced among new users than returning users, which led him to investigate the onboarding process for new users and identify areas for improvement.</p><p>Further, Rohit analysed cohorts based on the device used by the users, such as desktop and mobile. He discovered that the conversion rate had dropped more on mobile devices than on desktops. This led him to investigate the mobile user experience and identify potential issues.</p><p>Moreover, Rohit analysed cohorts based on the user location, such as users from different regions or countries. He found that the conversion rate had dropped across all the regions.</p><p>Finally, Rohit analysed cohorts based on the product category, such as clothing, footwear, and accessories. He observed that the conversion rate had dropped more for certain product categories such as ethnic wear and personal care, leading him to investigate potential issues with those specific product categories.</p><p>Rohit's structured approach to analysing the conversion rate has provided him with a clear direction for further investigation. He has identified specific user groups that are contributing to the drop in conversion rate, such as new users, mobile users, and users of certain product categories. However, he still needs to pinpoint the exact source of trouble within these cohorts. This is where funnel analysis comes into play. By analysing the steps users take before completing a desired action, such as making a purchase, Rohit can identify where users are dropping off in the conversion funnel. This will help him identify specific issues that need to be addressed to improve the overall conversion rate.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.inferentia.in/p/investigating-a-gradual-drop-in-conversion?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.inferentia.in/p/investigating-a-gradual-drop-in-conversion?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p></p><h4>Funnel Analysis</h4><p>A funnel analysis is a method of analysing a user's journey through a website or app by breaking it down into a series of steps, or stages, which are then analysed to identify any points of drop off or conversion.</p><p>Rohit looked at the trend line of the drop between consecutive steps in the funnel. This helped him to identify the exact point in the user journey where the drop-off was occurring and develop strategies to address the issue.</p><p>To perform a funnel analysis, Rohit began by defining the different steps in the user journey on the app. He identified the following stages:</p><ul><li><p>All Users: This is the total number of visitors to the app</p></li><li><p>Non-bounced Users: These are users who did not leave the app after opening it</p></li><li><p>Users with Product page view: These are users who clicked on a specific product to view its details</p></li><li><p>Users with Add to Cart: These are users who added a product to their cart </p></li><li><p>Users with Checkout: These are users who proceeded to the checkout process after adding a product to their cart </p></li><li><p>Users with Orders: These are users who completed a purchase on the app</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fxyc!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf6b34e-a2ea-4a6b-b545-25dab180a092_590x658.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fxyc!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf6b34e-a2ea-4a6b-b545-25dab180a092_590x658.png 424w, https://substackcdn.com/image/fetch/$s_!fxyc!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf6b34e-a2ea-4a6b-b545-25dab180a092_590x658.png 848w, https://substackcdn.com/image/fetch/$s_!fxyc!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf6b34e-a2ea-4a6b-b545-25dab180a092_590x658.png 1272w, https://substackcdn.com/image/fetch/$s_!fxyc!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf6b34e-a2ea-4a6b-b545-25dab180a092_590x658.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fxyc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf6b34e-a2ea-4a6b-b545-25dab180a092_590x658.png" width="390" height="434.9491525423729" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ecf6b34e-a2ea-4a6b-b545-25dab180a092_590x658.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:658,&quot;width&quot;:590,&quot;resizeWidth&quot;:390,&quot;bytes&quot;:161409,&quot;alt&quot;:&quot;Conversion rate optimisation, funnel drop off&quot;,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Conversion rate optimisation, funnel drop off" title="Conversion rate optimisation, funnel drop off" srcset="https://substackcdn.com/image/fetch/$s_!fxyc!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf6b34e-a2ea-4a6b-b545-25dab180a092_590x658.png 424w, https://substackcdn.com/image/fetch/$s_!fxyc!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf6b34e-a2ea-4a6b-b545-25dab180a092_590x658.png 848w, https://substackcdn.com/image/fetch/$s_!fxyc!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf6b34e-a2ea-4a6b-b545-25dab180a092_590x658.png 1272w, https://substackcdn.com/image/fetch/$s_!fxyc!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf6b34e-a2ea-4a6b-b545-25dab180a092_590x658.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>By analysing the funnel, Rohit could see how many users were dropping off at each stage of the journey. He observed that there was a significant drop between non-bounced users and users with a product page view. This drop-off  is a critical metric to analyse because it represents the point where users start to engage with the app's content.</p><p>To gain a deeper understanding of the drop between non-bounced users and users with a product page view, Rohit decided to break down the user journey between the two stages into three different paths: users who reach the product page through search, users who reach the product page through product recommendation, and users who reach the product page through category navigation.</p><ul><li><p>Users who reach the product page through search: These are users who use a search engine or an internal search bar on the app to find a specific product. They enter relevant keywords or phrases into the search bar and click on the product that matches their search criteria.</p></li><li><p>Users who reach the product page through product recommendation: These are users who are directed to a specific product through a recommendation algorithm on the app. The algorithm may use factors such as the user's past purchase history, browsing history, or items in their cart to suggest products that may be of interest to them.</p></li><li><p>Users who reach the product page through category navigation: These are users who navigate through different categories and subcategories on the app to find the product they are interested in. They may use menus or filters to refine their search and eventually land on the product page.</p></li></ul><p>After breaking down the user journey into these three paths, Rohit discovered that the drop-off was most prominent for users who reached the product page through search. This indicated that there may be issues with the app's search functionality or the relevance of search results.</p><p>Rohit decided to strengthen his hypothesis by overlaying the funnel analysis with user cohorts. His analysis revealed that the drop-off rate was notably higher for a specific group of users - new mobile users who were engaging with identified product categories. This information allowed Rohit to pinpoint the exact issue and concentrate his efforts on a particular cohort and segment of the user journey, leading to more targeted and effective solutions.</p><p></p><p>Rohit entered Avantika's office with a confident stride, holding a printout of the funnel analysis in his hand. He explained how he had broken down the user journey and identified the drop-off points, ultimately pinpointing the problem with the search algorithm for new mobile users engaging with specific product categories. Avantika was impressed with Rohit's findings and commended him on his thorough analysis. They both agreed to present the findings to the data science team responsible for the search algorithm and work on further deep dive. </p><div><hr></div><p>In this first part of my blog, we explored how cohort analysis and funnel analysis can provide valuable insights into user behaviour on an app. Cohort analysis allows us to group users based on shared characteristics and observe how they behave over time, while funnel analysis helps us understand how users move through different stages of a conversion process.</p><p>We then saw how overlaying these two types of analyses can provide even deeper insights into user behaviour. By breaking down the user journey into different paths and overlaying the analysis by user cohorts, Rohit was able to pinpoint the problem areas in the app and focus his attention on improving the user experience for specific cohort and part of the user journey.</p><p>In the upcoming part of the blog, we will witness Rohit's efforts in concluding the analysis with definitive findings. We will observe how he handles a potential conflict between data science and analytics by utilizing the concept of causal inference. Along the way, we will learn about the significance of avoiding common pitfalls in analysis, such as selection bias, and the importance of conducting experiments to ensure accurate and actionable insights. Stay tuned for more exciting insights!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.inferentia.in/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.inferentia.in/subscribe?"><span>Subscribe now</span></a></p><p></p>]]></content:encoded></item><item><title><![CDATA[The Cornerstones of Product Analytics]]></title><description><![CDATA[A Journey through Fundamental Principles and Strategies]]></description><link>https://www.inferentia.in/p/introducing-the-product-analytics</link><guid isPermaLink="false">https://www.inferentia.in/p/introducing-the-product-analytics</guid><dc:creator><![CDATA[Piyush Ranjan]]></dc:creator><pubDate>Fri, 14 Apr 2023 17:19:38 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fa43421-69a3-46b0-8e12-605bc061406b_1512x1498.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>As Geoffrey Moore once said, 'Without data, you are blind and deaf and in the middle of a freeway.' This quote perfectly captures my belief in the importance of data and analytics in today's business world. </p><p>Hello, I'm Piyush, and welcome to Inferentia - a platform where I share my insights and learnings on analytics in the e-commerce and fintech space. My focus is on various analytics verticals such as product, marketing, and growth analytics, and how they can transform businesses and drive growth. </p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uCMy!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c943968-115d-4bd3-9412-d2db49e80722_1584x396.png 424w, https://substackcdn.com/image/fetch/$s_!uCMy!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c943968-115d-4bd3-9412-d2db49e80722_1584x396.png 848w, https://substackcdn.com/image/fetch/$s_!uCMy!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c943968-115d-4bd3-9412-d2db49e80722_1584x396.png 1272w, https://substackcdn.com/image/fetch/$s_!uCMy!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c943968-115d-4bd3-9412-d2db49e80722_1584x396.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!uCMy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c943968-115d-4bd3-9412-d2db49e80722_1584x396.png" width="1456" height="364" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1c943968-115d-4bd3-9412-d2db49e80722_1584x396.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:364,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:929999,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!uCMy!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c943968-115d-4bd3-9412-d2db49e80722_1584x396.png 424w, https://substackcdn.com/image/fetch/$s_!uCMy!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c943968-115d-4bd3-9412-d2db49e80722_1584x396.png 848w, https://substackcdn.com/image/fetch/$s_!uCMy!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c943968-115d-4bd3-9412-d2db49e80722_1584x396.png 1272w, https://substackcdn.com/image/fetch/$s_!uCMy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1c943968-115d-4bd3-9412-d2db49e80722_1584x396.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></div></figure></div><p></p><p>In this first series of blog posts, we'll take a deep dive into The Cornerstones of Product Analytics, exploring the fundamental principles and strategies that underpin this essential discipline. Through this series, I will be taking you on a journey through the fascinating world of product analytics and showcasing how it has the power to transform businesses and drive growth. As someone who's worked extensively on product analytics, I've seen firsthand how it can be a game changer for organisations. From optimising product features to improving user experience, analytics plays a critical role in shaping business strategies. So join me on this exciting journey as we explore the world of product analytics together, and discover how data-driven insights can help you make smarter decisions and achieve better outcomes.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.inferentia.in/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Piyush&#8217;s Substack! Subscribe for free to receive new posts.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>So what exactly is product analytics? At its core, it's the practice of collecting, analysing, and interpreting data to gain insights into how users interact with a product or service. For instance, product analytics can be used to understand how users interact with a website or mobile app, and identify areas for improvement. Let's say a company has an e-commerce website, and they notice that a large number of users abandon their shopping cart at the payment stage. Through product analytics, they can analyse user behaviour and identify the specific step that is causing the most drop-offs. This could be due to a complicated checkout process, lack of payment options, or other issues. With this information, the company can make targeted changes to improve the user experience and increase conversion rates.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Ho4m!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e8c94d-9c09-4001-9e7d-ba54bec138b8_1256x1156.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ho4m!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e8c94d-9c09-4001-9e7d-ba54bec138b8_1256x1156.png 424w, https://substackcdn.com/image/fetch/$s_!Ho4m!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e8c94d-9c09-4001-9e7d-ba54bec138b8_1256x1156.png 848w, https://substackcdn.com/image/fetch/$s_!Ho4m!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e8c94d-9c09-4001-9e7d-ba54bec138b8_1256x1156.png 1272w, https://substackcdn.com/image/fetch/$s_!Ho4m!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e8c94d-9c09-4001-9e7d-ba54bec138b8_1256x1156.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ho4m!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e8c94d-9c09-4001-9e7d-ba54bec138b8_1256x1156.png" width="1256" height="1156" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/90e8c94d-9c09-4001-9e7d-ba54bec138b8_1256x1156.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1156,&quot;width&quot;:1256,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:582217,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Ho4m!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e8c94d-9c09-4001-9e7d-ba54bec138b8_1256x1156.png 424w, https://substackcdn.com/image/fetch/$s_!Ho4m!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e8c94d-9c09-4001-9e7d-ba54bec138b8_1256x1156.png 848w, https://substackcdn.com/image/fetch/$s_!Ho4m!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e8c94d-9c09-4001-9e7d-ba54bec138b8_1256x1156.png 1272w, https://substackcdn.com/image/fetch/$s_!Ho4m!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F90e8c94d-9c09-4001-9e7d-ba54bec138b8_1256x1156.png 1456w" sizes="100vw"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>Product analytics encompasses a wide range of techniques and methodologies that can be used to understand user behaviour, measure product performance, and identify areas for improvement. This involves a range of different components, including user engagement metrics, funnel analysis, cohort analysis, A/B testing, and predictive modeling, to name just a few. Each of these components plays a critical role in helping you gain insights into user behaviour, measure the impact of changes you make to your product, and ultimately drive growth for your business. Let's explore some of these areas in more detail:</p><p>Firstly, user engagement metrics are used to measure how users interact with a product or service. These metrics include things like time on site, click-through rates, and bounce rates. For example, if an e-commerce company notices a high bounce rate on their homepage, they may investigate and optimise the page to improve user engagement.</p><p>Funnel analysis is another important area of product analytics, where companies analyse the steps users take to complete a particular action or goal. This helps identify areas of the funnel that need improvement or optimisation. For instance, an online retailer may analyse their checkout funnel to understand why users are dropping off at certain steps and take steps to simplify the process.</p><p>Cohort analysis involves grouping users based on a common attribute, such as the month they signed up or the region they're from. By comparing the behaviour of different cohorts over time, companies can identify trends and make data-driven decisions. For example, a mobile app company may compare the retention rates of users who signed up in January versus those who signed up in February to understand how their product is performing. A/B testing is a method of comparing two versions of a product or feature to determine which performs better. For example, an email marketing campaign might test two subject lines to see which one results in a higher open rate.</p><p>Finally, predictive modeling uses historical data to make predictions about future outcomes. This can be used to inform decisions around everything from pricing to inventory management. For example, an online retailer may use predictive modeling to forecast demand for a particular product and adjust inventory levels accordingly.</p><p></p><p>In the upcoming posts, we will dive deep into each of these areas of product analytics, examining their core concepts, techniques, and best practices. We'll explore user engagement metrics, such as session duration, bounce rate, and retention rate, and discuss how they can help us understand user behavior and optimize product features. We'll also cover funnel analysis, which involves tracking user behavior as they move through various stages of the product journey and identifying key drop-off points. Cohort analysis, which allows us to group users based on common characteristics and track their behaviour over time, will also be explored in detail.</p><p>Furthermore, we will delve into A/B testing, a critical tool for testing product features, messaging, and pricing strategies. Predictive modeling, which involves using statistical algorithms to forecast future user behaviour, will also be a key area of focus.</p><p>We've only just scratched the surface of what product analytics has to offer. Over the course of this series, we'll take a deep dive into each of these areas, exploring best practices, case studies, and real-world examples to help you apply these concepts. And, of course, we'll cover much more than just the areas we've discussed today &#8211; from user engagement metrics to predictive modeling and beyond. So, if you want to stay up-to-date with the latest insights and strategies for leveraging data to drive growth, be sure to subscribe to our blog and join us on this exciting journey through the world of product analytics!</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.inferentia.in/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Piyush&#8217;s Substack! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item></channel></rss>