Google Analytics toegevoegd

This commit is contained in:
2021-04-16 09:42:24 +02:00
parent 2f75106289
commit 4d5d60b161
3 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<!-- Cookie Consent by https://www.CookieConsent.com -->
<script type="text/javascript" src="//www.cookieconsent.com/releases/3.1.0/cookie-consent.js"></script>
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function () {
cookieconsent.run({"notice_banner_type":"simple","consent_type":"express","palette":"light","language":"nl","website_name":"NH Gooi","cookies_policy_url":"https://www.nhnieuws.nl/privacyverklaring","change_preferences_selector":"#changePreferences"});
});
</script>
<!-- Google Analytics -->
<!-- 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">
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-5062172-3');
</script>
<!-- end of Google Analytics-->
<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 -->

View File

@@ -1,4 +1,5 @@
<head>
@include('layouts._analytics')
<title>@yield('title') | NH Gooi</title>
<!--meta-->
<meta charset="UTF-8" />

View File

@@ -309,6 +309,7 @@
</p>
</div>
</div>
<a href="#" id="changePreferences">Pas hier uw cookie-instellingen aan</a>
{{--
<h4 class="box_header page_margin_top">Get In Touch With Us</h4>
<ul class="social_icons dark page_margin_top clearfix">