The day before last, I pointed out the not obvious vulnerability of Habra,
which allowed to insert the VC retargeting pixel into the necessary articles for collecting the maximum target audience and further advertising on it through the social network.
Thanks to the efforts of the developers, this problem was successfully fixed within a few days, but our saga is not over. Let me remind you that according to the official price list of Habr, the cost of 1000 banner impressions for resource users ranges from 400 to 550 rubles. For geo-targeting in Moscow and Peter will have to pay 20 and 15 percent, respectively.
But there is still a way to advertise to the same audience by paying 30-150 rubles per thousand impressions. Let's think about how to fix this feature:
')

It will be about the authorization widget through social networks. The method described below works with ANY site where there is an opportunity to make an entrance through VK.
Click on the Login button and select Vkontakte. The following screen appears:

The red oval is
client_id . Sometimes it is at the beginning, sometimes at the end of a line, but I have not yet seen a site where it would not exist. We copy the digits after the equal sign (in the case of Habr, this is
3110645 ) and go to the advertising office Vkontakte.
We paste the resulting number into the Applications section and the sites of the VC advertising cabinet, and we get the following results:

145 thousand people who logged in to Habré using the VK widget (frankly, I’m not completely sure what the time interval is). Using the VC tools, we indicate the necessary parameters of the audience (gender / age / geographic location) and get the opportunity to advertise for this target audience 5-10 times cheaper than the official price of Habr.
But let's move away from our favorite site for a second and think about where this feature can still be applied. Suppose that you have an online clothing store, and you would like to advertise to people who are more likely to buy in similar online stores.
How to get to the hottest audience?
We pass on the top of the Runet, looking at all kinds of Lamoda and get access to the audience, which at least logged in on their sites (and most likely interested in buying). A similar trick can be done with any online store and project in which there are competitors with strong sites. And authorization widgets.
This works great for digital projects as well. For example, if you advertise courses on layout, you can always collect users of htmlacademy.ru and a whole group of similar projects that, as a rule, have authorization through social networks.
There may be a lot of examples of application, but the main message is that such a trick helps to reach the audience, which is usually not so easy to reach.
How ethical is using this method? I understand that in the eyes of most programmers I will look like a bad person for recognizing the use of this method (and I use it very often). At the same time, I am convinced that there are two types of vulnerabilities.
On one side of the barricades are tricks and tricks to help reach the target audience with maximum efficiency (this can be attributed to the above method, and, for example, the story of the substitution of pictures in the same ill-fated Contact, when, contrary to the rules of the site, it was possible to contact the user by name / age, replacing the image in promo post after moderation), on the other - methods, the purpose of which is to CHEAT the user. As, for example, the substitution of the results of contests on random.org with the help of simple scripts that generate any desired number under the guise of "random".
The first ones help to achieve steep results by showing advertisements to the most interested users (there is nothing wrong with advertising a good product for a person to whom this product may be useful). For the latter, you need to punish a **** but, tearing off the hands and feet of a bad person.
Be smart, but do not become these very! Well, if suddenly you want to learn a little more about the behind-the-scenes life of online promotion, you can always subscribe
to a cozy telegram channel , where I sometimes share interesting observations that cannot be turned into a full-fledged post.