Skip to content

Commit

Permalink
Switch to regular script tag
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianMachado committed Sep 24, 2024
1 parent 0463605 commit 5be1f32
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions www/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,14 @@ export default function Document() {
<script src={process.env.NEXT_PUBLIC_ANALYTICS_URL}></script>
) : null}
{process.env.NEXT_PUBLIC_ANALYTICS_URL ? (
<Script
// eslint-disable-next-line @next/next/next-script-for-ga
<script
async
src="https://www.googletagmanager.com/gtag/js?id=AW-11213523037"
/>
) : null}
{process.env.NEXT_PUBLIC_ANALYTICS_URL ? (
<Script
<script
id="google-analytics"
dangerouslySetInnerHTML={{
__html: `
Expand Down

0 comments on commit 5be1f32

Please sign in to comment.