Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

isContains docs

Blue Mouse2caabb36a691
diff --git a/docs/api/stats.md b/docs/api/stats.md
index b35d88810..052d9e263 100644
--- a/docs/api/stats.md
+++ b/docs/api/stats.md
@@ -65,13 +65,15 @@ Filters are used to aggregate data by specific parameters. For example, you can
{
"column": "cc",
"filter": "GB",
- "isExclusive": false
+ "isExclusive": false,
+ "isContains": false
}
```
- **column** - the column to filter by. Possible values are: `cc`, `host`, `pg`, `lc`, `br`, `brv`, `os`, `osv`, `dv`, `ref`, `so`, `me`, `ca`. You can find more detailed information about columns [here](/sdk-reference#addpaneltab).
- **filter** - the value to filter by. For example, if you want to filter by country, the value should be a country code (e.g. `GB` for Great Britain).
- **isExclusive** - whether to include or exclude the specified value. If `isExclusive` is `true`, the data will be filtered by the specified value. If `isExclusive` is `false`, the data will be filtered by all values except the specified one.
+- **isContains** - whether the value should be matches exactly, or if it should be a substring. If `isContains` is `true`, the data will be filtered by the specified value (for example, searching for "rain" will return "Ukraine" because it contains "rain"). If `isContains` is `false`, the data will be filtered by the specified value exactly.
### Mode