> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crispstats.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> CrispStats is a hosted, privacy-first web analytics product. It has no self-hosted edition, no session replay, no heatmaps, no A/B testing, no mobile SDKs and no data import except a site's history from a Plausible export (Settings, Import and export).
> The script global is crispstats(...), site keys start with cs_pk_ and secret API keys start with cs_sk_. The script is served from https://in.crispstats.com/d.js and the REST API lives at https://crispstats.com/api/v1.
> There is no npm package to install. Integrations copy the script tag, the queue stub, crispstats.d.ts and proxy code from these docs or from Settings, Tracking code in the dashboard. A first-party proxy forwards one path of the site to https://in.crispstats.com/p/ and forwards only content-type, user-agent, accept-language, referer, origin, if-none-match and x-forwarded-for, never cookies.

# Brand badge: Powered by CrispStats

> Paste a static Powered by CrispStats or Analytics by CrispStats badge on any page or README, in light, dark or outline and two sizes. It shows no data and needs no account.

The brand badge says that a site measures with CrispStats: "Powered by CrispStats" or "Analytics by CrispStats", with the CrispStats mark. It is a static image from the collector. It shows no data, so it needs no widget, no token and no account, does not count toward your plan's widgets, and anyone may paste it.

## The twelve badges

Two wordings, three designs and two sizes. **Regular** is 28 px tall and **Compact** 20 px.

### Powered by

