diff --git a/src/Pluf/AB/Funnel.php b/src/Pluf/AB/Funnel.php index 95ce173..a4c1af1 100644 --- a/src/Pluf/AB/Funnel.php +++ b/src/Pluf/AB/Funnel.php @@ -205,6 +205,7 @@ class Pluf_AB_Funnel $steps[$i]['sprops1'][$v][] = round(100*(float)$t/(float)$tprops[$v],2).'%'; } } + $steps[$i]['bigtotal'] = $t1; $prev_step = $steps[$i]; } } diff --git a/src/Pluf/templates/pluf/ab/funnel.html b/src/Pluf/templates/pluf/ab/funnel.html index e102aa6..2257f74 100644 --- a/src/Pluf/templates/pluf/ab/funnel.html +++ b/src/Pluf/templates/pluf/ab/funnel.html @@ -67,7 +67,7 @@ {if count($stats) and isset($step['conv1'])}
{$step['total']} out of {*$stats['1']['total']*} visitors reached step {$step['id']} of this funnel. +
{$step['total']} out of {$step['bigtotal']} visitors reached step {$step['id']} of this funnel. This is a completion rate of {$step['conv1']}.
{if count($props) and isset($step['sprops1'])}