trackkit / providers/plausible/types / PlausibleEventPayload
Type Alias: PlausibleEventPayload
PlausibleEventPayload =
object
Defined in: providers/plausible/types.ts:60
Plausible event payload sent to /api/event.
Properties
name
name:
string
Defined in: providers/plausible/types.ts:63
Event name.
url
url:
string
Defined in: providers/plausible/types.ts:65
URL associated with the event.
domain
domain:
string
Defined in: providers/plausible/types.ts:67
Tracked domain.
referrer?
optionalreferrer:string
Defined in: providers/plausible/types.ts:71
Referrer URL.
props?
optionalprops:Record<string,string|number>
Defined in: providers/plausible/types.ts:73
Custom properties attached to the event.
revenue?
optionalrevenue:Revenue
Defined in: providers/plausible/types.ts:75
Revenue information (if revenue tracking enabled).
interactive?
optionalinteractive:boolean
Defined in: providers/plausible/types.ts:77
Whether the event was triggered by user interaction.