Skip to content

Remove cookie script and google analytics #263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 2 additions & 19 deletions src/main/twirl/com/lightbend/lagom/docs/main.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
<meta name="viewport" content="width=device-width,maximum-scale=1"/>
<link href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" href="@context.path/@context.assetFingerPrint-all-styles-concat.css" type="text/css">
<!-- OneTrust Cookies Consent Notice (Production Standard, lagomframework.com, en-GB) start -->
<script src="https://optanon.blob.core.windows.net/consent/1ee3f0d6-9ed5-4b9e-bed7-ce6faaeaca5d.js" type="text/javascript" charset="UTF-8"></script>
<!-- OneTrust Cookies Consent Notice (Production Standard, lagomframework.com, en-GB) end -->
@header
</head>
<body>
Expand Down Expand Up @@ -134,12 +131,10 @@ <h3>Social networks</h3>
<div class="row lb-legal">
<div class="small-12 columns">
<p>
&copy; Lightbend 2018 - 2024 |
&copy; Lightbend 2018 - 2025 |
<a href="https://www.lightbend.com/legal/licenses" target="_blank">Licenses</a> |
<a href="https://www.lightbend.com/legal/terms" target="_blank">Terms</a> |
<a href="https://www.lightbend.com/legal/privacy" target="_blank">Privacy Policy</a> |
<a href="@context.path/cookie.html">Cookie Listing</a> |
<a class="optanon-toggle-display">Cookie Settings</a>
<a href="https://www.lightbend.com/legal/privacy" target="_blank">Privacy Policy</a>
</p>
</div>
</div>
Expand All @@ -152,17 +147,5 @@ <h3>Social networks</h3>
</div>
</body>
<script src="@context.path/@context.assetFingerPrint-all-scripts-concat.js"></script>
@* Footer needs to be before GA, so that page experiments load first which ensure that GA can track them *@
@footer
<script type="text/plain" class="optanon-category-2">
(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');

ga('create', 'UA-84991267-1', 'auto');
ga('send', 'pageview');

(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-MT586J3');
</script>
</html>