Skip to content

Commit

Permalink
Try to fix Google Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
andrablaj committed Jun 28, 2024
1 parent 3e15b1d commit e09b44b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ export default function App({ Component, pageProps, router }: CustomAppProps) {
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-98W4V2NTPJ',{
page_path: window.location.pathname;

gtag('config', 'G-98W4V2NTPJ');
`}
</Script>

<Head>
<title>{formatTitle()}TEST</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down

0 comments on commit e09b44b

Please sign in to comment.