Skip to content

Commit

Permalink
Merge pull request #523 from outlandishideas/develop
Browse files Browse the repository at this point in the history
changing GTM implementation
  • Loading branch information
rasmuswinter authored Jun 21, 2024
2 parents 0acad3b + 26324ad commit 3ff66f6
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions web/templates/layout.twig
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,16 @@
<link rel="stylesheet" href="{{ app.request.basepath }}/assets/css/style.css">
<link rel="shortcut icon" href="favicon.png">
<link rel="search" href="{{ app.request.basepath }}/opensearch.xml" type="application/opensearchdescription+xml" title="Wordpress Packagist">
<!-- Google Tag Manager -->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-66E5KL2YSN"></script>
<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-MG7JVQCL');
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-66E5KL2YSN');
</script>
<!-- End Google Tag Manager -->
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MG7JVQCL" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

<div class="row">
<div class="small-12 columns">

Expand Down

0 comments on commit 3ff66f6

Please sign in to comment.