Settings API - End users' data privacy schema table
End users' data privacy (builtin:preferences.privacy)
Use the settings on this page to mask the personal data of your end users and ensure your organization's compliance with data-privacy regulations, including GDPR.
Unless otherwise stated, all privacy settings below apply to both the data captured with RUM Javascript and the data captured by OneAgent on the server side. These settings ensure that none of your end-users' personal data are stored by Dynatrace. For complete details on ensuring the data privacy of your end users, see Data privacy and security in Dynatrace Help.
Schema ID | Schema groups | Scope |
---|---|---|
builtin:preferences.privacy |
| APPLICATION - Web applicationenvironment |
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:preferences.privacy |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:preferences.privacy | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:preferences.privacy |
Authentication
To execute this request, you need an access token with Read settings (settings.read
) scope. To learn how to obtain and use it, see Tokens and authentication.
Parameters
Property | Type | Description | Required |
---|---|---|---|
masking | Masking | - | required |
User trackinguserTracking | UserTracking | - | required |
Opt-in modedataCollection | DataCollection | To provide your end users with the ability to decide for themselves if their activities should be tracked to measure application performance and usage, enable opt-in mode. | required |
Do Not TrackdoNotTrack | DoNotTrack | Most modern web browsers have a privacy feature called "Do Not Track" that individual users may have enabled on their devices. Customize how Dynatrace should behave when it encounters this setting. | required |
The Masking
object
Property | Type | Description | Required |
---|---|---|---|
Mask personal data in URIspersonalDataUriMaskingEnabled | boolean | Dynatrace captures the URIs and request headers sent from desktop and mobile browsers. Dynatrace also captures request data on the server-side to enable detailed performance analysis of your applications. For complete details, visit Mask personal data in URIs. URIs, query strings, headers, exception messages and data captured for request attributes can contain personal data. When this setting is enabled, Dynatrace automatically detects UUIDs, credit card numbers, email addresses, IP addresses, and other IDs and replaces those values with placeholders. The personal data is then masked in PurePath analysis, error analysis, user action naming for RUM, and elsewhere in Dynatrace. | required |
Mask user actions (web applications only)userActionMaskingEnabled | boolean | When Dynatrace detects a user action that triggers a page load or an AJAX/XHR action. To learn more about masking user actions, visit Mask user actions. When Dynatrace detects a user action that triggers a page load or an AJAX/XHR action, it constructs a name for the user action based on:
In most instances, the default approach to user-action naming works well, resulting in user-action names such as:
In rare circumstances, confidential data (for example, email addresses, usernames, or account numbers) can be unintentionally included in user action names because the confidential data itself is included in an HTML element label, attribute, or other value (for example, click on "my Account Number: 1231231"...). If such confidential data appears in your application's user action names, enable the Mask user action names setting. This setting replaces specific HTML element names and values with generic HTML element names. With user-action name masking enabled, the user action names listed above appear as:
| required |
The UserTracking
object
Property | Type | Description | Required |
---|---|---|---|
Use persistent cookies for user trackingpersistentCookieEnabled | boolean | When enabled, Dynatrace places a persistent cookie on all end-user devices to identify returning users. | required |
The DataCollection
object
Property | Type | Description | Required |
---|---|---|---|
Data-collection and opt-in modeoptInModeEnabled | boolean | With Data-collection and opt-in mode enabled, Real User Monitoring data isn't captured until dtrum.enable() is called for specific user sessions. | required |
The DoNotTrack
object
Property | Type | Description | Required |
---|---|---|---|
Comply with "Do Not Track" browser settingscomplyWithDoNotTrack | boolean | - | required |
doNotTrack | enum |
| required |