Skip to content

Commit

Permalink
Update src/fides/data/sample_project/cookie_house/src/pages/index.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Neville Samuell <[email protected]>
  • Loading branch information
nicolas-ethyca and NevilleS authored Apr 3, 2023
1 parent e2d7671 commit 40aadf6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const IndexPage = ({
<link rel="icon" href="/favicon.ico" />
<link rel="stylesheet" href="https://rsms.me/inter/inter.css"></link>
</Head>
{gtm_key && (
{gtm_key ? (
<Script id="google-tag-manager" strategy="afterInteractive">
{`
(function (w, d, s, l, i) {
Expand All @@ -47,7 +47,7 @@ const IndexPage = ({
'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', '${gtm_key}');
`}
</Script>)}
</Script>) : null }
<Home products={products} />
</>
);
Expand Down

0 comments on commit 40aadf6

Please sign in to comment.