Skip to content

Commit 3cfda7d

Browse files
committed
switch to cloudflare analytics for gdpr compliance
1 parent 095da5c commit 3cfda7d

File tree

2 files changed

+6
-38
lines changed

2 files changed

+6
-38
lines changed

README.md

+1-36
Original file line numberDiff line numberDiff line change
@@ -1,36 +1 @@
1-
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
2-
3-
## Getting Started
4-
5-
First, run the development server:
6-
7-
```bash
8-
npm run dev
9-
# or
10-
yarn dev
11-
# or
12-
pnpm dev
13-
# or
14-
bun dev
15-
```
16-
17-
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
18-
19-
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
20-
21-
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
22-
23-
## Learn More
24-
25-
To learn more about Next.js, take a look at the following resources:
26-
27-
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28-
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
29-
30-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
31-
32-
## Deploy on Vercel
33-
34-
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
35-
36-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
1+
Website of the ACE Lab at USC: https://usc-ace-lab.github.io

app/layout.tsx

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import Navbar from "./UI/navbar";
33
import "@/styles/globals.css";
44
import Footer from "./UI/footer";
55
import Script from "next/script";
6-
import { GoogleAnalytics } from "@next/third-parties/google";
76

87
export const metadata: Metadata = {
98
title: "ACE Lab @USC",
@@ -40,7 +39,11 @@ export default function RootLayout({
4039
{children}
4140
</main>
4241
<Footer />
43-
<GoogleAnalytics gaId="G-3J0HW6PM08" />
42+
<Script
43+
defer
44+
src="https://static.cloudflareinsights.com/beacon.min.js"
45+
data-cf-beacon='{"token": "587a324f2ade413a985f00e954864d5f"}'
46+
/>
4447
</body>
4548
</html>
4649
);

0 commit comments

Comments
 (0)