Settings API - Cookie schema table

Dynatrace RUM uses cookies to correlate user actions with backend performance metrics. You can change the cookie settings here. Learn more about RUM cookies in our documentation.

Schema ID
Schema groups
Scope
builtin:rum.web.injection.cookie
  • group:rum-injection
APPLICATION - Web application
GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:rum.web.injection.cookie
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:rum.web.injection.cookie
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:rum.web.injection.cookie

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
Use the Secure cookie attribute for cookies set by Dynatrace
useSecureCookieAttribute
boolean

If your application is only accessible via SSL, you can add the Secure attribute to all cookies set by Dynatrace. This setting prevents the display of warnings from PCI-compliance security scanners. Be aware that with this setting enabled Dynatrace correlation of user actions with server-side web requests is only possible over SSL connections.

required
SameSite cookie attribute
sameSiteCookieAttribute
enum

Define if your cookie should be restricted to a first-party or same-site context. Learn more about SameSite cookies and available values.

  • NOTSET
  • NONE
  • LAX
  • STRICT
required
Domain to be used for cookie placement
cookiePlacementDomain
text

Specify an alternative domain for cookies set by Dynatrace. Keep in mind that your browser may not allow placement of cookies on certain domains (for example, top-level domains). Before typing a domain name here, confirm that the domain will accept cookies from your browser. For details, see the list of forbidden top-level domains.

optional