Hub widget
The widget is the simple ownership and analytics bridge. Creators paste one script into their site and Nibgate can verify the origin.
Snippet
Use the site id and token generated by the dashboard.
<script async src="https://nibgate.xyz/widget.js"
data-nibgate-site="site_..."
data-nibgate-token="ngv_...">
</script>What the widget does
- Proves the domain can serve the verification token.
- Sends page views and route activity.
- Helps Nibgate detect whether the site is still connected.
- Bridges browser-side content impressions into the hub.
The widget is intentionally easy to paste into any site engine: Next.js, static HTML, Webflow-style exports, Rails, Laravel, Express, or a custom stack.
What the widget does not do
The widget is not the payment brain. Gating, pricing, receiver config, unlock state, and server-trusted events belong in the package integration.
Setup flow
Add the site in Nibgate
Register the origin from the dashboard.
Copy the widget script
Use the generated siteId and verification token.
Deploy your site
The script must be visible on the public domain you registered.
Verify ownership
Click verify in the dashboard. Nibgate crawls the origin and checks for the widget.
Last updated on