Plausible Analytics
plausible_analyticsPrivacy-focused web analytics platform that provides simple, lightweight, and GDPR-compliant website statistics
Acciones disponibles (14)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Check API HealthPLAUSIBLE_ANALYTICS_CHECK_HEALTHAcciónTool to check the health status of the Plausible Analytics API. Use when verifying API connectivity and service availability before making other API calls.
PLAUSIBLE_ANALYTICS_CHECK_HEALTHAcciónTool to check the health status of the Plausible Analytics API. Use when verifying API connectivity and service availability before making other API calls.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Aggregate StatsPLAUSIBLE_ANALYTICS_GET_AGGREGATE_STATSAcciónTool to retrieve aggregated metrics for a given time period from Plausible Analytics. Use this to get summary statistics like total visitors, pageviews, bounce rate, and visit duration. This is the legacy Stats API v1 endpoint for querying multiple metrics in one request.
PLAUSIBLE_ANALYTICS_GET_AGGREGATE_STATSAcciónTool to retrieve aggregated metrics for a given time period from Plausible Analytics. Use this to get summary statistics like total visitors, pageviews, bounce rate, and visit duration. This is the legacy Stats API v1 endpoint for querying multiple metrics in one request.
Parámetros de entrada
periodstringTime period for aggregation. Examples: '6mo' (6 months), '12mo' (12 months), '30d' (30 days), 'day' (today), 'month' (current month). If not specified, defaults to '30d'.
comparestringComparison mode for showing period-over-period changes. Use 'previous_period' to compare with the previous equivalent time period.
filtersstringFilter expression to drill down data. Format: 'property==value' or 'property==value;property2==value2'. Examples: 'event:page==/blog', 'visit:source==Twitter'.
metricsstringComma-separated list of metrics to aggregate. Valid options: 'visitors', 'visits', 'pageviews', 'views_per_visit', 'bounce_rate', 'visit_duration', 'events', 'conversion_rate', 'time_on_page'. Defaults to 'visitors' if not specified.
site_idstringObligatorioDomain of your site on Plausible (e.g., 'example.com')
with_importedbooleanWhether to include imported statistics from other analytics platforms. Defaults to false if not specified.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Breakdown StatsPLAUSIBLE_ANALYTICS_GET_BREAKDOWN_STATSAcciónTool to retrieve breakdown statistics for a specific property (dimension) from Plausible Analytics. Use when you need to analyze top sources, top pages, device breakdown, geographic distribution, or any other dimensional breakdown of your site traffic. This is a legacy Stats API v1 endpoint used for Top Sources, Top Pages and similar reports.
PLAUSIBLE_ANALYTICS_GET_BREAKDOWN_STATSAcciónTool to retrieve breakdown statistics for a specific property (dimension) from Plausible Analytics. Use when you need to analyze top sources, top pages, device breakdown, geographic distribution, or any other dimensional breakdown of your site traffic. This is a legacy Stats API v1 endpoint used for Top Sources, Top Pages and similar reports.
Parámetros de entrada
datestringDate for period context or custom date range. For 'custom' period, use two ISO-8601 dates separated by comma (e.g., '2023-01-01,2023-01-31'). For other periods, single date in YYYY-MM-DD format to anchor the period
pageintegerPage number for pagination. Use with limit parameter to retrieve results beyond the first page. Starts at 1
limitintegerMaximum number of results to return (1-1000). If not specified, returns all available results up to 1000
periodstringTime period for stats. Valid values: '12mo' (last 12 months), '6mo' (last 6 months), 'month' (current month), '30d' (last 30 days), '7d' (last 7 days), 'day' (current day), 'custom' (custom range using date parameter with two ISO-8601 dates separated by comma). Defaults to '30d'
filtersstringFilters to apply to the query. Format: 'property==value' or 'property==value;property2==value2'. Use semicolon to separate multiple filters. Supports operators: == (equals), != (not equals), ~ (contains), !~ (does not contain)
metricsstringComma-separated list of metrics to include. Available metrics: visitors (unique visitors), visits (total visits), pageviews (total page views), views_per_visit, bounce_rate (percentage), visit_duration (seconds), events (total events), conversion_rate (percentage), time_on_page (seconds). If not specified, only the visitor count for each breakdown value is returned
site_idstringObligatorioDomain of your site on Plausible (e.g., 'example.com'). This is the site ID as configured in your Plausible account
propertystringObligatorioProperty to break down by. Supported values: event:page, event:goal, visit:source, visit:referrer, visit:utm_medium, visit:utm_source, visit:utm_campaign, visit:utm_content, visit:utm_term, visit:device, visit:browser, visit:browser_version, visit:os, visit:os_version, visit:country, visit:region, visit:city, visit:entry_page, visit:exit_page, or event:props:<custom_prop_name> for custom properties
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Plugin CapabilitiesPLAUSIBLE_ANALYTICS_GET_PLUGIN_CAPABILITIESAcciónTool to retrieve available capabilities for the Plausible Analytics Plugins API. Use this to check which features are enabled for the authenticated account, such as Goals, Funnels, Stats API, and more.
PLAUSIBLE_ANALYTICS_GET_PLUGIN_CAPABILITIESAcciónTool to retrieve available capabilities for the Plausible Analytics Plugins API. Use this to check which features are enabled for the authenticated account, such as Goals, Funnels, Stats API, and more.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Realtime VisitorsPLAUSIBLE_ANALYTICS_GET_REALTIME_VISITORSAcciónTool to retrieve the number of current visitors on your site in the last 5 minutes. Use this to get real-time visitor counts from the Plausible Analytics Stats API v1.
PLAUSIBLE_ANALYTICS_GET_REALTIME_VISITORSAcciónTool to retrieve the number of current visitors on your site in the last 5 minutes. Use this to get real-time visitor counts from the Plausible Analytics Stats API v1.
Parámetros de entrada
site_idstringObligatorioDomain of your site on Plausible (e.g., 'example.com')
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Site DetailsPLAUSIBLE_ANALYTICS_GET_SITEAcciónTool to retrieve details for a specific Plausible Analytics site. Use when you need site configuration including domain, timezone, custom properties, and tracker script settings.
PLAUSIBLE_ANALYTICS_GET_SITEAcciónTool to retrieve details for a specific Plausible Analytics site. Use when you need site configuration including domain, timezone, custom properties, and tracker script settings.
Parámetros de entrada
site_idstringObligatorioDomain/ID of the site to retrieve (e.g., 'example.com' or 'composio')
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Timeseries StatsPLAUSIBLE_ANALYTICS_GET_TIMESERIES_STATSAcciónTool to retrieve timeseries visitor data from Plausible Analytics over a specified time period. Use this to get historical trends for metrics like visitors, pageviews, bounce rate, and visit duration. This is the legacy Stats API v1 endpoint typically used for the main visitor graph.
PLAUSIBLE_ANALYTICS_GET_TIMESERIES_STATSAcciónTool to retrieve timeseries visitor data from Plausible Analytics over a specified time period. Use this to get historical trends for metrics like visitors, pageviews, bounce rate, and visit duration. This is the legacy Stats API v1 endpoint typically used for the main visitor graph.
Parámetros de entrada
periodstringTime period for the timeseries data. Examples: '6mo' (6 months), '12mo' (12 months), '30d' (30 days), 'day' (today), 'month' (current month). If not specified, defaults to '30d'.
filtersstringFilter expression to drill down data. Format: 'property==value' or 'property==value;property2==value2'. Examples: 'event:page==/blog', 'visit:source==Twitter'.
metricsstringComma-separated list of metrics to show for each time bucket. Valid options: 'visitors', 'visits', 'pageviews', 'views_per_visit', 'bounce_rate', 'visit_duration', 'events', 'conversion_rate'. Defaults to 'visitors' if not specified.
site_idstringObligatorioDomain of your site on Plausible (e.g., 'example.com')
intervalstringenumInterval for grouping timeseries data.
daymonthwith_importedbooleanWhether to include imported statistics from other analytics platforms. Defaults to false if not specified.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Custom PropertiesPLAUSIBLE_ANALYTICS_LIST_CUSTOM_PROPSAcciónTool to list all custom properties configured for a site. Use when you need to retrieve custom property configurations for a Plausible Analytics site. Enterprise feature only.
PLAUSIBLE_ANALYTICS_LIST_CUSTOM_PROPSAcciónTool to list all custom properties configured for a site. Use when you need to retrieve custom property configurations for a Plausible Analytics site. Enterprise feature only.
Parámetros de entrada
site_idstringObligatorioDomain of the site to retrieve custom properties for.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List GoalsPLAUSIBLE_ANALYTICS_LIST_GOALSAcciónTool to list all goals configured for a site. Use when you need to retrieve conversion goals and custom action tracking configured for a Plausible Analytics site.
PLAUSIBLE_ANALYTICS_LIST_GOALSAcciónTool to list all goals configured for a site. Use when you need to retrieve conversion goals and custom action tracking configured for a Plausible Analytics site.
Parámetros de entrada
site_idstringObligatorioDomain of the site to retrieve goals for.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Site GuestsPLAUSIBLE_ANALYTICS_LIST_GUESTSAcciónTool to list all guest users who have access to a site's dashboard in Plausible Analytics. Use when you need to see which guests have been granted access to view a specific site's analytics. This is an Enterprise feature.
PLAUSIBLE_ANALYTICS_LIST_GUESTSAcciónTool to list all guest users who have access to a site's dashboard in Plausible Analytics. Use when you need to see which guests have been granted access to view a specific site's analytics. This is an Enterprise feature.
Parámetros de entrada
site_idstringObligatorioDomain of the site to list guests for (e.g., 'example.com')
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List SitesPLAUSIBLE_ANALYTICS_LIST_SITESAcciónTool to list all sites the API key owner's Plausible account can access. Returns domain, timezone, and creation info with pagination support. Use when you need to retrieve all sites or paginate through large site lists.
PLAUSIBLE_ANALYTICS_LIST_SITESAcciónTool to list all sites the API key owner's Plausible account can access. Returns domain, timezone, and creation info with pagination support. Use when you need to retrieve all sites or paginate through large site lists.
Parámetros de entrada
afterstringPagination cursor for fetching the next page of results.
limitintegerMaximum number of sites to return per page. Defaults to 100 if not specified.
beforestringPagination cursor for fetching the previous page of results.
team_idstringID of the team to scope the list of sites by. If provided, only sites belonging to this team will be returned.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List TeamsPLAUSIBLE_ANALYTICS_LIST_TEAMSAcciónTool to list all teams available for the API key owner. Use when you need to retrieve teams for site provisioning to a specific team.
PLAUSIBLE_ANALYTICS_LIST_TEAMSAcciónTool to list all teams available for the API key owner. Use when you need to retrieve teams for site provisioning to a specific team.
Parámetros de entrada
afterstringPagination cursor for fetching the next page of results.
limitintegerMaximum number of teams to return per page. Defaults to 100 if not specified.
beforestringPagination cursor for fetching the previous page of results.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Query Analytics StatsPLAUSIBLE_ANALYTICS_QUERY_STATSAcciónTool to query analytics stats for a site using the Stats API v2. Use when you need to retrieve historical or real-time statistics such as visitors, pageviews, bounce rate, visit duration, and more. Supports filtering, grouping by dimensions, and custom date ranges.
PLAUSIBLE_ANALYTICS_QUERY_STATSAcciónTool to query analytics stats for a site using the Stats API v2. Use when you need to retrieve historical or real-time statistics such as visitors, pageviews, bounce rate, visit duration, and more. Supports filtering, grouping by dimensions, and custom date ranges.
Parámetros de entrada
filtersarray[]Array of filter conditions to apply to the query. Each filter is an array with format: [dimension, operator, value]. Operators: 'is', 'is_not', 'contains', 'does_not_contain'. Example: [['event:page', 'is', '/blog'], ['visit:country', 'is', 'US']].
metricsstring[]ObligatorioList of metrics to calculate. Available metrics: 'visitors' (unique visitors), 'visits' (total visits), 'pageviews' (total page views), 'views_per_visit' (average pages per visit), 'bounce_rate' (percentage of single-page visits), 'visit_duration' (average visit duration in seconds), 'events' (total events), 'scroll_depth' (average scroll depth percentage), 'percentage' (percentage of total), 'conversion_rate', 'group_conversion_rate', 'average_revenue', 'total_revenue', 'time_on_page' (average time on page in seconds).
site_idstringObligatorioDomain of your site on Plausible to be queried (e.g., 'example.com', 'composio').
date_rangeanyObligatorioDate range to query. Use predefined periods: 'day' (today), '7d' (last 7 days), '30d' (last 30 days), 'month' (current month), '6mo' (last 6 months), '12mo' (last 12 months), 'year' (current year), 'all' (all time), or custom ISO8601 date array like ['2024-01-01', '2024-01-31'].
dimensionsstring[]List of dimensions to group results by. Common dimensions: 'event:goal' (goal names), 'event:page' (page paths), 'event:hostname' (hostnames), 'visit:source' (traffic sources), 'visit:referrer' (referrer URLs), 'visit:utm_medium', 'visit:utm_source', 'visit:utm_campaign', 'visit:device' (device types), 'visit:browser', 'visit:os' (operating systems), 'visit:country', 'visit:region', 'visit:city'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Record EventPLAUSIBLE_ANALYTICS_RECORD_EVENTAcciónTool to record a pageview or custom event via the Plausible Events API. Use when tracking Android/iOS mobile apps or server-side tracking. Requires proper User-Agent and optionally X-Forwarded-For headers for unique visitor counting.
PLAUSIBLE_ANALYTICS_RECORD_EVENTAcciónTool to record a pageview or custom event via the Plausible Events API. Use when tracking Android/iOS mobile apps or server-side tracking. Requires proper User-Agent and optionally X-Forwarded-For headers for unique visitor counting.
Parámetros de entrada
urlstringObligatorioURL of the page where the event was triggered. UTM parameters will be automatically extracted (e.g., 'https://example.com/page?utm_source=google').
namestringObligatorioName of the event. Use 'pageview' for page views, other names become custom events (e.g., 'signup', 'purchase', 'button_click').
propsobjectCustom properties for the event as key-value pairs (max 30 properties). Values can be strings, numbers, or booleans.
domainstringObligatorioDomain name of the site in Plausible (e.g., 'example.com').
revenueobjectRevenue data for the event.
referrerstringReferrer URL for this event (e.g., 'https://google.com/search').
user_agentstringObligatorioRaw User-Agent string for unique visitor identification and device detection. Should be the actual user agent from the client's browser or app.
interactivebooleanWhether the event counts towards bounce rate. Default is true. Set to false for non-interactive events like automatic tracking.
x_forwarded_forstringIP address of the client for unique visitor counting and location data (e.g., '203.0.113.195'). If not provided, the server's IP will be used.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not