Respecting data privacy

 

Foreword

So that you can respect user privacy and be in accordance with the regulations in different countries, the tracker makes two features available:

  • Disabling user tracking
  • Hashing user IDs
 

Disabling user tracking

If your application offers a screen allowing the user to enable or disable statistical tracking, you can save this information via the static doNotTrack method of the Tracker class.

Hits will nonetheless be sent. Only the idclient variable enabling use tracking will contain the value “opt-out”

 

Examples

  1. Disabling user tracking

     
  2. Recovering user tracking status
 

Hashing user ID

The SDK allows for the automatic addition of user ID in your hits (Android ID, Advertising ID). You may also add your own user ID via the tracker’s setParam method.

To ensure visitor anonymity, all while keeping their identification in your analyses, it is possible to hash the unique ID (SHA-256). To do this, use the tracker’s setConfig method as follows:

 

 

Offline hit customization

You can configure where the offline hit are saved with the static method setDatabasePath of the ATInternet class.

If the path is incorrect, the database won’t be initialized and the offline hits will be lost

Was this post helpful?
Yes
No
Last update: 25/06/2018