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
Functions
Returns a specification to start this module under a supervisor.
Link to this section Functions
Link to this function
alias_user(a) View Source
Link to this function
alias_user(user_id, previous_id, context \\ Context.new()) View Source
Link to this function
child_spec(init_arg) View Source
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
group(g) View Source
Link to this function
group(user_id, group_id, traits \\ %{}, context \\ Context.new()) View Source
Link to this function
identify(i) View Source
Link to this function
identify(user_id, traits \\ %{}, context \\ Context.new()) View Source
Link to this function
page(p) View Source
Link to this function
page(user_id, name \\ "", properties \\ %{}, context \\ Context.new()) View Source
Link to this function
screen(s) View Source
Link to this function
screen(user_id, name \\ "", properties \\ %{}, context \\ Context.new()) View Source
Link to this function
start_link(args) View Source
Link to this function
track(t) View Source
Link to this function