Wen Taichi
2025-07-08 7253557d2c5e3ee6ff2f093068cd6beac6defe6d
refs
author Wen Taichi <daleth90@gmail.com>
Tuesday, July 8, 2025 02:52 +0000
committer GitHub <noreply@github.com>
Tuesday, July 8, 2025 02:52 +0000
commit7253557d2c5e3ee6ff2f093068cd6beac6defe6d
tree 3aa2784bf41accf6ca915d532087cbc5d738c963 tree | zip | gz
parent 82c53a1c80069734da273883885d764ada0c1dd2 view | diff
fix(goatcounter): properly count SPA page hits (#2035)

1. Should not create new instance after count.js, as it already setup an
instance.
2. Script block would be removed when navigating with SPA, and it cause
count.js can not find endpoint by query. The solution is to set
endpoint manually.
1 files modified
14 ■■■■■ changed files
quartz/plugins/emitters/componentResources.ts 14 ●●●●● diff | view | raw | blame | history