Better track pageview

This commit is contained in:
Paulus Schoutsen 2019-08-06 09:36:22 -07:00
parent c382768008
commit d2e780dda2

View File

@ -48,7 +48,7 @@
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-57927901-9', 'auto');
ga('send', 'pageview', '/');
ga('send', 'pageview', location.pathname.includes("auth_callback") === -1 ? location.pathname : "/");
</script>
</body>
</html>