Advanced design
Custom Code
Add your own CSS, scripts and tracking where you need them.
The designer covers most needs, but some teams want finer control. Custom code lets a developer add CSS, HTML snippets and scripts to a portal for brand-specific styling, analytics or tracking pixels. Code runs on the portal page only and never changes how authorization works.
Why it matters
Custom CSS
Override spacing, fonts or component styling to match a design system the visual editor cannot express.
Header and footer snippets
Add HTML or script tags in the head or before the closing body tag for analytics, tag managers or support widgets.
Test before publishing
Code runs in the preview as well, so you can check it on a phone before any guest sees it.
Scoped to the portal
Snippets only load on the portal pages for the locations you choose, not on every page of your account.
Mind the walled garden
Captive portals restrict outbound traffic until sign-in. We list the domains your scripts need so you can allow them on the network.
How it works
- 1
Open the custom code section
In the portal settings choose CSS, head or footer code.
- 2
Add your snippet
Paste CSS or script tags. Keep third-party scripts to the minimum you really need.
- 3
Allow required domains
If a script loads from an external domain, add it to your controller's pre-authentication allow list.
- 4
Preview and publish
Check it in the preview, then publish to make it live.
Questions
- Can custom code break sign-in?
- A script error can affect the page, so always test in preview on a real phone. The sign-in request itself is handled by GuestOrbit.
- Why does my tracking script not load before sign-in?
- Guests on a captive portal cannot reach most external domains until they authenticate. Add the script's domain to your walled garden or allow list.
- Is custom code available on all plans?
- Availability depends on your plan. Check the pricing page or ask us if you are unsure.
Related
- DesignPortal DesignerMake the login page look like your venue, not a router.Learn more
- BrandingCustom DomainsServe your portal from wifi.yourvenue.com, not a shared URL.Learn more
- Core productCaptive PortalsA branded Wi-Fi login page for every venue you run.Learn more
- DesignPortal TemplatesStart from a proven layout and keep every site on brand.Learn more
- Build on GuestOrbitDeveloper APIA REST API and webhooks for custom guest Wi-Fi workflows.Learn more
Try Custom Code on your network
14-day trial, no card. Connect a controller and publish a portal in minutes.