Numbers Widget
Learn how to use a number widget on your dashboard.
A number widget is a great way to display information and get a quick sense of the total sum for specific events. For instance, if you want to know the number of daily orders, you can create a number widget to display orders for the last 24 hours on the dashboard.

Some Uses of Number widgets

You could create a number widget to track the following:
  • The totals sales made for the day, week or month.
  • Total visitors from a social media.
  • Total clicks from specific campaigns.
  • Total number of returning buyers for the month etc.

How to Add a Number Widget to your Dashboard

Number widgets are easy to add. Follow these steps to add it to your dashboard.
1. From within your dashboard, click on the Manage Dashboard icon at the top-right.
2. Under Widgets, click on the Number widget icon (circled red).
The number widget creation window should pop up. (This is where you set the specific information you want the number widget to display). It’s also where you edit the widget if you want to change any of its elements.

General Section

The number widget window is not too different from what we’ve discussed under creating tiles.
The first part is the general, where you enter a title and description for the widget.
  • So for instance, the title can be Monthly Users if you want to display the total users/customers for the last 30 days.
  • For the description, enter a detailed description that helps you understand what the tile is all about (total monthly users).

Data section

The data section is where you choose the type of data you want to display on the table widget.

View (Select View)

A view is a predefined query modeled to simplify your reporting. What event/data do you want to display on the widget?
  • Since we want to track monthly users, the view would be Events.
  • Clicking on open view details will open the dictionary where you can find what the view is all about and the associated dimensions.

Value (Select a Measure)

What subdata or measure do you want do track/display on the line chart? Once you select a view/event, you will be able to choose any of the values related to it.
  • Since we are tracking monthly users, we will choose Users as our view/measure.

Date Range

What date range do you want to display with the number widget? Set a start and finish date, so the date range is the time in between. You can either choose a predefined date range or select a custom date range.
Since we are tracking monthly users, we can use ‘Last 30 Full days’ as our date range.

Compare

Do you want to compare the data on the number widget with that of another period? If yes, what period do you want to compare it with?
Just like with the date range, you can either choose a predefined period or select a custom period.
  • Select any of the predefined date range.
or you can follow the steps below to choose a custom comparison date.
1. Click on compare.
2. Select Custom from the list.
3. Click on the blank bar by the right. The date selector will popup.
4. Select the date range you want to cover. For instance, you can choose to compare it with the data from june.
  • In our case, we don’t want to compare the data, so we will select ‘None.’

Filter Section

Is there any specific set of data you do not want to display? You can also use a filter to limit data, event, or attribute that is displayed on the table widget.
  • In our case, we can choose to only display the number of users that made a purchase for that month.
To do this,
1. Select “Is Purchase Item” as the dimension in the first tab.
2. For the determinant (second tab), choose ‘Greater than.
3. Leave the last tab blank (zero).
So the tile will only display the total number of users that have made at least one purchase in the last 30 days.

Option

The options section is where you select how you want the data to be displayed.

Value format

By default, numeric data in FoxMetrics is a plain number with comma(s). However, users can set how they want the numeric data to be displayed. Value formats also come in handy if you want to display an amount (number with currency symbol).
Examples of value formats in FoxMetrics.
Value Format
Description
Example
Default
The default value format has commas in-between.
17,858
Id
This removes the default comma from the number. So you’ll have just the number.
17858
decimal_0
This round up the figure to the nearest whole number. So 17,858 becomes 18K.
18k
0.10
This adds two zeros behind the number.
17858.00
$_0
This adds a dollar sign to the figure.
$17858
$_,
This adds a dollar sign to the figure with a comma(s).
$17,858
  • Since we are tracking the number of users, we will leave the value format blank (at default).

Look and Feel

Size:
This section allows you to control the size of the tile. There are several predefined sizes you can choose from including unset, small, default, default wide, wide small, wide and full width.
We will choose default wide.

Trending

Does an upward or downward trend indicate a positive outcome for the data you are tracking?
For instance, if you’re tracking bounce rate or Cart Abandonment, then an upward trend is bad, while a downward trend is good. But if you are tracking sales, page views, and the number of users, then an upward trend is good.
  • For us, an upward trend is good. So we will select “up is good.
Now we are all done. Just click Save to add the number widget to the dashboard.

Final Outcome

Here's what our tile will look like.
This represents the total number of users that made at least one purchase in the last 30 days.