{% extends "base.html" %} {% block title %}Game Analytics Dashboard - Admin{% endblock %} {% block content %}
| Game Type | Sessions | Popularity |
|---|---|---|
| {% if game_type == 'memory' %} Memory {% elif game_type == 'rebus' %} Rebus {% else %} {{ game_type.title() }} {% endif %} | {{ count }} |
{% set percentage = (count / analytics.games.total_sessions * 100) if analytics.games.total_sessions > 0 else 0 %}
|
No game data available for this period
| Widget | Views | Share |
|---|---|---|
| {% if 'featured' in widget.lower() %} {% elif 'gallery' in widget.lower() %} {% elif 'discovery' in widget.lower() %} {% else %} {% endif %} {{ widget.replace('_', ' ').title() }} | {{ count }} |
{% set percentage = (count / analytics.widgets.total_views * 100) if analytics.widgets.total_views > 0 else 0 %}
|
No widget data available for this period
{{ popular_game[0].title() }}
{{ popular_game[1] }} sessions {% else %}No data
{% endif %}{{ popular_widget[0].replace('_', ' ').title() }}
{{ popular_widget[1] }} views {% else %}No data
{% endif %}{{ "%.1f"|format(engagement_rate) }}%
Registration rate{{ peak_day[1] }}
{{ peak_day[0] }} {% else %}No data
{% endif %}