Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Noua Toukourou
courses
Commits
269f3391
Verified
Commit
269f3391
authored
Jul 08, 2020
by
Laurent Heirendt
✈
Browse files
add individual parts of matomo mechanism
parent
ecdd2142
Changes
3
Hide whitespace changes
Inline
Side-by-side
.ci/analytics/gdpr-banner.html
0 → 100644
View file @
269f3391
<div
id=
"lap-cookies-banner"
class=
"presentation-banner"
>
<div
class=
"banner-intro"
>
<div
class=
"close-button"
>
<a
class=
"lap-refuse"
>
<i
class=
"fa fa-times"
aria-hidden=
"true"
></i>
</a>
</div>
<div
class=
"banner-img"
>
<img
src=
"https://analytics.lcsb.uni.lu/lap/static/logos/r3-logo.svg"
type=
"image/svg+xml"
/>
</div>
<div
class=
"banner-title"
>
This website needs some cookies and similar means to function.
</div>
<div
class=
"banner-text"
>
If you permit us, we will use those means to collect data on your visits for aggregated
statistics to improve our service.
</div>
</div>
<div
class=
"banner-buttons"
>
<a
class=
"btn lap-accept"
>
Accept cookies for aggregated statistics
</a>
<a
class=
"btn lap-refuse"
>
No thanks, only technically necessary cookies
</a>
<a
class=
"btn lap-cookies-more"
href=
"privacy-policy"
>
More information
</a>
</div>
</div>
\ No newline at end of file
.ci/analytics/head.html
0 → 100644
View file @
269f3391
<script>
const
settings
=
{
expires
:
"
180
"
,
matomoURL
:
"
https://analytics.lcsb.uni.lu/hub/
"
,
siteID
:
"
8
"
,
//you get this siteID by sending an email to lcsb-r3@uni.lu
accept_all_text
:
"
Aggregate statistics cookies accepted
"
,
only_necessary_text
:
"
Only necessary cookies accepted
"
,
doNotTrack_text
:
"
Do Not Track is enabled
"
,
cookieName
:
"
lap
"
,
bots
:
/bot|crawler|spider|crawling/i
,
timeout_hidebanner
:
"
500
"
,
};
</script>
<script
type=
'text/javascript'
>
var
_paq
=
window
.
_paq
||
[];
/* tracker methods like 'setCustomDimension' should be called before 'trackPageView' */
_paq
.
push
([
'
trackPageView
'
]);
_paq
.
push
([
'
enableLinkTracking
'
]);
(
function
()
{
var
u
=
'
https://analytics.lcsb.uni.lu/hub/
'
;
_paq
.
push
([
'
setTrackerUrl
'
,
u
+
'
matomo.php
'
]);
_paq
.
push
([
'
setSiteId
'
,
'
${matomoID}
'
]);
var
d
=
document
,
g
=
d
.
createElement
(
'
script
'
),
s
=
d
.
getElementsByTagName
(
'
script
'
)[
0
];
g
.
type
=
'
text/javascript
'
;
g
.
async
=
true
;
g
.
defer
=
true
;
g
.
src
=
u
+
'
matomo.js
'
;
s
.
parentNode
.
insertBefore
(
g
,
s
);
})();
</script>
<script
src=
"https://analytics.lcsb.uni.lu/lap/static/js/jquery.min.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"
/>
.ci/analytics/policy.html
0 → 100644
View file @
269f3391
<div
class=
"bottomPrivacy"
>
<a
href=
"privacy-policy"
>
Privacy Policy
</a>
(
<span
id=
"doNotTrack-text"
><span
id=
"gdpr-result-text"
></span>
-
<a
href=
"javascript: showBanner();"
>
change
</a></span>
)
</div>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment