Filtering the Dashboard
The search bar above the KPI strip filters every panel on the page at once — KPIs, big chart, world map, Top Pages, Top Referrers, everything. The URL updates as you type so you can bookmark or share a filtered view.
Press ⌘F / Ctrl+F anywhere on the page to focus the input.
Available keys
| Key | Filters on | Example |
|---|---|---|
path | Pathname of the visited page | path:/projects |
country | ISO-2 country code (case-insensitive) | country:RO |
device | desktop / mobile / tablet | device:mobile |
browser | Browser family | browser:chrome |
os | OS family | os:macos |
visitor_id | Specific visitor UUID | visitor_id:"01HZ..." |
event_type | pageview / custom / pageview_end | event_type:custom |
custom_event_name | Your Loguro.track(name) value | custom_event_name:signup_completed |
search | Free text — matches path + url substring | search:checkout |
from: / to: / @… | Natural-language time window (see Time ranges section below) | from:"2 days ago" to:today |
Anything you type without a key prefix becomes a free-text search.
Time ranges
In addition to the range chips at the top-left (1h / 24h / 7d / …), you can type a custom time window directly into the search bar using natural language. We parse it with chrono-node, so most phrasings just work.
| Token | Example | Meaning |
|---|---|---|
from:<when> | from:"2 days ago" | Window starts at the parsed instant |
to:<when> | to:today | Window ends at the parsed instant (today = midnight tonight) |
@<when> | @"last 48 hours" | Shortcut: parses the phrase and uses its start/end as the window |
!@<when> | !@today | Negated — excludes that window (currently treated as range-only override) |
Examples:
from:"2 days ago" to:today
@"last 48 hours"
from:"2026-05-15 14:00"
@yesterday When a time token is present, it overrides the range chip — your chip selection is ignored while the window comes from the input. The window becomes a yellow chip with a clock icon; click × on it to drop the time tokens and fall back to the chip.
Bucket size auto-picks based on window length: ≤48h → hourly buckets, longer → daily.
The previous period for comparison mirrors your custom window: a 2-day window compares against the 2 days immediately before it.
Multiple values: OR
Multiple values: OR
Separate values with a pipe to match any of them:
country:RO|US|DE Works with quoted values too:
path:"/pricing"|"/signup" Negation
Prefix the key with ! to exclude:
!device:mobile
!path:/admin
!country:RU|CN Mix include and exclude on the same key — both are respected:
country:RO !country:US (Translates to “Romania, but not the US” — useful when one of your OR values needs to be carved out.)
Quoted values for spaces or special characters
Wrap in double quotes when the value contains spaces or pipes:
visitor_id:"abc 123"
path:"/o'reilly" Combining keys
Stack as many as you need, space-separated. They’re ANDed together:
path:/checkout country:RO !device:mobile event_type:custom Reads: “Custom events fired by Romanian non-mobile visitors on /checkout pages.”
Chips
Once applied, each filter becomes a removable chip below the search bar. Click the chip’s × to drop just that one without retyping the whole query.
Compare toggle
To the right of the search input, the “Compare prev” pill toggles previous-period comparison. When on, panels that support it (Top Pages, Top Referrers, Top Countries, Custom Events) show a delta chip per row: +12% (green) or −4% (red) vs the equivalent prior window.
Combine compare with a filter to answer “How is RO traffic on /pricing trending vs last week?” — flip the range chip to 7d, type path:/pricing country:RO, toggle compare.
URL state
The full filter + compare + range live in the URL:
/web-analytics?range=7d&filter=path%3A%2Fprojects%20country%3ARO&compare=1 Bookmarkable, shareable, surviving reloads. Hitting refresh keeps the current view.
Tips
- The range chip (top-left) controls the time window — filters control what’s in it. They’re independent, unless you’ve typed a
from:/to:/@…time token, in which case the input takes over and the chip is ignored. - Free text without a key (
checkout) matches bothpathANDurl. Usepath:checkoutto limit to path only. event_type:custompaired withcustom_event_name:foois the cleanest way to scope the dashboard to one specific event.- For ad-hoc investigation (“what happened between 14:00 and 16:00 yesterday?”), reach for
from:"yesterday 14:00" to:"yesterday 16:00"instead of fighting the range chips.