Klaviyo.Metric (klaviyo v2.2.0)

Link to this section Summary

Functions

Returns a list of all metrics.

Returns a batched timeline of all events.

Returns a batched timeline for one specific type of metric.

Link to this section Functions

Link to this function

all(params \\ %{})

Specs

all(map()) :: Klaviyo.Operation.t()

Returns a list of all metrics.

Link to this function

export(metric_id, params \\ %{})

Specs

export(String.t(), map()) :: Klaviyo.Operation.t()

Export event data.

Optionally filtering and segmented on available event properties.

Link to this function

timeline(params \\ %{})

Specs

timeline(map()) :: Klaviyo.Operation.t()

Returns a batched timeline of all events.

Link to this function

timeline_for_type(metric_id, params \\ %{})

Specs

timeline_for_type(String.t(), map()) :: Klaviyo.Operation.t()

Returns a batched timeline for one specific type of metric.