SegmentSpec.Common.Context (segment_spec v0.1.0) View Source

Represents the context field common to Segment events.

Link to this section Summary

Link to this section Types

Specs

t() :: %SegmentSpec.Common.Context{
  active: term(),
  app: term(),
  campaign: term(),
  device: term(),
  group_id: term(),
  ip: term(),
  library: term(),
  locale: term(),
  location: term(),
  network: term(),
  os: term(),
  page: term(),
  referrer: term(),
  screen: term(),
  timezone: term(),
  traits: term(),
  user_agent: term()
}

Link to this section Functions

Link to this function

new(map_or_kwlist, opts \\ [])

View Source

Specs

new(ExConstructor.map_or_kwlist(), Keyword.t()) :: %SegmentSpec.Common.Context{
  active: term(),
  app: term(),
  campaign: term(),
  device: term(),
  group_id: term(),
  ip: term(),
  library: term(),
  locale: term(),
  location: term(),
  network: term(),
  os: term(),
  page: term(),
  referrer: term(),
  screen: term(),
  timezone: term(),
  traits: term(),
  user_agent: term()
}