|
|
@ -34,7 +34,7 @@ export const App = ({ url }: { url?: string }) => {
|
|
|
|
|
|
|
|
|
|
|
|
const handleRouteChange = () => {
|
|
|
|
const handleRouteChange = () => {
|
|
|
|
// @ts-ignore
|
|
|
|
// @ts-ignore
|
|
|
|
if (window.goatcounter) {
|
|
|
|
if (typeof window !== 'undefined' && window.goatcounter) {
|
|
|
|
// @ts-ignore
|
|
|
|
// @ts-ignore
|
|
|
|
window.goatcounter.count({
|
|
|
|
window.goatcounter.count({
|
|
|
|
path: location.pathname + location.search + location.hash,
|
|
|
|
path: location.pathname + location.search + location.hash,
|
|
|
|