segment v2.0.0-rc.1 Segment.Server View Source

Provides the api for sending data to Segment.io.

All functions are implemented as Genserver casts so that they are out-of-band for clients.

Link to this section Summary

Link to this section Functions

Link to this function

alias_user(user_id, previous_id, context \\ Context.new()) View Source

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

group(user_id, group_id, traits \\ %{}, context \\ Context.new()) View Source

Link to this function

identify(user_id, traits \\ %{}, context \\ Context.new()) View Source

Link to this function

page(user_id, name \\ "", properties \\ %{}, context \\ Context.new()) View Source

Link to this function

screen(user_id, name \\ "", properties \\ %{}, context \\ Context.new()) View Source

Link to this function

track(user_id, event, properties \\ %{}, context \\ Context.new()) View Source