Skip to content

Commit

Permalink
Add analytics tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
andychase committed Sep 26, 2024
1 parent 30cb4fa commit 50fcee2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,15 @@ export default function Document(props: Props) {
<Head>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-title" content="Gov Chat"></meta>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-W55ZK7');</script>
</Head>
<body>
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-W55ZK7"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<Main />
<NextScript />
</body>
Expand Down

0 comments on commit 50fcee2

Please sign in to comment.