Skip to content
Plausible Analytics

How to use Plausible Analytics

MarketingCost: 1 credit per runTechnical reference

What it is for

Privacy-friendly website analytics

Plausible Analytics triggers check for new data periodically, every few minutes, so there may be a short delay.

Set up the connection

Authentication type: API key or token

  1. 1Sign in to Plausible Analytics and look for the API or integrations section in its settings.
  2. 2Create an API key or token with the permissions you need and copy it.
  3. 3In flooows, add a Plausible Analytics step, click "Connect" and paste it.
  4. 4Save the connection: it is stored encrypted and is never shown in plain text.

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Get Realtime Visitors: fill in Site; use the data selector to map values from earlier steps.
  • Get Aggregate Stats: fill in Site, Period, Metrics; use the data selector to map values from earlier steps.
  • Get Traffic Breakdown: fill in Site, Period, Breakdown By; use the data selector to map values from earlier steps.

Tips

  • •Test each step before publishing to see the exact output structure.
  • •Enable retries on steps that call external services.

Triggers (1)

Events that can start a flow. Expand each one to see its fields.

Traffic SpikePeriodic check2 fields
FieldTypeRequired
SiteList (from your account)Yes
Visitor ThresholdNumberYes

Actions (20)

Operations available as flow steps. Expand each one to see its fields.

Get Realtime Visitors1 fields
FieldTypeRequired
SiteList (from your account)Yes
Get Aggregate Stats3 fields
FieldTypeRequired
SiteList (from your account)Yes
PeriodFixed listYes
MetricsMulti-selectYes
Get Traffic Breakdown4 fields
FieldTypeRequired
SiteList (from your account)Yes
PeriodFixed listYes
Breakdown ByFixed listYes
LimitNumberNo
List Sites0 fields

No fields to configure.

Get Site1 fields
FieldTypeRequired
SiteList (from your account)Yes
Create Site8 fields
FieldTypeRequired
DomainTextYes
TimezoneTextNo
TeamList (from your account)No
Track 404 PagesYes / NoNo
Hash-Based RoutingYes / NoNo
Outbound LinksYes / NoNo
File DownloadsYes / NoNo
Form SubmissionsYes / NoNo
Update Site7 fields
FieldTypeRequired
SiteList (from your account)Yes
New DomainTextNo
Track 404 PagesYes / NoNo
Hash-Based RoutingYes / NoNo
Outbound LinksYes / NoNo
File DownloadsYes / NoNo
Form SubmissionsYes / NoNo
Delete Site1 fields
FieldTypeRequired
SiteList (from your account)Yes
Create Shared Link2 fields
FieldTypeRequired
SiteList (from your account)Yes
Link NameTextYes
List Goals1 fields
FieldTypeRequired
SiteList (from your account)Yes
Create Goal5 fields
FieldTypeRequired
SiteList (from your account)Yes
Goal TypeFixed listYes
Event NameTextNo
Page PathTextNo
Display NameTextNo
Delete Goal2 fields
FieldTypeRequired
SiteList (from your account)Yes
GoalList (from your account)Yes
List Custom Properties1 fields
FieldTypeRequired
SiteList (from your account)Yes
Create Custom Property2 fields
FieldTypeRequired
SiteList (from your account)Yes
Property NameTextYes
Delete Custom Property2 fields
FieldTypeRequired
SiteList (from your account)Yes
Custom PropertyList (from your account)Yes
List Guests1 fields
FieldTypeRequired
SiteList (from your account)Yes
Invite Guest3 fields
FieldTypeRequired
SiteList (from your account)Yes
EmailTextYes
RoleFixed listYes
Remove Guest2 fields
FieldTypeRequired
SiteList (from your account)Yes
GuestList (from your account)Yes
List Teams0 fields

No fields to configure.

Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

Common errors

Authentication error

The connection expired or the key was revoked: reconnect it from Connections.

Field not found or empty

Re-test the previous step and remap the field in the data selector.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps