Filter your data
Filter Datasense reports by page, referrer, campaign, country, region, city, browser, OS or device, in the dashboard and through the API.
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 and MCP tools, send startAt and endAt as YYYY-MM-DD, or leave both out for all time.