In the Thin dimensional spine for multi-fact event analysis guide, you learned what a thin dimensional spine is, how it works, and how to implement your own using dbt and Omni. In this guide, we’ll build on the knowledge in that guide to walk you through several approaches to cohort analysis.Documentation Index
Fetch the complete documentation index at: https://docs.omni.co/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
To follow along with this guide, you’ll need:- To have read the Thin dimensional spine for multi-fact event analysis guide. This guide describes the basics of thin dimensional spines and how to build and materialize your own.
- Familiarity with modeling in Omni
Attribute-based cohorts
To build this type of analysis:- Maintain an attribute table with per-user first/last timestamps, e.g.,
attr__users_event_boundswithfirst_signup_ts,first_purchase_ts. - Group and filter users by these milestones across event streams
Event-to-event cohorts
This type of analysis looks at the timing between events — for example, signup-to-first-login latency, or engagement patterns following a first purchase.Dynamic ‘time since selected event’ cohorting
Using the spine, you can model a dynamic “since basis” and “grain” selector to compute buckets of time since a specific event:Snippet: dim__user_event_spine_thin.view