Google Analytics toegevoegd
This commit is contained in:
23
resources/views/layouts/_analytics.blade.php
Normal file
23
resources/views/layouts/_analytics.blade.php
Normal 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 -->
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
<head>
|
<head>
|
||||||
|
@include('layouts._analytics')
|
||||||
<title>@yield('title') | NH Gooi</title>
|
<title>@yield('title') | NH Gooi</title>
|
||||||
<!--meta-->
|
<!--meta-->
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
|
|||||||
@@ -309,6 +309,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</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>
|
<h4 class="box_header page_margin_top">Get In Touch With Us</h4>
|
||||||
<ul class="social_icons dark page_margin_top clearfix">
|
<ul class="social_icons dark page_margin_top clearfix">
|
||||||
|
|||||||
Reference in New Issue
Block a user