{{ query.config.name }}
{% if query.config.description %}
{{ query.config.description }}
{% endif %}
{% for metric, data in query.data.items() %}
{% if metric in field_definitions %}
{{ field_definitions[metric]['uiName'] }}
{{ metric }}
{% else %}
{{ metric }}
{% endif %}
Dimension |
Value |
Percent of total |
{% for label, value in data.items() %}
{{ label }} |
{% set data_type = query.data_types[metric] %}
{% set total = data.total %}
{% if data_type == 'INTEGER' %}
{{ format_comma(value) }} |
{% if total > 0 %}
{{ format_percent(value, total) }}
{% else %}
-
{% endif %}
|
{% elif data_type == 'TIME' %}
{{ format_duration(value) }} |
- |
{% else %}
{{ '{:.1f}'.format(value) }} |
- |
{% endif %}
{% endfor %}
{% endfor %}
{% if query.sampled %}
Based on a sample of {{ (query.sampleSize / query.sampleSpace * 100)|round(1) }}% of sessions.
{% endif %}