blob: f11c8f0bb79ec4d408f21a5c19b4ed2c960d952f (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
<link rel="stylesheet" type="text/css" href="plugins/Goals/stylesheets/goals.css"/>
{% include "@Goals/_titleAndEvolutionGraph.twig" | raw %}
<div class="clear"></div>
{% if nb_conversions > 0 %}
<h2>{{ 'Goals_ConversionsOverview'|translate }}</h2>
<ul class="ulGoalTopElements">
{% if ecommerce is not defined %}
{% if topDimensions.country is defined %}
<li>{{ 'Goals_BestCountries'|translate }} {% include '@Goals/_listTopDimension.twig' with {'topDimension':topDimensions.country} %}</li>
{% endif %}
{% if topDimensions.keyword is defined and topDimensions.keyword|length > 0 %}
<li>{{ 'Goals_BestKeywords'|translate }} {% include '@Goals/_listTopDimension.twig' with {'topDimension':topDimensions.keyword} %}</li>
{% endif %}
{% if topDimensions.website is defined and topDimensions.website|length > 0 %}
<li>{{ 'Goals_BestReferers'|translate }} {% include '@Goals/_listTopDimension.twig' with {'topDimension':topDimensions.website} %}</li>
{% endif %}
<li>
{{ 'Goals_ReturningVisitorsConversionRateIs'|translate("<strong>"~conversion_rate_returning~"</strong>")|raw }}
, {{ 'Goals_NewVisitorsConversionRateIs'|translate("<strong>"~conversion_rate_new~"</strong>")|raw }}
</li>
{% else %}
<li>
{{ 'Live_GoalRevenue'|translate }}: {{ revenue|money(idSite)|raw -}}
{% if revenue_subtotal is not empty %},
{{ 'General_Subtotal'|translate }}: {{ revenue_subtotal|money(idSite)|raw -}}
{% endif %}
{%- if revenue_tax is not empty -%},
{{ 'General_Tax'|translate }}: {{ revenue_tax|money(idSite)|raw -}}
{% endif %}
{%- if revenue_shipping is not empty -%},
{{ 'General_Shipping'|translate }}: {{ revenue_shipping|money(idSite)|raw -}}
{% endif %}
{%- if revenue_discount is not empty -%},
{{ 'General_Discount'|translate }}: {{ revenue_discount|money(idSite)|raw -}}
{% endif %}
</li>
{% endif %}
</ul>
{% endif %}
<script type="text/javascript">
$(document).ready(function () {
$('.goalTopElement').tooltip({
track: true,
content: function () {
return $(this).attr("title");
},
show: false,
hide: false
});
});
</script>
{% if displayFullReport %}
{% if nb_conversions > 0 or cart_nb_conversions is defined %}
<h2 id='titleGoalsByDimension'>
{% if idGoal is defined %}
{{ 'Goals_GoalConversionsBy'|translate(goalName)|raw }}
{% else %}
{{ 'Goals_ConversionsOverviewBy'|translate }}
{% endif %}
</h2>
{{ goalReportsByDimension|raw }}
{% endif %}
{% endif %}
|