We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f06c0ef commit c35718bCopy full SHA for c35718b
gatsby-browser.js
@@ -1,7 +1,5 @@
1
import "./src/styles/global.css";
2
3
-import { pageView } from "./scripts/track";
4
-
5
export { default as wrapRootElement } from "./src/state/wrap-with-provider";
6
7
export const onClientEntry = () => {
@@ -19,9 +17,3 @@ export const onClientEntry = () => {
19
17
=====================================
20
18
`);
21
};
22
23
-export const onRouteUpdate = ({ location, prevLocation }) => {
24
- if (process.env.NODE_ENV === "production") {
25
- pageView();
26
- }
27
-};
scripts/track.js
0 commit comments