Skip to main content

Plausible Analytics

Web Source code Package

Plausible Analytics is a simple, and privacy-friendly Google Analytics Alternative. The destination automatically sends events to Plausible via the plausible function. All you need to do is install the destination, and optionally map events to Plausible's format. walkerOS takes care of loading the script and the function calls.

Installation

npm install @walkeros/web-destination-plausible

Setup

import { startFlow } from '@walkeros/collector';
import { destinationPlausible } from '@walkeros/web-destination-plausible';

const { elb } = await startFlow();

elb('walker destination', destinationPlausible, {
settings: {
domain: 'elbwalker.com', // Optional, domain of your site as registered
},
});

Configuration reference

PropertyTypeDescriptionMore
domainstringThe domain of your site as registered in Plausible
Settings
Result

Mapping examples

tip

The code examples are interactive. You can edit the code to generate your individual event mapping.

Send custom events manually using the JavaScript function

CustomEvent

Event
Mapping
Result

Purchase

Checkout Plausible's E-commerce revenue tracking guide to learn more about the setup within Plausible.

Event
Mapping
Result
💡 Need Professional Support?
Need professional support with your walkerOS implementation? Check out our services.