Docs

Get Statlark working on your site

Statlark is one line of script to install. Start with the quickstart: it takes you from signing up to your first revenue next to the source that earned it.

Hand these docs to your AI tool

  • Every page here and in Learn has a markdown version: add .md to its address, such as /docs/quickstart.md. llms.txt lists them all.
  • Pages that describe a change in your code, such as installing the script or tracking a goal, have a “Hand this to your AI” prompt. Paste it into Claude Code, Cursor or another coding tool, in your project. A prompt never asks for your API key: where one is needed, you set it yourself.
  • To ask about your numbers instead, connect your assistant over MCP or use the command line. The REST API has an OpenAPI spec.
  • Making your own site readable by AI search and assistants? See AI discoverability.

Get started

Track

Read your data

Grow

Account

Working out what to measure rather than how to wire it up? Learn covers the metrics themselves — revenue per visitor, paying conversion, lifetime value and attribution — without assuming you use Statlark.