From e98ac18537b3f5e9ab1ed98ba6a22d185168e9fc Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Mon, 29 Mar 2021 10:28:45 -0400 Subject: [PATCH] fix page view analytics on faq --- pages/faq.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/faq.js b/pages/faq.js index c10774b..7fe6dc7 100644 --- a/pages/faq.js +++ b/pages/faq.js @@ -25,7 +25,7 @@ export default function Faq() { const lang = router.query.lang || 'en'; React.useEffect(() => { - tracker.trackPageView(); + tracker.trackPageView(window.location.pathname); }, []); function __(message) {