mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Removed preconnect hint for Google Analytics
This commit is contained in:
parent
29009afcab
commit
1df750a9fe
@ -2,6 +2,5 @@
|
|||||||
This file was automatically generated - do not edit
|
This file was automatically generated - do not edit
|
||||||
-#}
|
-#}
|
||||||
{% set analytics = config.google_analytics %}
|
{% 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>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>
|
<script async src="https://www.google-analytics.com/analytics.js"></script>
|
||||||
|
@ -22,8 +22,6 @@
|
|||||||
|
|
||||||
<!-- Google Analytics integration -->
|
<!-- Google Analytics integration -->
|
||||||
{% set analytics = config.google_analytics %}
|
{% set analytics = config.google_analytics %}
|
||||||
<link rel="preconnect dns-prefetch" href="https://www.google-analytics.com">
|
|
||||||
|
|
||||||
<script type="application/javascript">
|
<script type="application/javascript">
|
||||||
window.ga = window.ga || function() {
|
window.ga = window.ga || function() {
|
||||||
(ga.q = ga.q || []).push(arguments)
|
(ga.q = ga.q || []).push(arguments)
|
||||||
|
Loading…
Reference in New Issue
Block a user