Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
howto-cards
Commits
30ad6558
Verified
Commit
30ad6558
authored
Feb 07, 2020
by
Laurent Heirendt
✈
Browse files
add matomo snippet
parent
f2a54647
Changes
1
Hide whitespace changes
Inline
Side-by-side
_includes/scripts.html
0 → 100644
View file @
30ad6558
<!-- Matomo -->
<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://howto-monitoring.lcsb.uni.lu/matomo/
"
;
_paq
.
push
([
'
setTrackerUrl
'
,
u
+
'
matomo.php
'
]);
_paq
.
push
([
'
setSiteId
'
,
'
2
'
]);
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>
<noscript><p><img
src=
"https://howto-monitoring.lcsb.uni.lu/matomo/matomo.php?idsite=2&rec=1"
style=
"border:0;"
alt=
""
/></p></noscript>
<!-- End Matomo Code -->
\ 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