by nathcd · 7y ago · 0 comments
1. Do you grab the country from the IP address before anonymising it? (I know VPN's are a thing, but we would like to know where our customers are coming from)
2. Why encrypt with a daily key instead of just hashing the IP address and storing the hash? Do you ever decrypt the IP address?
3. How have you found CloudWatch? I'm logging all requests to our own database, because it's so simple to do. What's the bonus for Cloudwatch?
Thank you for your questions.
Disclaimer: I also work on WTM from time to time, so I hope can answer these questions to some degree :)
1. WhoTracksMe is served via CloudFront, it only get's the IP that CF reports. To get the country, there are two ways that can be used. IP => Country mapping via a Database or additionally, because CF has multiple edge locations, if needed the you could see which edge location served the request, that will help you narrow down the location at a country level. Ofcourse, in both cases if the user is using VPN, you would only records the VPN location.
2. The problem we want to avoid is same IP with same hashing algorithm will produce same value. Which can then be used to co-relate user activity across days. Second, depending on what hashing scheme one is using, rainbow tables can be used to get back the original value. Therefore, to avoid, we used the approach of daily key. Now that I write, we could also use some hash + daily_salt. This should give the same guarantees. - Needs to be checked.
3. In this setup we are not using Cloudwatch but Cloudfront, which is the CDN provider from AWS.
2. Chances of a hash collision on IP address is pretty small (i.e. statistically insignificant). But adding a daily salt would decrease the odds, for sure.
3. Sorry, my bad, I meant Cloudfront, but it's Sunday night here and there has been wine ;) Same question: how has Cloud{{thing}} worked out for you? Is it worth the extra complexity?
Now, everyone takes tracking for granted as if the option of not being tracked is some sort of unachievable goal.
That's the issue. It isn't tracking A as opposed to tracking B. It's tracking period.
I'm not selling adverts to them. I'm not capturing personal information. all I'm doing is trying to understand who my customer is and why they're not buying my product.
Why is this unethical?
And why is it OK to analyse server logs, but not OK to use javascript, to do this?
The data in your server logs is data that people sent to you on purpose (by visiting a page on your site, or filling out a form on your site). If you collect data about people by sending them code to execute and send data back to you, they're not meaning to send you that data; you're doing it behind their back.
I'm glad you try to use data you collect responsibly, but if people aren't meaning to send you data, you're not entitled to it.
all I'm doing is trying to understand who my customer is and why they're not buying my product.
Then ask them. The same way companies did for hundreds of years before javascript tricks made people lazy.
These things can be achieved by simply talking to your customers. Why is that so hard to do?
Also, what makes you think that your interest in knowing your customer's behavior is more important than your customers' right to privacy?
I'm purely talking about tracking your behaviour on our site. We want to know if you spent 20 mins reading our "about" page and then looked at our pricing page, and then vanished.
In terms of the rest... country is probably interesting, language preference is interesting (when do we need to translate from English because we have enough customers not speaking English), platform is probably interesting (purely so we can prioritise development to match our customer base). Where you got referred from is probably interesting, I guess.
But all of that we'll be getting from the http request and ip address rather than any malign tracking cookie nonsense.
I don't want you to know this sort of information. It's too invasive.