Skip to content

Commit

Permalink
refactor: remove tag manager
Browse files Browse the repository at this point in the history
  • Loading branch information
danstarns committed Jun 7, 2024
1 parent a466103 commit 719ae9d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Rubik } from "next/font/google";
import "./globals.css";
import { ThemeProvider } from "@/components/shared/ThemeProvider";
import { Metadata } from "next";
import { GoogleAnalytics, GoogleTagManager } from "@next/third-parties/google";
import { GoogleAnalytics } from "@next/third-parties/google";

const rubik = Rubik({ subsets: ["latin"] });

Expand All @@ -17,7 +17,6 @@ export const metadata: Metadata = {

const previewGoogleAnalytics = {
analytics: "G-C14HJ0PDRJ",
tagManager: "GTM-P7N8PKGV",
};

const googleId = previewGoogleAnalytics;
Expand Down Expand Up @@ -50,7 +49,6 @@ export default function RootLayout({
</body>

<GoogleAnalytics gaId={googleId.analytics} />
<GoogleTagManager gtmId={googleId.tagManager} />
</html>
);
}

0 comments on commit 719ae9d

Please sign in to comment.