pluf2

pluf2 Git Source Tree


Root/src/Pluf/templates/pluf/ab/funnel.html

{extends "pluf/ab/base.html"}

{block body}
<h1>Funnel {$funnel}</h1>
{assign $i=1}
{foreach $stats as $step}{if $step}
{if $i>1}
<p class="right">{$step['total']} ({$step['conv']})</p>
{/if}
<h2>Step {$i}: {$step['name']}</h2>

<p>
{if $i>1}
<span class="percent"><span style="width:{$step['conv1']}"> </span></span>
{else}

<span class="percent"><span style="width:100%"> </span></span>
{/if}<br />{assign $t = $step['total']}
{blocktrans $t}{$t} unique visitor.{plural}{$t} uniques visitors.{/blocktrans}
</p>

{assign $i += 1}
{/if}{/foreach}

<hr />

{assign $i = $i-1}
<p><strong>{$stats[$i]['total']}</strong> out of {$stats['1']['total']} visitors reached step {$i} of this funnel.
This is a completion rate of <strong>{$stats[$i]['conv1']}</strong>.</p>


<p class="note">
Note that if a user skip a given step, this can make the results a bit
off.
</p>


{/block}

Archive Download this file

Branches

Number of commits:
Page rendered in 0.08005s using 11 queries.