> ## 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 analytics product. It has no self-hosted edition, no session replay, no heatmaps, no A/B testing and no data import except a site's history from a Plausible export (Settings, Import and export). Websites use the script. iOS, Android, React Native and Flutter use the mobile SDKs in the install guides. Those SDKs are source files, not a published package, and they do not read an advertising id.
> 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.
> The script tag is the main install; the npm package @crispstats/tracker does the same from code, never alongside the tag. 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.

# Meta Ads (upcoming)

> Planned: your Meta Ads spend per campaign, next to the revenue each campaign brought in. Not available yet.

> [!NOTE]
>
> Meta Ads is not available yet. It is listed as **Upcoming** in **Settings**, **Integrations**, with nothing to connect.

## What it will do

Read the spend of each campaign from your Meta ad account and show it next to the visits, sign-ups and revenue that campaign brought in, so you can see which ads pay for themselves.

## What works today

Tag your ads' links with UTM parameters (for example `utm_source=facebook` and `utm_campaign` set to the campaign name). Each campaign then shows on its own in the Campaign tab, and with [revenue](https://docs.crispstats.com/revenue/overview.md) connected, so does the revenue its visitors brought in.


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