Previous funnelstep¶
A user can visit multiple funnelsteps in different funnels. It can be really interesting to see how users move through these funnels. To make it easily possible to create visualizations like a Sankey diagram, we have created the “previous funnelstep” functionality.
Everytime a funnelstep has occured, we save that funnelstep in local storage for the session and user. We save the funnelstep specifically for each funnel.
Whenever a funnelstep occurs in a certain funnel, we check whether the user or session already interacted with a funnelstep in that same funnel. If that is the case, we will fill the previousStepUser and previousStepSession variables in funnelData.
You can then use this information to create for example a Sankey Diagram.