Karta.Tracking.Event (Karta v1.0.0)

An open (:open, the pixel was loaded) or a click (:click, with its link) by one recipient.

ip_address is the client's network, not its address: the IPv4 address with its last byte zeroed (/24) or the first 48 bits of an IPv6 address. user_agent keeps at most 256 printable ASCII characters. Behind a reverse proxy the client is the proxy, until trusted proxies can be configured.

Ids increase with time (monotonic version 7 UUIDs; strictly on one node), so events are listed and paged by id.

Summary

Types

t()

@type t() :: %Karta.Tracking.Event{
  __meta__: term(),
  created_at: term(),
  id: term(),
  ip_address: term(),
  kind: term(),
  link: term(),
  link_id: term(),
  message: term(),
  message_id: term(),
  recipient: term(),
  recipient_id: term(),
  user_agent: term()
}