Hey There,
I have this situation where people sometime subscribe with one email, but there account on site is with another.
I am wondering if I can send two emails (in an array)?
for example:
'email' : l'email1@mail.com', 'email2@mail.com']
Hey There,
I have this situation where people sometime subscribe with one email, but there account on site is with another.
I am wondering if I can send two emails (in an array)?
for example:
'email' : l'email1@mail.com', 'email2@mail.com']
Hi
You’re getting at something really important–the fact that Klaviyo only handles 1 email/phone per person, and uses those as the unique identifier. You can’t have two email addresses on one profile.
You could have alternative email addresses as profile properties, but there is no built-in support for multiple email addresses.
I think this is a pretty big product limitation as it’s not uncommon for someone to have multiple emails or even phone numbers.
But that’s how it works right now. Would love to hear if other people want built-in support for alternative email/phones on a profile…
Cheers,
Kevin.
Hey
thanks for your thoughts and comments on this :)
I think there is definitely scope to have a primary and secondary email on a profile, but I do kind of understand how it was used as a unique identifier. I think we are getting to a point that people are having more that one email and it would be good to have additional email (maybe one for transactional and another for campaign).
I guess what I am trying to ascertain, is if I can send an array on the identify component, or do I need to loop the request for each one and then throw the unique ID (or email) into cookies later for storage?
{ "token": "PUBLIC_KEY", "properties": { "$email": ["abraham.lincoln@klaviyo.com",”a.lincoln@klaviyo.com”], "$first_name": "Abraham", "$last_name": "Lincoln", "$city": "Springfield", "$region": "Illinois" } }
If we are assume they are there (under one of the emails), I would rather send a single request that iterate through the array of emails until I get a response, then send it to cookies for subsequent requests.
Hope that kind of makes sense.
Hi
You can’t pass an array of emails to the identify endpoint. You could add the other emails as custom profile properties, but the API call will fail if you try to pass an array to the email field.
Hi
You can’t pass an array of emails to the identify endpoint. You could add the other emails as custom profile properties, but the API call will fail if you try to pass an array to the email field.
damn (but figured as much) looks like i’m looping the calls and storing the ID once found into a cookie I guess...
Sending emails to both addresses could be a solution, but it's essential to tread carefully to avoid overwhelming or spamming your users. One approach you might consider is to provide users with the option to manage their email preferences. Within their account settings, offer a feature where they can add or update email addresses and choose which one they prefer to receive communications on. If you do decide to send emails to multiple addresses, ensure that you're transparent about it and give users the opportunity to opt out or choose their preferred contact method. Respecting user preferences is key to maintaining trust and engagement.
Sending emails to both addresses could be a solution, but it's essential to tread carefully to avoid overwhelming or spamming your users. One approach you might consider is to provide users with the option to manage their email preferences. Within their account settings, offer a feature where they can add or update email addresses and choose which one they prefer to receive communications on. If you do decide to send emails to multiple addresses, ensure that you're transparent about it and give users the opportunity to opt out or choose their preferred contact method. Respecting user preferences is key to maintaining trust and engagement.
I don’t hate that but really my aim is to have multiple emails on an account for identification. With a primary for sending.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.