--- title: "Retrieve Active Global Configuration" slug: "mapp-intelligence-android-sdk-v5-retrieve-active-global-configuration" description: "Inspect the active runtime configuration in Mapp Intelligence Android SDK v5 to verify tracking, privacy, and delivery settings." updated: 2026-04-24T10:43:11Z published: 2026-04-24T10:43:11Z canonical: "docs.mapp.com/mapp-intelligence-android-sdk-v5-retrieve-active-global-configuration" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.mapp.com/llms.txt > Use this file to discover all available pages before exploring further. # Retrieve Active Global Configuration `getCurrentConfiguration()` returns the SDK's active runtime state as an `ActiveConfig` object. This is mainly useful for debugging, support checks, and verifying which settings are currently applied. > [!WARNING] > Important > > Call this only after the SDK has been initialized. ## Method ```kotlin val activeConfig = Webtrekk.getInstance().getCurrentConfiguration() ``` ## What the SDK returns The returned `ActiveConfig` object includes the current runtime values for: - track IDs and track domain - Ever ID and Ever ID generation mode - user agent and user matching ID - anonymous tracking, opt-out state, and temporary session ID - request interval, batch support, and batch size - auto-tracking state for activities and fragments - logging, exception tracking, migration, and version-in-request flags ## Kotlin example ```kotlin val activeConfig = Webtrekk.getInstance().getCurrentConfiguration() println(activeConfig) ``` ## When to use it - Verify the currently active runtime configuration during implementation. - Check whether runtime changes such as opt-out, anonymous tracking, or changed track IDs are already active. - Inspect values before debugging delivery or privacy-related issues. Related pages: [Configure Global Tracking](https://docs.mapp.com/docs/en/configure-global-tracking), [Get the User Ever ID](https://docs.mapp.com/docs/en/mapp-intelligence-android-sdk-v5-get-user-ever-id).