Is there a way to force the ip address when adding a new profile?

  • 21 October 2021
  • 1 reply


Right now, we’re adding new profiles to a list from our backend.

However, these profiles location are set using the ip address of the requester (so the server ip address in this case)

It seems like it’s possible to set the location but not to force the ip address?

Cool to have the flexibility, but if you don’t know the location, you’re going to use the ip address anyway - as imperfect as it is - and in that case, it forces all server-side api clients to re-implement ip geo-location.

In case that helps: we’re using node-klaviyo


Best answer by alex.hong 22 October 2021, 02:52

View original

1 reply

Userlevel 6
Badge +51

Hi there @willo,

Welcome to the Community and thanks for posting your question here! We appreciate all opportunities to share info as well as learn from each other.

To get a general understanding for others, Klaviyo is able to identify and automatically set a profile's location by using the geo-IP location when a contact is identified/cookied. For example when a contact fills out a signup form, clicks on a Klaviyo email, etc. In addition, if someone has made a purchase, the billing address shared as part of the Placed Order event will be used as the verified source for a contact's location.

Unfortunately, there isn't a way to manually set a contact's location using geo-IP location. For now, you could actually manually set a contact's location using a .CSV import. I will gladly put this in as a product request so that our team has eyes on this as an idea for an upcoming potential feature! It seems like a great idea and I can see how it might be very beneficial to have one. 

Here are also two great community posts that also go into how Klaviyo and geo-IP location works!

All the best,