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.

To use SDK class and methods, add ATInternet namespace to your Page.


Tagging examples

  1. Tagging a screen with geolocalisation data
    private void SendLocation()
         tracker.Locations.Add(44.83, -0.68);
  2. Tagging a screen with geolocalisation data and use of dispatcher
    private void SendLocation()
         tracker.Locations.Add(44.8372128, -0.6870637);
         tracker.CustomObjects.Add(new Dictionary<string, object>() {
               { "country","fr"}
         tracker.CustomVars.Add(1, "french", CustomVarType.Screen);
         Screen mapScreen = tracker.Screens.Add("Map");
         mapScreen.Level2 = 1;

Location class



NameTypeDefault valueDescription
LatitudeDouble-1.0Gets or sets latitude
LongitudeDouble-1.0Gets or sets longitude
Last update: 29/10/2015