Peacemaker.UserProfile (Peacemaker v3.3.5-rc.7) View Source
This module is responsible for creating unique user ids that will be used
as the user_id for all calls made to Segment. In other words, the
tracking_id is also the user_id that is being sent to Google Analytics.
With every Account or Optin we create, we also create a %Peacemaker.UserProfile{}
record. The tracking_id is meant to be a value returned from Ecto.UUID.generate/1
Link to this section Summary
Link to this section Types
Specs
t() :: %{
tracking_id: String.t(),
account: Peacemaker.Account.t(),
optin: Peacemaker.Optin.t()
}
Link to this section Functions
Specs
Finds a tracking id by the given email.