Anonymous tracking lets the SDK send requests without user recognition in Mapp Intelligence. Use it only when your privacy setup requires it, because it reduces data quality and disables some identity-related features.
Important
Anonymous tracking significantly limits user recognition and session continuity. Enable it only when this behavior is required by your privacy concept.
What changes when anonymous tracking is enabled
User recognition across sessions is reduced.
Session detection can become less stable.
User matching with Mapp Engage is not available.
Functions such as
getEverId()andsetEverId(...)should not be used as part of a user-centric setup while anonymous tracking is active.
Methods
Method | Description |
|---|---|
| Enables or disables anonymous tracking and optionally suppresses additional parameters. |
| Sets a temporary session ID that can be used only when anonymous tracking is enabled. |
| Returns whether anonymous tracking is currently active. |
Enable anonymous tracking
Webtrekk.getInstance().anonymousTracking(
enabled = true,
suppressParams = setOf("cd", "uc703", "uc1")
)
Webtrekk.getInstance().setTemporarySessionId("user-xyz-123456789")Disable anonymous tracking
Webtrekk.getInstance().anonymousTracking(enabled = false)Best practices
Prefer configuring anonymous tracking centrally if it should apply to the full app experience.
Use
suppressParamsonly for the additional values that must be removed.If you set a temporary session ID, treat it as session-scoped only. It should not be used as a long-term user identifier.
Do not combine anonymous tracking with user matching.
Related pages: User Matching, Configure Global Tracking.