Mxpanel.People.set
You're seeing just the function
set
, go back to Mxpanel.People module for more information.
Specs
set(Mxpanel.Client.t(), String.t(), map(), Keyword.t()) :: :ok | {:error, term()}
Sets properties for a profile identified by its distinct_id
.
If the profile does not exist, it creates it with these properties.
If it does exist, it sets the properties to these values, overwriting existing values.
properties = %{"Address" => "1313 Mockingbird Lane", "Birthday" => "1948-01-01"}
Mxpanel.People.set(client, "13793", properties)