Skip to content

Commit

Permalink
fix: add is:inline tag
Browse files Browse the repository at this point in the history
  • Loading branch information
robsongajunior committed Nov 5, 2024
1 parent 695fe0b commit cd1c0a2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/trd3/google-tag-manager/script.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<link rel="preconnect" href="https://www.googletagmanager.com/" />
<link rel="preconnect" href="https://www.google-analytics.com" />

<script async type="text/javascript">
<script is:inline async type="text/javascript">
(function() {
window.dataLayer = window.dataLayer || [];

Expand Down Expand Up @@ -45,7 +45,7 @@
});
})();
</script>
<script async type="text/javascript">
<script is:inline async type="text/javascript">
(function() {
if (window.location.origin !== 'https://www.azion.com' || window.location.search.match(/trd3=false/)) {
console.log('Google GTAG: disabled');
Expand All @@ -68,6 +68,5 @@
load();
}, 5000)
}

})();
</script>

0 comments on commit cd1c0a2

Please sign in to comment.