Simple Analytics integration (Data, Marketing). Imported from open-connector.
https://api.simple_analytics.com/api/websites
/api/export/datapoints
| Param | Type | Required | Description |
|---|---|---|---|
| hostname | string | required | The website hostname tracked in Simple Analytics. |
| start | string | required | Date or hour range in YYYY-MM-DD or YYYY-MM-DDTHH format. |
| end | string | required | Date or hour range in YYYY-MM-DD or YYYY-MM-DDTHH format. |
| timezone | string | optional | IANA timezone used to interpret the selected date range. |
| format | string | optional | Export response format. |
| fields | array | optional | A list of non-empty strings. |
| type | string | optional | Datapoint type filter used by the export. |
/events
| Param | Type | Required | Description |
|---|---|---|---|
| type | string | required | Type of server-side submission to send. |
| hostname | string | required | The website hostname tracked in Simple Analytics. |
| event | string | required | Event name recorded by Simple Analytics. |
| ua | string | required | User agent string sent to the server-side events endpoint. |
| path | string | optional | Page path associated with the event. |
| referrer | string | optional | Referrer URL associated with the event. |
| source | string | optional | UTM source associated with the event. |
| campaign | string | optional | UTM campaign associated with the event. |
| metadata | object | optional | Flat metadata values attached to the server-side event. |