---
title: "Comment by Tommy Hoang on \"Anonymized Website Visitor Counter in Laravel\" | Hashnode"
description: "Thanks for your short description. It makes me easy to understand website counter. A newbie question, why do you hash the IP?"
url: "https://hashnode.com/posts/anonymized-website-visitor-counter-in-laravel/604ce5e037d84907f132821d/comment/60deeddd03707d644a4fe295"
---

[Discussion](https://hashnode.com/posts/anonymized-website-visitor-counter-in-laravel/604ce5e037d84907f132821d)

Comment [Anonymized Website Visitor Counter in Laravel](https://hashnode.com/posts/anonymized-website-visitor-counter-in-laravel/604ce5e037d84907f132821d)

[Tommy Hoang](https://hashnode.com/@tommyhoang)

[Jul 2, 2021](https://hashnode.com/posts/anonymized-website-visitor-counter-in-laravel/604ce5e037d84907f132821d/comment/60deeddd03707d644a4fe295)

Thanks for your short description. It makes me easy to understand website counter. A newbie question, why do you hash the IP?

[Dominik Zarsky](https://hashnode.com/@loupeznik)

[Jul 2, 2021](https://hashnode.com/posts/anonymized-website-visitor-counter-in-laravel/604ce5e037d84907f132821d/comment/60deeddd03707d644a4fe295#reply-60df1c7403707d644a4fe821)

Glad you found the article helpful. As to the IP hashing, I wanted to demonstrate a way one can anonymize collected user-identifying data (in this case the IP addresses). Hashing the values ensures the record's uniqueness as if one stored them in plaintext, but keeps our users somewhat anonymous.
