Skip to content

Commit

Permalink
remove google tag manager
Browse files Browse the repository at this point in the history
  • Loading branch information
nevvkid committed May 14, 2024
1 parent 9db54c0 commit aed6675
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
10 changes: 1 addition & 9 deletions _includes/google-analytics.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,4 @@
gtag('js', new Date());

gtag('config', '{{ site.google_analytics }}');
</script>

<!-- 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-P8GQJ6HS');</script>
<!-- End Google Tag Manager -->
</script>
4 changes: 0 additions & 4 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
{% if site.fixed_navbar %}class="has-navbar-fixed-{{ site.fixed_navbar }}"{% endif %}>
{% include head.html %}
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P8GQJ6HS"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{% include header.html %}
{% unless page.hide_hero %}
{% include hero.html %}
Expand Down

0 comments on commit aed6675

Please sign in to comment.