Please note that using this function will significantly decrease data quality. Only use this function if required by your data privacy manager.

Description

When using anonymous tracking, the SDK will not generate or store an everID in the local database. This prevents user recognition in Mapp Intelligence.

Optionally, the customer can suppress any parameter when anonymous tracking is enabled (such as the customer or orderID). Please note that tracking users anonymously can have an impact on both session detection (causing session breaks) as well as suppressing user recognition in between sessions. Matching users in between the Engage and Intelligence system will not work when anonymous tracking is active.

You can choose to enable anonymous tracking in Global Configuration. This option means using anonymous tracking by default without offering an opt-in or opt-out. It is possible to control anonymous tracking during runtime.

From version 5.1.5 (released November 2022) onwards, the option to generate a new everID or keep the old one if the user switches from anonymous tracking back to user-centric tracking is deprecated.You will need to update your configuration if you previously used anonymous tracking in Android.


The following functions are not available  when anonymous tracking is active:

  • Migrating from Intelligence version 4 to Intelligence version 5 without loss of historical data
  • GetEverId()
  • SetEverId()
  • User matching in between Mapp Engage and Mapp Intelligence

Data

Field Possible ValuesDescriptionDefault

enabled: Boolean

true, false

Enables anonymous tracking. When enabled, the requests are sent without the everID.disabled
suppressParams: Set<String>Set<String>Optionally, you can suppress additional parameters when anonymous tracking is enabled.empty

Methods

MethodDescription
abstract fun anonymousTracking(enabled: Boolean,
suppressParams: Set<String>)
Enables and disables anonymous tracking.

Examples

Enable Anonymous Tracking

You can enable anonymous tracking via a function in your application:

 Webtrekk.getInstance().anonymousTracking(enabled=true,suppressParams= setOf("cd", "uc703", "uc1"))
JAVA
 Set<String> mySet = new HashSet<>(Arrays.asList("cd", "uc703", "uc1"));
 Webtrekk.getInstance().anonymousTracking(true, mySet);
JAVA

Disable Anonymous Tracking 

You can disable anonymous tracking via a function in your application:

Webtrekk.getInstance().anonymousTracking(enabled=false)
JAVA
Set<String> mySet = new HashSet<>();
Webtrekk.getInstance().anonymousTracking(false, mySet);
JAVA

What is Anonymized (aka Cookieless) Tracking?