{{ prettyDate }}{% if displaySegment %}, {{ segmentName }}{% endif %}. {% if false %}{% endif %}

{%- if reportRows is empty -%}
    {{ 'CoreHome_ThereIsNoDataForThisReport'|translate }}
{%- endif -%}

{%- for rowId, row in reportRows -%}
    {%- set rowMetrics=row.columns -%}
    {%- set rowMetadata=reportRowsMetadata[rowId].columns -%}

    {%- if displaySiteName -%}{{ rowMetrics.label|raw }}: {% endif -%}
    
    {# visits #}
    {{- rowMetrics.nb_visits }} {{ 'General_ColumnNbVisits'|translate }}
    {%- if rowMetrics.visits_evolution != 0 %} ({{ rowMetrics.visits_evolution }}%){%- endif -%}
    
    {%- if rowMetrics.nb_visits != 0 -%}
        {#- actions -#}
        , {{ rowMetrics.nb_actions }} {{ 'General_ColumnNbActions'|translate }}
        {%- if rowMetrics.actions_evolution != 0 %} ({{ rowMetrics.actions_evolution }}%){%- endif -%}

        {%- if isGoalPluginEnabled -%}

            {# goal metrics #}
            {%- if rowMetrics.nb_conversions != 0 -%}
                , {{ 'General_ColumnRevenue'|translate }}: {{ rowMetrics.revenue|raw }}
                {%- if rowMetrics.revenue_evolution != 0 %} ({{ rowMetrics.revenue_evolution }}%){%- endif -%}

                , {{ rowMetrics.nb_conversions }} {{ 'Goals_GoalConversions'|translate }}
                {%- if rowMetrics.nb_conversions_evolution != 0 %} ({{ rowMetrics.nb_conversions_evolution }}%){%- endif -%}
            {%- endif -%}

            {# eCommerce metrics #}
            {%- if siteHasECommerce[rowMetadata.idsite] -%}

                , {{ 'General_ProductRevenue'|translate }}: {{ rowMetrics.ecommerce_revenue|raw }}
                {%- if rowMetrics.ecommerce_revenue_evolution != 0 %} ({{ rowMetrics.ecommerce_revenue_evolution }}%){%- endif -%}

                , {{ rowMetrics.orders }} {{ 'General_EcommerceOrders'|translate }}
                {%- if rowMetrics.orders_evolution != 0 %} ({{ rowMetrics.orders_evolution }}%){%- endif -%}
            {%- endif -%}
        
        {%- endif -%}

    {%- endif -%}

    {%- if not loop.last -%}. {% endif -%}
{%- endfor -%}
