Overview
Widgets render a slice of your project’s analytics inside an iframe you can embed on your own site: a live visitor counter, a last-24-hours traffic badge, or a last-30-minutes activity chart. They are a good fit for open startups, status pages, and portfolio sites that want to show real traffic.Enable widgets
- Open
Settings → Widgetsfor your project. - Toggle
Widgetson. - Pick a widget type, customize it, and copy the snippet.
Widget types
Realtime— a pulsing dot with the number of people on your site right now. Updates every 15 seconds.Badge— a compact card with your domain, an hourly visitor sparkline, and the visitor count for the last 24 hours.Chart— users in the last 30 minutes as a per-minute bar chart with hover tooltips, plus a top-countries list.
Embed the snippet
Copy the snippet fromSettings → Widgets and paste it into your site’s HTML:
HTML
Embed widgets from
https://embed.openrevenue.com (the embed host). The tracker and public API use api.openrevenue.com; the marketing site stays on www.openrevenue.com.By default the widget includes a small “Powered by OpenRevenue” credit. Hiding it is a paid add-on ($19/mo per project): enable White-label under
Settings → Widgets for each site you want unbranded. See active count on Account → Billing.Customization
Widgets are customized through query parameters on the iframe URL, all generated for you by the settings page:theme—system,light, ordark.mainTextSize— base text size in pixels (10 to 32).primaryColor— hex color for the dot and chart bars.secondaryColor— hex color for the badge sparkline.
Save styles on the settings page to keep your customization as the project’s defaults. To hide the “Powered by OpenRevenue” credit on the iframe widgets, enable White-label for that project ($19/mo) in settings.
Notes
- Widgets are read-only and expose aggregate numbers only, never visitor-level data.
- Widget pages are excluded from search engine indexing.
- Embedding works on any site; the iframe is intentionally allowed to be framed cross-origin.