404 repporting in matomo

This commit is contained in:
Set Hallstrom 2019-12-05 22:29:50 +01:00
parent c80436caab
commit 8a79b35713

122
404.html
View file

@ -1,27 +1,119 @@
--- <!DOCTYPE html>
title: Error 404 <html lang="en">
description: That something isn't here. You can always reach out and ask. If it's gone and you miss it we can fix it! <head>
layout: default <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes" />
image: /siteicon.png <link rel="apple-touch-icon" href="/apple-touch-icon.png">
--- <link rel="icon" type="image/png" href="/touch-icon.png" sizes="192x192">
<link rel="shortcut icon" href="/favicon.png" type="image/png" />
<link rel="stylesheet" href="/assets/css/style2019-11.css" />
<script src="/assets/js/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="/assets/js/isotope.pkgd.min.js"></script>
<!-- BEGIN seo.html -->
<title>Error 404 | Sakrecoer</title>
<!-- Begin Jekyll SEO tag v2.6.0 -->
<meta name="generator" content="Jekyll v3.8.6" />
<meta property="og:title" content="Error 404" />
<meta name="author" content="Sakrecoer" />
<meta property="og:locale" content="en_US" />
<meta name="description" content="That something isnt here. You can always reach out and ask. If its gone and you miss it we can fix it!" />
<meta property="og:description" content="That something isnt here. You can always reach out and ask. If its gone and you miss it we can fix it!" />
<link rel="canonical" href="http://localhost:4000/404/" />
<meta property="og:url" content="http://localhost:4000/404/" />
<meta property="og:site_name" content="Sakrecoer" />
<meta property="og:image" content="http://localhost:4000/siteicon.png" />
<script type="application/ld+json">
{"@type":"WebPage","headline":"Error 404","dateModified":"2019-12-05T18:44:33+01:00","url":"http://localhost:4000/404/","publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"http://localhost:4000/siteicon.png"},"name":"Sakrecoer"},"image":"http://localhost:4000/siteicon.png","author":{"@type":"Person","name":"Sakrecoer"},"description":"That something isnt here. You can always reach out and ask. If its gone and you miss it we can fix it!","@context":"https://schema.org"}</script>
<!-- End Jekyll SEO tag -->
<meta name="title" content="Error 404 | Sakrecoer" />
<meta name="dc.date.modified" scheme="ISO8601" content="2019-12-05T18:44:33+01:00" />
<meta name="robots" content="index" />
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="canonical" href="http://localhost:4000/404/" />
<link rel="alternate" href="http://localhost:4000/404/" hreflang="x-default" />
<!-- Dublin Core basic info -->
<meta name="dcterms.Identifier" content="http://localhost:4000" />
<meta name="dcterms.Format" content="text/html" />
<meta name="dcterms.Relation" content="Sakrecoer" />
<meta name="dcterms.Publisher" content="Sakrecoer" />
<meta name="dcterms.Type" content="text/html" />
<meta name="dcterms.Coverage" content="http://localhost:4000/" />
<meta name="dcterms.Rights" content="Copyright &copy;2019 Sakrecoer." />
<meta name="dcterms.Title" content="Error 404 | Sakrecoer" />
<meta name="dcterms.Subject" content="Sakrecoer Uncorporated Stands for independent fun-loving Activism, Art & Music. I push sounds, images, thoughts and passion for cool robots like you. I am funky and I deliver because I was born tomorrow." />
<meta name="dcterms.Contributor" content="Sakrecoer" />
<meta name="dcterms.Date" content="2019-12-05" />
<meta name="dcterms.Description" content="That something isn't here. You can always reach out and ask. If it's gone and you miss it we can fix it!" />
<!-- Twitter Card -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@sakrecoer" />
<meta name="twitter:title" content="Error 404 | Sakrecoer" />
<meta name="twitter:description" content="Sakrecoer Uncorporated Stands for independent fun-loving Activism, Art & Music. I push sounds, images, thoughts and passion for cool robots like you. I am funky and I deliver because I was born tomorrow." />
<meta name="twitter:image" content="/siteicon.png" />
<!-- END seo.html -->
<style>
body{
background: url('/siteicon.png');
}
</style>
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
_paq.push(["disableCookies"]);
_paq.push(['setDocumentTitle', '404/URL = ' + encodeURIComponent(document.location.pathname+document.location.search) + '/From = ' + encodeURIComponent(document.referrer)]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://terminalnetwork.matomo.cloud/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '4']);
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/terminalnetwork.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
</head>
<body>
<div id="hero"> <div id="hero">
<div class="pivot"> <div class="pivot">
<h1>{{ site.title }}</h1> <h1>Sakrecoer</h1>
<h2>{{ page.title }}</h2> <h2>Error 404</h2>
<h2>{{ page.description }}</h2> <h2>That something isn't here. You can always reach out and ask. If it's gone and you miss it we can fix it!</h2>
<a href="/" alt="back home"><h2>Go to homepage</h2></a> <a href="/" alt="back home"><h2>Go to homepage</h2></a>
{% include liberapay.html %} <!-- BEGIN liberapay.html -->
<a href="https://liberapay.com/Sakrecoer/donate" target="_blank" rel="noopener noreferrer nofollow"><img alt="Donate using Liberapay" src="/assets/img/donate.svg"></a>
<!-- END liberapay.html -->
</div> </div>
<div class="fullscreen-bg"> <div class="fullscreen-bg">
<video loop muted autoplay poster="{{ site.baseurl }}/assets/img/sakrecoer-logo.svg" class="fullscreen-bg__video"> <video loop muted autoplay poster="/assets/img/sakrecoer-logo.svg" class="fullscreen-bg__video">
<source src="{{ site.baseurl }}{{ page.webm_path }}" type="video/webm"> <source src="" type="video/webm">
<source src="{{ site.baseurl }}{{ page.mp4_path }}" type="video/mp4"> <source src="" type="video/mp4">
</video> </video>
</div> </div>
</div> </div>
<div style="background: linear-gradient(45deg, #ff00ff, #416a00);"> <div style="background: linear-gradient(45deg, #ff00ff, #416a00);">
<div class="trackcontainer logo" style="margin-top:0;padding-top:0;"> <div class="trackcontainer logo" style="margin-top:0;padding-top:0;">
{% include cookiemonster.html %} <!-- BEGIN cookiemonster.html -->
<img src="/assets/img/cookiemonster_upsidedown.gif" style="position:relative;top:0;right:0;z-index:77777;"/>
<!-- END cookiemonster.html -->
</div> </div>
</div> </div>
</body>
</html>