From 212d14d91fa35c87bb53ae7e658c8c15c6610d1b Mon Sep 17 00:00:00 2001 From: Michael Irvine Date: Sat, 25 Jun 2022 15:03:58 -0400 Subject: [PATCH] adds example output --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 8375924..85877f6 100644 --- a/README.md +++ b/README.md @@ -62,3 +62,14 @@ _Runs a funnel analysis, i.e. tells you how many users performed step 1 followed -- or materialize your event stream and use: -- {{ dbt_product_analytics.funnel(steps=steps, event_stream=ref('order_events')) }} ``` + +Output: + +```sql +michael=# select * from dbt_product_analytics.funnel_orders ; + event_type | unique_users | pct_conversion | pct_of_previous +------------+--------------+------------------------+------------------------ + placed | 15 | 1.00000000000000000000 | + completed | 2 | 0.13333333333333333333 | 0.13333333333333333333 + returned | 1 | 0.06666666666666666667 | 0.50000000000000000000 +```