Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why goindex has baidu tracker? #71

Open
chinchio opened this issue May 25, 2021 · 4 comments
Open

Why goindex has baidu tracker? #71

chinchio opened this issue May 25, 2021 · 4 comments

Comments

@chinchio
Copy link

In goindex-acrou/src/main.js
goindex-acrou/goindex-builder-code/light/views/index.html
goindex-acrou/goindex-builder-code/dark/views/index.html
I can find the code below
https://hm.baidu.com/hm.js?6be1011f95a1bfcdb2179fe2ae6e58fe
Why goindex need this code?

@priyanshurohilla2004
Copy link

is this serious i am also using this ?

@andatoshiki
Copy link

andatoshiki commented May 10, 2022

Baidu's hm.js pretty much serve the same feature as gtag.js provides by Google it monitors web traffic and user view time analysis then serves a direct chart/table in the admin panel for helping site owners to know which part of the country/world uses his services the most, you'll probably see the same thing in a lot of self-hosted projects on GitHub, some owner tells you to fork and delete the tracker js, but some don't. This is mainly for basic SEO usages yet hm.js is an embedded JavaScript within your site so the site owner can literally create a separate self-hosted admin panel and wipe out the data inside himself. Yes we do want privacies, but hm.js is lot safer than gtag.js to be honest here, if you still don't feel good with my explanation, host your own installation page, fully open sourced, otherwise, don't use. You can literally just fork this repo and delete this line of code manually then deploy your own ones instead of bring out this topic to confuse people, do some research before you really issue out in a repo.

@OkazakiLeir
Copy link

@andatoshiki Why are you being so defensive? Nobody wants spyware crap, no matter what country it is from. @chinchio Thanks for the heads-up, I'll make sure to give the source code a good read before blindly trusting anything that is similar to Google.

@alx-xlx
Copy link
Owner

alx-xlx commented Nov 17, 2022

The Baidu Analytics was introduced in the Original Achrou/goindex-theme-acrou, I didn't remove it.

You can remove the Baidu Analytics from your Worker

remove the following from your code

hm.src = "https://hm.baidu.com/hm.js?9c5614ee0ea7b04c0f3d142b02f283fc";

@alx-xlx alx-xlx pinned this issue Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants