---
title: Set up the extension - Android
description: Understand the benefits of upgrading to the CSQ SDK
lastUpdated: 11 March 2026
source_url:
  html: https://docs.contentsquare.com/en/csq-sdk-android/product-analytics/dxae-setup/
  md: https://docs.contentsquare.com/en/csq-sdk-android/product-analytics/dxae-setup/index.md
---

This page will guide you to set up Mobile Experience Analytics Extension for Contentsquare Product Analytics.

This will supercharge the Product Analytics platform with:

* Powerful Session Replay
* Analysis capabilities of Mobile API Errors and Crashes

This guide assumes that you have already implemented the [CSQ SDK for Product Analytics](../).

## Enable the extension in the Product Analytics UI

1. In Product Analytics, navigate to **Account** > **Manage** > **Replay & Heatmaps**. If this is your first time setting up Session Replay, you will see a blank page.
2. Select **Add new site or mobile app** to launch the setup wizard.
3. Choose **Mobile** at the top of the page to select the platform you are configuring.

Additional Mobile Apps

You will need to create a separate mobile app configuration for each mobile app (platform) you wish to track within a single Product Analytics environment. New app configurations can be added by clicking the Add web site or mobile app button in the top right corner of the **Account** > **Manage** > **Replay & Heatmaps** page.

## Add the Errors plugins

Add the Contentsquare Network Gradle plugin to the plugins block in both your root-level and app-level Gradle files:

* Kotlin

  **build.gradle.kts**

  ```kotlin
  plugins {
     id("com.contentsquare.error.analysis.network") version "1.7.0" apply false
  }
  ```

  **app/build.gradle.kts**

  ```kotlin
  plugins {
     id("com.contentsquare.error.analysis.network")
  }
  ```

* Groovy

  **build.gradle**

  ```groovy
  plugins {
     id "com.contentsquare.error.analysis.network" version "1.7.0" apply false
  }
  ```

  **app/build.gradle**

  ```groovy
  plugins {
     id "com.contentsquare.error.analysis.network"
  }
  ```

Once this is done, the SDK running on your app will immediately start collecting the required data to provide Session Replay and Errors / Crashes (if enabled) into the Product Analytics platform.

## Session Replay masking

By default the entire user interface is masked when using Session Replay. Contentsquare offers two approaches to manage masking of the UI:

* Un-mask the UI on a per-element basis using the data masking APIs
* Set masking to be turned off by default, then re-mask parts of the UI that might contain Personal Data using the data masking APIs

See [Data masking API docs](../../experience-analytics/session-replay/#personal-data-masking) for more information.
