I want to get the customer geo IP in magento2. I used some third party calls but If I enable proxy means that thing is not working. How can I get the original customer IP in magento2 anybody has idea means please tell me.

I referred this one but in proxy, it's not working, magento 2 : Track country with ip address

  • Is your question asking how to get the real/original IP of someone using a proxy? – John Feb 13 '18 at 11:59
  • I need to get customer location to give offers to those customers likewise am asking @John – Jeeva Chezhiyan Feb 13 '18 at 12:16
  • Ah, so a discount/offers based on customers from a particular country. I'd suggest updating your question to make this clearer as I didnt entirely understand what you wanted at first – John Feb 13 '18 at 12:17

I have used this extension to get country code of customer. RefernceLink

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.