7 Commits

Author SHA1 Message Date
Jack Jackson
abab21e297 Self-host upload to Google Analytics
Some client configurations (Browsers with tracking-blocking enabled, or
networks with [Pi-holes](https://pi-hole.net/)) will block any calls
to `www.google-analytics.com`. This makes me sad! I'd like to know
how many folks are reading my blog!

This commit represents a workaround. Instead of telling the client to
send data directly to Google (which would trigger Tracking-blockers), I
instead tell the client to send it to the `/analytics` endpoint on my
domain, which will then get forwarded to Google. Neat!

But! If a reader has blocked tracking, we should respect that! So I'm
not actually enabling this in my blog until I have also built an
"opt-in" mechanism, where readers can decide if they want to send me
tracking information or not.

"Why didn't you make tracking opt-in to begin with, Jack?" - well, I
kinda addressed that
[here](https://blog.scubbo.org/posts/commenting-enabled/), but you're
right that that would have been a little more ethical. Still - enabling
Google Analytics didn't feel _too_ bad (since anyone who cared about
detecting and blocking it would still be able to with standard methods -
and I assume that anyone reading my blog will know how to), whereas this
new approach feels like a circumvention of their agency.
2022-05-04 14:45:20 -07:00
Jack Jackson
a4e844297a Re-enable Google Analytics
(After faffing around for a while wondering why it wasn't working, until
realizing my Pi-hole was just doing it's job :P )
2022-05-02 20:03:29 -07:00
Jack Jackson
726dc8f3eb Name "builtContent" directory more clearly 2022-04-26 23:23:06 -07:00
Jack Jackson
999510aaad Deploy to Hugo Production 2022-04-03 18:30:08 -07:00
Jack Jackson
b2f3917a3c Remove debugging exit from deployBlog 2022-03-28 23:04:07 -07:00
Jack Jackson
7a0ec20985 Add Git functionality to deployBlog 2022-03-28 22:40:22 -07:00
Jack Jackson
d36df52eca DeployBlog.sh 2022-03-24 20:59:53 -07:00