{# User-level custom dimensions #} {% if current_user and current_user.role %} {% endif %} {# User organisation size custom dimension #} {% if current_user and current_user.supplier_organisation_size %} {% endif %} {# Additional custom dimensions #} {# Requires variable called `custom_dimensions` to be passed with data_id and data_value attributes #} {% for custom_dimension in custom_dimensions %} {% endfor %}