Skip to content

Commit

Permalink
migrate to gtm
Browse files Browse the repository at this point in the history
Signed-off-by: ayushthe1 <[email protected]>
  • Loading branch information
ayushthe1 committed Jul 15, 2023
1 parent 4cec7d8 commit 040ae4f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/_includes/analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TXGF3DB"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
7 changes: 7 additions & 0 deletions docs/_includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- 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-TXGF3DB');</script>
<!-- End Google Tag Manager -->
<noscript>
<div style = "text-align: center; background-color: #1E2117;">
<br>
Expand Down
2 changes: 1 addition & 1 deletion docs/_layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% include header.html %}

{% include analytics.html %}
{{ content }}

{% include footer.html %}

0 comments on commit 040ae4f

Please sign in to comment.