staccato v0.2.0 Staccato View Source

Link to this section Summary

Functions

Return a new Tracker for a given UID Optional client_id

Link to this section Functions

Link to this function tracker(id, client_id \\ UUID.uuid4(), options \\ []) View Source

Return a new Tracker for a given UID Optional client_id

Examples

iex> Staccato.tracker("X-YYYYY-1").id
"X-YYYYY-1"

iex> Staccato.tracker(nil, nil, nil)
%Staccato.NoopTracker{}

iex> Staccato.tracker("X-YYYYY-2", %{ssl: true}).ssl
true

iex> Staccato.tracker("X-YYYYY-2", [ssl: true]).ssl
true

iex> Staccato.tracker("X-YYYYY-2", [{:ssl, true}]).ssl
true

iex> Staccato.tracker("X-YYYYY-2", [{:ssl, true}]).client_id != nil
true