Hi @jeko, this should be possible with the Custom Javascript support on Write.as. However, you would need to upgrade to a Pro account to use this feature.
In the Customize page for the Blog, there is a Custom Javascript section with a box where you can paste this line and it should be available on the pages of the blog after saving it.
I think this has actually come up before (maybe in the fediverse), but unfortunately it isn’t possible to add in Plausible Analytics right now. You could technically include the JS as mentioned here, but the problem is the data-domain="rednosehacker.com" attribute – we don’t support that extra data right now.
Maybe this is a discussion you or we could start with the Plausible folks. Some possibilities could be fully integrating with them, or just supporting the JS attribute they need.
@matt I actually have been messing around with several scripts and managed to get Plausible working this way, along with Commento, a Google search for my site, and Hypothes.is working all together.
I stumbled on it as I’m not anywhere near a coder.
But thought I’d share my custom JavaScript entry in case someone else comes across this: