hotspot without login and redirection to promotional website

Hi guys.

So I decided to play around with the Mikrotik feature: hotspot! Basically what I need is then the user connects to wifi he doesn’t have to authenticate and is redirected to the promotional website.
I found this locked topic.

"That’s much simpler than you think.
First, create a user profile and a local user that is linked to the profile. The below assumes a username of ‘username’ and a password of ‘password’.

Then make the following login.html:
Code: Select all

That login.html is loaded for unauthorized users and usually has the login form, the above instead after 0 seconds causes an automatic redirect (HTTP code 302) to the login servlet of the Hotspot, passing on the correct user credentials and effectively logging the user in.

To cover all possible redirect conditions, create the following redirect.html and logout.html (they both get the same HTML) to in turn redirect to the above login.html:
Code: Select all

After a successful login, alogin.html is loaded for the user. The below assumes that the page you want to show after login resides on an external server. If you want to host it on the router itself, just replace it with the HTML for the final landing screen. Code: Select all "

The thing is that this works great but it’s not 100% what I’m looking for!
Then a user connects via an android device he is authenticated and the way android OS works redirection is closed immediately after the connection is established.
So I would need to modify it somehow that the first page opens with ask to enter email and name and click connect then it authenticates the user by clicking button connect and then the user is redirected to a promotional website. Something like this :slight_smile:
Any help would be much appreciated.