Skip to content

Commit

Permalink
Added google tag manager
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Dec 22, 2024
1 parent 5ad1c0b commit ae39e52
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions web/landing/templates/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@
<link rel="stylesheet" href="{{ asset('styles/app.css') }}">
{% endblock %}

<!-- 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-TZZVXMB7');</script>
<!-- End Google Tag Manager -->
<script id="cookiepal" type="text/javascript" src="https://cdn.cookiepal.io/client_data/944894ea-9256-4fa5-817f-349b548cf43f/script.js"></script>
{% block javascripts %}
<script>
Expand All @@ -57,6 +64,10 @@
gtag('config', '{{ google_analytics_id }}');
</script>
<body class="scroll-smooth bg-black text-white">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TZZVXMB7" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) --
<header class="py-2 text-white bg-blue-200">
<div class="mx-auto max-w-screen-xl px-4 flex items-center justify-between">
<a href="{{ path('home') }}">
Expand Down

0 comments on commit ae39e52

Please sign in to comment.