matomo everywhere

This commit is contained in:
Set Sakrecoer 2019-11-05 15:18:23 +01:00
parent a80c4c1516
commit 8178df8df2
14 changed files with 29 additions and 17 deletions

View file

@ -53,7 +53,7 @@
<meta name="geo.position" content="46.204391;6.143158" />
<meta name="ICBM" content="46.204391, 6.143158" />
{% include matomo.html %}
</head>
<body>

16
_includes/matomo.html Normal file
View file

@ -0,0 +1,16 @@
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['disableCookies']);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://basspistol.matomo.cloud/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src='//cdn.matomo.cloud/basspistol.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->

View file

@ -4,6 +4,7 @@
<html>
<head>
{% include releasemeta.html %}
{% include matomo.html %}
</head>
<body>
{% include navmenu.html %}

View file

@ -4,6 +4,7 @@
<html>
<head>
{% include metahead.html %}
{% include matomo.html %}
</head>
<body>
{% include navmenu.html %}

View file

@ -2,6 +2,7 @@
<html>
<head>
{% include metahead.html %}
{% include matomo.html %}
</head>
<body>
{% include navmenu.html %}

View file

@ -2,22 +2,7 @@
<html>
<head>
{% include metahead.html %}
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['disableCookies']);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://basspistol.matomo.cloud/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src='//cdn.matomo.cloud/basspistol.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
{% include matomo.html %}
</head>
<body>

View file

@ -4,6 +4,7 @@
<html>
<head>
{% include metahead.html %}
{% include matomo.html %}
</head>
<body>
{% include navmenu.html %}

View file

@ -4,6 +4,7 @@
<html>
<head>
{% include trackmeta.html %}
{% include matomo.html %}
</head>
<body>
{% include navmenu.html %}

View file

@ -10,6 +10,7 @@ poster_image: /assets/vid/artists.jpg
<html>
<head>
{% include metahead.html %}
{% include matomo.html %}
</head>
<body>
{% include navmenu.html %}

View file

@ -10,6 +10,7 @@ poster_image: /assets/vid/discogs.jpg
<html>
<head>
{% include metahead.html %}
{% include matomo.html %}
</head>
<body>
{% include navmenu.html %}

View file

@ -19,6 +19,7 @@ pagination:
<html>
<head>
{% include highlightmetahead.html %}
{% include matomo.html %}
</head>
<body>
{% include highlightsnavmenu.html %}

View file

@ -15,6 +15,7 @@ poster_image: /assets/vid/intro_loop_.jpg
<html>
<head>
{% include metahead.html %}
{% include matomo.html %}
<script type="text/javascript">
function generateRandomPosts()
{

View file

@ -14,6 +14,7 @@ poster_image: /assets/vid/radio.jpg
<head>
{% include metahead.html %}
{% include matomo.html %}
<script type='application/ld+json'>
{
"@context": "http://www.schema.org",

View file

@ -11,6 +11,7 @@ permalink: /tags/
<html>
<head>
{% include metahead.html %}
{% include matomo.html %}
</head>
<body>
{% include navmenu.html %}