Embed widget
The embed widget puts a live stat from your Clickport dashboard on your own website: a visitor badge in your footer, a live counter in your sidebar, or a traffic card on your sponsor page. Visitors see a real, always-current number backed by your analytics, not a screenshot that goes stale.
The widget is off by default, per-site, and managed from /<domain>/settings/sharing under Embed widget. Only the single number you pick becomes public. Nothing else about your site or account is exposed.
The three styles
- Text line. A plain line of text with no box: it inherits nothing and fits any design. Example: 12,431 monthly visitors, verified by Clickport.
- Pill. A rounded badge. This is the only style that can show the live visitor count, with a pulsing dot that updates every 30 seconds.
- Card. A small panel with the number and a 30-day sparkline. Made for about pages and media kits.
Setting it up
Open /<domain>/settings/sharing, scroll to Embed widget, and pick:
- Style: text line, pill, or card.
- Metric: visitors or pageviews over the last 30 days, or (pill only) visitors online now.
- Label: the wording next to the number, up to 40 characters. "monthly visitors", "readers this month", whatever fits your site.
- Theme: light, dark, or match the visitor's system preference.
Click Create widget and you get a live preview plus a ready-to-paste snippet. Changing any setting later updates every embedded copy automatically. The snippet never needs re-pasting.
Adding it to your site
The snippet is a small iframe plus a one-line credit link. Paste it wherever the badge should appear:
- WordPress: add a Custom HTML block where you want the badge, or paste into a footer widget area under Appearance → Widgets.
- Webflow: drag in an Embed element and paste the snippet.
- Squarespace: use a Code block on the page or in the footer.
- Ghost: use an HTML card in a post or page, or add it to the footer in Code Injection.
- Plain HTML: paste it straight into your template. The footer is a good default: it appears on every page.
The iframe loads lazily and weighs almost nothing, so it will not slow your pages down. It never sets cookies on your visitors and collects nothing about them. It only displays a number.
The verification link
The widget carries a small verified by Clickport link. If your site has a share link without a password, the link points there, so anyone who clicks it lands on your live public dashboard and can confirm the number for themselves. That makes the badge genuinely verifiable, which matters when you are showing traffic numbers to sponsors or advertisers.
If you have no public share link, the verification link points to clickport.io instead.
What is public, exactly
- The one number you picked, with your chosen label.
- For the card style, the shape of the last 30 days as a sparkline.
- Nothing else: no other metrics, no visitor details, no account information.
The widget URL contains a long random token, the same approach share links use. Removing the widget in settings kills the token permanently: embedded copies simply go blank.
Troubleshooting
- The widget shows nothing. Either it was removed in settings, or the account's subscription has lapsed. The widget never shows an error on your site: when it cannot show a number, it shows nothing at all.
- The number looks behind. Values are cached for up to a minute. The live count on the pill refreshes every 30 seconds.
- Wrong colors. Check the theme setting. "Match visitor theme" follows each visitor's own light or dark preference, which may differ from yours.