Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
courses
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nene Barry
courses
Commits
269f3391
Verified
Commit
269f3391
authored
4 years ago
by
Laurent Heirendt
Browse files
Options
Downloads
Patches
Plain Diff
add individual parts of matomo mechanism
parent
ecdd2142
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.ci/analytics/gdpr-banner.html
+22
-0
22 additions, 0 deletions
.ci/analytics/gdpr-banner.html
.ci/analytics/head.html
+32
-0
32 additions, 0 deletions
.ci/analytics/head.html
.ci/analytics/policy.html
+4
-0
4 additions, 0 deletions
.ci/analytics/policy.html
with
58 additions
and
0 deletions
.ci/analytics/gdpr-banner.html
0 → 100644
+
22
−
0
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
This diff is collapsed.
Click to expand it.
.ci/analytics/head.html
0 → 100644
+
32
−
0
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"
/>
This diff is collapsed.
Click to expand it.
.ci/analytics/policy.html
0 → 100644
+
4
−
0
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment