From f38ad40801833fb8c7b32f817d168027a45757c7 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Tue, 27 Jun 2023 08:40:00 -0700 Subject: [PATCH] chore: analytics tweaks --- _redirects | 6 +++++- cache/jsonfeed-to-mastodon-timestamp.json | 2 +- cache/jsonfeed-to-mastodon.json | 22 ++++++++++++++++++++++ src/_includes/base.liquid | 3 ++- src/referrals.md | 11 +++++------ src/uses.md | 10 +++++----- 6 files changed, 40 insertions(+), 14 deletions(-) diff --git a/_redirects b/_redirects index 8bea4cf2..1e4bff52 100644 --- a/_redirects +++ b/_redirects @@ -34,4 +34,8 @@ /sitemap.txt /sitemap.xml 301! # netlify app domain -https://cdme.netlify.app https://coryd.dev 301! \ No newline at end of file +https://cdme.netlify.app https://coryd.dev 301! + +# analytics +/js/script.js https://plausible.io/js/script.js 200 +/api/event https://plausible.io/api/event 200 \ No newline at end of file diff --git a/cache/jsonfeed-to-mastodon-timestamp.json b/cache/jsonfeed-to-mastodon-timestamp.json index b9daa4bb..70bb8b39 100644 --- a/cache/jsonfeed-to-mastodon-timestamp.json +++ b/cache/jsonfeed-to-mastodon-timestamp.json @@ -1,3 +1,3 @@ { - "timestamp": 1687802593944 + "timestamp": 1687874593562 } \ No newline at end of file diff --git a/cache/jsonfeed-to-mastodon.json b/cache/jsonfeed-to-mastodon.json index 66281b48..3da066e3 100644 --- a/cache/jsonfeed-to-mastodon.json +++ b/cache/jsonfeed-to-mastodon.json @@ -4550,5 +4550,27 @@ "https://social.lol/users/cory/statuses/110611358657485068" ], "lastTootTimestamp": 1687795389721 + }, + "https://oku.club/book/the-inner-game-of-work-by-w-timothy-gallwey-MEQgb": { + "id": "https://oku.club/book/the-inner-game-of-work-by-w-timothy-gallwey-MEQgb", + "title": "📖: The Inner Game of Work", + "url": "https://oku.club/book/the-inner-game-of-work-by-w-timothy-gallwey-MEQgb", + "content_text": "📖: The Inner Game of Work https://oku.club/book/the-inner-game-of-work-by-w-timothy-gallwey-MEQgb", + "date_published": "2023-06-27T02:46:05-08:00", + "toots": [ + "https://social.lol/users/cory/statuses/110614189597919883" + ], + "lastTootTimestamp": 1687838586449 + }, + "https://letterboxd.com/cdme/film/marathon-man/": { + "id": "https://letterboxd.com/cdme/film/marathon-man/", + "title": "🎥: Marathon Man, 1976 - ★★★½", + "url": "https://letterboxd.com/cdme/film/marathon-man/", + "content_text": "🎥: Marathon Man, 1976 - ★★★½ https://letterboxd.com/cdme/film/marathon-man/", + "date_published": "2023-06-27T12:37:53-08:00", + "toots": [ + "https://social.lol/users/cory/statuses/110616549358389834" + ], + "lastTootTimestamp": 1687874593558 } } \ No newline at end of file diff --git a/src/_includes/base.liquid b/src/_includes/base.liquid index 2b162c63..c965ab59 100644 --- a/src/_includes/base.liquid +++ b/src/_includes/base.liquid @@ -1,5 +1,6 @@ {%- capture fullUrl %}{{ site.url }}{{ page.url }}{% endcapture -%} + @@ -63,7 +64,7 @@ <script type="application/ld+json"> {% jsonLd meta, type, tags %} </script> - <script src="https://cdn.usefathom.com/script.js" data-site="ZDSEBUEA" defer></script> + <script defer data-domain="coryd.dev" src="https://coryd.dev/js/script.js"></script> </head> <body class="dark:text-white bg-white dark:bg-gray-900 font-sans text-gray-800"> {{ content }} diff --git a/src/referrals.md b/src/referrals.md index d1e0b9be..3300054a 100644 --- a/src/referrals.md +++ b/src/referrals.md @@ -26,9 +26,8 @@ meta: Referral links for services I use. I save some money, and you do as well if you choose to use them. -- <a href="https://ref.fm/u28939392" onclick="fathom.trackGoal('UD5XFEEZ', 0)">Fastmail</a> -- <a href="https://nextdns.io/?from=m56mt3z6" onclick="fathom.trackGoal('S87ZPMLV', 0)">NextDNS</a> -- <a href="https://dnsimple.com/r/3a7cbb9e15df8f" onclick="fathom.trackGoal('BWXKK16K', 0)">DNSimple</a> -- <a href="https://bunny.net?ref=revw3mehej" onclick="fathom.trackGoal('OYACX1AU', 0)">Bunny.net</a> -- <a href="https://usefathom.com/ref/LEHPBZ" onclick="fathom.trackGoal('JCEU6TF0', 0)">Fathom Analytics</a> -- <a href="https://m.do.co/c/3635bf99aee2" onclick="fathom.trackGoal('R54WK3UM', 0)">DigitalOcean</a> +- [Fastmail](https://ref.fm/u28939392) +- [NextDNS](https://nextdns.io/?from=m56mt3z6) +- [DNSimple](https://dnsimple.com/r/3a7cbb9e15df8f) +- [Bunny.net](https://bunny.net?ref=revw3mehej) +- [DigitalOcean](https://m.do.co/c/3635bf99aee2) diff --git a/src/uses.md b/src/uses.md index 3ec51690..8e311cdf 100644 --- a/src/uses.md +++ b/src/uses.md @@ -70,11 +70,11 @@ Software and services that I use for work and my own enjoyment. <h3 className="text-xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 sm:text-2xl sm:leading-10 md:text-4xl md:leading-14">Services</h3> -- <a href="https://ref.fm/u28939392" onclick="fathom.trackGoal('UD5XFEEZ', 0)">Fastmail</a> -- <a href="https://nextdns.io/?from=m56mt3z6" onclick="fathom.trackGoal('S87ZPMLV', 0)">NextDNS</a> -- <a href="https://dnsimple.com/r/3a7cbb9e15df8f" onclick="fathom.trackGoal('BWXKK16K', 0)">DNSimple</a> -- <a href="https://bunny.net?ref=revw3mehej" onclick="fathom.trackGoal('OYACX1AU', 0)">Bunny.net</a> -- <a href="https://usefathom.com/ref/LEHPBZ" onclick="fathom.trackGoal('JCEU6TF0', 0)">Fathom Analytics</a> +- [Fastmail](https://ref.fm/u28939392) +- [NextDNS](https://nextdns.io/?from=m56mt3z6) +- [DNSimple](https://dnsimple.com/r/3a7cbb9e15df8f) +- [Bunny.net](https://bunny.net?ref=revw3mehej) +- [Plausible analytics](https://plausible.io) - [Mullvad](https://mullvad.net) - [forwardemail.net](https://forwardemail.net) - [1Password](https://1password.com)