diff options
| author | Mirek Kratochvil <exa.exa@gmail.com> | 2023-06-18 18:06:08 +0200 |
|---|---|---|
| committer | Mirek Kratochvil <exa.exa@gmail.com> | 2023-06-18 18:06:08 +0200 |
| commit | 3ae86d936ee6c0e45431422a3ae00d0474faf43a (patch) | |
| tree | 5e3926cc436fec07f73fa6b523d1262aa893266b /templates/head.html | |
| parent | b0c445a6eb0a89e928c745f0bd5dabb9f65d5067 (diff) | |
| download | reploy-3ae86d936ee6c0e45431422a3ae00d0474faf43a.tar.gz reploy-3ae86d936ee6c0e45431422a3ae00d0474faf43a.tar.bz2 | |
integrate the cookie banner
Diffstat (limited to 'templates/head.html')
| -rw-r--r-- | templates/head.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/head.html b/templates/head.html index 63b19b5..a095790 100644 --- a/templates/head.html +++ b/templates/head.html @@ -13,4 +13,21 @@ </title> <link rel="stylesheet" href="{{root}}style.css" /> <link rel="stylesheet" href="{{root}}fonts.css" /> + <!-- LCSB Matomo integration --> + <script src="/assets/vendor/js/jquery-3.6.0.min.js"></script> + <script> + const settings = { + expires: "180", + matomoURL: "https://analytics.lcsb.uni.lu/hub/", + siteID: "3", + accept_all_text: "Aggregate statistics cookies accepted", + only_necessary_text: "Only necessary cookies accepted", + cookieName: "lap", + bots: /bot|crawler|spider|crawling/i, + timeout_hidebanner: "500", + cookieDomain: "howto.lcsb.uni.lu", + } + </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"> </head> |
