View Source Plausible.Stats.CustomProps (Plausible v0.0.1)

Module for querying user defined 'custom properties'.

Link to this section Summary

Functions

Returns a breakdown of event names with all existing custom properties for each event name.

Expects a single goal filter in the query. Returns a list of custom props for that goal. Works for both custom event and pageview goals.

Link to this section Functions

Link to this function

maybe_allowed_props_only(q, allowed_props)

View Source
Link to this function

props_for_all_event_names(site, query)

View Source

Returns a breakdown of event names with all existing custom properties for each event name.

Link to this function

props_for_goal(site, query)

View Source

Expects a single goal filter in the query. Returns a list of custom props for that goal. Works for both custom event and pageview goals.