An email capture gate asks a visitor for their email address before Sentway serves the page. Sentway checks the gate on the server, so the page content is never sent to a browser that has not passed the gate. Hiding content in the browser is not gating, and Sentway does not do it.
Call set_gate_access with the site ID and the access mode. Use email_capture to ask for an address, and set verification on to require a magic link. Gate configuration lives outside the published snapshot, so changing a gate takes effect immediately without republishing the site.
Sentway serves a gate page carrying the account's branding, one email field, and the disclosure line naming the account that receives the details. An email gate never contains a password field and never resembles a third-party sign-in screen.
Every visitor who passes the gate becomes a visitor record with the captured email attached. Call list_visitors to see who arrived, and get_visitor for one visitor's full timeline across every page of the site.
public serves the page to anyone. allowlist admits only addresses on a list the account supplies. password admits anyone holding a shared password. Choose allowlist when the audience is known in advance and email capture when the point is to find out who is interested.