Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #85 from tere92/master
Browse files Browse the repository at this point in the history
Add GTM
  • Loading branch information
tere92 authored Jan 30, 2024
2 parents 5e7597c + 1ba28b9 commit cd49b48
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions _includes/themes/flat/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
{% assign page_tags = page.tags | join: ', ' %}
{% assign page_keywords = page_tags | append: ', ' | append: page_keywords %}
{% endif %}
<!-- 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-MN8W29W4');</script>
<!-- End Google Tag Manager -->

<meta name="keywords" content="{{ page_keywords }}">

Expand Down Expand Up @@ -102,6 +109,10 @@
</head>

<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MN8W29W4"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

<nav class="navbar navbar-light navbar-expand-lg">
<div class="container navContainer">
Expand Down

0 comments on commit cd49b48

Please sign in to comment.