A
A
Anton2014-06-17 08:14:13
WiFi
Anton, 2014-06-17 08:14:13

How to correctly count the number of hotpot users on Mikrotik who viewed ads?

The access point is implemented as follows:
- the client finds an open point, connects to it
- receives an ip ( log: dhcp, info dhcp1 assigned 192.168.10.197 to 78:3A:84:3F:61:9F)
- then looks at the page with advertising ( login.html from Files on Mikrotik) without being able to get anywhere except for it
- after the end of the video, it is hidden and the button is displayed

<a href="http://192.168.10.1/$(link-login-only)?dst=http://my-site.ru/adv/&username=T-$(mac-esc)">Доступ в интернет!</a>

- by clicking on this button, a redirect occurs to the page my-site.ru/adv/index.php where the conditions for providing a free session on the Internet are indicated, it becomes possible to use any browsers, instant messengers, torrents, etc., and most importantly, this page is written google analytics code.
Now strange. Mikrotik sends me an email when the event log: dhcp, info dhcp1 assigned ... appears in the logs. Yesterday, I received about 70 such letters. This indicates that 70 people picked up on my point, apparently reaching the page with advertising. I expect that almost everyone will watch a short social video and go to my page and visitors to my page my-site.ru/advI can calculate and study in detail on Google Analytics. However, yesterday I only see 12 visitors, albeit with an average session duration of 4 seconds. It is obvious that the my-site.ru/adv page is immediately closed, but this does not bother me, since it is only needed to count those who have broken through the advertisement. In previous days, I did not count dhcp1 assigned users, but Analytics showed a maximum of 18 visitors, I suspect that the situation was similar all week.
The question is the following. How is it possible to understand what the problem is from all this? 58 people could not or did not want to watch the advertisement and did not get to the page my-site.ru/advor maybe hit, but Analytics couldn't count them? In your opinion, is user accounting built correctly, given that I am only interested in those who watched the advertisement to the end, but did not necessarily use the service? Maybe put some code into the button so that just by clicking on it, the counter is wound up by +1 somewhere?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cool Admin, 2014-06-17
@ifaustrue

The number of connections to the hotspot is not equal to the number of visitors, this is because I can connect to the hotspot, clear cookies (if authorization is enabled using them) and the hotspot will not recognize me, but for Google I will most likely be the same visitor.
Also, the user's browser may contain adblock, which simply does not load Google Analyst. Why not just count users by poppy addresses?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question