Embeddable widgets

Show your numbers on your own pages.

Turn widgets on for a website and embed a live visitor count, a revenue card or a visitors chart anywhere: a landing page, an open startup page, a blog post or a README. They show totals, never who your visitors are.

14-day free trial · No card required · From $9/month

Four widgets from one link.

Each widget is a small page at /embed/<key>/<widget>, loaded in an iframe. Settings → Widgets offers three ready to copy, Realtime, Preview and Chart, each previewed as your visitors will see it.

Visitors
Visitors over a period, or the people online right now with period=live.
Revenue
Revenue over the period, in the website's currency.
Chart
A visitors chart, with revenue bars and the top five countries if you want them.
Site
Your website's name and icon with its visitors and revenue: the Preview widget.

Styled to sit on your page.

Set the options in Settings → Widgets with a live preview, or add them to the link yourself.

  • Periods: live, the last 30 minutes, 24 hours, 7 days, 30 days (the default) or 12 months
  • theme=auto follows the visitor's light or dark setting; light and dark fix it
  • Your own colours with color and color2, text size from 10 to 40 pixels, and bg=transparent for no background
  • The embed code as HTML, or as JSX for React websites
  • format=svg turns the live visitor count into an image badge for a README; format=json returns the numbers

Totals only, and yours to switch off.

Anyone with the link can load a widget, from any website, so a widget shows totals only: no visitors, pages or sources, and countries only on the chart when you add them.

Off and on again
Turning widgets off stops every embed. Turning them on again brings back the same link, so nothing needs pasting again.
A new link
Make a new link replaces the old one for good: every widget you embedded stops until you paste the new code.

Set it up.

  1. Turn widgets on

    In Settings → Widgets. This creates the website's secret widget link.

  2. Pick and style one

    Realtime, Preview or Chart. Set the colours, theme and text size, and check the preview.

  3. Copy the code

    As HTML or JSX, and paste it where the widget should appear.

How it works, in detail.

The docs page “Embeddable widgets” goes through it step by step.

How it works

Limits worth knowing

  • Widgets show totals; they can't list visitors, pages or sources
  • Numbers are at most a minute old, 20 seconds for the live and 30-minute widgets, which also update themselves on the page
  • Revenue has no live view: a revenue widget asked for live shows the last 30 minutes
  • The image badge is only for the live visitor count; the other widgets need an iframe
  • One widget link per website; making a new one stops every old embed

Questions, answered.

Can people see who my visitors are through a widget?

No. A widget shows totals: visitor counts, revenue and, on the chart if you turn them on, the top five countries. Never names, pages, sources or journeys.

Can I show how many people are online right now?

Yes. The Realtime widget is a small pill with the number online, which updates itself on the page. With format=svg the same count is an image badge you can put in a README.

How do I take a widget down?

Turn widgets off in Settings → Widgets and every embed stops; turning them on again brings back the same link. To retire the link for good, click Make a new link.

Does it work on a React website?

Yes. Settings → Widgets gives the embed code as HTML or as JSX.

Can I share the whole dashboard instead?

Yes, with a public dashboard: a read-only link to the website's reports, without your visitors' or customers' names.

See it on your own website.

Every feature is on every plan, with a free trial and no card.

14-day free trial · No card requiredPricingHow it worksAll features