Web application configuration API - GET data privacy of the default application

Gets data privacy parameters of the default web application of your Dynatrace environment.

The request produces an application/json payload.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/config/v1/applications/web/default/dataPrivacy
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/config/v1/applications/web/default/dataPrivacy

Authentication

To execute this request, you need the Read configuration (ReadConfig) permission assigned to your API token. To learn how to obtain and use it, see Authentication.

Parameters

The request doesn't provide any configurable parameters.

Response format

The ApplicationDataPrivacy object

Data privacy settings of the application.

Element Type Description
metadata ConfigurationMetadata
identifier string

Dynatrace entity ID of the web application.

dataCaptureOptInEnabled boolean

Set to true to disable data capture and cookies until JavaScriptAPI dtrum.enable() is called.

persistentCookieForUserTracking boolean

Set to true to set persistent cookie in order to recognize returning devices.

doNotTrackBehaviour string

How to handle browsers' "Do Not Track": IGNORE_DO_NOT_TRACK, or CAPTURE_ANONYMIZED, or DO_NOT_CAPTURE.

The doNotTrackBehaviour element can hold these values.
sessionReplayConfig SessionReplaySetting

The SessionReplaySetting object

Session replay settings

Element Type Description
enabled boolean

SessionReplay Enabled.

costControlPercentage integer

Session replay sampling rating in percentage.

The ConfigurationMetadata object

Metadata useful for debugging

Element Type Description
configurationVersions integer[]

A Sorted list of the version numbers of the configuration.

clusterVersion string

Dynatrace server version.

Possible values

Possible values for the doNotTrackBehaviour element in the ApplicationDataPrivacy object:

  • CAPTURE_ANONYMIZED
  • DO_NOT_CAPTURE
  • IGNORE_DO_NOT_TRACK