Add Funnel Analysis
Funnel Exploration
-
Obtain the sequence of the steps and the conversion event. The steps should happen consecutively over the time.
step1 -> step2 -> ... -> conversionA step can be both an event triggered by the user or just a user being in a given location at a given time. This can be set with arguments like
event_typeand location stack filtering when running the funnel function. We can use a function similar totop_product_features_before_conversion(that internally usesconversions_in_timeandconversions_counter) to get the relevant hits before conversion. -
After calculating the data for each step, we do a breakdown of different metrics:
- number of users/sessions
- average duration of the sessions
- top features, etc ...
-
Construct Sankey Diagram using maybe Plotly (https://plotly.com/python/sankey-diagram/).
For later add:
- max duration between the steps,
- tracking funnel changes over time.