Quickstart
From sign up to your first visits in about five minutes.
1. Add your store
Create an account, then add a site with your store's address. You get two values:
| Name | What it is |
|---|---|
AA_SITE_ID | Public id of the site, safe in browser code. |
AA_SECRET | Signs what your server sends. Server only, keep it in an environment variable. |
2. Install
Let your coding agent do it
The Install page in the dashboard has a Copy prompt button. Paste the prompt into Claude Code, Cursor, Codex or any coding agent from the root of your store's code. It works out your framework, copies the right kit file in, sets the environment variables and adds the tracker.
Or do it yourself
Pick your framework on the frameworks page. Every install has two parts:
- Server kit: one file you copy into your project. There is nothing to
npm install. - Browser tracker: one script tag.
<script async src="https://agent-analytics.jacob-4fc.workers.dev/v1/t.js" data-site="site_..."></script>3. Check it
Open any page of your store. Visits appear in the dashboard within a minute. If nothing shows up, check that the response sets an aa_sid cookie, and that AA_SECRET matches the dashboard.
4. Track purchases (optional)
Call trackConversion where an order is confirmed so revenue shows up per agent. See conversions.