Skip to content

Commit

Permalink
Move the metrics up
Browse files Browse the repository at this point in the history
  • Loading branch information
petrvecera committed Jun 2, 2024
1 parent de020ef commit cbf7844
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/web/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ import { firebase } from "./firebase";
firebase.init();
// Initialize Firebase

// Collect RUM metrics
new Metrics({
token: "cdbeca7f-be87-45d8-a36a-0ba520f1ec5c",
}).collect();

const history = createBrowserHistory();
history.listen(analytics.pageView);

Expand All @@ -34,8 +39,3 @@ if (process.env.NODE_ENV !== "production" && module.hot) {

// Render our app
renderApp();

// Collect RUM metrics
new Metrics({
token: "cdbeca7f-be87-45d8-a36a-0ba520f1ec5c",
}).collect();

0 comments on commit cbf7844

Please sign in to comment.