Integration · Analytics and data
AI agents for Plausible Analytics
Query a site's visitors, pageviews, sources, pages, locations, devices and goal conversions with the Stats API v2, and record server-side events, on Plausible Cloud or a self-hosted Plausible.
- Actions
- 8
- Read
- 7
- Write
- 1
Actions
What your agents can do in Plausible Analytics
8 actions. Each one is a tool your agents can call and a step your workflows can run.
Read 7
Look things up. Nothing changes.
Query stats
Runs any Stats API v2 query: metrics (visitors, visits, pageviews, views_per_visit, bounce_rate, visit_duration, events, scroll_depth, percentage, conversion_rate, time_on_page …) over a date range.
Get site totals
Totals for a date range: unique visitors, visits, pageviews, bounce rate (%) and visit duration (seconds) by default, optionally filtered (like [["is", "visit:source", ["Google"]]]).
Get stats over time
Visitors (or other metrics) per hour, day, week or month over a date range, for a trend or chart.
Get a breakdown
Top values of one dimension with their metrics, most visitors first.
Get one page's stats
Visitors, pageviews, bounce rate, time on page (seconds) and scroll depth (%) for one page path, like /pricing, over a date range.
Get goal conversions
Each configured goal (custom events, pageview goals, revenue goals) with its converting visitors, event count and conversion rate (%) over a date range.
Get current visitors
The number of people who viewed a page in the last 5 minutes (the legacy Stats API v1, still served).
Write 1
Create, change or send.
Record an event
Records a pageview or custom event (a goal like Signup) from a server with the Events API.
A person can approve first
Any write action can be set to wait for a person's approval before it runs, so an agent asks before it changes anything.
Connection
How it connects
Connect it once in the console, then give it to the agents and workflows that need it.
Paste an API key from your Plausible Analytics account.
What you enter
- Stats API key
Settings
- Plausible address
- Site domain
Kept safe
- Credentials are stored encrypted with your organization's own keys.
- They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
- Calls go only to the tool's own servers.
Ideas
Ideas to start with
Starting points made only from the actions above. Mix them with any other tool your agents can use.
- 01
Ask about your Plausible Analytics data
Ask a question in plain words. The agent can query stats, get site totals or get stats over time in Plausible Analytics, then answers with what it found.
- 02
Let an agent update Plausible Analytics
Have the agent record an event in Plausible Analytics as part of a larger task. Turn on approval and a person signs off on each change first.
- 03
Share what it finds in Slack
Give one agent Plausible Analytics and Slack: it can query stats in Plausible Analytics and post a summary to a Slack channel in the same run.
FAQ
Plausible Analytics and MyDeepAgents
Can MyDeepAgents connect to Plausible Analytics?
Yes. The Plausible Analytics connector has 8 actions: 7 read and 1 makes changes. Your agents can call them as tools, and your workflows can run them as steps.
How do I connect Plausible Analytics?
Paste an API key from your Plausible Analytics account. You'll need: Stats API key. The connection also asks for: Plausible address and Site domain. Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.
Can an agent change data in Plausible Analytics without asking?
Only if you let it. Its one action that changes data can be set to wait for a person's approval before it runs.
Can I use Plausible Analytics in workflows as well as agents?
Yes. Every Plausible Analytics action also works as a step in a workflow, and the same connection serves your agents and your workflows.
Early access
Put Plausible Analytics to work
Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.