speisekarten-quartz/quartz/plugins/emitters
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
..
404.tsx perf: reduce bundle size (closes #1607) (#1689) 2025-01-01 12:24:32 -08:00
aliases.ts fix(aliases): wikilink resolution for aliases (#1681) 2025-02-25 16:28:16 -05:00
assets.ts fix(fast rebuild): call only required emitters, don't always copy assets (#845) 2024-02-11 12:20:44 -08:00
cname.ts feat(experimental): partial rebuilds (#716) 2024-02-09 10:07:32 -05:00
componentResources.ts fix(goatcounter): properly count SPA page hits (#1718) 2025-02-27 16:35:19 -05:00
contentIndex.ts feat(experimental): partial rebuilds (#716) 2024-02-09 10:07:32 -05:00
contentPage.tsx perf: reduce bundle size (closes #1607) (#1689) 2025-01-01 12:24:32 -08:00
folderPage.tsx perf: reduce bundle size (closes #1607) (#1689) 2025-01-01 12:24:32 -08:00
helpers.ts feat(fonts): fetch before build (#817) 2024-02-08 02:52:55 -05:00
index.ts feat: cname emitter (#590) 2023-11-16 15:31:20 -08:00
static.ts feat(experimental): partial rebuilds (#716) 2024-02-09 10:07:32 -05:00
tagPage.tsx perf: reduce bundle size (closes #1607) (#1689) 2025-01-01 12:24:32 -08:00