-
- {({ width }) => {
- const height = width;
- return (
-
-
-
- |
- |
-
-
-
-
{round(lastStep.percent, 2)}%
-
-
- );
- }}
-
+
+ {steps.map((step) => {
+ return (
+
+ );
+ })}
-
-
Insights
-
-
- {lastStep.count}
- of
- {totalSessions}
-
-
- {round(lastStep.percent, 2)}%
- compared to
-
- {round(prevLastStep.percent, 2)}%
-
-
-
+
+
+
- {mostDropoffs.event.displayName}
+ {lastStep.count} of {totalSessions}
+ {' '}
+ sessions{' '}
+
+
+ Last period:{' '}
+
+ {prevLastStep.count} of {previous.totalSessions}
- lost
-
- {mostDropoffs.dropoffCount} sessions
-
-
+
+
@@ -167,46 +133,113 @@ export function FunnelSteps({
{step.event.displayName.replace(/_/g, ' ')}
-
-
-
- Total:
-
- {step.previousCount}
-
-
-
- Dropoff:
-
-
- {isMostDropoffs && }
- {step.dropoffCount}
-
-
-
-
- Current:
-
-
-
{step.count}
- {/*
+ }
+ >
+
+
+ Total:
+
+
+
+ {step.previousCount}
+
+
+
+
+
+
+ Last period:{' '}
+
+ {previous.steps[index]?.dropoffCount}
+
+
+
+
+ }
+ >
+
+
+ Dropoff:
+
+
+
+ {isMostDropoffs && }
+ {step.dropoffCount}
+
+
+
+
+
+
+ Last period:{' '}
+
+ {previous.steps[index]?.count}
+
+
+
+
+ }
+ >
+
+
+ Current:
+
+
+ {step.count}
+ {/* */}
+ }
+ >
+ Inspect
+ */}
+
-