Skip to content
View Categories

Create an admin dashboard

With an admin dashboard, you can see the most important key figures for your event at a glance, such as how many guests are attending in person or online. You build it as a separate stage with counter placeholders that ONevents populates with current figures when accessed.

The dashboard placeholders #

Placeholder Result
%DASHBOARD_SUM("Attribut", "Wert")% Number of users for whom the attribute has the value
%DASHBOARD_MESSAGES_SUM% Number of messages sent
%DASHBOARD_TICKET_SUM("1")% Proceeds from sold tickets with the specified ticket ID

At %DASHBOARD_SUM% You first specify the user attribute, then the value you're looking for. With the value ""zero"" You count empty fields. Examples:

Placeholder Counts
%DASHBOARD_SUM("is_physical_guest", "1")% Guests on site
%DASHBOARD_SUM("is_physical_guest", "0")% Online guests
%DASHBOARD_SUM("extra_2", "null")% Users whose Extra 2 field is empty
%DASHBOARD_SUM("city", "Wien")% Users from Vienna

All the attributes you can use can be found in the List of user variables.

Step 1: Create a dashboard stage #

1. Create a new stage, for example, "Dashboard". How to do this is described below. Create a stage.

2. Set in the tab Settings the stage Visible to guest on Stage not visible to guest. Only administrators can see the dashboard.

Step 2: Insert key figures #

Add in the tab HTML the placeholders. With the classes row, col-md-4 and card You arrange the numbers as tiles next to each other:

<h3>Admin Dashboard</h3>
<div class="row">
  <div class="col-md-4"><div class="card card-body text-center">
    <h5>On site</h5><h2>%DASHBOARD_SUM("is_physical_guest", "1")%</h2>
  </div></div>
  <div class="col-md-4"><div class="card card-body text-center">
    <h5>On-line</h5><h2>%DASHBOARD_SUM("is_physical_guest", "0")%</h2>
  </div></div>
  <div class="col-md-4"><div class="card card-body text-center">
    <h5>News</h5><h2>%DASHBOARD_MESSAGES_SUM%</h2>
  </div></div>
</div>
Stage-HTML mit Dashboard-Platzhaltern

Click on Save.

Step 3: Access the dashboard #

Open the stage. ONevents replaces the placeholders with the current numbers. Reload the page to update the values.

Admin-Dashboard auf einer Stage

Good to know #

  • %DASHBOARD_SUM% It counts all users in the space, not just the guests of the current event.
  • The numbers can be freely styled using HTML and CSS, see HTML CSS inline – cheat sheet.

Related: Placeholder, List of user variables, Director

en_US