This is an automated email from the ASF dual-hosted git repository.

jin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git


The following commit(s) were added to refs/heads/master by this push:
     new 4d422263 chore: remove Google Analytics from website (#389)
4d422263 is described below

commit 4d42226381498081f4874af7fee18a4a709b8707
Author: Niall Pemberton <[email protected]>
AuthorDate: Fri Jan 24 10:01:42 2025 +0000

    chore: remove Google Analytics from website (#389)
    
    Co-authored-by: Niall Pemberton <[email protected]>
---
 config.toml                                                       | 2 +-
 .../assets/vendor/bootstrap/site/layouts/partials/analytics.html  | 8 +-------
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/config.toml b/config.toml
index dc2370ff..b583dc4a 100644
--- a/config.toml
+++ b/config.toml
@@ -93,7 +93,7 @@ anchor = "smart"
 [services]
 [services.googleAnalytics]
 # Comment out the next line to disable GA tracking. Also disables the feature 
described in [params.ui.feedback].
-id = "UA-00000000-0"
+##id = "UA-00000000-0"
 
 # Language configuration
 
diff --git 
a/themes/docsy/assets/vendor/bootstrap/site/layouts/partials/analytics.html 
b/themes/docsy/assets/vendor/bootstrap/site/layouts/partials/analytics.html
index ded6e724..8b137891 100644
--- a/themes/docsy/assets/vendor/bootstrap/site/layouts/partials/analytics.html
+++ b/themes/docsy/assets/vendor/bootstrap/site/layouts/partials/analytics.html
@@ -1,7 +1 @@
-<script>
-  window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new 
Date;
-  ga('create', 'UA-146052-10', 'getbootstrap.com');
-  ga('set', 'anonymizeIp', true);
-  ga('send', 'pageview');
-</script>
-<script async src="https://www.google-analytics.com/analytics.js";></script>
+

Reply via email to