We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca7eccc commit 4ce51a6Copy full SHA for 4ce51a6
gatsby-browser.js
@@ -0,0 +1,8 @@
1
+
2
+const onRouteUpdate = (location) => {
3
+ if (window.ga) {
4
+ window.ga('send', location.pathname);
5
+ }
6
+}
7
8
+export {onRouteUpdate};
0 commit comments