Skip to content

Commit

Permalink
fix Google Tag Manager
Browse files Browse the repository at this point in the history
  • Loading branch information
ai-quantitative committed Oct 22, 2024
1 parent cca921f commit 6bfb482
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');

<!-- Google Tag Manager -->
//<!-- Google Tag Manager -->
(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', '{{ site.google_tag_manager }}');
<!-- End Google Tag Manager -->
//<!-- End Google Tag Manager -->
}
</script>
{%- endif %}
Expand Down

0 comments on commit 6bfb482

Please sign in to comment.