Skip to main content
A traffic figure widget shows one number from your dashboard over a range you choose: visitors in the last 30 days, pageviews this year, or the visitors that AI assistants sent you. The card adds the change against the period before and a chart of the same period. The numbers are the ones on your Overview, counted the same way.
A card headed Visitors showing 72,082, up 23% against the previous 30 days, with a 30-day chartThe same card on a dark page

Visitors card

A card headed Visitors from AI assistants showing 4,940, up 20%, with the footer Mostly from ChatGPT and PerplexityThe same card on a dark page

AI assistants card

A pill reading 72.1k visitors in the last 30 days, and the CrispStats markThe same pill on a dark page

Stat pill

A goal headed Road to 100,000 visitors with the bar at 72%The same goal on a dark page

Growth goal

What it counts

Range is the last 24 hours, 7 days, 30 days, 90 days or 12 months, or all time. The pill says it in words, such as in the last 30 days or all time, and shortens it to in 30 days when the sentence does not fit the size. The definitions of each metric are in Metrics.

Layouts

Change compares with the period of the same length just before, such as +18% vs previous 30 days, with an arrow up or down. All time has no period before it, so it shows no change. Sparkline draws the range in up to 31 points: hours for 24 hours, days for 7 and 30 days, weeks for 90 days and months for 12 months or all time. The AI assistants card names the two assistants that sent the most visitors, as Mostly from ChatGPT and Perplexity, when each sent at least 3. Otherwise the line is left out. Goal is a whole number of the metric, set in the widget. The goal is your own choice and is public: only the share reached comes from your data. A figure of 0 hides the widget instead of showing an empty number.

Numbers in your language

Figures and dates are in English by default, to match the words, which are English in this version. To format them for another language, set lang on the element: lang="de" shows 48.213. The page’s own lang is not used, so a widget never mixes German numbers into English words by accident.

How fresh it is

The script fetches the figure when the widget scrolls into view and again every 10 minutes while the tab is visible. CrispStats recomputes it at most every 300 seconds, so a figure can be a few minutes behind the dashboard. The footer says how old it is: updated 2 min ago. If CrispStats cannot reach your data for a while, the widget keeps its last figure for up to 6 hours and the footer says as of 14:05 instead; after that it hides.

Add it

  1. Open Settings, Sharing and widgets and pick Visitors card, Stat pill, Growth goal, AI assistants card or, for a README, README badge.
  2. Choose the metric, the range and the goal if there is one, then select Create widget.
  3. Copy the code. For a card on your site:
For a README, the README tab gives an image that follows GitHub’s light and dark theme:
Your own code carries your widget’s token instead of cs_wd_7Hq2Lx9PzK4mVt8RbN3cW1yD. Other forms are on Embed a widget.

Next steps

Revenue and sales

Verified MRR and sales from your payment provider.

Embed a widget

Script, iframe, README, Notion, shields.io and React.

AI traffic

How visits from AI assistants are recognised.
Last modified on November 24, 2026