If you collect and/or use your users’ geolocalisation data, you must inform these users of this data collection, the purpose of its treatment, and any possible data transfers to third parties. You must obtain the consent of the user and provide him/her the means of refusing collection and treatment of this data. You must also declare to the qualified authorities in your country that you are using localisation data in your analyses. If this data can be cross-matched with nominative personal data (measuring identified visitors with imported visitor indicators and DataExplorer subscription), you must also declare to these authorities the exact nature of the cross-matchable data.

You can add geolocalisation data (latitude, longitude) in a screen hit.

Only the two first digits after the decimal separator will be taken into account.


Get off to a good start

Once your tag is initialised, you can add geolocalisation data to your screen hits.

If you want to use variables, be sure to import ATInternet, Tracker, Screen and Location classes in your Activity.


Tagging examples

  1. Tagging a screen with geolocalisation data
  2. Tagging a screen with geolocalisation data and use of dispatcher

Location class



Name Type Default value Description
latitude Double -1.0 Gets or sets latitude
longitude Double -1.0 Gets or sets longitude
Was this post helpful?
Last update: 05/04/2018