mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-12 20:10:50 +01:00
Disable Google Analytics
This commit is contained in:
parent
42f30198ad
commit
43324a96f8
@ -1,13 +0,0 @@
|
||||
(function() {
|
||||
var d = document, s = d.createElement('script');
|
||||
s.src = 'https://esphomelib.disqus.com/embed.js';
|
||||
s.setAttribute('data-timestamp', +new Date());
|
||||
(d.head || d.body).appendChild(s);
|
||||
})();
|
||||
|
||||
var disqus_config = function () {
|
||||
let disqusThread = document.getElementById("disqus_thread");
|
||||
if (disqusThread === null)
|
||||
return;
|
||||
this.page.identifier = disqusThread.getAttribute('data-disqus-identifier');
|
||||
};
|
@ -32,8 +32,6 @@
|
||||
A new version has been release since you last visited this page: {{ release }} 🎉
|
||||
<a id="upgrade-footer-changelog" href="/changelog/v{{ version }}.0.html">View Changelog</a>
|
||||
</div>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-113203480-2"></script>
|
||||
<script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'UA-113203480-2', {'anonymize_ip': true});</script>
|
||||
<script>
|
||||
var old = window.localStorage.getItem("version");
|
||||
if (old === null) { window.localStorage.setItem("version", "{{ version }}");
|
||||
|
Loading…
Reference in New Issue
Block a user