Skip to content

Commit

Permalink
fix: head remove gtm
Browse files Browse the repository at this point in the history
  • Loading branch information
robsongajunior committed Apr 4, 2024
1 parent 71f53b5 commit 94faabd
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/components/Head.astro
Original file line number Diff line number Diff line change
Expand Up @@ -55,23 +55,3 @@ const {
<meta property="twitter:title" content={title} />
<meta property="twitter:description" content={description} />
<meta property="twitter:image" content={new URL(image, Astro.url)} />

<!-- Google Tag Manager -->
<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-PD9CKQS5');
</script>
<!-- End Google Tag Manager -->

0 comments on commit 94faabd

Please sign in to comment.