- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
03-01-2013 06:36 AM - last edited on 08-28-2016 01:42 PM by kathleen_jo
I want to grab a vistiors IP address and run it through an API (http://www.ipaddressapi.com) in order to map the data returned into some variables and map them into our analytics tool.
Solved! Go to Solution.
03-01-2013 07:38 AM
03-01-2013 09:12 AM
03-01-2013 09:37 AM
03-01-2013 01:00 PM
03-04-2013 01:17 AM
03-05-2013 12:24 PM
06-30-2015 05:12 AM
04-14-2016 04:19 PM
Hi I'm trying to do the same and am fairly new to Tealium. Can you help me navigate this. I first went into extensions tab and see this. What should I do next? where do I insert this code
$.getJSON("http://jsonip.appspot.com?callback=?", function(data){ alert("Your ip: " + data.ip);
Am I doing this correctly?
04-14-2016 05:17 PM
Hello @Reena. Let me see if I can find someone to help! :-)
04-14-2016 05:26 PM
While we're waiting, @Reena, would you mind describing to me what you are trying to accomplish? Thank you and I look forward to your reply.
04-15-2016 11:45 AM - edited 04-15-2016 11:46 AM
@Reena This type of solution will have timing issues involoved. You will be making a call out to a third party service and then the question becomes... Are you wanting to delay sending data to your Tagging Vendors until after this data comes back? Is this service one you can depend on? A simple and more accurate approach would be to get this information from your web developer. They can add this information to the Data Layer and now you do not have a timing issue and you are not dependant on a third party service. Also make sure your company PII Privacy Policy allows you to capture your customer's IP address.
Copyright All Rights Reserved © 2008-2023