I’m currently trying to Add Multiple Profiles with the Same Email but different ID. I’ve used the external id which is $id. Every time I trigger the profile with the same email. It overwrites and updates the profile and It doesn’t create a new Profile for the one with a different ID?
Hey
- Which integration is the external ID coming from? How did you set this up?
- What is your use case for needing profiles with the same email address but different IDs?
- When you say “trigger the profile”, in what way do you mean?
Hey
- Which integration is the external ID coming from? How did you set this up?
- What is your use case for needing profiles with the same email address but different IDs?
- When you say “trigger the profile”, in what way do you mean?
Hi Kaila,
Sorry for the late revert.
For the api call, I’m calling via /api/track under this I’ve added on the Event Klaviyo: Customer Properties. There I’ve added $id which I set so external id would be set.
For the Model it would look something like this:
public class EventKlaviyo
{
[JsonProperty("token")]
public string APIKey { get; set; }
[JsonProperty("list_id")]
public string ListId { get; set; }
[JsonProperty("event")]
public string Event_title { get; set; }
[JsonProperty("customer_properties")]
public CustomerProperties Properties { get; set; }
}
public class CustomerProperties
{
[JsonProperty("$id")]
public string Id{ get; set; }
[JsonProperty("$email")]
public string Email { get; set; }
[JsonProperty("$first_name")]
public string First_name { get; set; }
[JsonProperty("$last_name")]
public string Last_name { get; set; }
[JsonProperty("$phone_number")]
public string Phone_number { get; set; }
}
As for the use case. Requirements wants me to create a different profile in Klaviyo each time a different type of account was created on the user’s system(Partner Web App).
For triggering the profile, Sorry for my bad definition there. I basically mean when an api call was sent to track and a profile is generated.
Reply
Log in to the Community
Use your Klaviyo credentials
Log in with Klaviyo
Use your Klaviyo credentials
Log in with KlaviyoEnter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.