Plausible
Retrieve website analytics stats from Plausible. In Appbricx, your workflows and server functions call it by name once it is connected.
What you can do
16 actions, each one call from a workflow or a server function. Triggers come from your app: a row changing, a schedule or a webhook.
- Create Custom PropertyCreate a custom property for a site
create_custom_property - Create GoalFind or create a goal for a site
create_goal - Create Shared LinkFind or create a shared link for a site
create_shared_link - Create SiteCreate a new site in your Plausible account
create_site - Delete Custom PropertyDelete a custom property from a site
delete_custom_property - Delete GoalDelete a goal from a site
delete_goal - Delete SiteDelete a site and all its data from your Plausible account. This action is permanent and may take up to 48 hours to complete.
delete_site - Get SiteGet details of a site including tracker script configuration
get_site - Invite GuestInvite a guest to access a site or find an existing invitation
invite_guest - List Custom PropertiesGet a list of custom properties for a site
list_custom_properties - List GoalsGet a list of goals for a site
list_goals - List GuestsGet a list of guests for a site
list_guests
Set it up
About two minutes, once per project or once for the whole workspace.
- Open Integrations in the builder
Backend panel, Integrations tab, then Plausible. To connect it for every project, use Workspace settings, Integrations.
- Add your credentials
An API key (or token) from your Plausible account, pasted once. It is stored encrypted and only read on the server when an action runs.
- API key From Plausible's settings
- Call an action
From a workflow, by integration id and action name. The call answers with success, output and, when it fails, the reason.
Workflow // .workflow.js (native ctx) export async function run(ctx) { const res = await ctx.integrations.invoke("plausible", "create_custom_property", { "site_id": "<site_id>", "property": "<property name>" }); if (!res.success) throw new Error(res.error); ctx.log.info("Plausible answered", { output: res.output }); }
More in Analytics
Plausible and its logo are trademarks of their owner, shown only to identify the service this integration connects to. Their use does not imply endorsement by, or affiliation with, that company.