From 259722207566c33509437e8aebfc3d93ae40f090 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Mon, 17 Dec 2018 01:51:00 +1100 Subject: [PATCH] Added hotfix --- src/utilities/google_analytics.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utilities/google_analytics.jsx b/src/utilities/google_analytics.jsx index ea8c2ca..efa7cc2 100644 --- a/src/utilities/google_analytics.jsx +++ b/src/utilities/google_analytics.jsx @@ -16,7 +16,7 @@ class GoogleAnalytics extends React.Component { componentDidUpdate({location: prevLocation}) { const { location: { pathname, search } } = this.props; const isDifferentPathname = pathname !== prevLocation.pathname; - const idDifferentSearch = search !== prevLocation.search; + const isDifferentSearch = search !== prevLocation.search; if (isDifferentPathname || isDifferentSearch) { this.logPageChange(pathname, search);