---
title: Advanced WebView tracking - WebView
description: Set up WebView tracking for your mobile platform, then use the Contentsquare tag to track consent, pageviews, transactions, errors, and more in WebViews
source_url:
  html: https://docs.contentsquare.com/en/webview-tracking-tag/
  md: https://docs.contentsquare.com/en/webview-tracking-tag/index.md
---

> ## Documentation index
> Fetch the complete documentation index at: https://docs.contentsquare.com/llms.txt
> Use this file to discover all available pages before exploring further.

Use the Contentsquare tag in your WebViews to track more of what happens in your pages. [Set up WebView tracking](https://docs.contentsquare.com/en/webview-tracking-tag/#prerequisites-set-up-webview-tracking) first if you haven't already.

* [Privacy](https://docs.contentsquare.com/en/webview-tracking-tag/privacy/): collect user consent from WebViews.
* [Track pageviews](https://docs.contentsquare.com/en/webview-tracking-tag/track-pageviews/): send a pageview for each screen displayed in a WebView.
* [Track transactions](https://docs.contentsquare.com/en/webview-tracking-tag/track-transactions/): send e-commerce transactions from WebViews.
* [Track dynamic variables](https://docs.contentsquare.com/en/webview-tracking-tag/track-dynamic-variables/): add custom context to the session from WebViews.
* [Session Replay](https://docs.contentsquare.com/en/webview-tracking-tag/session-replay/): include WebViews in replays and mask personal data.
* [Error Analysis](https://docs.contentsquare.com/en/webview-tracking-tag/error-analysis/): collect JS, API, and custom errors from WebViews.
* [Product Analytics](https://docs.contentsquare.com/en/webview-tracking-tag/product-analytics/): identify users and send custom events from WebViews.

See also [Collected data](https://docs.contentsquare.com/en/webview-tracking-tag/collected-data/) for what the tag sends to the SDK, and [Migrate from the legacy tag](https://docs.contentsquare.com/en/webview-tracking-tag/migrate-from-the-legacy-tag/) if you still use the legacy WebView Tracking Tag.

## Prerequisites: set up WebView tracking

These features require WebView tracking to work in your app. If you haven't set it up yet, follow the Track WebViews guide for your platform to add the tag to your pages, register your WebViews, and validate tracking:

* [iOS](https://docs.contentsquare.com/en/csq-sdk-ios/experience-analytics/track-webviews/)

* [Android](https://docs.contentsquare.com/en/csq-sdk-android/experience-analytics/track-webviews/)

* [Flutter](https://docs.contentsquare.com/en/csq-sdk-flutter/experience-analytics/track-webviews/)

* [React Native](https://docs.contentsquare.com/en/csq-sdk-react-native/experience-analytics/track-webviews/)


```json
{"@context":"https://schema.org","@type":"TechArticle","headline":"Advanced WebView tracking","description":"Set up WebView tracking for your mobile platform, then use the Contentsquare tag to track consent, pageviews, transactions, errors, and more in WebViews","url":"https://docs.contentsquare.com/en/webview-tracking-tag/","inLanguage":"en","dateModified":"2026-10-14T22:32:37+02:00","publisher":{"@type":"Organization","name":"Contentsquare","url":"https://www.contentsquare.com/"},"isPartOf":{"@type":"WebSite","@id":"https://docs.contentsquare.com/#website","name":"Contentsquare Technical Documentation","url":"https://docs.contentsquare.com/"}}
```