app/com/gu/viewer/views/main.scala.html (25 lines of code) (raw):

@(title: String, googleTrackingId: String)(content: Html) <!DOCTYPE html> <html lang="en"> <head> <title>@title</title> <script> this._clientConfig = { gaId: "@Html(googleTrackingId)" } </script> <link rel="stylesheet" type="text/css" href="@routes.Assets.versioned("styles/index.css")" /> <link rel="shortcut icon" type="image/png" href="@routes.Assets.versioned("images/fav-viewer-32.png")"/> </head> <body class="is-mobile-portrait"> @content @overlay() <!-- Begin GA --> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); </script> <!-- End GA --> <script src="@routes.Assets.versioned("bundle.js")"></script> </body> </html>