Skip to content

Commit 5430c8c

Browse files
authored
chore(android): Add code snippet to enable UI events transactions (#5128)
1 parent 33e9565 commit 5430c8c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/wizard/android/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ Add your DSN to the manifest file.
6464
<!-- Set tracesSampleRate to 1.0 to capture 100% of transactions for performance monitoring.
6565
We recommend adjusting this value in production. -->
6666
<meta-data android:name="io.sentry.traces.sample-rate" android:value="1.0" />
67+
<!-- Enable user interaction tracing to capture transactions for various UI events (such as clicks or scrolls). -->
68+
<meta-data android:name="io.sentry.traces.user-interaction.enable" android:value="true" />
6769
</application>
6870
```
6971

@@ -139,6 +141,6 @@ Check out [the documentation](https://docs.sentry.io/platforms/android/performan
139141

140142
### Next Steps
141143

142-
Using ProGuard or R8 to obfuscate your app? Check out [our docs on how to set it up](https://docs.sentry.io/platforms/android/proguard/).
144+
Using ProGuard/DexGuard or R8 to obfuscate your app? Check out [our docs on how to set it up](https://docs.sentry.io/platforms/android/proguard/).
143145

144146
[The documentation](https://docs.sentry.io/platforms/android/configuration/) has more information about the many configurations and API available in Sentry's SDK.

0 commit comments

Comments
 (0)