Skip to main content

Plausible Analytics

Source code Package Browser ES5

Plausible Analytics is a simple, and privacy-friendly Google Analytics Alternative.

Configuration

Start by setting up the config for the destination. Destinations can be used via node or directly in the browser.

const config = {
custom: {
domain: 'elbwalker.com', // Optional, domain of your site as registered
},
};

CustomConfig

PropertyTypeDescription
domainstringThe domain of your site as registered in Plausible

How to use

Define the configuration for your Plausible Analytics destination:

const config = {
custom: {
domain: 'yourdomain.com',
},
};

Choose one of the following installation options to use the destination:

Install the destination via npm

npm i @elbwalker/destination-web-plausible
import { elb } from '@elbwalker/walker.js';
import destinationPlausible from '@elbwalker/destination-web-plausible';

elb('walker destination', destinationPlausible, config);