Plausible Analytics integration (Data, Marketing). Imported from open-connector.
{base_url}/api/v2/query
| Param | Type | Required | Description |
|---|---|---|---|
| site_id | string | optional | Site identifier in Plausible. When omitted, the provider falls back to the defa… |
| date_range | string | required | Date range to query, such as '7d', '30d', 'month', or a custom [from, to] ISO d… |
| metrics | array | required | Metrics to calculate for the query. |
| filters | array | optional | Plausible filter expression array passed through to the Stats API. |
| order_by | array | optional | Plausible order_by expression array passed through to the Stats API. |
| include | object | optional | Optional include flags supported by the Plausible Stats API. |
| pagination | object | optional | Pagination options passed through to the Plausible Stats API. |
| dimensions | array | optional | Dimensions to group the query results by. |
/api/v2/query
| Param | Type | Required | Description |
|---|---|---|---|
| site_id | string | optional | Site identifier in Plausible. When omitted, the provider falls back to the defa… |
| date_range | string | required | Date range to query, such as '7d', '30d', 'month', or a custom [from, to] ISO d… |
| metrics | array | required | Metrics to calculate for the query. |
| filters | array | optional | Plausible filter expression array passed through to the Stats API. |
| order_by | array | optional | Plausible order_by expression array passed through to the Stats API. |
| include | object | optional | Optional include flags supported by the Plausible Stats API. |
| pagination | object | optional | Pagination options passed through to the Plausible Stats API. |
| interval | string | required | Time dimension used to build a timeseries query. |
/api/v2/query
| Param | Type | Required | Description |
|---|---|---|---|
| site_id | string | optional | Site identifier in Plausible. When omitted, the provider falls back to the defa… |
| date_range | string | required | Date range to query, such as '7d', '30d', 'month', or a custom [from, to] ISO d… |
| metrics | array | required | Metrics to calculate for the query. |
| filters | array | optional | Plausible filter expression array passed through to the Stats API. |
| order_by | array | optional | Plausible order_by expression array passed through to the Stats API. |
| include | object | optional | Optional include flags supported by the Plausible Stats API. |
| pagination | object | optional | Pagination options passed through to the Plausible Stats API. |
| dimension | string | required | Dimension identifier accepted by the Plausible Stats API. |
/api/event
| Param | Type | Required | Description |
|---|---|---|---|
| domain | string | optional | Site identifier used by Plausible for the event. When omitted, the provider fal… |
| name | string | required | Event name. Use 'pageview' for a pageview event or any custom event name. |
| url | string | required | Absolute URL of the page or screen where the event happened. |
| referrer | string | optional | Referrer URL to associate with the event. |
| props | object | optional | Custom event properties to attach to the recorded event. |
| revenue | object | optional | Action input. |
| interactive | boolean | optional | Whether the event should count as interactive for bounce calculations. |
| userAgent | string | optional | Custom User-Agent header to send with the event request. |
| forwardedFor | string | optional | IP address or X-Forwarded-For chain to send with the event request. |
| debugRequest | boolean | optional | Whether to enable Plausible debug mode with the X-Debug-Request header. |