> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Simple Analytics

> Simple Analytics is a privacy-friendly and simple alternative to Google Analytics, offering straightforward analytics without cookies or trackers.

![Simple Analytics logo](https://mintcdn.com/composio-preview/B09iGux45A5cYDuO/images/toolkits/simple_analytics.svg?fit=max\&auto=format\&n=B09iGux45A5cYDuO\&q=85\&s=97305b6282e2ec5cfb1d626601bd171c)

* **Category:** analytics
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 4
* **Triggers:** 0
* **Slug:** `SIMPLE_ANALYTICS`
* **Version:** 20260615\_00

## Tools

> [accordion] List Websites (Admin API)
>
> **Slug:** `SIMPLE_ANALYTICS_ADMIN_API_LIST_WEBSITES`
>
> Tool to list all websites associated with the authenticated user. Use after authenticating an admin account to retrieve website list.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Export Raw Data Points
>
> **Slug:** `SIMPLE_ANALYTICS_EXPORT_API_GET_RAW_DATA`
>
> Tool to export raw data points (page views and events) for a specific website. Use when you need to download CSV or JSON exports of site traffic.
>
> #### Input Parameters
>
> **fields** `array`
>
> List of data fields to include. Valid fields: added\_date, added\_iso, added\_unix, browser\_name, browser\_version, country\_code, device\_type, document\_referrer, duration\_seconds, hostname, hostname\_original, is\_robot, is\_unique, lang\_language, lang\_region, os\_name, os\_version, path, path\_and\_query, query, referrer\_hostname, referrer\_path, screen\_height, screen\_width, scrolled\_percentage, session\_id, user\_agent, utm\_campaign, utm\_content, utm\_medium, utm\_source, utm\_term, uuid, viewport\_height, viewport\_width
>
> **format** `string ("csv" | "json")`
>
> Response format: 'csv' or 'json'
>
> **to\_date** `string`
>
> End date in YYYY-MM-DD format
>
> **website** `string` *required*
>
> Website domain or site ID to export data for
>
> **from\_date** `string`
>
> Start date in YYYY-MM-DD format
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get aggregated website stats
>
> **Slug:** `SIMPLE_ANALYTICS_GET_AGGREGATED_STATS`
>
> Tool to retrieve aggregated statistics for a specified website. Use when you need an overview of key metrics like visitors, pageviews, bounce rate, and more.
>
> #### Input Parameters
>
> **end** `string`
>
> End date in YYYY-MM-DD format.
>
> **page** `string`
>
> Filter stats by specific page path.
>
> **start** `string`
>
> Start date in YYYY-MM-DD format.
>
> **source** `string`
>
> Filter stats by traffic source.
>
> **compare** `string`
>
> Comparison range start date in YYYY-MM-DD format.
>
> **website** `string` *required*
>
> Website identifier (domain or custom code).
>
> **referrer** `string`
>
> Filter stats by specific referrer host.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Send Server-Side Event
>
> **Slug:** `SIMPLE_ANALYTICS_SEND_EVENT`
>
> Tool to submit server-side events or pageviews to Simple Analytics. Use for mobile apps, backend tracking, or scenarios where JavaScript is not available. Supports custom metadata for enriched event data.
>
> #### Input Parameters
>
> **ua** `string` *required*
>
> User agent string. Avoid default library agents like 'python-requests'. Use a realistic browser user agent string.
>
> **path** `string`
>
> Page path for pageviews (e.g., /my-page, /products/item-123)
>
> **type** `string ("event" | "pageview")` *required*
>
> Type of data point: 'event' for custom events or 'pageview' for page views
>
> **event** `string` *required*
>
> Event name for custom events (e.g., 'button\_click', 'purchase') or 'pageview' for page views
>
> **https** `boolean`
>
> Whether the connection is HTTPS. Set to true for secure connections.
>
> **medium** `string`
>
> UTM medium parameter for tracking campaign mediums
>
> **source** `string`
>
> UTM source parameter for tracking campaign sources
>
> **unique** `boolean`
>
> Whether this is a unique visit. Set to true for the first visit from a user.
>
> **content** `string`
>
> UTM content parameter for tracking campaign content variations
>
> **campaign** `string`
>
> UTM campaign parameter for tracking campaign names
>
> **hostname** `string` *required*
>
> The hostname of the tracked website (e.g., example.com or composio.dev)
>
> **language** `string`
>
> Language code (e.g., en-US, fr-FR, de-DE)
>
> **metadata** `object`
>
> Custom metadata object with key-value pairs. All values must be strings.
>
> **referrer** `string`
>
> Referrer URL (where the user came from)
>
> **timezone** `string`
>
> Timezone (e.g., Europe/Amsterdam, America/New\_York, UTC)
>
> **screen\_width** `integer`
>
> Screen width in pixels
>
> **screen\_height** `integer`
>
> Screen height in pixels
>
> **viewport\_width** `integer`
>
> Viewport width in pixels
>
> **viewport\_height** `integer`
>
> Viewport height in pixels
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
