speisekarten-quartz/quartz
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
..
cli feat(cli): absolute path support for -d flag (#1756) 2025-02-25 16:27:10 -05:00
components chore(deps): bump the production-dependencies group with 8 updates (#1788) 2025-02-25 16:52:52 -05:00
i18n feat(i18n): added nb-NO (Norwegian) (#1795) 2025-02-27 16:33:15 -05:00
plugins fix(goatcounter): properly count SPA page hits (#1718) 2025-02-27 16:35:19 -05:00
processors chore(build): separate markdown and html handling into two separate stages (#1675) 2025-01-07 15:33:34 -05:00
static feat(comments): support custom giscus themes (#1526) 2024-10-17 18:30:16 -04:00
styles chore(styles): omit sass deprecation warnings (#1737) 2025-01-23 22:19:46 -05:00
util fix(fonts): update system-ui trick for improve cross-platform compatibility (#1778) 2025-02-25 16:31:41 -05:00
bootstrap-cli.mjs cleanup: rework cli to allow invoking create and build outside of cli (#428) 2023-08-27 15:59:51 -07:00
bootstrap-worker.mjs chore(build): separate markdown and html handling into two separate stages (#1675) 2025-01-07 15:33:34 -05:00
build.ts chore(deps): bump the production-dependencies group across 1 directory with 14 updates (#1655) 2024-12-17 03:53:51 -05:00
cfg.ts feat(open-graph): generate OG images + further OG support (#740) 2024-11-12 07:33:35 -05:00
depgraph.test.ts fix(fast rebuild): handle added an deleted markdown correctly (#921) 2024-02-23 18:40:42 -08:00
depgraph.ts fix(fast rebuild): handle added an deleted markdown correctly (#921) 2024-02-23 18:40:42 -08:00
worker.ts chore(build): separate markdown and html handling into two separate stages (#1675) 2025-01-07 15:33:34 -05:00