tracker.js
-
nix datenschutz?
-
Hi @geogoucho, thanks for taking the time to leave a review.
tracker.js is built for data protection. Here is what it does:
– It loads from your own website, not from our servers or any other company.
– It sends page views only to your own WordPress site. No visitor data leaves your server.
– It does not set any cookies.
– IP addresses are anonymized and hashed by default, so the full IP is never stored.You can check this under **Statistics → Settings → Privacy & Data Protection**. The Privacy Audit there flags any setting that could affect GDPR. If you use a consent plugin (WP Consent API, Real Cookie Banner or Borlabs Cookie), you can connect it on the same page. Then tracking only starts after the visitor agrees.
More details: https://wp-statistics.com/resources/avoiding-pii-data-collection/
What made you worried about tracker.js? For example, a privacy scanner, your cookie banner or a browser warning. Tell us and we will look into it. If this answers your concern, we would be grateful if you updated your rating.
Thanks again, we are here if you need anything else.
Laden fehlgeschlagen für das <script> mit der Quelle "https://www.xxxxxxx/wp-content/plugins/wp-statistics/assets/js/tracker.js?ver=14.16.14".someone hate your tracker.js
Hi @geogoucho, thanks for sending the exact message, that helps a lot.
“Loading failed for the <script>” means your browser blocked tracker.js before it ran. Ad blockers (uBlock Origin, AdGuard) and Firefox tracking protection block any file named “tracker.js”, whatever it does. Nothing was sent anywhere. The script simply did not load.
To fix it:
1. Go to **Statistics → Settings → General**.
2. Turn on **Bypass Ad Blockers** and save.
3. Clear your page cache, if you use a cache plugin.The script then loads under a random name from your own site, so blockers stop catching it. The **Tracker Debugger** under Statistics will confirm it loads. More help: https://wp-statistics.com/resources/troubleshoot-the-tracker/
If the error stays after that, tell us your browser and any blocker add-on you use, and we will look into it.
there are two ‘tracker.min.js’ and ‘tracker.js’ files inside assets/js and both seemeed to be minified.
It would be great to get a readable version, so that i can understand what they are doing.
Hi @geogoucho, thanks for looking into this closely.
You are right, both files are minified. Only
tracker.jsis loaded on your site.tracker.min.jswas an old leftover that nothing loads anymore. We have removed it, and the change goes out in the next version soon: https://github.com/wp-statistics/wp-statistics/commit/7aef2ce2016709dc9e73d36e468414c66054414ftracker.jsis built from three readable files, already in your plugin folder underwp-content/plugins/wp-statistics/assets/dev/javascript/:–
user-tracker.js: sends the page view
–event-tracker.js: link clicks and downloads, only when the Data Plus or Marketing add-on is active
–tracker.js: starts tracking and checks consent pluginsSame files on GitHub: https://github.com/wp-statistics/wp-statistics/tree/master/assets/dev/javascript
In short: it sends one request with the page view to your own site (REST API or
admin-ajax.php) and nothing to any other server. It sets no cookies.Happy to help if anything in the code is unclear.
You must be logged in to reply to this review.