{% extends "admin/base_site.html" %}
{% load i18n admin_urls static %}
{% block extrastyle %}
{{ block.super }}
{% endblock %}
{% if not is_popup %}
{% block breadcrumbs %}
{% if errors %}
{% for error in errors %}
{{ error }}
{% endfor %}
{% endif %}
{% if queried %}
High usage distinct IDs {{ high_usage_rows|length }}
{% if high_usage_rows %}
| Team ID |
Token |
Distinct ID |
Restrictions |
Event count |
Team total |
% |
Actions |
{% for row in high_usage_rows %}
| {{ row.team_id }} |
{{ row.token|truncatechars:16 }}Copied |
{{ row.distinct_id|truncatechars:40 }}Copied |
{% if row.restriction_status == "covered" %}
✓ Applied ({{ row.restriction_type }}) Edit
{% elif row.restriction_status == "covered_all" %}
✓ Applied (all) ({{ row.restriction_type }}) Edit
{% elif row.restriction_status == "not_covered" %}
✗ Not in list ({{ row.restriction_type }})
{% else %}
—
{% endif %}
|
{{ row.event_count }} |
{{ row.total_team_events }} |
{{ row.percentage }}% |
{% if row.token %}
{% else %}
No token
{% endif %}
|
{% endfor %}
{% else %}
| No high usage distinct IDs found with current thresholds. |
{% endif %}
High cardinality teams {{ high_cardinality_rows|length }}
{% if high_cardinality_rows %}
| Team ID |
Token |
Restrictions |
Unique distinct IDs |
{% for row in high_cardinality_rows %}
| {{ row.team_id }} |
{{ row.token|truncatechars:16 }}Copied |
{% if row.restriction_status == "exists" %}
{{ row.restriction_type }}{% if row.restriction_count > 1 %} (+{{ row.restriction_count|add:"-1" }}){% endif %} Edit
{% else %}
—
{% endif %}
|
{{ row.distinct_id_count }} |
{% endfor %}
{% else %}
| No high cardinality teams found with current thresholds. |
{% endif %}
Burst events by distinct ID {{ burst_distinct_id_rows|length }}
{% if burst_distinct_id_rows %}
| Team ID |
Token |
Distinct ID |
Restrictions |
Minute |
Events/min |
Actions |
{% for row in burst_distinct_id_rows %}
| {{ row.team_id }} |
{{ row.token|truncatechars:16 }}Copied |
{{ row.distinct_id|truncatechars:40 }}Copied |
{% if row.restriction_status == "covered" %}
✓ Applied ({{ row.restriction_type }}) Edit
{% elif row.restriction_status == "covered_all" %}
✓ Applied (all) ({{ row.restriction_type }}) Edit
{% elif row.restriction_status == "not_covered" %}
✗ Not in list ({{ row.restriction_type }})
{% else %}
—
{% endif %}
|
{{ row.minute }} |
{{ row.event_count }} |
{% if row.token %}
{% else %}
No token
{% endif %}
|
{% endfor %}
{% else %}
| No burst events by distinct ID found with current thresholds. |
{% endif %}
Burst events by team {{ burst_team_rows|length }}
{% if burst_team_rows %}
| Team ID |
Token |
Restrictions |
Minute |
Events/min |
{% for row in burst_team_rows %}
| {{ row.team_id }} |
{{ row.token|truncatechars:16 }}Copied |
{% if row.restriction_status == "exists" %}
{{ row.restriction_type }}{% if row.restriction_count > 1 %} (+{{ row.restriction_count|add:"-1" }}){% endif %} Edit
{% else %}
—
{% endif %}
|
{{ row.minute }} |
{{ row.event_count }} |
{% endfor %}
{% else %}
| No burst events by team found with current thresholds. |
{% endif %}
{% endif %}
{% endblock %}