Skip to content

Commit

Permalink
fix: 🐛 replaced google analytics with gtm
Browse files Browse the repository at this point in the history
  • Loading branch information
WasiqB committed Oct 6, 2024
1 parent a2e02aa commit bf572e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/(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 { DetailedHTMLProps, HtmlHTMLAttributes } from 'react';
import { Footer } from '@/components/home/footer';
import { GoogleAnalytics } from '@next/third-parties/google';
import { GoogleTagManager } from '@next/third-parties/google';

export const metadata: Metadata = {
title: 'Ultra Reporter',
Expand All @@ -27,7 +27,7 @@ const RootLayout = ({
<Footer />
</body>
{process.env.VERCEL_ENV === 'production' && (
<GoogleAnalytics gaId='G-CNW9F6PH7P' />
<GoogleTagManager gtmId='G-CNW9F6PH7P' />
)}
</html>
);
Expand Down

0 comments on commit bf572e2

Please sign in to comment.