# CONNSKILL Site Analytics Registration

> CONNSKILL Site Analytics Registration is a paid API for AI agents from agent.connskill.com, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-15).

Registers a website domain for GDPR-compliant analytics tracking and returns an embed snippet, dashboard URL, and credentials for retrieving stats

## Facts

- Endpoint: POST https://agent.connskill.com/analytics/v1/site
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/connskill-site-analytics-registration-00598063
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NRCIooPs1GwzJB8Pyk-C_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability connskill-site-analytics-registration-00598063 -d '<json body>'
```

Example prompt: Set up analytics tracking for shop.example.com — I need the embed script and dashboard URL so I can start monitoring visitor traffic.

## When to prefer this

Choose this endpoint when you need to programmatically register a new website for analytics tracking without creating an account or API key, especially in agent-driven workflows where you want GDPR-compliant, EU-hosted analytics. Prefer it over self-hosted Umami or Google Analytics when pay-per-call pricing and zero-setup are priorities, or when building multi-tenant tools that spin up analytics per client site on demand.

## Known failure modes

- Invalid or malformed domain format — returns error rejecting non-hostname strings
- Domain already registered under a different siteId — may return conflict or duplicate
- Payment of 0.5 USDC on Base not confirmed via x402 — request rejected before processing
- Domain field missing — required field; request will fail without it
- Network timeout during provisioning — siteId may not be created, caller should retry

## How this service works

Market data and real-world actions for AI agents: keyword and SERP research by location, SMS verification, receive-only inboxes, social marketing, EU-hosted LLMs. Paid per call in USDC on Base. No account, no API key, no minimum.

## Output

Returns a JSON object containing: siteId and secret (credentials needed for future stat retrieval and renewal), a ready-to-paste HTML script snippet for the domain, a public dashboardUrl, the paidUntil expiry date (30 days from creation), an event quota of 100,000 events, and the domain confirmed. Also includes a 'next' hint pointing to /analytics/v1/site-stats and /analytics/v1/site-renew endpoints.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "name": {
   "type": "string",
   "maxLength": 100,
   "description": "Display name (optional)"
  },
  "domain": {
   "type": "string",
   "description": "Hostname of the site to track, e.g. shop.example.com"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "next": "POST /analytics/v1/site-stats {siteId, secret} for numbers, POST /analytics/v1/site-renew {siteId, secret} to extend 30 days",
  "domain": "shop.example.com",
  "secret": "as_9f…",
  "siteId": "5a1f…",
  "status": "created",
  "snippet": "<script defer src=\"https://agent.connskill.com/analytics/script.js\" data-website-id=\"5a1f…\" data-host-url=\"https://agent.connskill.com/analytics\"></script>",
  "paidUntil": "2026-10-04T00:00:00.000Z",
  "eventQuota": 100000,
  "dashboardUrl": "https://analytics.connskill.de/share/abc123…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/connskill-site-analytics-registration-00598063/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent.connskill.com](https://www.zero.xyz/host/agent.connskill.com/llms.txt)
