clean up the cookie banner code
This commit is contained in:
parent
ce44f744c2
commit
d792ed815e
|
@ -13,20 +13,19 @@
|
||||||
</title>
|
</title>
|
||||||
<link rel="stylesheet" href="{{root}}style.css" />
|
<link rel="stylesheet" href="{{root}}style.css" />
|
||||||
<link rel="stylesheet" href="{{root}}fonts.css" />
|
<link rel="stylesheet" href="{{root}}fonts.css" />
|
||||||
<!-- LCSB Matomo integration -->
|
|
||||||
<script src="/assets/vendor/js/jquery-3.6.0.min.js"></script>
|
|
||||||
<script>
|
<script>
|
||||||
const settings = {
|
// settings for the provided by analytics.uni.lu (that drives the cookie banner)
|
||||||
expires: "180",
|
const settings = {
|
||||||
matomoURL: "https://analytics.lcsb.uni.lu/hub/",
|
expires: "180",
|
||||||
siteID: "3",
|
matomoURL: "https://analytics.lcsb.uni.lu/hub/",
|
||||||
accept_all_text: "Aggregate statistics cookies accepted",
|
siteID: "3",
|
||||||
only_necessary_text: "Only necessary cookies accepted",
|
accept_all_text: "Aggregate statistics cookies accepted",
|
||||||
cookieName: "lap",
|
only_necessary_text: "Only necessary cookies accepted",
|
||||||
bots: /bot|crawler|spider|crawling/i,
|
cookieName: "lap",
|
||||||
timeout_hidebanner: "500",
|
bots: /bot|crawler|spider|crawling/i,
|
||||||
cookieDomain: "howto.lcsb.uni.lu",
|
timeout_hidebanner: "500",
|
||||||
}
|
cookieDomain: window.location.hostname,
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
<script src="https://analytics.lcsb.uni.lu/lap/static/js/lap.js"></script>
|
<script src="https://analytics.lcsb.uni.lu/lap/static/js/lap.js"></script>
|
||||||
<link rel="stylesheet" type="text/css" href="https://analytics.lcsb.uni.lu/lap/static/css/lap.css">
|
<link rel="stylesheet" type="text/css" href="https://analytics.lcsb.uni.lu/lap/static/css/lap.css">
|
||||||
|
|
Loading…
Reference in a new issue