View Source Plausible.Funnel (Plausible v0.0.1)

A funnel is a marketing term used to capture and describe the journey that users go through, from initial step to conversion. A funnel consists of several steps (here: 2..8).

This module defines the database schema for storing funnels and changeset helpers for enumerating the steps within.

Each step references a goal (either a Custom Event or Visit)

Summary

Types

@type t() :: %Plausible.Funnel{
  __meta__: term(),
  goals: term(),
  id: term(),
  inserted_at: term(),
  name: term(),
  site: term(),
  site_id: term(),
  steps: term(),
  updated_at: term()
}

Functions

Link to this function

changeset(funnel \\ %__MODULE__{}, attrs \\ %{})

View Source
Link to this function

put_step_orders(changeset)

View Source