[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-27 UTC。"],[],[],null,["# User privacy in WebView reporting\n\nFor users who [share usage statistics and diagnostics with\nGoogle](https://support.google.com/accounts/answer/6078260), `WebView` sends\nusage statistics and crash reports to Google. Usage statistics contain\ninformation such as system information, active field trials, feature usage,\nresponsiveness, performance, and memory usage. They don't include any personally\nidentifying details.\n\nUsage statistics\n----------------\n\nCollected usage statistics are used to improve\n[`WebView`](/reference/android/webkit/WebView) performance, assess the impact of\nchanges to existing features, and guide the development of new features.\n\nThe stable channel of `WebView` gathers usage statistics from a small percentage\nof users. Pre-stable channels might sample from a greater percentage of users.\n\nStarting with `WebView` 71, these statistics are associated with the app package\nname. This lets Google proactively monitor and address `WebView` issues that\nmight degrade the performance of specific apps without causing crashes.\n\nBefore `WebView` 104, for any given app, at most 10% of users upload reports\ncontaining the package name. Other users upload blank package names or no upload\nrecords at all.\n\nStarting with `WebView` 104, app package names are always recorded for apps that\nare in a list of allowed popular apps. Other apps upload blank package names.\n\n### Opt out usage statistics\n\nApps can opt out of usage statistics collection by including the following in\nthe `\u003capplication\u003e` section of their manifest: \n\n \u003cmeta-data android:name=\"android.webkit.WebView.MetricsOptOut\" android:value=\"true\" /\u003e\n\nThis disables usage statistics collection for all users of the app, regardless\nof whether they have the corresponding setting enabled. It doesn't disable crash\nreporting.\n| **Note:** Opting out of usage statistics collection decreases Google's ability to preemptively detect and address problems in `WebView` updates.\n\n### Opt out of metrics collection\n\n`WebView` has the ability to upload anonymous diagnostic data to Google when the\nuser gives their consent. Data is collected on a per-app basis for each app that\ninstantiates a `WebView`. You can opt out of this feature by creating the\nfollowing tag in the manifest's `\u003capplication\u003e` element: \n\n```xml\n\u003cmanifest\u003e\n \u003capplication\u003e\n ...\n \u003cmeta-data android:name=\"android.webkit.WebView.MetricsOptOut\"\n android:value=\"true\" /\u003e\n \u003c/application\u003e\n\u003c/manifest\u003e\n```\n\nData is only uploaded from an app if the user consents **and** the app doesn't\nopt out. For more information about opting out of diagnostic data reporting, see\nthe following section on crash reports.\n\nCrash reports\n-------------\n\nCrash reports are collected when a\n[`WebView`](/reference/android/webkit/WebView) object is likely to be the cause\nof the crash. Crash reports contain information required to determine the state\nof the `WebView` at the time of the crash. This includes system information,\nactive field trials, and stack memory from the app required to generate the\nsequence of calls made within the thread.\n\nStack memory is sanitized to remove strings, with the intent of capturing only\nthe information required to generate stack traces. No URLs are collected as part\nof usage statistics or crash reports.\n\nPseudonymous identifiers and data privacy\n-----------------------------------------\n\nCrash reports and usage statistics collected by `WebView` each contain a\nrandomly generated 128-bit token used to pseudonymously de-duplicate reports and\nmaintain accuracy in statistics. Token values aren't shared between apps, and\ncrash reports and usage statistics have independent tokens. All apps' usage\nstatistics tokens are cleared when the user opts out of sharing usage statistics\nand diagnostics with Google. The crash report token is cleared when the app\ncache is cleared. Both tokens are cleared when the app is uninstalled or app\ndata is cleared.\n\nAdditional resources\n--------------------\n\nTo learn more about user privacy, see [Build apps to be private](/privacy)."]]