AI builders

Add it to a site or app built with Lovable, Replit, Bolt, v0, Cursor, Claude Code or Codex.

If an assistant builds your product, let it add Snekot too. Give it this prompt:

Add Snekot to this project.

Read https://snekot.co/llms.txt and follow it. Count page views on every page, and add events for the things I would want to know about, such as sign-ups, purchases, contact forms and errors.

Ask me for my project's slug and keys when you need them. When you are done, tell me which events you added.

It will ask for your project’s slug and a public key, both under Setup in the app. If it sends events from a server it will also ask for a private key.

Where the private key goes

A public key (pk_) is safe anywhere. A private key (sk_) is a secret: put it where the builder keeps secrets, never in the chat and never in the code.

Builder Where
Lovable More, Settings, Secrets, Add secret
Replit Secrets, in the workspace’s tools
Bolt The database icon, Secrets
v0 The project’s ”…” menu, Settings, Environment Variables
Cursor, Claude Code, Codex Your project’s .env file, which stays out of Git

Name it SNEKOT_TOKEN. That is the name the assistant is told to read.

Previews

A builder shows your app on a preview address while you work, and those visits would be counted. Under Setup, Allowed senders, list your real domain, and only visits there are taken.

Asking about your numbers

The same assistants can read your project back, through the MCP server, so you can ask “how many sign-ups this week?” where you build. Make a read key under Setup and add the server:

Where How
Claude Code claude mcp add --transport http snekot https://api.snekot.co/mcp --header "Authorization: Bearer YOUR_READ_KEY"
Codex codex mcp add snekot --url https://api.snekot.co/mcp, with the key in bearer_token_env_var in config.toml
Cursor In .cursor/mcp.json, the snippet below
Lovable Connectors, Add custom, MCP server, and choose “Bearer token or API key”
Replit Settings, Integrations, Add custom, Add personal MCP server; the header goes under Advanced settings
Bolt The plus in the chat box, Connectors, Manage connectors, Custom MCP server, transport HTTP, authentication API key
v0 The plus in the prompt box, MCPs, add a server with a Bearer Token
{
  "mcpServers": {
    "snekot": {
      "url": "https://api.snekot.co/mcp",
      "headers": { "Authorization": "Bearer ${env:SNEKOT_READ_KEY}" }
    }
  }
}

In a builder, the assistant can read your numbers while you chat with it. The app it builds for you cannot, and does not need to: its tracking is the script and the calls the assistant wrote into it.

A skill for coding assistants

Claude Code, Cursor and other assistants that read skills can load one that adds Snekot the right way each time. Save this file in your project as .claude/skills/add-snekot/SKILL.md (or .agents/skills/add-snekot/SKILL.md), then ask the assistant to “add Snekot”.