Anton Bulakh 6d350500f1
fix(goatcounter): properly count SPA page hits (#1718)
On the surface it seems that only google and plausible scripts handle
the SPA correctly - but I don't know if maybe others handle
window.history API themselves somehow or something like that.

However, I am trying out goatcounter and in it's docs I see that it
does no special SPA handling, so this has to be fixed.

Just doing the dynamic script thing on every nav seems to do the trick.
The script is not "spa-preserve" so they wouldn't accumulate - and when
I tried the "spa-preserve" + call goatcounter api route it didn't quite
work, they actually did accumulate
2025-02-27 16:35:19 -05:00
2023-12-11 15:34:21 -08:00
2023-08-02 20:59:56 -07:00
2024-08-05 18:48:29 -07:00
2023-08-20 08:57:56 -07:00
2023-08-07 23:57:24 -07:00
2023-07-22 17:27:41 -07:00
2024-10-06 22:34:31 -04:00
2021-07-18 09:35:42 -04:00
2024-06-17 21:46:43 -07:00

Quartz v4

“[One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.” — Richard Hamming

Quartz is a set of tools that helps you publish your digital garden and notes as a website for free. Quartz v4 features a from-the-ground rewrite focusing on end-user extensibility and ease-of-use.

🔗 Read the documentation and get started: https://quartz.jzhao.xyz/

Join the Discord Community

Sponsors

Description
🌱 a fast, batteries-included static-site generator that transforms Markdown content into fully functional websites
https://quartz.jzhao.xyz/ Readme 2.6 GiB
Languages
TypeScript 84.6%
SCSS 8.6%
JavaScript 4.9%
CSS 1.9%