Widgets

Good to know:

One Dollar Stats positions itself as a simple analytics tool, so the Dashboard tab highlights basic data first. Widgets provide advanced analytics, allowing you to group paths, combine analytics across multiple pages or events, and compare property values for page views and events.

Analytics for Multiple Paths or Events

A widget can display combined analytics for multiple paths or events.

For example, the Visits SQL widget tracks visits to both /sql and /docs/sql-schema-declaration routes together.

Group paths

You can use a wildcard (*) to match multiple pages. For example, /blog/* will match /blog/post.

The analytics script also allows path combining during data collection.

Overview widgets

The Overview Widget is used to track visits to specific site paths, triggered events, or groups of paths and events.

For example:

To create an overview widget, select “Overview” from the widget type dropdown when creating a widget.

Example

The “Guides & Tutorials” overview widget tracks visits to all pages under the /docs/guides/* and /docs/tutorials/* routes.

Comparison widgets

Comparison widgets are used to compare properties of page views or event properties.