Skip to content

WebView Monitoring

WebView RUM Data Monitoring

First complete SDK Initialization and RUM Configuration, then complete WebView automatic instrumentation integration or manual setup as appropriate for your project.

WebView Collection Scope

The host configuration is used for Bridge selection and should not be used as a security validation mechanism for page origins.

Initialize Web Pages

After completing the App-side configuration above, proceed to Page Initialization, then verify data reporting according to WebView Data Verification.

To record WebView pages, see Android WebView Session Replay.

WebView Log Collection

ft-sdk >= 1.7.5 supports receiving Web SDK logs through FTWebViewJavascriptBridge and passing them to the Android SDK for processing and upload.

For Web log SDK integration, see Browser Log Collection. On the Android side, enable setEnableWebViewLog(true) in Log Configuration, and set setEnableLinkRumData(true) as needed to associate RUM data. See that document for details about log sampling, level filtering, and cache configuration. For Bridge host restrictions, see WebView Collection Scope.

Common Troubleshooting Entry Points

  • If automatic collection for a custom WebView is not working, see Troubleshooting.
  • To manually identify a custom WebView, see the knownWebViewClasses configuration description in App Integration.

Feedback

Is this page helpful?