Returns the most recent OneAgent JavaScript tag with SRI for manual insertion into your web application code. It includes configuration, a reference to the monitoring code, and an integrity hash. For more information on SRI support for RUM, see Use Subresource Integrity (SRI) for Real User Monitoring code.
| GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/rum/oneAgentJavaScriptTagWithSri/{applicationId} |
| Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/rum/oneAgentJavaScriptTagWithSri/{applicationId} |
To execute this request, you need an access token with rumManualInsertionTags.read scope.
To learn how to obtain and use it, see Tokens and authentication.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| applicationId | string | The ID of the web application. | path | required |
| scriptExecutionAttribute | string | Specifies the script execution attribute: async, defer, or none. If specified, this overrides the configured value.
| query | optional |
The response includes a text/plain payload containing the most recent version of the OneAgent JavaScript tag with SRI for the specified application.