client-side-location-info
Reactive icon

Client Side Location Info

Stable version 1.0.1 (Compatible with OutSystems 11)
Uploaded
 on 02 November 2024
 by 
0.0
 (0 ratings)
client-side-location-info

Client Side Location Info

Details
Obtain IP adress and city where the user accessing the application is located.
Read more

Module Description:

This module is designed to obtain basic geographical information about the client through two external APIs. Its main functionality is to determine the IP address and the name of the city where the user accessing the application is located. This information can be used to personalize the user experience, display localized content, or log relevant data about the client’s location.

Main Features:

  1. IP Address Retrieval:The module connects to an external API to obtain the client's public IP address. The API returns the IP of the device from which the client is accessing the application.

  2. City Determination:Using the obtained IP address, the module makes a second call to a geolocation API. This API identifies the geographical location of the client based on the IP and returns relevant information such as the name of the city.

Application Usage:

The module can be integrated into any screen or flow of the application that requires information about the client's location. The information returned by the APIs can be used to:

  • Display specific content to the user based on their city or region.
  • Log information for statistical or analytical purposes.
  • Personalize messages or settings within the application based on the client's location.

Benefits:

  • Personalization of the user experience: Adapting content or services according to the client’s location.
  • Geographical data logging: Useful for obtaining demographic information or user segmentation.
  • Quick integration: The module can be easily integrated with other parts of the system, allowing for fast data retrieval without disrupting the application’s flow.

APIs Used:

  • IPIFY: External service that provides the client's public IP address.
  • Geolocation API: Service that uses the provided IP to return the user’s geographical location, including the name of the city. This api needs API Key unless it has free plans.
Release notes (1.0.1)

Changes notes:

- Using new public api

- No api key needed

- Better code

License (1.0.1)
Reviews (0)
Team
Other assets in this category