Skip to content

Commit

Permalink
Add Vercel analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKohler committed Mar 17, 2024
1 parent 870f9f4 commit 88336f0
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
isRouteErrorResponse,
useRouteError,
} from "@remix-run/react";
import { Analytics } from "@vercel/analytics/react";

import Footer from "./components/footer";
import Header from "./components/header";
Expand Down Expand Up @@ -77,6 +78,7 @@ function App({ children }: { children?: React.ReactNode }) {
<Footer />
<ScrollRestoration />
<Scripts />
<Analytics />
<LiveReload />
</body>
</html>
Expand Down
39 changes: 39 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"@remix-run/node": "^2.8.1",
"@remix-run/react": "^2.8.1",
"@remix-run/serve": "^2.8.1",
"@vercel/analytics": "^1.2.2",
"isbot": "latest",
"mapbox-gl": "^3.2.0",
"nodemailer": "^6.9.12",
Expand Down

0 comments on commit 88336f0

Please sign in to comment.