Take your business to next level
Become part of our growing family of +600,000 users and get the tools you need to make smart choices for your website. Simple, powerful insights are just a click away.
If you’re not a programmer, these terms might sound confusing (or like breakfast foods). In data security, salts and hashes describe how we transform personal data (like IP addresses) so it can’t be traced back to an individual.
a7d93f2...
).Before any hashing happens, WP Statistics anonymizes your visitors’ IP addresses. For example, if a visitor’s IP is 192.168.0.15
, the plugin stores it in a partially obscured form like 192.168.0.x
. So, we never save the full IP address—this already goes a long way toward protecting your visitors’ privacy.
Here’s how WP Statistics turns your visitors’ anonymized IP (plus other data) into an anonymized hash:
Even with the truncation, your visitors’ IP addresses remain private. A partial SHA-256 hash is still exceptionally difficult to reverse, and the daily salt ensures data can’t be correlated across days.
192.168.0.15
→ Anonymized → 192.168.0.x
f4b76ad8e1f...
(randomly generated)f4b76ad8e1f + 192.168.0.x + Mozilla/5.0 ...
02c84f6040b8433c350e740246e3feea1d44dba52551f21b3bdd...
02c84f6040b8433c350e740246e3feea1d44dba5
This 40-character hash is what goes into the database.While our approach provides robust privacy and accurate visitor counting, it does come with a few trade-offs:
These limitations are by design to preserve visitor privacy. If your analytics requirements include long-term user tracking, you’d need a different approach that would inevitably store more personal data.
We moved from SHA-1 to SHA-256 in version 14.12.3:
By truncating to 40 characters, we maintain compatibility with databases and systems expecting a 40-character field, while still preserving a high level of security and privacy.
At WP Statistics, we anonymize IP addresses, use a daily salt for every visitor, and then hash that data with SHA-256 (storing only the first 40 characters). This process ensures:
We believe these trade-offs are worth it to protect privacy. If you have any questions or need more advanced features, feel free to check our documentation or reach out to us!
Become part of our growing family of +600,000 users and get the tools you need to make smart choices for your website. Simple, powerful insights are just a click away.