> AI agents: this is one page of nextanalytica's docs. The full index for agents: https://nextanalytica.app/llms.txt

# How do I count a contact form as a conversion?

> Tell your agent which form or page counts as a conversion; nextanalytica then reports conversion rates by channel and page.

Updated: 2026-12-01

Tell your agent: "Count a sent contact form and a visit to /thank-you as conversions." nextanalytica's tag already sees forms being sent, so `set_conversions` can mark one as a conversion without new code. Your agent then reads conversion rates by channel, campaign and page.

## How do you do it?

1. Add the tag to your site, or ask your agent "Add nextanalytica to my site": it calls `get_tag`, shows you the change and asks before committing.
2. Connect your agent: in Claude Code, `claude mcp add --transport http nextanalytica https://mcp.nextanalytica.app/mcp`, then `/mcp` to sign in.
3. Say which forms, pages or events count.
4. Ask for the conversion rate by channel.

## What can you ask your agent?

- "Count a sent contact form and a visit to /thank-you as conversions."
- "Sign-up rate by channel this month against last month."

## Next steps

- [Custom events](/docs/tracking/custom-events)
- [Revenue tracking](/docs/learn/revenue-tracking)

Canonical address: https://nextanalytica.app/docs/answers/count-a-form-as-a-conversion
