Welcome to mirror list, hosted at ThFree Co, Russian Federation.

single_goal.tpl « templates « Goals « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 741a310f6c5da5a7038c4933ed70384ff41fe1b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<link rel="stylesheet" type="text/css" href="plugins/Goals/templates/goals.css"/>
{include file="Goals/templates/title_and_evolution_graph.tpl"}

<div class="clear"></div>
{if $nb_conversions > 0}
    <h2>{'Goals_ConversionsOverview'|translate}</h2>
    <ul class="ulGoalTopElements">
        {if !isset($ecommerce)}
            {if isset($topDimensions.country)}
                <li>{'Goals_BestCountries'|translate} {include file='Goals/templates/list_top_dimension.tpl' topDimension=$topDimensions.country}</li>{/if}
            {if isset($topDimensions.keyword) && count($topDimensions.keyword)>0}
                <li>{'Goals_BestKeywords'|translate} {include file='Goals/templates/list_top_dimension.tpl' topDimension=$topDimensions.keyword}</li>{/if}
            {if isset($topDimensions.website) && count($topDimensions.website)>0}
                <li>{'Goals_BestReferers'|translate} {include file='Goals/templates/list_top_dimension.tpl' topDimension=$topDimensions.website}</li>{/if}
            <li>{'Goals_ReturningVisitorsConversionRateIs'|translate:"<b>$conversion_rate_returning</b>"}
                , {'Goals_NewVisitorsConversionRateIs'|translate:"<b>$conversion_rate_new</b>"}</li>
        {else}
            <li>{'Live_GoalRevenue'|translate}: {$revenue|money:$idSite}{if !empty($revenue_subtotal)},
                    {'General_Subtotal'|translate}: {$revenue_subtotal|money:$idSite}{/if}{if !empty($revenue_tax)},
                    {'General_Tax'|translate}: {$revenue_tax|money:$idSite}{/if}{if !empty($revenue_shipping)},
                    {'General_Shipping'|translate}: {$revenue_shipping|money:$idSite}{/if}{if !empty($revenue_discount)},
                    {'General_Discount'|translate}: {$revenue_discount|money:$idSite}{/if}
            </li>
        {/if}
    </ul>
{/if}

{literal}
    <script type="text/javascript">
        $(document).ready(function () {
            $('.goalTopElement').tooltip();
        });
    </script>
{/literal}

{if $displayFullReport}
    {if $nb_conversions > 0 || !empty($cart_nb_conversions)}
        <h2 id='titleGoalsByDimension'>
            {if isset($idGoal)}
                {'Goals_GoalConversionsBy'|translate:$goalName}
            {else}
                {'Goals_ConversionsOverviewBy'|translate}
            {/if}
        </h2>
        {$goalReportsByDimension}
    {/if}
{/if}