Skip to content

Commit

Permalink
Vercel analytics script
Browse files Browse the repository at this point in the history
  • Loading branch information
controversial committed May 12, 2023
1 parent ab4cdb1 commit ecd862f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@contentful/rich-text-html-renderer": "^16.0.4",
"@contentful/rich-text-plain-text-renderer": "^16.0.4",
"@mailchimp/mailchimp_marketing": "^3.0.80",
"@vercel/analytics": "^1.0.1",
"classnames": "^2.3.2",
"contentful": "^10.2.0",
"dom-serializer": "^2.0.0",
Expand Down
5 changes: 5 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ import Footer from 'components/Footer';
import Nav from 'components/Nav';
import Frame from 'components/Frame';

import { Analytics } from '@vercel/analytics/react';

import 'styles/global/base.scss';


export default function RootLayout({
children,
}: {
Expand Down Expand Up @@ -41,6 +44,8 @@ export default function RootLayout({
</main>

<Footer />

<Analytics />
</body>
</html>
);
Expand Down

0 comments on commit ecd862f

Please sign in to comment.