diff options
Diffstat (limited to 'src/components/Analytics.astro')
-rw-r--r-- | src/components/Analytics.astro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Analytics.astro b/src/components/Analytics.astro index 977c610..428ad4f 100644 --- a/src/components/Analytics.astro +++ b/src/components/Analytics.astro @@ -13,5 +13,5 @@ const { title } = Astro.props; <!-- GoatCounter --> <script is:inline data-goatcounter="https://analytics.popov.link/count" src="//gc.zgo.at/count.js"></script> <noscript> - <img alt="pixel" src={`https://analytics.popov.link/count?p=${path}&t=${title}`} /> + <img alt="pixel" src={`https://analytics.popov.link/count?p=${encodeURI(path)}&t=${encodeURI(title)}`} /> </noscript> |