Skip to content

Commit 4f4ff39

Browse files
authored
Merge pull request #263 from rasummer/remove-cookie-compilance-and-tracking
Remove cookie script and google analytics
2 parents 8da8a16 + 40acb48 commit 4f4ff39

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

src/main/twirl/com/lightbend/lagom/docs/main.scala.html

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
<meta name="viewport" content="width=device-width,maximum-scale=1"/>
1717
<link href="//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700" rel="stylesheet" type="text/css"/>
1818
<link rel="stylesheet" href="@context.path/@context.assetFingerPrint-all-styles-concat.css" type="text/css">
19-
<!-- OneTrust Cookies Consent Notice (Production Standard, lagomframework.com, en-GB) start -->
20-
<script src="https://optanon.blob.core.windows.net/consent/1ee3f0d6-9ed5-4b9e-bed7-ce6faaeaca5d.js" type="text/javascript" charset="UTF-8"></script>
21-
<!-- OneTrust Cookies Consent Notice (Production Standard, lagomframework.com, en-GB) end -->
2219
@header
2320
</head>
2421
<body>
@@ -134,12 +131,10 @@ <h3>Social networks</h3>
134131
<div class="row lb-legal">
135132
<div class="small-12 columns">
136133
<p>
137-
&copy; Lightbend 2018 - 2024 |
134+
&copy; Lightbend 2018 - 2025 |
138135
<a href="https://www.lightbend.com/legal/licenses" target="_blank">Licenses</a> |
139136
<a href="https://www.lightbend.com/legal/terms" target="_blank">Terms</a> |
140-
<a href="https://www.lightbend.com/legal/privacy" target="_blank">Privacy Policy</a> |
141-
<a href="@context.path/cookie.html">Cookie Listing</a> |
142-
<a class="optanon-toggle-display">Cookie Settings</a>
137+
<a href="https://www.lightbend.com/legal/privacy" target="_blank">Privacy Policy</a>
143138
</p>
144139
</div>
145140
</div>
@@ -152,17 +147,5 @@ <h3>Social networks</h3>
152147
</div>
153148
</body>
154149
<script src="@context.path/@context.assetFingerPrint-all-scripts-concat.js"></script>
155-
@* Footer needs to be before GA, so that page experiments load first which ensure that GA can track them *@
156150
@footer
157-
<script type="text/plain" class="optanon-category-2">
158-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
159-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
160-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
161-
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
162-
163-
ga('create', 'UA-84991267-1', 'auto');
164-
ga('send', 'pageview');
165-
166-
(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');
167-
</script>
168151
</html>

0 commit comments

Comments
 (0)