Getting Started

How to enable GeoLocation?

6 views December 24, 2015 March 10, 2019 admin 0

In short, your must upload the GeoLite2 DB to your server and enable Google Maps.

1. Upload the GeoLite2 DBs

GeoLite2 databases are free IP GeoLocation databases and are needed to collect your users’ geographical location. Therefore, you must:

  1. Download GeoLite2 City and GeoLite2 Country databases.
  2. Unzip the files and place them in the directory @app/components/analytics/enricher/GeoIP.
  3. Verify that the files match these paths:
    • @app/components/analytics/enricher/GeoIP/GeoLite2-City.mmdb
    • @app/components/analytics/enricher/GeoIP/GeoLite2-Country.mmdb

2. Add a Google Maps Api Key to the App

  1. Get a key for Google Maps JavaScript API
  2. Open the @app/config/params.php file.
  3. Add the Google Maps JavasCript Api key to 'Google.Maps.apiKey'.
  4. Save the file.

Note: The Google Maps Api Key is required by the Submission Manager to show you the sender information.

Was this helpful?