Skip to content

Commit

Permalink
APSR-1767: Move GTM script inside HTML head
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsgp committed Dec 28, 2023
1 parent 5d4490b commit 9c4348c
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@

@(serviceName: ServiceName, version: ApiVersionNbr, apiName: String)(implicit requestHeader: RequestHeader, appConfig: ApplicationConfig, messages: Messages)

<!--[if !IE]>-->
<script
src="@appConfig.trackingConsentUrl"
id="tracking-consent-script-tag"
data-gtm-container="@appConfig.gtmContainer"
data-language="@messages.lang.code"
></script>
<!--<![endif]-->

<head>
<title>@apiName - HMRC Developer Hub - GOV.UK</title>
<!--[if !IE]>-->
<script
@CSPNonce.attr
src="@appConfig.trackingConsentUrl"
id="tracking-consent-script-tag"
data-gtm-container="@appConfig.gtmContainer"
data-language="@messages.lang.code"
></script>
<!--<![endif]-->
</head>

<div id="redoc"></div>
Expand Down

0 comments on commit 9c4348c

Please sign in to comment.