![Powered by CrispStats, light, regular](https://mintcdn.com/crispstats/E7Fpqdyq9pa1UkLm/images/widgets/brand-badge/powered-light-m.svg?fit=max\&auto=format\&n=E7Fpqdyq9pa1UkLm\&q=85\&s=1c4578d3108f022e8a03e05953095815)

![Powered by CrispStats, light, compact](https://mintcdn.com/crispstats/E7Fpqdyq9pa1UkLm/images/widgets/brand-badge/powered-light-s.svg?fit=max\&auto=format\&n=E7Fpqdyq9pa1UkLm\&q=85\&s=0aee254a201afe65fe8859663a54f9ea)

Light: `powered-light-m.svg`, `powered-light-s.svg`

![Powered by CrispStats, dark, regular](https://mintcdn.com/crispstats/E7Fpqdyq9pa1UkLm/images/widgets/brand-badge/powered-dark-m.svg?fit=max\&auto=format\&n=E7Fpqdyq9pa1UkLm\&q=85\&s=72fd386ded6f0c12417f591cea2a47ab)

![Powered by CrispStats, dark, compact](https://mintcdn.com/crispstats/E7Fpqdyq9pa1UkLm/images/widgets/brand-badge/powered-dark-s.svg?fit=max\&auto=format\&n=E7Fpqdyq9pa1UkLm\&q=85\&s=74e41a71b90a6d39b573ac73aeb72007)

Dark: `powered-dark-m.svg`, `powered-dark-s.svg`

### Analytics by

![Analytics by CrispStats, light, regular](https://mintcdn.com/crispstats/E7Fpqdyq9pa1UkLm/images/widgets/brand-badge/analytics-light-m.svg?fit=max\&auto=format\&n=E7Fpqdyq9pa1UkLm\&q=85\&s=fce1dd2b9211fcf4b738a6c0038b0f83)

![Analytics by CrispStats, light, compact](https://mintcdn.com/crispstats/E7Fpqdyq9pa1UkLm/images/widgets/brand-badge/analytics-light-s.svg?fit=max\&auto=format\&n=E7Fpqdyq9pa1UkLm\&q=85\&s=96429b6f49332454e139a9d51abbadd6)

Light: `analytics-light-m.svg`, `analytics-light-s.svg`

![Analytics by CrispStats, dark, regular](https://mintcdn.com/crispstats/E7Fpqdyq9pa1UkLm/images/widgets/brand-badge/analytics-dark-m.svg?fit=max\&auto=format\&n=E7Fpqdyq9pa1UkLm\&q=85\&s=f607b74a4b9bc55c625519801c6886bd)

![Analytics by CrispStats, dark, compact](https://mintcdn.com/crispstats/E7Fpqdyq9pa1UkLm/images/widgets/brand-badge/analytics-dark-s.svg?fit=max\&auto=format\&n=E7Fpqdyq9pa1UkLm\&q=85\&s=61e9123abfc053cdb41d57943c67572e)

Dark: `analytics-dark-m.svg`, `analytics-dark-s.svg`

### Outline

Outline has no fill and is drawn in one mid grey, with the orange mark, so it reads on a white page and on a near-black one. Use it where the page under it changes, such as a footer that switches between light and dark. On a page you know is light or dark, or on a coloured background, **Light** or **Dark** gives more contrast.

![Powered by CrispStats, outline, regular](https://mintcdn.com/crispstats/E7Fpqdyq9pa1UkLm/images/widgets/brand-badge/powered-outline-m.svg?fit=max\&auto=format\&n=E7Fpqdyq9pa1UkLm\&q=85\&s=efd56177a984c20f72393903a0ac25f4)

![Powered by CrispStats, outline, compact](https://mintcdn.com/crispstats/E7Fpqdyq9pa1UkLm/images/widgets/brand-badge/powered-outline-s.svg?fit=max\&auto=format\&n=E7Fpqdyq9pa1UkLm\&q=85\&s=d276f89f48718293cefe14676f0d102b)

![Analytics by CrispStats, outline, regular](https://mintcdn.com/crispstats/E7Fpqdyq9pa1UkLm/images/widgets/brand-badge/analytics-outline-m.svg?fit=max\&auto=format\&n=E7Fpqdyq9pa1UkLm\&q=85\&s=15b72bcd7548ebce7eed3f33ad14f2ed)

![Analytics by CrispStats, outline, compact](https://mintcdn.com/crispstats/E7Fpqdyq9pa1UkLm/images/widgets/brand-badge/analytics-outline-s.svg?fit=max\&auto=format\&n=E7Fpqdyq9pa1UkLm\&q=85\&s=4fc3b896ad995c3384e233bb60f1eca4)

### Files and sizes

Each badge is a file at `https://in.crispstats.com/w/v1/b/<words>-<design>-<size>.svg`, where the words are `powered` or `analytics`, the design `light`, `dark` or `outline`, and the size `m` (regular) or `s` (compact).

| Badge | Regular (`m`) | Compact (`s`) |
| - | - | - |
| Powered by | 172 × 28 px | 140 × 20 px |
| Analytics by | 180 × 28 px | 146 × 20 px |

The box is the same in every design, so a badge never shifts your layout when you switch designs.

## Add the badge

In the dashboard, open **Settings**, **Sharing and widgets**; **Brand badge** is the first tile under **For READMEs and footers**. Pick the words, the design and the size, and copy the code. Or copy it from here. The regular light badge:

```html HTML wrap theme={"theme":{"light":"github-light","dark":"github-dark"}}
<a href="https://crispstats.com/?ref=badge"><img src="https://in.crispstats.com/w/v1/b/powered-light-m.svg" alt="Powered by CrispStats" width="172" height="28"></a>
```

```md Markdown wrap theme={"theme":{"light":"github-light","dark":"github-dark"}}
[![Powered by CrispStats](https://in.crispstats.com/w/v1/b/powered-light-m.svg)](https://crispstats.com/?ref=badge)
```

```html README wrap theme={"theme":{"light":"github-light","dark":"github-dark"}}
<a href="https://crispstats.com/?ref=badge"><picture><source media="(prefers-color-scheme: dark)"><img alt="Powered by CrispStats" src="https://in.crispstats.com/w/v1/b/powered-light-m.svg" width="172" height="28"></picture></a>
```

The README form shows the light badge on GitHub's light theme and the dark badge on its dark theme. For other badges, change the file name in the code. The compact "Analytics by" badge, for example:

```html HTML wrap theme={"theme":{"light":"github-light","dark":"github-dark"}}
<a href="https://crispstats.com/?ref=badge"><img src="https://in.crispstats.com/w/v1/b/analytics-light-s.svg" alt="Analytics by CrispStats" width="146" height="20"></a>
```

```md Markdown wrap theme={"theme":{"light":"github-light","dark":"github-dark"}}
[![Analytics by CrispStats](https://in.crispstats.com/w/v1/b/analytics-light-s.svg)](https://crispstats.com/?ref=badge)
```

```html README wrap theme={"theme":{"light":"github-light","dark":"github-dark"}}
<a href="https://crispstats.com/?ref=badge"><picture><source media="(prefers-color-scheme: dark)"><img alt="Analytics by CrispStats" src="https://in.crispstats.com/w/v1/b/analytics-light-s.svg" width="146" height="20"></picture></a>
```

The outline badge reads on GitHub's light and dark themes alike, so its README form needs no `<picture>`:

```html wrap theme={"theme":{"light":"github-light","dark":"github-dark"}}
<a href="https://crispstats.com/?ref=badge"><img alt="Powered by CrispStats" src="https://in.crispstats.com/w/v1/b/powered-outline-m.svg" width="172" height="28"></a>
```

## What it does and does not do

* Every badge links to `https://crispstats.com/?ref=badge`. The `ref=badge` tag counts badge clicks in total for CrispStats; it identifies no one.
* The image is the same for everyone and is cached for a day. Loading it involves no token, no lookup and no record of who viewed it.
* The file names sit under `/w/v1/b/`, a path content blockers do not match, so the badge shows even where analytics scripts are blocked.
* It is not a widget: it never shows your numbers. For a badge with a figure, see [Traffic figures](https://docs.crispstats.com/share/widgets/stat.md) or [Domain Rating](https://docs.crispstats.com/share/widgets/domain-rating.md).

## Next steps

> [card] [Widgets](https://docs.crispstats.com/share/widgets.md)
>
> Live numbers from your site, in five styles.

> [card] [Embed a widget](https://docs.crispstats.com/share/widgets/embed.md)
>
> README, Notion, iframe and script forms.

> [card] [Cookieless tracking](https://docs.crispstats.com/privacy/cookieless-tracking.md)
>
> What "privacy-first" means in CrispStats.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.