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

zhaoqingran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git


The following commit(s) were added to refs/heads/master by this push:
     new 9b20ab8434 [type:fix] remove matomo ip (#2990)
9b20ab8434 is described below

commit 9b20ab8434688621c787752650c8afda30ffa492
Author: aias00 <[email protected]>
AuthorDate: Fri Jan 17 23:15:44 2025 +0800

    [type:fix] remove matomo ip (#2990)
---
 web-app/src/index.html | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/web-app/src/index.html b/web-app/src/index.html
index 1905675a2a..940d9b1e14 100644
--- a/web-app/src/index.html
+++ b/web-app/src/index.html
@@ -11,8 +11,12 @@
   <script>
     var _paq = window._paq = window._paq || [];
     /* tracker methods like "setCustomDimension" should be called before 
"trackPageView" */
+    // _paq.push(['requireCookieConsent']);
+    _paq.push(['disableCookies']);
+    _paq.push(['setCustomUrl', 'http://']);
     _paq.push(['trackPageView']);
     _paq.push(['enableLinkTracking']);
+
     (function() {
       var u="https://analytics.apache.org/";;
       _paq.push(['setTrackerUrl', u+'matomo.php']);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to