Finding out about the people who visit shameful websites
Question

We run an Islamic website. Is it permissible for us to use a questionnaire to find out about the number of visitors to bad and shameful websites so that we may use that information to advise them, and because that might provide useful information to daa’iyahs and reformers?
Praise be to Allah.If this information will have legitimate shar’i benefits that will help the daa’iyahs and others, and if nothing bad will result from it such as exposing individuals or informing people about bad websites or propagating evil, etc., then there is nothing wrong with doing it. It could help in dealing with some situations.
And Allah knows best.