[NEBULA] Captive Portal Functionality

Drew
Drew Posts: 3  Freshman Member
First Comment
edited April 2021 in Nebula
I am trying to capture the email of users when they first connect to WiFi. My plan is once they connect, bring up a page with email form field, once they fill it out they hit submit then the next page captures that email and sends it to our MailChimp API, then redirects to our homepage. I have tried everything; the built-in portal pages, custom pages, etc. I can capture email with custom pages, it seems like I have to hit http://access-point-IP/cgi-bin/Clicktocontinue.cgi for it to unlock the users machine to access the internet. When I point my MailChimp script to redirect to that cgi, it just errors out. All our AP's are tied into the nebula control center.

So, my path to access internet would be - User connects to WiFi → Splash Page w/ email field auto opens → MailChimp API Script → Allow user access to internet (i.e. unlock their IP) → Go to our main website.

How can I do this?

All Replies

  • Zyxel_Barney
    Zyxel_Barney Posts: 84  Zyxel Employee
    Zyxel Certified Network Engineer Level 2 - WLAN Zyxel Certified Network Engineer Level 2 - Switch Zyxel Certified Network Engineer Level 2 - Nebula Zyxel Certified Network Engineer Level 2 - Security
    Hi @Drew

    Are you perhaps using an external captive portal and using MailChimp to mine the email addresses there?

    Is there a reason why you can't gather the email addresses from the Nebula platform's frontend?
    This should be possible if you set the NAP's captive portal to Nebula Authentication Server and allow users to create auto authorized accounts.

    Proceed to ORGANIZATION > Configure > Cloud authentication > Guest and the emails should now be saved there.

    Regards,
    Barney Gregorio
  • Drew
    Drew Posts: 3  Freshman Member
    First Comment
    If I went this route, it would require users to create/manage accounts. We don't want that. We just want a simple email field w/ a submit button. Our goal is to be as unobtrusive as possible.
  • CrazyTacos
    CrazyTacos Posts: 53  Ally Member
    First Answer First Comment Friend Collector Sixth Anniversary
    What about using sign-on with Facebook accounts?
    You should be able to gather the email accounts using the email summary report.
  • Drew
    Drew Posts: 3  Freshman Member
    First Comment
    No, still don't want any sort of sign in requirement. We just want to capture email. I'll figure out another way. Thanks all for the input so far.
  • IvoxEngineer
    IvoxEngineer Posts: 6
    Second Anniversary
    edited October 2021
    Did you manage to find out in the end?

    I'm trying to achieve the same with no luck

    Drew said:
    No, still don't want any sort of sign in requirement. We just want to capture email. I'll figure out another way. Thanks all for the input so far.

  • zenadmin
    zenadmin Posts: 3  Freshman Member
    First Comment

    Would love to know if anyone figured this out….

  • Zyxel_Melen
    Zyxel_Melen Posts: 2,409  Zyxel Employee
    Zyxel Certified Network Engineer Level 1 - Switch Zyxel Certified Network Administrator - Switch Zyxel Certified Network Administrator - Nebula Zyxel Certified Sales Associate

    Hi @zenadmin,

    I think you can build up a external captive portal web server for this requirement.

    We provide the captiva portal html file to our users. You can edit the "click_to_continue.html" to have a column to enter the email address and add additional function when click the "Agree" button. You may write your own function to make the server sent the email address to your email, or you can store it in anyplace.

    Here are some FAQs to set the external captive portal:

    How to configure external captive portal — Zyxel Community

    [Nebula] How to configure external captive portal for a SSID? — Zyxel Community

    Hope these helps.

Nebula Tips & Tricks