klaviyo v2.0.0 Klaviyo

Link to this section Summary

Functions

Track properties about an individual without tracking an associated event.

Makes a request to the Klaviyo API.

Track when someone takes an action or does something.

Tracks the first occurance of when someone takes an action or does something.

Link to this section Types

Link to this type

http_headers_t()

http_headers_t() :: [{String.t(), String.t()}]
Link to this type

http_method_t()

http_method_t() :: :delete | :get | :post | :put
Link to this type

http_response_t()

http_response_t() :: %{
  body: binary(),
  headers: http_headers_t(),
  status_code: pos_integer()
}

Link to this section Functions

Link to this function

identify(params)

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

Track properties about an individual without tracking an associated event.

Link to this function

request(operation, config)

request(Klaviyo.Operation.t(), Klaviyo.Config.t()) ::
  {:ok, Klaviyo.Response.t()} | {:error, Klaviyo.Response.t() | any()}

Makes a request to the Klaviyo API.

Link to this function

track(params)

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

Track when someone takes an action or does something.

Link to this function

track_once(params)

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

Tracks the first occurance of when someone takes an action or does something.