Google Analytics vervangen door Tag Manager

This commit is contained in:
2021-11-01 19:41:47 +01:00
parent ee133f6747
commit 61e335f44c
2 changed files with 8 additions and 10 deletions

View File

@@ -6,18 +6,11 @@ cookieconsent.run({"notice_banner_type":"simple","consent_type":"express","palet
}); });
</script> </script>
<!-- Google Analytics --> <!-- Google Tag Manager -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script type="text/plain" cookie-consent="tracking" async src="https://www.googletagmanager.com/gtag/js?id=UA-5062172-3"></script>
<script type="text/plain" cookie-consent="tracking"> <script type="text/plain" cookie-consent="tracking">
window.dataLayer = window.dataLayer || []; (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-KGLKLJ4');
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-5062172-3');
</script> </script>
<!-- End Google Tag Manager -->
<!-- end of Google Analytics-->
<noscript>ePrivacy and GPDR Cookie Consent by <a href="https://www.CookieConsent.com/" rel="nofollow noopener">Cookie Consent</a></noscript> <noscript>ePrivacy and GPDR Cookie Consent by <a href="https://www.CookieConsent.com/" rel="nofollow noopener">Cookie Consent</a></noscript>
<!-- End Cookie Consent by https://www.CookieConsent.com --> <!-- End Cookie Consent by https://www.CookieConsent.com -->

View File

@@ -5,6 +5,11 @@
<html> <html>
@include('layouts._head') @include('layouts._head')
<body> <body>
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KGLKLJ4" height="0" width="0" style="display:none; visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div class="site_container boxed"> <div class="site_container boxed">
<div class="header_top_bar_container style_11 clearfix"> <div class="header_top_bar_container style_11 clearfix">
{{-- {{--