Skip to content

Commit

Permalink
Add google tag
Browse files Browse the repository at this point in the history
  • Loading branch information
PengiCoder authored Sep 23, 2024
1 parent cc5115b commit 76c7b09
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions dracula/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
<html lang="en">

<head>
<!-- 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-P24C55FC');</script>
<!-- End Google Tag Manager -->
{%- block htmltitle %}
<title>{% if page and page.title and not page.is_homepage %}{{ page.title }} - {% endif %}{{ config.site_name }}</title>
{%- endblock %}
Expand Down Expand Up @@ -58,6 +65,10 @@
</head>

<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P24C55FC"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

<main class="d-flex">

Expand Down

0 comments on commit 76c7b09

Please sign in to comment.