doc: Remove Google Analytics tracking code

This removes Google Analytics related code from the generated
documentation.
Fixes #54873

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
Benjamin Cabé 2023-02-15 17:50:59 +01:00 committed by Stephanos Ioannidis
commit 3f009bd834
2 changed files with 0 additions and 13 deletions

View file

@ -1,10 +0,0 @@
// <!-- Global site tag (gtag.js) - Google Analytics -->
// Copyright (c) 2019, Intel Corporation
// SPDX-License-Identifier: Apache-2.0
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-831873-47');

View file

@ -324,6 +324,3 @@ def setup(app):
# theme customizations
app.add_css_file("css/custom.css")
app.add_js_file("js/dark-mode-toggle.min.mjs", type="module")
app.add_js_file("https://www.googletagmanager.com/gtag/js?id=UA-831873-47")
app.add_js_file("js/ga-tracker.js")