How to fetch address entities from IP address in Salesforce

It is crucial for you to know the location from where your leads are coming. Why? Because it allows you to focus on the right customer data! These address entities help you structure your goals in a better way to provide your customers with the best experiences you’re trying to deliver. Today, to make your business achieve its goals easily, we have come up with a smart solution to fetch address entities from IP addresses in Salesforce.

 

In this solution, we are going to tell you how you can fetch address entities from the IP address of your leads. But, first, let’s know why it is important.

How do the address entities of your leads help your business?

Knowing the location of your leads helps you know a lot of things as a business. Some of them are;

 

  • It allows you to focus on the marketing campaigns that work the best.
  • Precisely track where your campaigns are working and what needs to be improved.
  • Monitor which channels produce more leads or where it requires more effort from your marketing team.

Please click here for Live Demo

Working Code

Apex Controller:-

Visualforce Page:-

Conclusion

We hope our solution helped you in some or another way. If you try out this solution for your business, then do share your experiences with us. Also, subscribe to our newsletter to stay updated with the latest developments in and around Salesforce. We will be back with another solution that will make your business smooth and the Salesforce journey a lot easier.

 

Till then, happy learning! 🙂

Our Location worldwide
India
3rd Floor, A-10, Pegasus Tower, Sector 68, Noida, Uttar Pradesh 201301 +91-1203117884
SR Tower 2nd Floor Hydel Gate Haldwani Uttarakhand 263126 +91-5946359996
USA
333 West Brown Deer Road Unit G – 366 Milwaukee WI, USA 53217 +1(262) 310-7818
UK
7 Bell Yard, London, WC2A 2JR +44 20 3239 9428
Canada
HIC Global Solutions INC
43 Lafferty Lane, Richmond Hill, L4C 3N8, CA +1(262) 310-7818