Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

172 B
Raw Blame
defmodule PlausibleWeb.Plugs.CurrentPath do
  @moduledoc false

  def init(_), do: []
  def call(conn, _), do: Plug.Conn.assign(conn, :current_path, conn.request_path)
end