Removed preconnect hint for Google Analytics

This commit is contained in:
squidfunk 2020-06-07 12:08:12 +02:00
parent 29009afcab
commit 1df750a9fe
2 changed files with 0 additions and 3 deletions

View File

@ -2,6 +2,5 @@
This file was automatically generated - do not edit
-#}
{% set analytics = config.google_analytics %}
<link rel="preconnect dns-prefetch" href="https://www.google-analytics.com">
<script>window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new Date,ga("create","{{ analytics[0] }}","{{ analytics[1] }}"),ga("set","anonymizeIp",!0),ga("send","pageview"),document.addEventListener("DOMContentLoaded",function(){document.forms.search&&document.forms.search.query.addEventListener("blur",function(){if(this.value){var e=document.location.pathname;ga("send","pageview",e+"?q="+this.value)}})}),document.addEventListener("DOMContentSwitch",function(){ga("send","pageview")})</script>
<script async src="https://www.google-analytics.com/analytics.js"></script>

View File

@ -22,8 +22,6 @@
<!-- Google Analytics integration -->
{% set analytics = config.google_analytics %}
<link rel="preconnect dns-prefetch" href="https://www.google-analytics.com">
<script type="application/javascript">
window.ga = window.ga || function() {
(ga.q = ga.q || []).push(arguments)