Skip to content

Commit

Permalink
Add missin GA Scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
elrumordelaluz committed Nov 9, 2023
1 parent abfca19 commit 45d66cd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions apps/docs/pages/_app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ export default function App({ Component, pageProps }) {
id="_carbonads_js"
/>
<Component {...pageProps} />
<Script src="https://www.googletagmanager.com/gtag/js?id=G-ZQ9SP2F9PW" />
<Script id="google-analytics">
{`
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-ZQ9SP2F9PW');
`}
</Script>
</>
)
}

1 comment on commit 45d66cd

@vercel
Copy link

@vercel vercel bot commented on 45d66cd Nov 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.