Can I track a user's login IP?

  • 1
  • 2
  • Question
  • Updated 2 years ago
  • Answered

Is it possible to track the IP address that a user is logging in from? 

Photo of George

George

  • 180 Points 100 badge 2x thumb

Posted 2 years ago

  • 1
  • 2
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,064 Points 20k badge 2x thumb
You need to use an external webservice to get the ip address as it is not expose through any QuickBase API. Here is one:

$.getJSON('https://freegeoip.net/json/?callback=?', function(data) {
  console.log(JSON.stringify(data, null, 2));
});

Here is the redacted response I receive:

{
  "ip": "xxx.xxx.xxx.xxx",
  "country_code": "US",
  "country_name": "United States",
  "region_code": "MI",
  "region_name": "Michigan",
  "city": "Ann Arbor",
  "zip_code": "48105",
  "time_zone": "America/Detroit",
  "latitude": 42.xxx,
  "longitude": -83.xxx,
  "metro_code": 505
}

To track your users surreptitiously you would need to incorporate similar code into some QuickBase page along with appropriate logic and a table to store the relevant results which will depend on your surveillance requirements. If you need personalized assistance spying on your users feel free to contact me off-world using the information in my profile.

FWIW, using script you can monitor other aspects of your user's QuickBase behavior such as the individual keystrokes, mouse movements or partially filled out forms. 

UPDATE: I think there is an elevated QuickBase plan that may give you some access to or control over the ip address but I do not have access to such.