mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 08:35:31 -04:00
testing fathom analytics
This commit is contained in:
@@ -8,7 +8,7 @@ Personal website of [@jakejarvis](https://github.com/jakejarvis), created and de
|
|||||||
- [GitHub Pages](https://pages.github.com/)
|
- [GitHub Pages](https://pages.github.com/)
|
||||||
- [GitHub Actions](.github/workflows)
|
- [GitHub Actions](.github/workflows)
|
||||||
- [Commento](https://gitlab.com/commento/commento)
|
- [Commento](https://gitlab.com/commento/commento)
|
||||||
- [Matomo](https://matomo.org/)
|
- [Fathom Analytics](https://github.com/usefathom/fathom)
|
||||||
|
|
||||||
I keep an ongoing list of [blog post ideas](https://github.com/jakejarvis/jarv.is/issues/1) as an issue in this repo.
|
I keep an ongoing list of [blog post ideas](https://github.com/jakejarvis/jarv.is/issues/1) as an issue in this repo.
|
||||||
|
|
||||||
|
@@ -51,18 +51,17 @@
|
|||||||
<p>The file you asked for wasn't found in this neck of the woods. Please check the URL for mistakes and try again, or take your ball and <a href="{{ .Site.BaseURL }}">go home</a>.</p>
|
<p>The file you asked for wasn't found in this neck of the woods. Please check the URL for mistakes and try again, or take your ball and <a href="{{ .Site.BaseURL }}">go home</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
var _paq = _paq || [];
|
(function(f, a, t, h, o, m){
|
||||||
_paq.push(['setRequestMethod', 'POST']);
|
a[h]=a[h]||function(){
|
||||||
_paq.push(['setSecureCookie', true]);
|
(a[h].q=a[h].q||[]).push(arguments)
|
||||||
_paq.push(['trackPageView']);
|
};
|
||||||
_paq.push(['enableLinkTracking']);
|
o=f.createElement('script'),
|
||||||
(function() {
|
m=f.getElementsByTagName('script')[0];
|
||||||
var u='https://stats.jarv.is/';
|
o.async=1; o.src=t; o.id='fathom-script';
|
||||||
_paq.push(['setTrackerUrl', u+'send']);
|
m.parentNode.insertBefore(o,m)
|
||||||
_paq.push(['setSiteId', '1']);
|
})(document, window, 'https://fathom.jarv.is/tracker.js', 'fathom');
|
||||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
fathom('set', 'siteId', 'DYCXU');
|
||||||
g.async=true; g.defer=true; g.src=u+'stats.js'; s.parentNode.insertBefore(g,s);
|
fathom('trackPageview');
|
||||||
})();
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -1,16 +1,15 @@
|
|||||||
{{ if eq hugo.Environment "production" }}<script>
|
{{ if eq hugo.Environment "production" }}<script>
|
||||||
var _paq = _paq || [];
|
(function(f, a, t, h, o, m){
|
||||||
_paq.push(['setRequestMethod', 'POST']);
|
a[h]=a[h]||function(){
|
||||||
_paq.push(['setSecureCookie', true]);
|
(a[h].q=a[h].q||[]).push(arguments)
|
||||||
_paq.push(['trackPageView']);
|
};
|
||||||
_paq.push(['enableLinkTracking']);
|
o=f.createElement('script'),
|
||||||
(function() {
|
m=f.getElementsByTagName('script')[0];
|
||||||
var u='https://stats.jarv.is/';
|
o.async=1; o.src=t; o.id='fathom-script';
|
||||||
_paq.push(['setTrackerUrl', u+'send']);
|
m.parentNode.insertBefore(o,m)
|
||||||
_paq.push(['setSiteId', '1']);
|
})(document, window, 'https://fathom.jarv.is/tracker.js', 'fathom');
|
||||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
fathom('set', 'siteId', 'DYCXU');
|
||||||
g.async=true; g.defer=true; g.src=u+'stats.js'; s.parentNode.insertBefore(g,s);
|
fathom('trackPageview');
|
||||||
})();
|
|
||||||
</script>{{ end }}
|
</script>{{ end }}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
<link rel="icon" href="{{ "favicon-32.png" | absURL }}" sizes="32x32">
|
<link rel="icon" href="{{ "favicon-32.png" | absURL }}" sizes="32x32">
|
||||||
<link rel="icon" href="{{ "favicon-16.png" | absURL }}" sizes="16x16">
|
<link rel="icon" href="{{ "favicon-16.png" | absURL }}" sizes="16x16">
|
||||||
<link rel="shortcut icon" href="{{ "favicon.ico" | absURL }}">
|
<link rel="shortcut icon" href="{{ "favicon.ico" | absURL }}">
|
||||||
<link rel="dns-prefetch" href="https://stats.jarv.is">
|
<link rel="dns-prefetch" href="https://fathom.jarv.is">
|
||||||
<link rel="author" href="{{ "humans.txt" | absURL }}">
|
<link rel="author" href="{{ "humans.txt" | absURL }}">
|
||||||
</head>
|
</head>
|
||||||
<body id="{{ .Type }}">
|
<body id="{{ .Type }}">
|
@@ -11,7 +11,7 @@
|
|||||||
<link rel="icon" href="https://jarv.is/favicon-32.png" sizes="32x32">
|
<link rel="icon" href="https://jarv.is/favicon-32.png" sizes="32x32">
|
||||||
<link rel="icon" href="https://jarv.is/favicon-16.png" sizes="16x16">
|
<link rel="icon" href="https://jarv.is/favicon-16.png" sizes="16x16">
|
||||||
<link rel="shortcut icon" href="https://jarv.is/favicon.ico">
|
<link rel="shortcut icon" href="https://jarv.is/favicon.ico">
|
||||||
<link rel="dns-prefetch" href="https://stats.jarv.is">
|
<link rel="dns-prefetch" href="https://fathom.jarv.is">
|
||||||
<link rel="author" href="https://jarv.is/humans.txt">
|
<link rel="author" href="https://jarv.is/humans.txt">
|
||||||
<style>
|
<style>
|
||||||
html, body {
|
html, body {
|
||||||
@@ -76,18 +76,17 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var _paq = _paq || [];
|
(function(f, a, t, h, o, m){
|
||||||
_paq.push(['setRequestMethod', 'POST']);
|
a[h]=a[h]||function(){
|
||||||
_paq.push(['setSecureCookie', true]);
|
(a[h].q=a[h].q||[]).push(arguments)
|
||||||
_paq.push(['trackPageView']);
|
};
|
||||||
_paq.push(['enableLinkTracking']);
|
o=f.createElement('script'),
|
||||||
(function() {
|
m=f.getElementsByTagName('script')[0];
|
||||||
var u='https://stats.jarv.is/';
|
o.async=1; o.src=t; o.id='fathom-script';
|
||||||
_paq.push(['setTrackerUrl', u+'send']);
|
m.parentNode.insertBefore(o,m)
|
||||||
_paq.push(['setSiteId', '1']);
|
})(document, window, 'https://fathom.jarv.is/tracker.js', 'fathom');
|
||||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
fathom('set', 'siteId', 'DYCXU');
|
||||||
g.async=true; g.defer=true; g.src=u+'stats.js'; s.parentNode.insertBefore(g,s);
|
fathom('trackPageview');
|
||||||
})();
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@@ -33,7 +33,7 @@
|
|||||||
GitHub Pages
|
GitHub Pages
|
||||||
GitHub Actions
|
GitHub Actions
|
||||||
Commento
|
Commento
|
||||||
Matomo
|
Fathom Analytics
|
||||||
|
|
||||||
# VIEW SOURCE
|
# VIEW SOURCE
|
||||||
|
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
<link rel="icon" href="https://jarv.is/favicon-32.png" sizes="32x32">
|
<link rel="icon" href="https://jarv.is/favicon-32.png" sizes="32x32">
|
||||||
<link rel="icon" href="https://jarv.is/favicon-16.png" sizes="16x16">
|
<link rel="icon" href="https://jarv.is/favicon-16.png" sizes="16x16">
|
||||||
<link rel="shortcut icon" href="https://jarv.is/favicon.ico">
|
<link rel="shortcut icon" href="https://jarv.is/favicon.ico">
|
||||||
<link rel="dns-prefetch" href="https://stats.jarv.is">
|
<link rel="dns-prefetch" href="https://fathom.jarv.is">
|
||||||
<link rel="author" href="https://jarv.is/humans.txt">
|
<link rel="author" href="https://jarv.is/humans.txt">
|
||||||
<style>
|
<style>
|
||||||
html, body {
|
html, body {
|
||||||
@@ -106,18 +106,17 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var _paq = _paq || [];
|
(function(f, a, t, h, o, m){
|
||||||
_paq.push(['setRequestMethod', 'POST']);
|
a[h]=a[h]||function(){
|
||||||
_paq.push(['setSecureCookie', true]);
|
(a[h].q=a[h].q||[]).push(arguments)
|
||||||
_paq.push(['trackPageView']);
|
};
|
||||||
_paq.push(['enableLinkTracking']);
|
o=f.createElement('script'),
|
||||||
(function() {
|
m=f.getElementsByTagName('script')[0];
|
||||||
var u='https://stats.jarv.is/';
|
o.async=1; o.src=t; o.id='fathom-script';
|
||||||
_paq.push(['setTrackerUrl', u+'send']);
|
m.parentNode.insertBefore(o,m)
|
||||||
_paq.push(['setSiteId', '1']);
|
})(document, window, 'https://fathom.jarv.is/tracker.js', 'fathom');
|
||||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
fathom('set', 'siteId', 'DYCXU');
|
||||||
g.async=true; g.defer=true; g.src=u+'stats.js'; s.parentNode.insertBefore(g,s);
|
fathom('trackPageview');
|
||||||
})();
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Reference in New Issue
Block a user