The
2GIS tacit slogan can be made “From the fence to lunchtime”. It very accurately reflects what we have - all the useful information about the city. For some users it may be fences, for others - the exact time of work, for the third - something else.
Because we are relevant, accurate and know almost everything about companies, we are loved. Unfortunately, not all of this love is sincere. There are users who have decided that 2GIS can be used for their own selfish purposes and to the detriment of others. This does not suit us, so we decided, if not to end it, then to make the lives of such users as complex as possible.
This, of course, about spammers. Under the cut there is a small story about the disappearance of e-mail addresses in the
online version ,
API and what will happen next.

According to Kaspersky, the
proportion of spam in mail traffic is 70% . Until recently, 2GIS was a source for spammers to replenish their mailing lists.
')
E-mail addresses appeared in the directory around 2002. Now, no one can reliably tell how many there were then, but certainly not very much. Over time, from release to release, their number increased. This, of course, is the merit of not only our call-center, but also the development of technology in general. Today there are almost 2,000,000 companies in 2GIS. These are about 700,000 e-mail addresses that are so interesting to “e-mail carriers”. With the help of parsers, they pulled out the data and used them for distribution or further sale. Their actions gave a load on the API and brought harm to companies that are placed in the directory.
We decided to actively fight it.
One option was to hide email addresses. However, before deciding on it, it was necessary to check how this would affect users and companies. As a platform for the experiment, we chose the most dynamic version -
online .
Hypothesis testing
Indeed, do we need e-mails? Do they use them? Are they an effective communication channel with the company? Before deleting, it was necessary to give answers to all these questions.
We started with data analysis. Statistics,
which never lies , showed that for 500 calls there is one click to the postal address. Not critical.
We looked at the expanses of the Internet. We found there sites of companies with catalogs, prices and other things that help you quickly find out about services and prices.
More on the Internet were found specialized resources (
Flamp ,
Banks.ru ) and social networks in which you can chat with representatives of companies, in every way to praise or scold them. It's smooth here too.
Decided to err. They interviewed themselves, friends themselves and friends of friends. No one remembered when he last clicked on an e-mail. And many (the absolute majority) said that they don’t write to info @ at all, since the letter would most likely fall into the abyss. And, as a rule, it is much easier and more efficient to call or find mail of a particular specialist. Again, everything is clear. Nearly.
One doubt remained:

We confess immediately. We did not look at the billions of hours of a web-visitor - there are more efficient ways to spend this time. We decided to turn off and look at the reaction.

Reaction
And how do you think, how many angry letters have we received? Tens, hundreds, thousands? No, less than 10 (ten letters). And it was impossible to call them angry. Two or three letters were from companies that just wanted to know where the addresses went. And a few more - from those who have a material interest in their presence.
For example:

A bit of magic, deduction and Google explain to us why a person is interested in this question. Namely, there was a video (it has already been cut at our request), where it demonstrates the work of the parser.
Sorry for the sad news, but we do not plan to return email addresses and exit the game.
However, some manufacturers of parsers are optimistic about the future and offer customers their product at a discount “due to technical problems of 2GIS”:

If your projects need data from 2GIS, then it is much easier to get them in legal ways:
1. Order production
to choose from:
electronic ,
wall ,
folding . Order a
sample of any complexity from the database.
2. Use
the 2GIS APIYou can all together, but you can separately map and reference book separately.
findings
There were no negative consequences in hiding e-mails in the directory. Well, for honest users. And the load on API 2GIS decreased by about 30%. And something suggests that these 30% of the load just created by the work of parsers.
At the same time, we understand that 2GIS-online has its own audience, with its own user scenarios, different from the scenarios of using
PC and
mobile versions . That is why the simple concealment of mail in them will not be.
Instead of mail, a form for company feedback will appear. In fact, the message will go to the same e-mail address that was specified earlier, but only through the 2GIS server. We hope that this will make hacking the PC version a useless exercise, since the tidbit - e-mail addresses - will not be stored in the program itself.