Skip to main content
Simple Analytics logo
  • Category: analytics
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 4
  • Triggers: 0
  • Slug: SIMPLE_ANALYTICS
  • Version: 20260615_00

Tools

Slug: SIMPLE_ANALYTICS_ADMIN_API_LIST_WEBSITESTool to list all websites associated with the authenticated user. Use after authenticating an admin account to retrieve website list.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: SIMPLE_ANALYTICS_EXPORT_API_GET_RAW_DATATool 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

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
string ("csv" | "json")
Response format: ‘csv’ or ‘json’
string
End date in YYYY-MM-DD format
string
required
Website domain or site ID to export data for
string
Start date in YYYY-MM-DD format

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: SIMPLE_ANALYTICS_GET_AGGREGATED_STATSTool 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

string
End date in YYYY-MM-DD format.
string
Filter stats by specific page path.
string
Start date in YYYY-MM-DD format.
string
Filter stats by traffic source.
string
Comparison range start date in YYYY-MM-DD format.
string
required
Website identifier (domain or custom code).
string
Filter stats by specific referrer host.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: SIMPLE_ANALYTICS_SEND_EVENTTool 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

string
required
User agent string. Avoid default library agents like ‘python-requests’. Use a realistic browser user agent string.
string
Page path for pageviews (e.g., /my-page, /products/item-123)
string ("event" | "pageview")
required
Type of data point: ‘event’ for custom events or ‘pageview’ for page views
string
required
Event name for custom events (e.g., ‘button_click’, ‘purchase’) or ‘pageview’ for page views
boolean
Whether the connection is HTTPS. Set to true for secure connections.
string
UTM medium parameter for tracking campaign mediums
string
UTM source parameter for tracking campaign sources
boolean
Whether this is a unique visit. Set to true for the first visit from a user.
string
UTM content parameter for tracking campaign content variations
string
UTM campaign parameter for tracking campaign names
string
required
The hostname of the tracked website (e.g., example.com or composio.dev)
string
Language code (e.g., en-US, fr-FR, de-DE)
object
Custom metadata object with key-value pairs. All values must be strings.
string
Referrer URL (where the user came from)
string
Timezone (e.g., Europe/Amsterdam, America/New_York, UTC)
integer
Screen width in pixels
integer
Screen height in pixels
integer
Viewport width in pixels
integer
Viewport height in pixels

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not