Source: https://usedataowl.com/docs/datasense-filters
Markdown source: https://usedataowl.com/docs/datasense-filters.md
Description: Segment your web analytics and revenue reports by country, city, browser, OS, UTM campaign, and referrer in the live dashboard or via REST API.

# Filter & Segment Website Traffic and Revenue Reports

Click any row on the dashboard (a page, a referrer, a country) to filter every report by it. Filters combine, and the URL keeps them, so you can share a filtered view.

## Filters

| Filter | API parameter | Example |
| --- | --- | --- |
| Page | `filter_page` | `/pricing` |
| Referrer | `filter_referrer` | `google.com`, or `Direct` |
| Campaign | `filter_campaign` | `october-launch` |
| Country | `filter_country` | `US` (ISO code) |
| Region | `filter_region` | `US:California` |
| City | `filter_city` | `US:San Francisco` |
| Browser | `filter_browser` | `Chrome` |
| Operating system | `filter_os` | `iOS` |
| Device | `filter_device` | `Desktop`, `Mobile` or `Tablet` |

Region and city values carry the country code, because the same names exist in several countries.

## Date ranges

The dashboard offers today, yesterday, the last 30 minutes, 24 hours, 7, 30 and 90 days, 12 months, and custom days. Days start at midnight in the website's timezone (**Settings → General**). Each range is compared with the period of the same length right before it.

In the [API](/docs/api) and [MCP tools](/docs/mcp-tools), send `startAt` and `endAt` as `YYYY-MM-DD`, or leave both out for all time.
