Skip to content

Commit

Permalink
feat: add google analyze
Browse files Browse the repository at this point in the history
  • Loading branch information
YanYuanFE committed Sep 13, 2024
1 parent 97f0e07 commit 45e4444
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Metadata } from "next";

import "./globals.css";
import {ThemeProvider} from "next-themes";
import { Analytics } from '@vercel/analytics/react';
import { GoogleAnalytics } from '@next/third-parties/google'
import React from "react";
import {OpenpanelProvider} from "@openpanel/nextjs";

Expand All @@ -28,7 +28,7 @@ export default function RootLayout({
>
{children}
</ThemeProvider>
<Analytics/>
<GoogleAnalytics gaId="G-KMNYTQF108" />
<OpenpanelProvider
clientId="265f0bfc-cbd5-4f47-8feb-3713493fe25b"
trackScreenViews={true}
Expand Down

0 comments on commit 45e4444

Please sign in to comment.