Skip to content

trackkit / providers/plausible/types / PlausibleOptions

Type Alias: PlausibleOptions

PlausibleOptions = BaseProviderOptions & object

Defined in: providers/plausible/types.ts:10

Configuration options for the Plausible provider.

Extends BaseProviderOptions with Plausible-specific fields such as the tracked domain and optional revenue tracking.

Type Declaration

name

name: "plausible"

Provider name discriminator.

defaultProps?

optional defaultProps: Record<string, string | undefined>

Default properties for all events (Plausible).

These are merged into each event’s props object unless overridden.

domain?

optional domain: string

Plausible domain to track (alternative to site alias).

Example

ts
'example.com'

revenue?

optional revenue: object

Revenue tracking configuration (Plausible).

revenue.currency

currency: string

revenue.trackingEnabled

trackingEnabled: boolean

Released under the MIT License.