← Tools Reference

Simple Analytics

Simple Analytics integration (Data, Marketing). Imported from open-connector.

API key3 toolshttps://api.simple_analytics.com
GET
simple_analytics_list_websites
List websites available to the authenticated Simple Analytics account.

/api/websites

GET
simple_analytics_export_data_points
Export raw datapoints from the Simple Analytics Export API.

/api/export/datapoints

7 parameters
ParamTypeRequiredDescription
hostnamestringrequiredThe website hostname tracked in Simple Analytics.
startstringrequiredDate or hour range in YYYY-MM-DD or YYYY-MM-DDTHH format.
endstringrequiredDate or hour range in YYYY-MM-DD or YYYY-MM-DDTHH format.
timezonestringoptionalIANA timezone used to interpret the selected date range.
formatstringoptionalExport response format.
fieldsarrayoptionalA list of non-empty strings.
typestringoptionalDatapoint type filter used by the export.
POST
simple_analytics_send_event
Send a server-side event or pageview to Simple Analytics.

/events

9 parameters
ParamTypeRequiredDescription
typestringrequiredType of server-side submission to send.
hostnamestringrequiredThe website hostname tracked in Simple Analytics.
eventstringrequiredEvent name recorded by Simple Analytics.
uastringrequiredUser agent string sent to the server-side events endpoint.
pathstringoptionalPage path associated with the event.
referrerstringoptionalReferrer URL associated with the event.
sourcestringoptionalUTM source associated with the event.
campaignstringoptionalUTM campaign associated with the event.
metadataobjectoptionalFlat metadata values attached to the server-side event.