Experience Analytics extension
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.
Set up the Extension
Section titled Set up the ExtensionStep 1: Enable the extension in the Product Analytics UI
Section titled Step 1: Enable the extension in the Product Analytics UI- 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.
- Select Add new site or mobile app to launch the setup wizard.
- Choose Mobile at the top of the page to select the platform you are configuring.
Step 2: Add the Errors plugins
Section titled Step 2: Add the Errors pluginsAdd the Contentsquare Network Gradle plugin to the plugins block in both your root-level and app-level Gradle files:
plugins { id("com.contentsquare.error.analysis.network") version "1.6.0" apply false}
plugins { id("com.contentsquare.error.analysis.network")}
plugins { id "com.contentsquare.error.analysis.network" version "1.6.0" apply false}
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
Section titled Session Replay maskingBy 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, as well as sample masked and un-masked screenshots.